OSDN Git Service

Separate background from ripple for better focus/press UX
authorAlan Viverette <alanv@google.com>
Thu, 24 Jul 2014 23:31:42 +0000 (16:31 -0700)
committerAlan Viverette <alanv@google.com>
Thu, 24 Jul 2014 23:31:42 +0000 (16:31 -0700)
commit6ce6d70f9c78f0197f1369246bf55a5f6b8d7ba4
treeb26bd51565e6f9dc3305807f3cf6867ca30b88c6
parent28308e8494933baf6c28012d7599346633671337
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
graphics/java/android/graphics/drawable/Ripple.java
graphics/java/android/graphics/drawable/RippleBackground.java [new file with mode: 0644]
graphics/java/android/graphics/drawable/RippleDrawable.java