summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove old preference activityRaj Yengisetty2014-06-132-275/+1
| | | | | | * Also cleanup & remove unused strings Change-Id: I0b9f2405ab98b0df612a18ccfaa5d9ba98876d8a
* Merge "Use theme change categories and clear widget preview cache" into cm-11.0Danesh M2014-06-131-22/+18
|\
| * Use theme change categories and clear widget preview cacheClark Scheff2014-06-131-22/+18
| | | | | | | | Change-Id: If10fa3fa407891b91322c7e982742eb1dfab2b93
* | Merge "Move Scrolling Wallpaper to new Trebuchet Settings" into cm-11.0Abhisek Devkota2014-06-133-2/+31
|\ \
| * | Move Scrolling Wallpaper to new Trebuchet SettingsRaj Yengisetty2014-06-133-2/+31
| | | | | | | | | | | | Change-Id: I57961ae9b6f0df334ddd2c4563ddfd7e2939f01e
* | | Trebuchet : Default workspace improvementsRaj Yengisetty2014-06-132-107/+112
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b54b34edd5c87e6d0702793b423b14dc24fb1076 Fix bug for mdpi devices crash loop. Revert requires overlays to know if GSF installed, adding a run time check to load default workspaces. Add in additional overlays per density for new LauncherModel and LauncherProvider 4.4.3 logic. Change-Id: I5709182521e80d273e892eb3310abd68acac95ad
* | Fixed: Empty status for Protected Apps any other non-state settingsRaj Yengisetty2014-06-131-0/+2
| | | | | | | | | | | | don't get cached view information from other settings. Change-Id: I8be1949ccaad326ce97ed76f0ce8ec328b757a6e
* | Merge "Improve margins for all tablets" into cm-11.0Abhisek Devkota2014-06-131-2/+2
|\ \
| * | Improve margins for all tabletsDavid Marble2014-06-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | My last patch caused the Remove and App Info icons to be cut off and distorted. This change increases the space so that there is no distortion on full sized or small tablets. A problem remains that was present before. When you have the searchbar invisible in landscape on a small tablet, the Remove and App Info icons are not displayed. It works fine on large tablets, on small tablets with the search bar visible and on small tablets in portrait. Change-Id: I61ae8d70785878026c1207f3677d667cc49d7c50
* | | Merge "Handle theme changes" into cm-11.0Abhisek Devkota2014-06-132-1/+53
|\ \ \ | | |/ | |/|
| * | Handle theme changesClark Scheff2014-06-102-1/+53
| | | | | | | | | | | | Change-Id: Ib933df8ef825ac35dfcf3207be5f803c2da18f56
* | | GEL Integration (2/2)Matt Garnes2014-06-127-18/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Launch search from extra panel to mimic Google Launcher. Changed Trebuchet to build against CM instead of the AOSP SDK. Added support to swipe left from the home screen to enter Google Now, if it is installed. A right swipe will return the user to the home screen. Change-Id: Ia1a77fedea7e67bcd54a6b6d66099f8366d6b1dc
* | | Merge "Protected App [3/3] Trebuchet - Protected Apps - Build fixed to ↵Abhisek Devkota2014-06-1214-346/+670
|\ \ \ | |_|/ |/| | | | | work with LOCAL_SDK_VERSION - Fixed adding components to protected folders and adding protected folders to other folders - Fixed issues with EditText for FolderName - Adding support for Settings hooks - Uses Setting's LockPattern for Protected Apps - Add Read from Settings Secure DB (DO NOT WRITE!) - Protecting a folder updates Launcher without restart - Batch send component visibility" into cm-11.0
| * | Protected App [3/3]Raj Yengisetty2014-06-1114-346/+670
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Trebuchet - Protected Apps - Build fixed to work with LOCAL_SDK_VERSION - Fixed adding components to protected folders and adding protected folders to other folders - Fixed issues with EditText for FolderName - Adding support for Settings hooks - Uses Setting's LockPattern for Protected Apps - Add Read from Settings Secure DB (DO NOT WRITE!) - Protecting a folder updates Launcher without restart - Batch send component visibility Change-Id: I41c295e7f2c9abc9b2e77e6e3d39b7ca60d47139
* / Improve margins for small tabletsDavid Marble2014-06-111-3/+2
|/ | | | | | | | | | We are currently allocating too much space on the side margins in landscape on small tablets with the searchbar hidden. This fixes the logic for determining the space. The margins to the left side and the hot seat are the same, rather than wider on the left side as they are now. Change-Id: Ic57aa4f850253f1ec1f8858b4a137c8d8a2ad534
* When CustomContent is enabled prevent it from displaying in OverView modeRaj Yengisetty2014-06-092-3/+10
| | | | Change-Id: Iebcedb0d2bee3e6cd400847190e05916db87d265
* Include settings check for displaying SearchBarRaj Yengisetty2014-06-091-0/+16
| | | | | | | | | | Repro: - Open settings panel - Toggle SearchBar off - Observe SearchBar is off - Press Home Button - Launcher Restarts - Observe Dynamic Grid doesn't show space for SearchBar but SearchBar is visible!
* Fixed DynamicProfile for Live Settings supportRaj Yengisetty2014-06-071-7/+6
|
* Fix issue where clings didn't appear after set up wizard (issue 13077829)Adam Cohen2014-06-072-23/+14
| | | | | | | | | | | -> Also removed the db-created as a criteria for showing the clings (this was a bit problematic in some cases and going forward) -> Instead, we use database upgrade as a signal to not show the clings. This is used instead of the above criteria (to prevent old users from seeing the migration cling and losing their data.) -> Stripped some old code related to custom clings that's no longer used. Change-Id: Ib5e5285e5ddbc60e69eb998ee9fd092ae879150d
* use restored icon for restored app shortcutsChris Wren2014-06-074-42/+237
| | | | | Bug: 10778992 Change-Id: Ie430a6587d49dc0d78b87b81582c0cef7c281017
* update placeholder on package install or restoreChris Wren2014-06-075-4/+88
| | | | | Bug: 10778992 Change-Id: I3293d8bab8ae0ef49fc5554531bba5bd6f70932c
* Add callback for "Widgets" button click in launcherSandeep Siddhartha2014-06-071-1/+9
| | | | | Bug: 12553852 Change-Id: I8befd046242b32e86dbc6c98e6d97f0307380dd0
* handle shortcut restore for missing packagesChris Wren2014-06-074-15/+122
| | | | | Bug: 10778992 Change-Id: I8766b8d4dd9c0269d52a7ec3da58dd408bc5f09f
* Don't lose icons when migrating from different-sized hotseats.Dan Sandler2014-06-062-6/+42
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Revert "Fix issue of extra blank screen after uninstall (issue 12372657)"Adam Cohen2014-06-061-1/+0
| | | | | | This reverts commit b2603e3d3a32c90ca13458409561d025afdce399. Change-Id: I81f8c5a4e3861b936ef9e1fbdb339c12d5aefc70
* Disabling cling when the user moves the folder before launching it. (Bug ↵Winson Chung2014-06-062-0/+17
| | | | | | 12963868) Change-Id: Iddcdf655c78b7240be123bd549f3d45794d02c83
* Fix issue of extra blank screen after uninstall (issue 12372657)Adam Cohen2014-06-061-0/+1
| | | | Change-Id: I0326914821f68d789cb26767518ead1292d87db0
* skip backup if launcher is in a bad stateChris Wren2014-06-061-8/+50
| | | | | Bug: 13153542 Change-Id: I4312ebd200e8e652ef841f54301981c2a486b726
* Revert "Disabled the wallpaper when completely in -1 Now space."Jorim Jaggi2014-06-061-1/+1
| | | | | | | This reverts commit f3a8e8c0bd8b0dbe3991e5ad9d315e6e253e92eb. Bug: 12978354 Change-Id: I11f1eeaab4fad9a2e4acf835144f0b0dc6fac54b
* Implement spring-loading of folders when dragging over.Jorim Jaggi2014-06-065-61/+147
| | | | | Bug: 8912132 Change-Id: Id81889a133e56461df2e20599c4b40020818ba18
* Do updateWorkspaceScreenOrder inside a single transaction.Yura2014-06-062-4/+26
| | | | | | | | | | | The workspacescreens table is updated in LauncherModel.updateWorkspaceScreenOrder and that the operation to remove all screens, then reinsert the new list of screens in not inside a single transaction, so if the app is updating or crashes between ContentResolver.delete and ContentResolver.bulkInsert then the data will be lost. This CL makes it all happen inside 1 transaction. Bug: 12523285 Change-Id: I409dbc9f48fa9c8bd4bf3b1453204a4daac1689a
* Fix NPE in when dropping from all apps (issue 12917451)Adam Cohen2014-06-061-4/+5
| | | | | | | | | When dropping from all apps, accept drop was returning true if the item was above a folder, however, when it came time to complete the drop, the folder wouldn't accept the item. This can be prevented by increasing the criteria in acceptDrop. Change-Id: Ib644ec45984e8366c33bb674f3d3a76e22ed5160
* Small refactor to separate adding workspace / all apps itemsAdam Cohen2014-06-063-22/+46
| | | | Change-Id: I06b7bc7f7f0e01696cb9670b8385e5148593e3e0
* Ensure we don't call getLayoutDirection() for devices not running JB MR1+. ↵Winson Chung2014-06-061-1/+5
| | | | | | (Bug 12906355) Change-Id: I25115b9529c21d3079f50bc26bad8f846a6fcd3e
* Fix deprecated EMPTY_ARRAY usage (nanoprotos).Mac Duy Hai2014-06-061-2/+2
| | | | | | Newer nanoproto compiler discourages the use of this. Change-Id: Ic27a6d15f2892bb49df3100147c086a2bce20fd4
* Do not show overview when menu pressed on CustomContent screen.Yura2014-06-061-9/+15
| | | | | Bug: 12524591 Change-Id: I2bc0c4d206214d994c9a9e1bd13b42f2e53dba9f
* Fix black flash during rotation of -1 screen with GEL.Derek Prothro2014-06-062-22/+9
| | | | | | | | | | | We need to make sure the custom content is adding synchronously while the rest of the workspace is being created. If we wait for it to be added in a separate run task, we see a black flash during rotation. Also rename a few methods and remove obsolete methods. Bug: 11802691 Change-Id: I3f6500aa1fabe68cef59ad8c764877f954986a99
* Fix bug: Scroll position reported incorrectly to live wallpapersMichael Jurka2014-06-061-2/+22
| | | | | | Bug: 11189265 Change-Id: I410f318df4e43ed13d33889a8158a03438a6174f
* Adding tighter first run checks for migration clings. (Bug 12626290)Winson Chung2014-06-062-1/+13
| | | | Change-Id: I09fc95c9a3d50ce57f9140e89da2ff4856807f92
* Defend against missing DB during migration.Dan Sandler2014-06-061-2/+4
| | | | | Bug: 12600784 Change-Id: Ie295d2ac970eab798b9826748d400cd30a04662d
* Avoid NPE from delayed RunnableIan Parkinson2014-06-061-3/+5
| | | | | | | | | Naive fix to b/12656485. Other Runnables in Launcher similarly check that mWorkspace hasn't become null between being posted and being executed, so I think this is probably appropriate. Bug: 12656485 Change-Id: Ib4f3d0e8686c6249fe838144b1e8120c85f66f01
* Adding specific buckets for N5 in dynamic grid. (Bug 12604220)Winson Chung2014-06-061-3/+5
| | | | Change-Id: I1fa62b7d16f557c7191fb1666d687b8784a88857
* Dismissing search and other overlays when the menu button is pressed. (Bug ↵Winson Chung2014-06-061-1/+10
| | | | 12524591)
* Fix overlapping pages (issue 12551580)Adam Cohen2014-06-061-1/+1
| | | | Change-Id: I03c29c36828b6c4baadb33b13b0e852b07b2d40f
* Disabled the wallpaper when completely in -1 Now space.Selim Cinek2014-06-061-1/+1
| | | | | Bug: 11186234 Change-Id: I6ffb66f12298bd9df7e228a8589d63780b70a396
* Adding new bucket for inbetween phone-tablet layouts. (Bug 11993166)Winson Chung2014-06-061-0/+2
| | | | Change-Id: I01fc54be8059d4cd25ff465c70595683fc8ac019
* Updating Tablet clings. (Bug 11973614)Winson Chung2014-06-064-41/+123
| | | | Change-Id: I6cb10424a345691d50c4fac7969e0b97bbee4b3c
* Migration update: ensuring all folders go firstAdam Cohen2014-06-061-25/+50
| | | | | | | | | | | | -> Also, leave the last row empty on every screen -> Fix bug where shortcuts weren't getting moved (introduced in previous CL) -> Only dedupe items directly on the workspace Bug 12416411 Bug 12572727 Change-Id: Id95cc6081c57cc289c2a85b2a6872ee0bf3eb98a
* Lazy load the widget preview loader classMichael Jurka2014-06-061-12/+15
| | | | | | Bug: 12109621 Change-Id: Id99aded30195bf39ebcf2148611bc4e084f3b2c7
* Don't migrate shortcuts for components that no longer existAdam Cohen2014-06-062-19/+32
| | | | | | Bug 12570791 Change-Id: Ie4b55afcee0c4d1d16acf7b830d7885800943454