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
This commit is contained in:
Adam Cohen committed 2012-05-22 16:53:10 -07:00
1 parent be4f147115
commit 7bdfc9700b
2 files changed
+7 -4

No files matched your search

+3
View File
@@ -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) {