summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/BubbleTextView.java
diff options
context:
space:
mode:
authorJon Miranda <jonmiranda@google.com>2017-03-03 14:57:14 -0800
committerJon Miranda <jonmiranda@google.com>2017-03-06 16:25:54 -0800
commit471701162642d4cbfc5cebdd448e9a7af4c7c51f (patch)
treebe7164f3e8364c15066a99ba360e20d949b12ca9 /src/com/android/launcher3/BubbleTextView.java
parentdec75d5adda54d48d195f76a9ab31c09de2e2848 (diff)
downloadandroid_packages_apps_Trebuchet-471701162642d4cbfc5cebdd448e9a7af4c7c51f.tar.gz
android_packages_apps_Trebuchet-471701162642d4cbfc5cebdd448e9a7af4c7c51f.tar.bz2
android_packages_apps_Trebuchet-471701162642d4cbfc5cebdd448e9a7af4c7c51f.zip
New folder animations.
Added FolderAnimationManager, which manages the opening and closing animations. All of the animations are done in the Folder. ie. When the users taps on the FolderIcon, we immediately hide the FolderIcon and show the Folder inits place before starting the animation. Bug: 35064148 Change-Id: Icacdbbf78a25489f2eab4fd352f2c6ed71eb710b
Diffstat (limited to 'src/com/android/launcher3/BubbleTextView.java')
-rw-r--r--src/com/android/launcher3/BubbleTextView.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/launcher3/BubbleTextView.java b/src/com/android/launcher3/BubbleTextView.java
index 3b8fb0ac8..f9a6742d8 100644
--- a/src/com/android/launcher3/BubbleTextView.java
+++ b/src/com/android/launcher3/BubbleTextView.java
@@ -590,6 +590,10 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver {
.isEmpty();
}
+ public int getIconSize() {
+ return mIconSize;
+ }
+
/**
* Interface to be implemented by the grand parent to allow click shadow effect.
*/