diff options
author | Alan Viverette <alanv@google.com> | 2014-09-04 21:29:18 -0700 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2014-09-05 19:15:44 +0000 |
commit | a3f0c2b21a73a82a919abe247c4046d114f3712c (patch) | |
tree | 7ce1375b1a49a17224a1d1f061a1b48ed2768c5c /sax | |
parent | 3f70141ed0defa413f48bf9d906fad72b8401bda (diff) | |
download | frameworks_base-a3f0c2b21a73a82a919abe247c4046d114f3712c.zip frameworks_base-a3f0c2b21a73a82a919abe247c4046d114f3712c.tar.gz frameworks_base-a3f0c2b21a73a82a919abe247c4046d114f3712c.tar.bz2 |
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
Diffstat (limited to 'sax')
0 files changed, 0 insertions, 0 deletions