summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherSettings.java
Commit message (Collapse)AuthorAgeFilesLines
* Adding a rank column for itemInfoSunny Goyal2015-01-131-0/+7
| | | | | | | | > Rank is used to determine position of an item in a folder. Bug: 18590192 Change-Id: I2826a7c570b4cc58e719d685f17a24ec6133804f
* Supporting custom widgets provided by launcherAdam Cohen2014-12-051-0/+5
| | | | | | | -> This change provides integration for widgets provided by the launcher package which can run arbitrary code. Change-Id: I6052da5c4afed7ee72e3b44d045b9c46f2d84c42
* Launcher3 multi-profile supportKenny Guy2014-04-301-0/+8
| | | | | | | | | | | | | | | | | | | | | Use LauncherApps API and badging APIs instead of PackageManager. With compatability layer that uses PackageManager pre L. Adds support to show apps from current user and any managed profiles. Background: Managed profiles are user sandboxes that are visible from the primary user and can be launched as if they are a part of this user. A launcher should now be capable of listing apps from this user as well as related profiles of this user. Launching of activities is now via the LauncherApps interface, to allow for cross-profile app launching. Only activities with category LAUNCHER can be added as a shortcut on the workspace for a managed profile. Widgets and non-application shortcuts are only supported for the current profile. Widgets from the managed profile are not available. Change-Id: I5f396b1bf7f91ad91a5710ea4a0fd14573972eb9
* Don't lose icons when migrating from different-sized hotseats.Dan Sandler2014-03-061-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | Launcher2 on sw720dp devices had 8 hotseat slots; Launcher3 has only 6 on those same devices. When importing the old hotseat, the empty slot (so technically there were 9) occupied by the all apps button didn't line up with the new all apps button, causing a hole on the hotseat. Furthermore, the icon in old position 3 was clobbered by the new all apps icon: 0 1 2 3 (#) 4 5 6 7 ==> 0 1 2 (:) _ 4 5 In this CL we introduce a separate sort-and-place step for hotseat icons so that any icon colliding with the new all-apps slot can be moved to the right to find the next nearest open slot. This works well for the 8->6 case; it will probably do something reasonable, if not ideal, for other grid migration scenarios. But those are not covered by this bug. Bug: 13015468 Change-Id: I7edb3f27addc78ad02bbfcd1c39175ca56220007
* handle shortcut restore for missing packagesChris Wren2014-01-271-0/+6
| | | | | Bug: 10778992 Change-Id: I8766b8d4dd9c0269d52a7ec3da58dd408bc5f09f
* add a backup agent.Chris Wren2013-09-241-2/+11
| | | | | | | | | backup only, restore path is just debugging/verification. todo: restore path todo: additional asset backup for widgets and launcher items Bug: 10778984 Change-Id: I01aed4794a02f03daf21bca28f99cfbea90e4967
* remember the provider path when creating a widget.Chris Wren2013-09-171-0/+7
| | | | | Bug: 10779026 Change-Id: I4f5b619087868a8f637c433c29e3aa6856ccc97d
* Initial implementation of Shrink-wrapAdam Cohen2013-06-251-0/+20
| | | | Change-Id: If73c7f7ca19ca62ff43134f515584354afef8507
* HACK: temporary upgrade path from com.android.launcher2Adam Cohen2013-06-061-0/+7
| | | | | | | | | -> load old provider -> permute pages -> strip all duplicates from workspace -> add [allapps minus workspaceapps] to apps folder Change-Id: Id319d532c6bf1d78370ecc736e95a9475d831de8
* Launcher2 is now Launcher3.Daniel Sandler2013-06-051-0/+236
Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b