a0c0ca738989fd3ecad8a54a91f0c6a8b30ad1ab |
|
15-Jan-2015 |
Alan Viverette <alanv@google.com> |
Jump ripples to end when switching to a non-hardware canvas Previously we canceled the hardware animations but neglected to reset the state, which left us drawing in the pressed state. Bug: 19020524 Change-Id: I439a18126b9093cac40006361be99f8d077b95a9
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
9bc11ac168d63900589158074028e6c480579421 |
|
12-Dec-2014 |
Alan Viverette <alanv@google.com> |
Move ripple to end state on jump when hardware exit is pending BUG: 18734676 Change-Id: Ie063e1eec0b4f28f936ea27822afacfd1b72a0e9
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
6dfa60f33ca6018959ebff1efde82db7d2aed1e3 |
|
04-Dec-2014 |
Alan Viverette <alanv@google.com> |
Avoid extra saveLayer calls in RippleDrawable, fix docs Also fixes opacity returned from InsetDrawable to accurately reflect the transparent inset area and updates button to correctly use tint. BUG: 18226391 Change-Id: Ia9a88d9d663990a6829d2f251c7f59ea2a79d816
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
cc3c573334a9cd2124a8a0ccf2f37884e36f83fa |
|
08-Nov-2014 |
Alan Viverette <alanv@google.com> |
Reduce number of saveLayer calls in RippleDrawable Removes an extra saveLayer call by rendering ripples as overlapping. We are now down to zero saveLayers when drawing unmasked ripples or ripples masked against opaque content/masks, one saveLayer for ripples masked against content and two saveLayers when masked against an explicit mask layer. BUG: 18226391 Change-Id: I0fc09d21fbc462fbcfe4c26fc7b18737f584043e
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
2ae56403542582bd39c0e522bf29844d59300f37 |
|
15-Sep-2014 |
Alan Viverette <alanv@google.com> |
Reduce overdraw after clearing ripples in RippleDrawable We only need to force a transparent draw after canceling a render thread accelerated animation, and then we can draw again without the transparency to avoid overdraw in the display list. BUG: 17451761 Change-Id: I640f9a29d0940a93802f14a15f27d2c2072755ce
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
a3f0c2b21a73a82a919abe247c4046d114f3712c |
|
05-Sep-2014 |
Alan Viverette <alanv@google.com> |
Simplify ripple background drawing, fix ripple alphas Eliminates an extra saveLayer on the background in the common case of a rectangle-bounded ripple. Ripples and backgrounds are now drawn at 50% opacity of the ripple color, which ensures that both the ripple and background are visible and that the pressed state has a correct combined alpha. Also fixes a bug where hardware (RT) animation was getting turned off prematurely. BUG: 17405007 BUG: 17398089 BUG: 17394445 BUG: 17389859 Change-Id: Idb5808368fe563581a51a8cb9778275ee8d22f4c
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
a2362c9251af9d27506aa12f49da42e019665555 |
|
04-Sep-2014 |
Alan Viverette <alanv@google.com> |
Clear ripple animations on cancel/end This prevents subsequent calls to end() from snapping the background opacity (among others) back to 1. BUG: 17357749 BUG: 17349157 Change-Id: I2a4870ed588ba98986428983bf29b556cdc9a701
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
fdbb98e56d4668c7bfa8de59c3c438c0cb69a535 |
|
29-Aug-2014 |
Alan Viverette <alanv@google.com> |
Fix disappearing ripple background, treat active ripple separately There is only a single background, and it did not correctly handle enter() being called while exit() was busy animating. We now cancel all animations when starting an enter or exit. Also separates the active ripple from the list of animating (exiting) ripples. BUG: 17042060 BUG: 17281011 Change-Id: I4d4e33560867c7c71c1bdb72b17d52d6fbd86f68
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
d78a44576c6bac5541e04c1f38599d43c9943653 |
|
21-Aug-2014 |
Alan Viverette <alanv@google.com> |
Jump drawable state (including ripples) on view detach BUG: 15350931 Change-Id: I09928f59fb7b9f6d87b1f5219353a41ae6b5681d
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
036a66596dba32c051a016ca9b5334fbbd39c220 |
|
07-Aug-2014 |
Alan Viverette <alanv@google.com> |
Add an extra pixel to the ripple radius used for bounds BUG: 16850241 Change-Id: I0f3a046100c104a6321ca7eb24cd0295878e4f47
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
6ce6d70f9c78f0197f1369246bf55a5f6b8d7ba4 |
|
25-Jul-2014 |
Alan Viverette <alanv@google.com> |
Separate background from ripple for better focus/press UX Regresses the "jump" when focus changes, since the background position is static and we don't have any reasonable UX spec for this yet. BUG: 16323640 Change-Id: I7152546ed08375864174049b342653b3c4d3d9fb
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
304624100b363137913d1d910690fc83872e41c3 |
|
19-Jun-2014 |
Alan Viverette <alanv@google.com> |
Fix clamped starting position, seek bar hotspot bounds BUG: 15720430 Change-Id: I11d40c747ea1a3665e9e2058d95dda1bc8a547ab
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
4b65f0ebee11dd95cd4a03329bfa135ec5582bad |
|
12-Jun-2014 |
Christian Robertson <robertsonc@google.com> |
Tunings for touch ripple animations Added a log based interpolator (it's faster in the beginning and smoother at the finish than the decelerate interpolator) Scaled the timing and opacity of the falloff ripple based on the size of the outer bounding radius. Backing circles aren't as apparent for Smaller touch targets. BUG: 15591274
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
a4eab42fe437bff3f8ee9dde264579067ea5cdbd |
|
10-Jun-2014 |
Alan Viverette <alanv@google.com> |
Change ripple tint to color, remove tintMode Also fixes double ripple on list preferences, missing ripple on up button, and adds the Toolbar style to public. Further improves ripple performance. BUG: 15523923 BUG: 15473856 Change-Id: I5e8bf417368b60fcc33c80852e12f27b8c580774
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
1b6e856e6f9dab4464e3c556b2f68527439fc329 |
|
09-Jun-2014 |
Alan Viverette <alanv@google.com> |
Optimize use of layers in ripple, update dialog styling BUG: 15474733 BUG: 15473856 Change-Id: I7c17865c7b2d4aad0fc3660ffac90e9f7ce8fda9
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
3cb07a462be293634e6a83ea6c82f3647cd17dad |
|
06-Jun-2014 |
Alan Viverette <alanv@google.com> |
DO NOT MERGE Material theme BUG: 15467097 Change-Id: I15191362e104a902895418fc615892c21db64c35
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
b996d809bf10a9ad1f6f6be790d0261fe1565f3b |
|
04-Jun-2014 |
Alan Viverette <alanv@google.com> |
Update ripple spec, fix ripple mask, rotate progress drawable Change-Id: I4fc155bf2f12d9f324c354dee81479f9cddafac4
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
840ff809628127f026620ed127d7f8e134a75e63 |
|
03-Jun-2014 |
Alan Viverette <alanv@google.com> |
Set starting value on ripple exit animation Change-Id: I2eca91c02ea059591a2ee0c75c5355f0ecd5a4be
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
dc6046fca37264b48e9c959f38d08cfb78f436ed |
|
02-Jun-2014 |
Alan Viverette <alanv@google.com> |
Allow ripple bounds to change during enter animation BUG: 15315168 Change-Id: I7588be96648318473998cfd5deba678224f1db51
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
4d2f2483f6d9e2eb25d843d676981f4ebc9c79e5 |
|
02-Jun-2014 |
Alan Viverette <alanv@google.com> |
Fixes hotspot list transitions, update to use a single hotspot Also updates background and button colors to match spec, removes dependency on bouncycastle Arrays. Vastly simplifies ripple drawing. Adds APIs for maximum ripple radius. Makes selectableItemBackground bounded by default and adds an unbounded version and theme attribute. BUG: 15315168 BUG: 15314684 BUG: 15314830 BUG: 15316768 BUG: 15333033 BUG: 15344050 Change-Id: Ib0619587ce78e43056b66571bae185e0f1613185
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
ad2f8e334f3ef22d3e412b0660a2e1f996f94116 |
|
16-May-2014 |
Alan Viverette <alanv@google.com> |
Update ripple behavior, use render thread animation Change-Id: Ib6bc1e08b05d29606f452961963d58b8fc866746
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
40c37349390be0b3a69c8799847144a8b391a15c |
|
03-May-2014 |
Alan Viverette <alanv@google.com> |
Fix ripple cancel BUG: 14495933 Change-Id: Ie3498f35705b70e4c059ff86250cef4746f174da
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
de399397947c5379c61a1003c017b96accbbf545 |
|
02-May-2014 |
Alan Viverette <alanv@google.com> |
Support for list selector ripple during arrow movement & drag BUG: 14231774 BUG: 14230395 Change-Id: I23efbc88c3f05b3f323e47bcb34f55ff70ad6828
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
53d1cfe2d073bff7c7771d5f7dd9108062ddc706 |
|
01-May-2014 |
Alan Viverette <alanv@google.com> |
Cleaning up TouchFeedbackDrawable and Ripple APIs Change-Id: I73ce0507ce98140c01fe77cc277b0fea75350be9
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
61956606818918194a38e045a8e35e7108480e5e |
|
23-Apr-2014 |
Alan Viverette <alanv@google.com> |
Add ripple to switches, radio buttons, check boxes, seek bars BUG: 14231772 Change-Id: Ie40eac9f68815294460175965a999dd75f4144b5
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
c3f35b01b5a21e110ca4eedf09c8c6164ab85dfb |
|
22-Apr-2014 |
Alan Viverette <alanv@google.com> |
Add touch feedback to edit text Change-Id: Id25692bfa40f5145d6ca807111bbd5d0c4774d07
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
47bf0d95ef6c9ac68773567d503749c874a07f2f |
|
27-Mar-2014 |
Alan Viverette <alanv@google.com> |
Separate ripple animation logic, remove RevealDrawable Change-Id: I9d0370cea288e6caf518209b5bc94a66a0f9176f
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
cb29189c29a553a8005044f32de37a610f2857db |
|
20-Feb-2014 |
Alan Viverette <alanv@google.com> |
Fix density in touch feedback drawable Change-Id: I90b08aea9f5ba0a29ae5328960bacebc6c2099d8
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
d5154ec2bc7e7c0bdfd14fc784912d390afe43cc |
|
06-Feb-2014 |
Alan Viverette <alanv@google.com> |
Add prototype for borderless touch feedback drawable Change-Id: I6366855b1fb838aa077bc6bdb62adc2134c51dca
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
12b61f20a4cdab84b28f153e48c4dcbe82ab6f0a |
|
18-Jan-2014 |
Alan Viverette <alanv@google.com> |
Prevent RevealDrawable from drawing mask when layer is empty Compositing the mask layer into an empty layer using SRC_IN will actually composite into the layer UNDER the empty layer. Change-Id: I5ba434b0d7e6a5bc707fe842a5db82ae33066912
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|
223622a50db319d634616311ff74267cf49679e7 |
|
17-Dec-2013 |
Alan Viverette <alanv@google.com> |
Add reveal drawable, APIs for forwarding Drawable focus and touch Hotspot APIs are hidden pending finalization of how we handle IDs. BUG: 11416827 Change-Id: Iecacb4b8e3690930d2d805ae65a50cf33482a218
/frameworks/base/graphics/java/android/graphics/drawable/Ripple.java
|