Commit Graph

10 Commits

Author SHA1 Message Date
Alan Viverette
bd5294bcb8 Pass densityDpi into RippleComponent, store as densityScale
Fixes a regression where the foreground was created against the density
in DPI rather than as a scale factor.

Bug: 25602850
Change-Id: Ia871aa5def4319682a73228efb599f31b65afdb6
2015-11-11 12:51:10 -05:00
Jorim Jaggi
b7303a36ba Disable RT animations for header ripple
Bug: 22208997
Change-Id: I10a890d4f8f70c7c786940ffdb86cf4d21bdaf05
2015-08-21 15:21:12 -07:00
Alan Viverette
c3b68dff16 Manually jump ripples when preemptively aborting RT animation
Bug: 21079749
Change-Id: If79dcef59aba616c0446efc623863f563cb16250
2015-06-04 15:33:52 -07:00
Alan Viverette
15ce834e52 Reduce amount of unnecessary RippleDrawable mask redraw
Bug: 19638504
Change-Id: Ie7b639c543150e13aec30dfeca2b303d5b601cf3
2015-05-29 16:23:43 -07:00
Alan Viverette
5bc0144302 Update ripple drawable target radius on bounds change
Only bothers with the background and active ripple, since the exiting
ripples are in hardware animation mode anyway and can't be updated.

Bug: 21079749
Change-Id: I0f70c0c0feea32e2c70bb9b1b0fa3b7846b20c7f
2015-05-15 17:22:24 -07:00
Alan Viverette
fc8882f134 Clean up ripple exit, null out software animators on cancel/end
Bug: 19682421
Change-Id: I40ff56ed98a6c67cd01c74e455899825013a1f12
2015-03-18 17:26:54 -07:00
Chris Craik
43c410eaac Merge "Remove HardwareCanvas" 2015-03-18 21:36:56 +00:00
Chris Craik
f6829a0a61 Remove HardwareCanvas
Change-Id: I239646a7f00f09d3f76fe6b6162eed86bc0d6e77
2015-03-10 14:56:11 -07:00
Alan Viverette
6a67db4138 Implement bounded ripple animation
Bug: 19431322
Change-Id: I5dc1a28d8675cc6fb036b815d6227113c3f1aa4b
2015-03-09 18:54:25 -07:00
Alan Viverette
f872ee0057 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
2015-03-09 18:25:21 -07:00