OSDN Git Service

Using color filter when animating the drop target instead to TransitionDrawable
authorSunny Goyal <sunnygoyal@google.com>
Thu, 21 May 2015 17:28:02 +0000 (10:28 -0700)
committerSunny Goyal <sunnygoyal@google.com>
Thu, 21 May 2015 17:30:46 +0000 (10:30 -0700)
commit3a644ed1ce12554fcdf5c499e959bda986d10551
treee02999e9e8078ac84bb3350701214eae9553d743
parentc393b0765df8d2d34b3b996b71700a705b7d0106
Using color filter when animating the drop target instead to TransitionDrawable

> No more flickering when crossfading between two bitmaps in small duration
> Allows us to control the color directly without depending on the assets

Change-Id: Ie7ed8bb94baf560e9b939cca624ed1bad457732c
24 files changed:
res/drawable-hdpi/ic_launcher_info_active.png [deleted file]
res/drawable-hdpi/ic_launcher_remove_active.png [deleted file]
res/drawable-hdpi/ic_launcher_uninstall_active.png [deleted file]
res/drawable-mdpi/ic_launcher_info_active.png [deleted file]
res/drawable-mdpi/ic_launcher_remove_active.png [deleted file]
res/drawable-mdpi/ic_launcher_uninstall_active.png [deleted file]
res/drawable-xhdpi/ic_launcher_info_active.png [deleted file]
res/drawable-xhdpi/ic_launcher_remove_active.png [deleted file]
res/drawable-xhdpi/ic_launcher_uninstall_active.png [deleted file]
res/drawable-xxhdpi/ic_launcher_info_active.png [deleted file]
res/drawable-xxhdpi/ic_launcher_remove_active.png [deleted file]
res/drawable-xxhdpi/ic_launcher_uninstall_active.png [deleted file]
res/drawable-xxxhdpi/ic_launcher_info_active.png [deleted file]
res/drawable-xxxhdpi/ic_launcher_remove_active.png [deleted file]
res/drawable-xxxhdpi/ic_launcher_uninstall_active.png [deleted file]
res/drawable/info_target_selector.xml [deleted file]
res/drawable/remove_target_selector.xml [deleted file]
res/drawable/uninstall_target_selector.xml [deleted file]
res/values/colors.xml
src/com/android/launcher3/ButtonDropTarget.java
src/com/android/launcher3/DeleteDropTarget.java
src/com/android/launcher3/DragView.java
src/com/android/launcher3/InfoDropTarget.java
src/com/android/launcher3/UninstallDropTarget.java