0671f05fa94a234652c1cf3c6e0c2e123566f76f |
|
07-Jan-2016 |
Alan Viverette <alanv@google.com> |
Revert ripple background fast-enter behavior to M style No longer fast-enters the background for unbounded ripples. Bug: 25602850 Change-Id: I3250505c1de04a72fb764174abf269e247e21578
/frameworks/base/graphics/java/android/graphics/drawable/RippleBackground.java
|
c34f1b093f978bd67ed5f6eb9ff3b0c9dd8126e1 |
|
30-Nov-2015 |
John Reck <jreck@google.com> |
Fix RippleDrawable exit animation Bug: 25602850 The exit-out animation doesn't want to animate from the current value, but rather the final value of the exit-in animation Change-Id: I1cd12b0653b5241c6e21ef1cca86b0a83ce9c5a2
/frameworks/base/graphics/java/android/graphics/drawable/RippleBackground.java
|
e0367d26c9af7cc4b3dbe0b7a48fded1860938e2 |
|
26-Aug-2015 |
Jorim Jaggi <jjaggi@google.com> |
am b98adf20: am bdb151ea: am 4816d7d5: am e30e8980: Merge "Disable RT animations for header ripple" into mnc-dr-dev * commit 'b98adf20a0f27a8e717b627801632766547121a2': Disable RT animations for header ripple
|
191ac0a72b0a7ba883d9cebee6eff71fbea4ef17 |
|
24-Aug-2015 |
Alan Viverette <alanv@google.com> |
Reverse order of RT animations so enter animation works correctly Bug: 23428182 Change-Id: Id54ad19c6ee71e01656f79d413e45cf2e19bd1ea
/frameworks/base/graphics/java/android/graphics/drawable/RippleBackground.java
|
b7303a36baf8d0ac3efdeeee3310ef5974ba9cea |
|
20-Aug-2015 |
Jorim Jaggi <jjaggi@google.com> |
Disable RT animations for header ripple Bug: 22208997 Change-Id: I10a890d4f8f70c7c786940ffdb86cf4d21bdaf05
/frameworks/base/graphics/java/android/graphics/drawable/RippleBackground.java
|
f6829a0a618b4523619ec53c996b04d67e3186b9 |
|
10-Mar-2015 |
Chris Craik <ccraik@google.com> |
Remove HardwareCanvas Change-Id: I239646a7f00f09d3f76fe6b6162eed86bc0d6e77
/frameworks/base/graphics/java/android/graphics/drawable/RippleBackground.java
|
f872ee0057ed247aa93589347f1b53afc99517f8 |
|
10-Mar-2015 |
Alan Viverette <alanv@google.com> |
Refactor ripple components, simplify background animation Moves animation lifecycle and software/hardware hand-off into a unified RippleComponent class, which makes it easier to maintain the components. Adds better javadocs and comments to explain what's going on. Bug: 19431322 Change-Id: Ifb9b9a7dcc24238719ef12293493ca3df107679f
/frameworks/base/graphics/java/android/graphics/drawable/RippleBackground.java
|
88d44d4adaa68db02e4eef68606591028a92add0 |
|
13-Feb-2015 |
Alan Viverette <alanv@google.com> |
Add attribute for controlling ripple radius Sets up the action bar item and control styles to use a 20dp radius ripple to match latest Material spec. Bug: 19370157 Change-Id: I87cba01076ee83937a6bfd36fc7dc188e1eb4672
/frameworks/base/graphics/java/android/graphics/drawable/RippleBackground.java
|
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/RippleBackground.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/RippleBackground.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/RippleBackground.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/RippleBackground.java
|
f92f26fef215897bd302c1c06adbe5d853881b3f |
|
08-Oct-2014 |
Alan Viverette <alanv@google.com> |
Slow down ripple background fade in from press BUG: 17433613 Change-Id: Ie9c4046532d61ad8ef8e044d14557db5d52e0d0b
/frameworks/base/graphics/java/android/graphics/drawable/RippleBackground.java
|
8bdb44270323ec8b665d26322fe67cd307719904 |
|
25-Sep-2014 |
Alan Viverette <alanv@google.com> |
Cut ripple background alpha in half Ripple alpha is supposed to be split evenly between the foreground ripple layer and the background layer, but the background alpha wasn't getting adjusted properly. BUG: 17658817 Change-Id: I7af2f2ed38400a40d4a17da020363c7ae5c71a7b
/frameworks/base/graphics/java/android/graphics/drawable/RippleBackground.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/RippleBackground.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/RippleBackground.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/RippleBackground.java
|
94b88e7103b0ce7a1bb1f79156b5fdc07f1c90b4 |
|
03-Sep-2014 |
Alan Viverette <alanv@google.com> |
Merge "Remove partial support for hotspot changes on focus movement" into lmp-dev
|
a8a8ff000b2902eb4e187e62be39fd9535c6c839 |
|
03-Sep-2014 |
Alan Viverette <alanv@google.com> |
Remove partial support for hotspot changes on focus movement Also removes unused x/y position and tween values on RippleBackground. The background is now always centered within the hotspot area. BUG: 17300399 Change-Id: I1904c9f44e6bebb2b434d2b092205edd42204263
/frameworks/base/graphics/java/android/graphics/drawable/RippleBackground.java
|
be0dd99bac781d1dd73cb67f33bcd931e3693af5 |
|
03-Sep-2014 |
Alan Viverette <alanv@google.com> |
Make sure ripple background bounds are used for invalidation BUG: 17349157 Change-Id: Ie88fbabbc66349aea9b7d00e28ca12f93776a4a7
/frameworks/base/graphics/java/android/graphics/drawable/RippleBackground.java
|
be50bd76a993b8575828df2fafab4bc5ec9de99b |
|
30-Aug-2014 |
Alan Viverette <alanv@google.com> |
Merge "Fix disappearing ripple background, treat active ripple separately" into lmp-dev
|
7ff48839b0149eba1ab46cfd1476854c2e664a81 |
|
30-Aug-2014 |
Alan Viverette <alanv@google.com> |
Variety of small UI tweaks Updates dialog padding, text opacities on dark theme, progress bar opacity, ripple background exit speed, remove unnecessary text color attribute from action menu item layout, fix secondary and tertiary disabled state text colors. BUG: 17321765 BUG: 17333263 BUG: 17322159 BUG: 17330086 Change-Id: I14473a985b2c6b853afe7db535a2443e934238e9
/frameworks/base/graphics/java/android/graphics/drawable/RippleBackground.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/RippleBackground.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/RippleBackground.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/RippleBackground.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/RippleBackground.java
|