summaryrefslogtreecommitdiffstats
path: root/core/java/android/widget/ScrollBarDrawable.java
Commit message (Collapse)AuthorAgeFilesLines
* Improve docs for drawable tint and color filtersChris Craik2015-03-021-6/+6
| | | | | bug:19564477 Change-Id: I7e11baae2d4dd245965904c85b8855de71f6b6ac
* resolve merge conflicts of da9653a to master.Alan Viverette2015-02-051-0/+25
|\ | | | | | | Change-Id: I7458452389fb7b048fe5c6daa375fd4dbb9d9766
| * Mutate scroll bar drawablesAlan Viverette2015-02-051-0/+33
| | | | | | | | | | Bug: 19285726 Change-Id: I4bb596433c1fa1cc4e2fa53d0cdae992f9add858
* | Ensure scroll drawables are managed correctlyAlan Viverette2015-01-211-64/+151
|/ | | | | Bug: 19035677 Change-Id: Ib86666ddd1b6747f921a6e2f048405aba0c04ef7
* Ensure scroll assets are drawn with correct opacityAlan Viverette2015-01-151-0/+10
| | | | | Bug: 18903443 Change-Id: I5a7e738b1a09c22857683e2540c96a050b82866e
* Avoid null-deref crashes in ScrollBarDrawableChet Haase2014-06-301-14/+26
| | | | | | | | | | | | | | Some of the code in ScrollBarDrawable automatically derefs the horizontal and/or vertical thumb objects. The drawable can sometimes be in a state where these objects are null, causing a null deref. This fix simply avoids dereferencing null objects. Also, fixed doc bug in attrs.xml for Transition tags. Issue #13210554 Transition style documentation refers to 'move' instead of 'changeBounds' Issue #15636059 ScrollBarDrawable crashes in setAlpha() and other methods when thumbs are null Change-Id: I6664ba17dae0845de8a8658381ae6e9c9ef99214
* add getAlpha() to DrawableChet Haase2013-03-081-0/+6
| | | | | | | | | | | | | | | | | | | Drawable has setAlpha(int), but no getAlpha() (although some subclasses have added the method). This makes it more tedious to use the property. For example, animations that wish to animate this property must explicitly give it a start value since this value cannot be queried from the object. The trick is that setAlpha(int) is abstract, only implemented by subclasses. We cannot take this approach for getAlpha(), as we would break all subclasses of Drawable until they implemented the method. Instead, we'll add a default method which returns an invalid value, making it easier for clients of the method to detect whether the value is valid. All subclasses of Drawble in frameworks have been changed to add an override of getAlpha() when appropriate. Issue #7485875 Drawables is missing getAlpha() Change-Id: I06b6e35f1a56d202838eca44759c85c82595020a
* Fix save()/restore() issues in the OpenGL renderer.Romain Guy2010-08-171-2/+1
| | | | | | The save stack now behaves exactly like in Skia. Change-Id: If7e642f41f2c8f693f6e8c26cba81507d466562e
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+253
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-253/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-3/+5
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-1/+4
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+248