diff options
author | Adam Cohen <adamcohen@google.com> | 2012-02-16 23:53:59 -0800 |
---|---|---|
committer | Adam Cohen <adamcohen@google.com> | 2012-02-27 17:30:32 -0800 |
commit | d41fbf5680750e34335bba6b38298186c144a4b7 (patch) | |
tree | dea77d6aa9211dc085e4bb29aac18e9deef601c5 /src/com/android/launcher2/InstallWidgetReceiver.java | |
parent | a95d329dea8c1aa09f50cc7ca897f454b161a454 (diff) | |
download | android_packages_apps_Trebuchet-d41fbf5680750e34335bba6b38298186c144a4b7.tar.gz android_packages_apps_Trebuchet-d41fbf5680750e34335bba6b38298186c144a4b7.tar.bz2 android_packages_apps_Trebuchet-d41fbf5680750e34335bba6b38298186c144a4b7.zip |
When adding or moving a resizable widget, the widget may resize
-> If a widget is resizable, and there is not enough room to add it
in its current (or default) size, but can be scaled down to fit
a certain area, it will be resized to fit the available space
-> The resizing is animated using a crossfade and scale between
the original dragView and the widget rendered in the final size
Change-Id: I75db9dcabecce11598b3ae55f20b96b2ec6b7e87
Diffstat (limited to 'src/com/android/launcher2/InstallWidgetReceiver.java')
-rw-r--r-- | src/com/android/launcher2/InstallWidgetReceiver.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/InstallWidgetReceiver.java b/src/com/android/launcher2/InstallWidgetReceiver.java index 6b3763ce0..a1e9b1187 100644 --- a/src/com/android/launcher2/InstallWidgetReceiver.java +++ b/src/com/android/launcher2/InstallWidgetReceiver.java @@ -189,7 +189,7 @@ public class InstallWidgetReceiver { final PendingAddWidgetInfo createInfo = new PendingAddWidgetInfo(widgetInfo, mMimeType, mClipData); mLauncher.addAppWidgetFromDrop(createInfo, LauncherSettings.Favorites.CONTAINER_DESKTOP, - mTargetLayoutScreen, null, mTargetLayoutPos); + mTargetLayoutScreen, null, null, mTargetLayoutPos); } } } |