summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/Workspace.java
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2012-05-22 16:50:35 -0700
committerAdam Cohen <adamcohen@google.com>2012-05-22 16:53:10 -0700
commit7bdfc9700b1cad043c04c757f134db1bf3df00da (patch)
tree4afe3ecfcd7d6cd76e8432ed8f00a6269512e33f /src/com/android/launcher2/Workspace.java
parentbe4f1471152ef1377ca7387b1ae0e9ee2ab108c4 (diff)
downloadandroid_packages_apps_Trebuchet-7bdfc9700b1cad043c04c757f134db1bf3df00da.tar.gz
android_packages_apps_Trebuchet-7bdfc9700b1cad043c04c757f134db1bf3df00da.tar.bz2
android_packages_apps_Trebuchet-7bdfc9700b1cad043c04c757f134db1bf3df00da.zip
Fix a couple small bugs (issue 6539339)
-> Adjusting the character of the 'shake' animation to keep a single phase, and instead stagger the animations slightly -> Fixing issue where widget is not given the size change callback if the widget is resized on drop Change-Id: I9cd9e6cd39009d9e5c70e745812b6ece71b845ee
Diffstat (limited to 'src/com/android/launcher2/Workspace.java')
-rw-r--r--src/com/android/launcher2/Workspace.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java
index 905ad8a89..047c16c71 100644
--- a/src/com/android/launcher2/Workspace.java
+++ b/src/com/android/launcher2/Workspace.java
@@ -2194,6 +2194,9 @@ public class Workspace extends SmoothPagedView
resizeOnDrop = true;
item.spanX = resultSpan[0];
item.spanY = resultSpan[1];
+ AppWidgetHostView awhv = (AppWidgetHostView) cell;
+ AppWidgetResizeFrame.updateWidgetSizeRanges(awhv, mLauncher, resultSpan[0],
+ resultSpan[1]);
}
if (mCurrentPage != screen && !hasMovedIntoHotseat) {