4a81674b45b7250c4e2a80330371f7aa1c066d05 |
|
02-Feb-2017 |
Jiaquan He <hejq@google.com> |
Detect unhandled keyboard focused state. A View uses a Drawable as its background, which changes its appearance according to the View's state. This commit adds an algorithm to detect undefined state_focused in state specs for those Drawables. Test: cts-tradefed run singleCommand cts --skip-device-info --skip-preconditions --abi armeabi-v7a -m CtsGraphicsTestCases -t android.graphics.drawable.cts.DefaultFocusHighlightTest Bug: 35096940 Change-Id: I5e9f07141679881fe88f9040aa116ea2f9d537c9
/frameworks/base/core/java/android/util/StateSet.java
|
189d4f5b770eb45ea23e8c529cabc1ccdff6e83a |
|
16-Dec-2015 |
Alan Viverette <alanv@google.com> |
Propagate TextView drawable state after resolving RTL drawables Bug: 24502082 Change-Id: Iec9c44041622d19401fc074947e15b4843f79d86
/frameworks/base/core/java/android/util/StateSet.java
|
57bf3d9c2d0d73324480a8ca383828cdc4bcb143 |
|
30-May-2015 |
Jeff Brown <jeffbrown@google.com> |
Add missing docs to StateSet. Bug: 3370250 Change-Id: Ib69b69873cf8f583734d5305b5a0d73e9d97dee9
/frameworks/base/core/java/android/util/StateSet.java
|
c5b95c20b6fd3f4e63147efb22dd19c657b17001 |
|
07-Jan-2015 |
Alan Viverette <alanv@google.com> |
Fix date picker color handling, expose StateSet utils in more places Enabled use of color selectors for the day number text, which lets us use the "activated" text color and push the selection background opacity up to 100%. Also ensures the selector circle stays within the bounds of the selected day. BUG: 18864682 Change-Id: Ia36ea748f83e13683a1de8ac1a259d353578d61a
/frameworks/base/core/java/android/util/StateSet.java
|
a0f8bc51aff98c2e23e73069e447f63397471a0a |
|
24-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Remove default constructors from static utility classes. Change-Id: Id8dc55a30a03e1da87500b66c429de9268033b9e http://b/3344646
/frameworks/base/core/java/android/util/StateSet.java
|
079e23575024e103358c982152afb7a720ae1a8a |
|
19-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Add new fade in/out feature for drawable containers. This is used to allow list view's pressed and activated indicators to fade in an out, though of course it can be used elsewhere as well. There is a lot of complexity in supporting this in list view. The two main things that are being dealt with: - When recycling views, we need to make sure that the view's drawable state doesn't get animated from an old row's state. The recycler now keeps track of which position a view was last in, and if it is reused at a new position there is a new View/Drawable API to tell it to jump to its current state instead of animating. - For the pressed indicator to fade out, we need to keep displaying it after it is hidden. There are new variables and code to keep track of this state, and tweaks in various places to be able to remember the last selected position and continue updating the drawable bounds as needed. Change-Id: Ic96aa1a3c05e519665abf3098892ff2cc4f0ef2f
/frameworks/base/core/java/android/util/StateSet.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/util/StateSet.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/util/StateSet.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/util/StateSet.java
|