summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherSettings.java
Commit message (Collapse)AuthorAgeFilesLines
* Trebuchet: Add DB migrationcretin452017-03-261-0/+6
| | | | Change-Id: Ic470848380ede33ba52e71d453d5328a23160b48
* Re-Implementation of hidden foldersVineet Patil2017-03-261-1/+6
| | | | Change-Id: I2cdb881eb6a2608279d30a1cdfc1327a89ae7693
* Implementation of folder animation changes as per cm-13.0Vineet Patil2017-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Folder animations in parity with cm. Folder Layout Revision Updated the folder layout to reflect design revisions based on community feedback Change-Id: Ica1bb796dfccf779a954cf0903a1ae94a010ea1a Conflicts: res/drawable-hdpi/folder_bg.9.png res/drawable-hdpi/folder_fill_highlight.9.png res/drawable-mdpi/folder_bg.9.png res/drawable-mdpi/folder_fill_highlight.9.png res/drawable-xhdpi/folder_bg.9.png res/drawable-xhdpi/folder_fill_highlight.9.png res/drawable-xxhdpi/folder_bg.9.png res/drawable-xxhdpi/folder_fill_highlight.9.png res/layout-land/launcher.xml res/layout-port/launcher.xml res/layout-sw720dp/launcher.xml res/layout/user_folder.xml res/values/dimens.xml src/com/android/launcher3/Folder.java src/com/android/launcher3/FolderIcon.java src/com/android/launcher3/Launcher.java Folder animation changes as per cm-13.0 Change-Id: I019511a58bd9f6a60a3c9b68c826726881cec83f Implementing folder animations Change-Id: I83f17c996ecc894ce22fd195b9b33caf58e2e822
* Homescreen migration from a larger grid to a smaller grid.Sunny Goyal2015-07-311-1/+1
| | | | | | | | | | | | Adding support for restoring from a larger device, if the grid size difference is not more that 1. During restore add all the items in the DB, and run a one-time migration the next time launcher starts. The migration strategy is defined in ShrinkWorkspaceTask.java which involves resizing, moving and removing some items. Change-Id: I6ee411f6db5bf0152b527e16146a88c56dec2d97
* Making the provider column names publicSunny Goyal2015-06-221-21/+26
| | | | Change-Id: Idc85e34aceaaed5a1abb693a8a04d06f9c70b4b4
* Using content provider to update launcher settingsSunny Goyal2015-06-121-0/+15
| | | | | | | | > Removing cross process preference file > Removed broadcast listener management for settings changes > Defining content provider method to get/set laucnehr preferences Change-Id: Ida36eac0ab17c1d48fedc9404817a53a89b36c4f
* Removing LauncherProvider dependency from LauncherSettingsSunny Goyal2015-04-171-12/+20
| | | | | | | | > This ensures that the classLoader does not need to load LauncherProvider to access LauncherSettings > Making a few fields public. Change-Id: I2e8ee6e169552739f09e500d3b6acbcee7cd0718
* WidgetTray revamp workHyunyoung Song2015-04-081-4/+4
| | | | | | | | | | | | | | | | | | | | | | | - RecyclerView is rendering - Animation is connected - Drag and drop is now handled - UI tweaking: background, margins, more to come. - Flicker and preview not loading issue: fixed height for the horizontal scroll view. - Shortcuts are added - Widget Preview loading should support shortPress for drop - UI tweaks left: overlay of arrow when there are more items to scroll - icons are added in the section header - Sorting of widget sections and widget horizontal list - Adding all the padding constants to dimen.xml file - RecyclerView should only support one view type For items to be addressed in follow up patches OR CLs, TODO is added to the comment. b/19897708 Change-Id: Ibfc4da1696a23d20bada93db46e126706eb13cdc
* Removing ContentObserver from LauncherModel, and calling reloadSunny Goyal2015-04-011-23/+4
| | | | | | whereever necessary Change-Id: Ia4a8abdfe2be9703f3217a60527d3a1220b33bdc
* Adding sort switch in FolderPagedViewSunny Goyal2015-03-171-0/+6
| | | | | | | | | > Adding options column in DB to store generation purpose flags > Storing isSorted flag in FolderInfo > Adding a switch for A-Z sorting (only visible if pageCount > 1) > When in sorted mode, spring-load snaps to the target location for 1.5 seconds Change-Id: I8c7c778d2cc3ccbd35a2890a1a705e1c1a7e9a66
* 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