summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/AppWidgetResizeFrame.java
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2015-04-23 15:17:50 -0700
committerHyunyoung Song <hyunyoungs@google.com>2015-04-23 15:17:50 -0700
commitb99ff3e83270e113f6182e337c4f7b0223bad92b (patch)
tree357fb2fee1efa1ea7248a420f59c0436860545c0 /src/com/android/launcher3/AppWidgetResizeFrame.java
parent685f98b2e23465c7f12839590663b53a40e36527 (diff)
downloadandroid_packages_apps_Trebuchet-b99ff3e83270e113f6182e337c4f7b0223bad92b.tar.gz
android_packages_apps_Trebuchet-b99ff3e83270e113f6182e337c4f7b0223bad92b.tar.bz2
android_packages_apps_Trebuchet-b99ff3e83270e113f6182e337c4f7b0223bad92b.zip
Add drop animation / Toast to widgettray
- show instruction toast on clicking the widget - Add animation when widget drops on the workspace. Added WidgetHostViewLoader to handle short press and assign widget host view to enable animation b/19897708 Change-Id: Iec36d72cb21bf09343d0beeb31a09bf8b0cb5e0d
Diffstat (limited to 'src/com/android/launcher3/AppWidgetResizeFrame.java')
-rw-r--r--src/com/android/launcher3/AppWidgetResizeFrame.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/AppWidgetResizeFrame.java b/src/com/android/launcher3/AppWidgetResizeFrame.java
index 240250750..3c698c014 100644
--- a/src/com/android/launcher3/AppWidgetResizeFrame.java
+++ b/src/com/android/launcher3/AppWidgetResizeFrame.java
@@ -349,7 +349,7 @@ public class AppWidgetResizeFrame extends FrameLayout {
mTmpRect.right, mTmpRect.bottom);
}
- static Rect getWidgetSizeRanges(Launcher launcher, int spanX, int spanY, Rect rect) {
+ public static Rect getWidgetSizeRanges(Launcher launcher, int spanX, int spanY, Rect rect) {
if (rect == null) {
rect = new Rect();
}