| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
bug:19564477
Change-Id: I7e11baae2d4dd245965904c85b8855de71f6b6ac
|
|\
| |
| |
| | |
Change-Id: I7458452389fb7b048fe5c6daa375fd4dbb9d9766
|
| |
| |
| |
| |
| | |
Bug: 19285726
Change-Id: I4bb596433c1fa1cc4e2fa53d0cdae992f9add858
|
|/
|
|
|
| |
Bug: 19035677
Change-Id: Ib86666ddd1b6747f921a6e2f048405aba0c04ef7
|
|
|
|
|
| |
Bug: 18903443
Change-Id: I5a7e738b1a09c22857683e2540c96a050b82866e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
The save stack now behaves exactly like in Skia.
Change-Id: If7e642f41f2c8f693f6e8c26cba81507d466562e
|
| |
|
| |
|
| |
|
| |
|
|
|