OSDN Git Service

Removing custom state definition from FastBitmapDrawable
authorSunny Goyal <sunnygoyal@google.com>
Thu, 16 Feb 2017 21:33:15 +0000 (13:33 -0800)
committerSunny Goyal <sunnygoyal@google.com>
Fri, 24 Feb 2017 00:15:25 +0000 (16:15 -0800)
commit2a76e3fbc654481eb05ac3187896884ad1497b9f
treec5b1aa7edd31277e487bada373da308e8234c487
parentf28629a47b5fcd9532683e9c9ad7aad049e0106d
Removing custom state definition from FastBitmapDrawable

> For Fast scrolling, using state list animator defined in xml
> For Pressed state, using onState change method in a drawable

Change-Id: Ia608690f593938cf0f77e00afcc2a3076e48d8f4
res/animator/all_apps_fastscroll_icon_anim.xml [new file with mode: 0644]
res/animator/overview_button_anim.xml [moved from res/animator-v21/overview_button_anim.xml with 100% similarity]
res/layout/all_apps_icon.xml
src/com/android/launcher3/BaseRecyclerViewFastScrollBar.java
src/com/android/launcher3/BubbleTextView.java
src/com/android/launcher3/FastBitmapDrawable.java
src/com/android/launcher3/allapps/AllAppsFastScrollHelper.java