diff options
author | Raj Yengisetty <rajesh@cyngn.com> | 2014-05-13 23:19:54 -0700 |
---|---|---|
committer | fuzz <fuzzzzzzzzzzzzzzzzzz@gmail.com> | 2014-05-24 12:26:03 +0900 |
commit | 82196ead569c25dae76a70be6b2bc147666ea24d (patch) | |
tree | 252a9885b63068b590921cab270a6d93cf09bc4f /src/com/android/launcher3/LauncherAppState.java | |
parent | 0b4362157fdc930f0eb342194dfb553c80a238bd (diff) | |
download | android_packages_apps_Trebuchet-82196ead569c25dae76a70be6b2bc147666ea24d.tar.gz android_packages_apps_Trebuchet-82196ead569c25dae76a70be6b2bc147666ea24d.tar.bz2 android_packages_apps_Trebuchet-82196ead569c25dae76a70be6b2bc147666ea24d.zip |
Trebuchet Settings UI Refresh
- Overview Panel contains all Launcher Settings
- Accessible through long press on Workspace or HW Menu button
- Settings are held in a SlidingPanel in the Overview Panel
- Replace the Settings shortcut in Overview Panel with Themes shortcut
- Replace widgets icon with new widgets icon from Launcher3
- Trebuchet Settings changes no longer require restarting Process
- Transition Effects have PNG Sequence to show animation sequence
- Remove PageIndicator click event to open Overview Panel in AppTray
Contributors:
Adrian Foulk - UX Lead
Abishek Devkota - Project Manager
Hayden Schoen - UX Designer
Change-Id: I2186213960cf12e840e814757894fe104551856b
Diffstat (limited to 'src/com/android/launcher3/LauncherAppState.java')
-rw-r--r-- | src/com/android/launcher3/LauncherAppState.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/com/android/launcher3/LauncherAppState.java b/src/com/android/launcher3/LauncherAppState.java index cba0d61ac..4cf64edd8 100644 --- a/src/com/android/launcher3/LauncherAppState.java +++ b/src/com/android/launcher3/LauncherAppState.java @@ -189,12 +189,11 @@ public class LauncherAppState { DeviceProfile initDynamicGrid(Context context, int minWidth, int minHeight, int width, int height, int availableWidth, int availableHeight) { - if (mDynamicGrid == null) { - mDynamicGrid = new DynamicGrid(context, - context.getResources(), - minWidth, minHeight, width, height, - availableWidth, availableHeight); - } + + mDynamicGrid = new DynamicGrid(context, + context.getResources(), + minWidth, minHeight, width, height, + availableWidth, availableHeight); // Update the icon size DeviceProfile grid = mDynamicGrid.getDeviceProfile(); |