OSDN Git Service

Update shortcut animations.
authorTony Wickham <twickham@google.com>
Sat, 16 Jul 2016 00:23:07 +0000 (17:23 -0700)
committerTony Wickham <twickham@google.com>
Tue, 19 Jul 2016 20:58:51 +0000 (13:58 -0700)
commit8f58e61d02fcb0ca90a2803e76a8792ec2c1f99a
tree2cba823be7962a2100c62acf086784f69fcae0fc
parent1e3d490e08b06750d467e144e5d74ea420c59613
Update shortcut animations.

- Open animation: shortcuts reveal using modified circular reveal
  (so that it reveals in the pill shape instead of a circle);
  slight translation away from the original icon; scale icon and text.
- Hover animation: scale the shortcut pill and translate others away.

Bug: 28980830
Bug: 30127368
Change-Id: I8ed05c7a082f2c2a3f6c663da7259f6cd33e394f
14 files changed:
res/drawable/bg_white_pill.xml
res/layout/deep_shortcut.xml
res/values/config.xml
res/values/dimens.xml
res/values/styles.xml
src/com/android/launcher3/LauncherStateTransitionAnimation.java
src/com/android/launcher3/folder/Folder.java
src/com/android/launcher3/shortcuts/DeepShortcutView.java
src/com/android/launcher3/shortcuts/DeepShortcutsContainer.java
src/com/android/launcher3/util/CircleRevealOutlineProvider.java [new file with mode: 0644]
src/com/android/launcher3/util/PillRevealOutlineProvider.java [new file with mode: 0644]
src/com/android/launcher3/util/RevealOutlineAnimation.java [new file with mode: 0644]
src/com/android/launcher3/util/RevealOutlineProvider.java [deleted file]
src/com/android/launcher3/util/UiThreadCircularReveal.java [deleted file]