4feb3260152b2ddbd4a96c43c09cd1ed3cf2d3fb |
|
13-Jul-2015 |
John Reck <jreck@google.com> |
Improve resource loading by ~3x Bug: 22392651 ColorStateLists were never cached because the lazy-create of the constant state had a typo. Resource caching in general was broken because ThemeKey did not clone the hash code, so all keys in the cache had a hashCode of 0 which did not match the real, uncloned ThemeKeys hash code so the binary search in ArrayMap based off of hash code was failing. Change-Id: I9df1628b226bfa797bed97875354c19bf64f41ad
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
50ba321fbcecd0b050d755ff5a02eba7ab97bb00 |
|
01-Jun-2015 |
Alan Viverette <alanv@google.com> |
Prevent crash when ColorStateList has unresolved attrs Bug: 21471789 Change-Id: Ieba6ab62b5e82eb716934a65efb6bfef2fc4e15a
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
f601440e21f352f5e59dd27e6709c7137cd90090 |
|
30-Apr-2015 |
Alan Viverette <alanv@google.com> |
Stash modulation alpha until ColorStateList has resolved base color Fixes an issue where specifying an explicit modulation alpha and a theme-dependent base color discarded the modulation alpha during applyTheme(). Sets the YOU MESSED UP YOUR THEME color to magenta, which matches the behavior for RippleDrawable and should expose any remaining issues in a painfully obvious way. Bug: 20690409 Change-Id: I7a44f4bc4a5a85be6d3f27087b2d6c9ea12e1d29
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
e0f95f39c5a669a48ee3ebb8dc45bf2d7ee940f1 |
|
01-Apr-2015 |
Alan Viverette <alanv@google.com> |
Fix issues with theming of preloaded ColorStateLists Ensures changing configurations mask is propagated to the host drawable so that it can be properly cleared from cache on configuration changes. Also fixes constant state handling of the mask in the Inset and Rotate drawables. Hides new ColorStateList methods related to theming, since they should only be used during preloading or internally by framework drawables. Fixes bug where the cached versions of themeable ColorStateLists were modified by calling applyTheme() on the host drawable. Also cleans up some docs and naming in GradientDrawable. Bug: 19966397 Change-Id: I8c8d3cabbaf94b488c2b8fe9fd423e07d824c19c
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
0ef59ac0e57e9b99d174d4a53f7d9639357743ac |
|
23-Mar-2015 |
Alan Viverette <alanv@google.com> |
Update DatePicker and CalendarView to latest Material spec Bug: 19431364 Change-Id: If364a051a5208d170495de4182e46b32c7560e08
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
80756e38882720860db52f1fcc21fa1505a02abf |
|
02-Mar-2015 |
Tor Norbye <tnorbye@google.com> |
Annotate ARGB integer parameters with @ColorInt Change-Id: I307f72a382272cf18ddb6b07d9fcb81228568d9a
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
62c79e9a64c3b2cafd5500ed3064977dff7b7da3 |
|
26-Feb-2015 |
Alan Viverette <alanv@google.com> |
Implement landscape layout for time picker dialog Adds support overriding default alert dialog panel elements by including them in the dialog's custom content view, but no public API (yet!) since the panel IDs have never been public. Some minor cleanup and refactoring in TimePickerDialog. Removes Holo styles for "clock" and "calendar" style pickers since they are new in Material. If the new styles are used against Holo they will match Material but with Holo primary/accent colors. Also implements themed color state lists to resolve TODOs in both time and date pickers. Bug: 19431361 Change-Id: I095fd8d653e02d9e5d20d66611432a08a7a5685e
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
45c4bbbbce6bbad50a033efcba7948a23f1f117a |
|
05-Jan-2015 |
Alan Viverette <alanv@google.com> |
Allow use of theme attributes in color state lists BUG: 17384842 Change-Id: Ibdc413acbd00e37b908432abd55f6521c22b8fc9
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
d9f3fdf45bd3e3b5b02f2d21b6df6598cbaf1c70 |
|
12-Nov-2014 |
Alan Viverette <alanv@google.com> |
Ensure time picker dialog fits on small screens Also fixes dialog padding in landscape mode and a bug in the ColorStateList method used to apply a selected color. BUG: 18251582 Change-Id: Id5b8c7893ec42fd4d5f4a7520e6ac170839d3143
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
b1e1dbfb36b658bd2710fedf8c0381a5d89fa302 |
|
08-Aug-2014 |
Alan Viverette <alanv@google.com> |
Update disabled states to be less opaque Also adds Resources method for retrieving floating-point values. BUG: 16374059 Change-Id: I68c6a40cbe5badfad624548b9abf2d657dbc2019
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
60727e07c6ef72e2f494266939c02494a3df28f8 |
|
29-Jul-2014 |
Alan Viverette <alanv@google.com> |
Clean up TimePicker and DatePicker styling Removes the time and date picker specific themes and defaults their theme attributes to use the alert dialog theme attribute's value. BUG: 14973897 Change-Id: Id5cc74ea0c1a379fc1ee76b354a1bb5ba329585a
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
3b5c4272db3e089c4a06d2db2ddf2aee5ebb6281 |
|
20-May-2014 |
Alan Viverette <alanv@google.com> |
Various API review fixes to resources and drawables BUG: 15025565 Change-Id: If00c85816f8288338967f7a85453d21f858f5ca7
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
776abc24cdd18610232a50b997cce3cffa74609b |
|
07-Mar-2014 |
Adam Lesinski <adamlesinski@google.com> |
Uses VMRuntime.newUnpaddedArray for ideal array sizes Bug:13028925 Change-Id: I0a9301248b10a339afbdc5e4ffe3310ac4fa1fb7
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
39fa59fc4907d3c8faad41bf20e1f855dbcda5e6 |
|
25-Feb-2014 |
Jorim Jaggi <jjaggi@google.com> |
Change appearance of notifications to light theme. Change-Id: Ic15e96582d6b46b4dc195b1c7c0cef38f25f0d38
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
cc3f33853b8ea5ce56ebfb14fdc3c000a45e0d78 |
|
23-Feb-2014 |
Alan Viverette <alanv@google.com> |
Allow alpha modulation in ColorStateList items This makes it much easier to define a disabled state color as an alpha modulation of some base color. Change-Id: Ie2ecf40b1f6560fcd8eda208d780616dddfc0d08
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
a211dd28b93473c452d68432c602d5209b01c178 |
|
04-Nov-2013 |
Alan Viverette <alanv@google.com> |
Add support for using ColorStateList as GradientDrawable's stroke Refactors isOpaque() so that ColorStateList APIs previously added on master branch are no longer needed. Change-Id: I104c9a14ef81db6c4cf141e8fd0ebbd20bd52ee9
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
519494e207322581075c8ea884fde9d33bb9209e |
|
28-Oct-2013 |
Alan Viverette <alanv@google.com> |
Add support for using ColorStateList in GradientDrawable BUG: 11373225 Change-Id: Ie62f1546e8694822aadafe9ef1e57ce458a363d6
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
8dd87ad9440bc63bc312b06f292adcd2642b1c41 |
|
05-Aug-2010 |
Scott Main <smain@google.com> |
fix some doc errors in the resources; add link to resource docs for ColorStateList class Change-Id: I7f59bfd136d5bd3c2ea066b6123ee13ccd57f502
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
79dc8ccddd846816d4e0e55405ad0dbefa5b0ff6 |
|
04-Jan-2010 |
Romain Guy <romainguy@android.com> |
Fix typo in ColorStateList documentation.
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
c39a6e0c51e182338deb8b63d07933b585134929 |
|
11-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@137873
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
076357b8567458d4b6dfdcf839ef751634cd2bfb |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
3dec7d563a2f3e1eb967ce2054a00b6620e3558c |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/content/res/ColorStateList.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/content/res/ColorStateList.java
|