a5c8a9eb666da16bc4c9ea4412868e22ace8d1f0 |
|
08-Jul-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Adding logic to pull in workspace data from another Launcher3 based provider. This allows OEMs to keep the user's homescreen intact while changing the default home app package. Bug: 28536314 Change-Id: Ibebfd7dd33aa2cbd9ca28d2d611dd0a4a5971444
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
eb77aaea8990ede3ba774c7b92d48d098bda0f24 |
|
24-May-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Removing Key-Value pair backup logic as Launcher now uses full-data backup Change-Id: I3bbaec2b33afe8c1da3ca1468c7c733cc3194604
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
bfbf7f9f4a0b300613f0ff27a4eb592d88c08325 |
|
19-May-2016 |
Tony Wickham <twickham@google.com> |
Add support for launcher shortcuts. - This CL has no UI but provides the necessary backing for one. - Adds new item type: ITEM_TYPE_DEEP_SHORTCUT, to distinguish from ITEM_TYPE_SHORTCUT. We can reconsider these names. - Adds ShortcutCache, using LruCache for up to 30 dynamic shortcuts (pinned shortcuts are always cached in a HashMap). - DeepShortcutManager queries for shortcuts and other things like pin them. In a future CL it will use the cache, but for now it simply makes an RPC for all queries. - LauncherModel maintains counts for pinned shortcuts, pinning and unpinning when counts reach 1 or 0, respectively. - LauncherModel maintains a map of components to lists of shortcut ids, which Launcher gets a copy of after it is changed in the background. This will allow us to know how many shortcuts an app has immediately, and query for details as the UI is animating. Change-Id: Ic526f374dd10d72a261bae67f07f098fca8d8bca
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
ded0fdba52d94f8c841598a14dbece36a2f1849c |
|
24-May-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Removing logic for workspace migration from Launcher2 Change-Id: I8a121d74862f665c58406f8d5c7eb1263e7ccff3
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
f48e59268bf801cf4f4d1e6715871e14fea31ce3 |
|
13-May-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Making the 'Allow rotation' setting dependent on system state The setting will not be available on a tablet, where rotation is always enabled. On mobiles, it will be disabled when auto-rotate is disabled in display settings. Also removing content provider dependency from settings, as its in the same process as launcher. Bug: 28704055 Change-Id: Ibe6b1e67411fb0e4b2e36446710f463e4a3d6883
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
eb4b79935e9f75dda72e4953f45e616e252d7b03 |
|
21-Apr-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Removing icon_type column Icon type is not used consistently. It is used initially during the loader. Afterwards, we save both the icon and resource to the db. Instead of changing the logic to always read the shortcut-resource first, and fallback to the bitmap if the resource is not available, always write the bitmap to DB whenever the shortcut is edited. Change-Id: I0ea5e88f8904bd3250ca669220b3e5d6aeef1bfd
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
c190dbfb784c0bca629b6966ce314d735cf98db3 |
|
05-May-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Adding full backup handler for launcher3 Bug: 28302573 Change-Id: If0889a3b00b88b134b19d7f790159dfafdcdb004
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
cc8f9e0af7f9acc6f03a1a0173d3e118b4e96ae5 |
|
21-Apr-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Removing some deprecated columns. Removing these columns will ensure that new installs do not get this column, without affecting the upgrades. Change-Id: If06edcd2f899f30b5427c07e72a170ccefc32dd6
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
827cef203f386cb548b98a7fa9888b75478c8e20 |
|
17-Mar-2016 |
Tony Wickham <twickham@google.com> |
Added ColorExtractionService and ExtractedColors. - Launcher has an instance of ExtractedColors, which is loaded from LauncherProvider in onCreate() and whenever the wallpaper changes. - When the wallpaper changes, the ColorExtractionService is started in the :wallpaper-chooser process. - ColorExtractionService builds an ExtractedColors instance and saves it as a String in LauncherProvider. - When the results are saved, Launcher gets a callback through LauncherProviderChangeListener and reloads the ExtractedColors. - Whenever Launcher loads Extractecolors, it also re-colors items (currently a no-op). Change-Id: I319e2cfe0a86abcbc6bb39ef6b9fbbcad54ad743
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
ad37152c14c716f678d07dd568811a9704c2a9c8 |
|
29-Jan-2016 |
Sunny Goyal <sunnygoyal@google.com> |
resolve merge conflicts of b171e5675b to ub-launcher3-calgary. Change-Id: I329c7518d8c3f0f43e96c6446d5b53a6f4439211
|
b171e5675b91e6e4fc1cf741b3b2d0313ad2fe27 |
|
22-Jan-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Adding a method to throttle backup manager calls Notifying backup manager when a boolean preference changes Bug: 22885775 Change-Id: I105013af1841f6cd87472f558fa490670ed1ba24
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
f076eae0cab10f035f7b187c72a680cd220acf1b |
|
11-Jan-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Adding support for migrating the grid between any two valid screens sizes. The grid is migrated in steps where each step consists of at max one column change and at max one row change. Adding some unit tests for GridMigrationLogic Bug: 25958224 Change-Id: Ie54e872ea0925cc4c463edbba0a7201d62b373a0
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
d249748abf357925b326d57ab68eb6c2b23c4ef6 |
|
23-Sep-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Making all provider calls using content resolver. This will allow us to easily move db creation out of onCreate Change-Id: Idd949624b0a9c95e4451e48db7764b7b7922c40a
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
e5bb705fb79f18df8680958dcf2c5460e16c90b6 |
|
27-Jul-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Homescreen migration from a larger grid to a smaller grid. 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
2fb2f0bcfcd25eeaf423660fa30be7a2d4ace5b7 |
|
22-Jun-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Making the provider column names public Change-Id: Idc85e34aceaaed5a1abb693a8a04d06f9c70b4b4
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
7779d62308b87ca26e3be47df836893f6f7693ec |
|
12-Jun-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Using content provider to update launcher settings > Removing cross process preference file > Removed broadcast listener management for settings changes > Defining content provider method to get/set laucnehr preferences Change-Id: Ida36eac0ab17c1d48fedc9404817a53a89b36c4f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
18b640c3710723df8a8528a667c373474e0a06ee |
|
17-Apr-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Removing LauncherProvider dependency from LauncherSettings > This ensures that the classLoader does not need to load LauncherProvider to access LauncherSettings > Making a few fields public. Change-Id: I2e8ee6e169552739f09e500d3b6acbcee7cd0718
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
3f471440a8b6b71d4c15501a96befd3b715c9e8f |
|
09-Apr-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
WidgetTray revamp work - 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
1d4a2df091e2b5928406ea503321563a0ec8a01e |
|
30-Mar-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Removing ContentObserver from LauncherModel, and calling reload whereever necessary Change-Id: Ia4a8abdfe2be9703f3217a60527d3a1220b33bdc
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
5d85c44fd873c740dc191b28424c2ee367d730a2 |
|
10-Mar-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Adding sort switch in FolderPagedView > 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
08f7261d11a53ae4b330ad4fa897b8519de3d750 |
|
05-Jan-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Adding a rank column for itemInfo > Rank is used to determine position of an item in a folder. Bug: 18590192 Change-Id: I2826a7c570b4cc58e719d685f17a24ec6133804f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
5940042d39b576553c2499bcf3d0641281e6ad52 |
|
06-Mar-2014 |
Adam Cohen <adamcohen@google.com> |
Supporting custom widgets provided by launcher -> This change provides integration for widgets provided by the launcher package which can run arbitrary code. Change-Id: I6052da5c4afed7ee72e3b44d045b9c46f2d84c42
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
ed13187a745866483139e2878037e1f8427ce567 |
|
30-Apr-2014 |
Kenny Guy <kennyguy@google.com> |
Launcher3 multi-profile support 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
ab5fa3a06ad7203a7bdab899f1951d9e9dc92d5f |
|
07-Mar-2014 |
Dan Sandler <dsandler@android.com> |
Don't lose icons when migrating from different-sized hotseats. 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
f4d081107f5984bfb92cb1a627667fea5bf1498c |
|
17-Jan-2014 |
Chris Wren <cwren@android.com> |
handle shortcut restore for missing packages Bug: 10778992 Change-Id: I8766b8d4dd9c0269d52a7ec3da58dd408bc5f09f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
1ada10d5950f45aba998a7722bfde2e529201f48 |
|
14-Sep-2013 |
Chris Wren <cwren@android.com> |
add a backup agent. 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
d5e66bfca1dc4fdbab7513d88c6568bc4d17bca8 |
|
16-Sep-2013 |
Chris Wren <cwren@android.com> |
remember the provider path when creating a widget. Bug: 10779026 Change-Id: I4f5b619087868a8f637c433c29e3aa6856ccc97d
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
dcd297f05a866e07090d6e2af8fb4b15f28cb555 |
|
18-Jun-2013 |
Adam Cohen <adamcohen@google.com> |
Initial implementation of Shrink-wrap Change-Id: If73c7f7ca19ca62ff43134f515584354afef8507
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
e25af795647a19f1a0d60bc4baea5a996d215fdf |
|
07-Jun-2013 |
Adam Cohen <adamcohen@google.com> |
HACK: temporary upgrade path from com.android.launcher2 -> load old provider -> permute pages -> strip all duplicates from workspace -> add [allapps minus workspaceapps] to apps folder Change-Id: Id319d532c6bf1d78370ecc736e95a9475d831de8
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|
325dc23624160689e59fbac708cf6f222b20d025 |
|
06-Jun-2013 |
Daniel Sandler <dsandler@android.com> |
Launcher2 is now Launcher3. Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
/packages/apps/Launcher3/src/com/android/launcher3/LauncherSettings.java
|