summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Set App context from WallpaperChanged receiver. (Bug 12525684)Winson Chung2014-06-061-0/+1
| | | | Change-Id: Ie037d74d31e6b05b0ae5bb25ed1bf1c639a28a5f
* backup keys that might have slipped pastChris Wren2014-06-061-4/+6
| | | | | | | seems a little paranoid, but can't hurt. Bug: 12455866 Change-Id: If9da4cc021ee4fac32c822a91fabda69bf3ff8aa
* Updating assets and text for migration cling. (Bug 11973614)Winson Chung2014-06-061-7/+7
| | | | Change-Id: I69ffc1581cc43511b4f42ebb2735afe4c0b44131
* Adding migration Clings. (Bug 11973614)Winson Chung2014-06-069-346/+628
| | | | | | - Refactoring Launcher cling code out to LauncherClings. Change-Id: Iff4f84f5b8bfeb69b1be0b4802022c3eb20b6f2c
* New launcher2 icon migration algorithm.Dan Sandler2014-06-063-6/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | The user will be able to request "icon migration", which is not a direct mapping of the old workspace, but rather follows this heuristic for bringing the user's favorite icons (by dint of their existence on the workspace) into Launcher3: Workspace shortcuts are placed in lexicographic order on the workspace starting at screen 0 (leaving the bottom row of screen 0 empty to make sure there's room to move things around). Folders are preserved and their contents sorted. Duplicate icons (that is, shortcuts with the same intent, pursuant to some cleanups) are removed. Hotseat icons are migrated in their original place, unless their new location is not accommodated by the hotseat (i.e. the L3 hotseat is too small on this device), in which case they're treated like any other shortcut and tossed into the workspace. To test, turn on Launcher.ENABLE_DEBUG_INTENTS and then: $ adb shell am broadcast -a com.android.launcher3.action.DELETE_DATABASE $ adb shell am broadcast -a com.android.launcher3.action.MIGRATE_DATABASE Bug: 12416411 Change-Id: Ia5c56f36c11455867ea20a39f70210f595020a87
* Quick patch for b/12446428.Dan Sandler2014-06-061-1/+4
| | | | | Bug: 12446428 Change-Id: I5b9472e55a8919f5640c6e97fede9b5637819be0
* Allow DISABLE_ALL_APPS to be set using a system property.Nilesh Agrawal2014-06-0612-29/+109
| | | | | | | | | - Moving the property to LauncherAppState - The property is only read on dogfood builds. The property can be set using setprop or /data/local.prop Change-Id: I14c7354efb12edb93f97e81687a6f920cc634e9a
* Adding optional first run activity to LauncherAdam Cohen2014-06-063-13/+50
| | | | Change-Id: I146927d8a065f1cf5ef5cec41c8fb4f9ad09d25c
* first backup should save things from the beginning of timeChris Wren2014-06-061-2/+2
| | | | | Bug: 12455866 Change-Id: Ie9a97ed4110e7b1ded21f609179b5d6ee7f0ead5
* Recover when widget preview database is deletedMichael Jurka2014-06-062-21/+55
| | | | | | Bug: 12109621 Change-Id: I8d59700d31d6856d6151b965786c87585801317b
* Accounting for new Package event extras when updating forward-locked apps. ↵Winson Chung2014-06-061-7/+21
| | | | | | (Bug 11855584) Change-Id: I983c82a74690a9031d18d456ff43dc8750081871
* KEYCODE_MENU: hide all apps when entering overview modeDan Sandler2014-06-061-7/+1
| | | | | Bug: 12165618 Change-Id: I7ee652012c7f7b8e6fab3d9d1f99cf22484f3182
* Remove a non-obvious fall through in a switch statement.Mihail Dumitrescu2014-06-061-7/+4
| | | | | | | | | This CL does not modify the result of calling onInterceptHoverEvent() assuming isEventOverFolder() has no side effects. The only change is that isEventOverFolder will now be called once rather than twice when action == MotionEvent.ACTION_HOVER_ENTER and isOverFolder == true. Change-Id: Icc28ab880cf5094e49f51d72035891e924cb2031
* Allow scrolling folders in when all apps is disabled.Nilesh Agrawal2014-06-061-3/+14
| | | | | | | | Allows for more items to be added into a folder. Allows for scrolling by letting the content area inside the scroll view to be taller. The height of content area was capped in https://googleplex-android-review.git.corp.google.com/#/c/387583/ Change-Id: I8d7950ac9c155e26c5a299c17ae6a2bbf829dce6
* Allow changing search bar hint in the cling on-the-flySandeep Siddhartha2014-06-061-0/+14
| | | | | | | | | | | | - This allows GEL to initially supply an empty string if hotword isn't active, and later on update the cling if and when the hotword becomes active. - This isn't expensive as it'll only be called if Launcher first calls getFirstRunClingSearchBarHint, i.e. once every fresh install/clear data Bug: 11116105 Change-Id: Ia963bb62d7b331afd0c34adfa6c4b6bdbac48349
* Do not allow duplicate shortcuts when ALL_APPS is disabled.Nilesh Agrawal2014-06-062-13/+34
| | | | | | | | When DISABLE_ALL_APPS is true, we want to have only one shortcut for each activityexposed via the Application's manifest. We ignore INSTALL_SHORTCUT broadcasts which have launch intents with ACTION_MAIN and CATEGORY_LAUNCHER. Applications can still create shortcuts pointing to an already exposed component if they provide data or extras in the intent. Change-Id: I0b05283ea6c522d197e0262c2997f7298e08740b
* Fix issue where deleting item from folder leaves extra pageAdam Cohen2014-06-061-1/+5
| | | | Change-Id: Ie741dbe5341d8237c85f732b26661d084b99f6e2
* Don't notifyPageSwitchListener until page settles (issue 12069757)Adam Cohen2014-06-062-3/+16
| | | | | | -> Should address the dismiss timer not working quite right Change-Id: I63ad32d8f7c37f1a090ff1dd6024eeb7c0c6ce65
* Clean up importsMichael Jurka2014-06-0622-57/+26
| | | | Change-Id: Ic1f2604568d7865181efc66f3973e7fba70f26b0
* Create separate project for Wallpaper PickerMichael Jurka2014-06-065-65/+48
| | | | Change-Id: Id9e855780b9fb68c63eb6e9f6c19bcbce28a6fd5
* Fix NPE from feedback (issue 12106858)Adam Cohen2014-06-062-14/+14
| | | | Change-Id: I63f7f73b85d4c1652d1e722f94c51b567a83cc6b
* Show widgets when ALL_APPS is disabled.Nilesh Agrawal2014-06-061-4/+8
| | | | Change-Id: I367448df69a63ffd3412fe4c99137a21426d285c
* Move additional wallpaper picker files to special dirMichael Jurka2014-06-065-726/+0
| | | | Change-Id: I3dd6f0ce4db72f9f30ed02e8c27039f68ab9a728
* Don't load items which exceed the grid boundsAdam Cohen2014-06-061-39/+11
| | | | | | | -> Unified location where this is managed (with other placement verification) -> For now, not deleting out of bounds items, but can turn it on in one line Change-Id: I5e1a5cd357d80475ae40af7b89a0cd372d5c241b
* Fixing issue with Widget sizes being icorrectly reported.Winson Chung2014-06-061-6/+4
| | | | Change-Id: I8474514cc3722d8450c707b7fd1ccea2ea344a59
* Fix new NPE relating to reorder hintsAdam Cohen2014-06-061-2/+2
| | | | Change-Id: I80ff327ee549caef5802eb7194d48b1e8424ce47
* Adjusting grid for tablets and fixing incorrect resources for large tablets.Winson Chung2014-06-064-23/+32
| | | | Change-Id: I4c2a058da934bef14f5be3c53ebda940aeb990ca
* Size hotseat data structure appropriately.Dan Sandler2014-06-062-3/+12
| | | | | Bug: 12070213 Change-Id: I4df2f4bcc71bb4077c62cae91ed844ea8c43d421
* Bind the workspace synchronously if started on -1 screen.Derek Prothro2014-06-062-10/+13
| | | | | | | | | Previously, LoaderTask would be run asynchronously to bind the workspace when started on -1 which would cause the user's wallpaper to briefly flash when rotating the device on -1. Bug: 11802691 Change-Id: I3a1a7a32fa28a81e041a283a93d808d5a8884133
* Move wallpaper picker code to a separate directoryMichael Jurka2014-06-0636-13281/+0
| | | | Change-Id: Id79d11ed08085c4fe356739498a8b77952e30392
* Adding reorder hinting, hopefully will help with (issue 10654628)Adam Cohen2014-06-062-64/+109
| | | | | | | -> Adds instant feedback that reorder _will_ happen, so hopefully will improve perceived disambiguation Change-Id: Icd99e7beeb87e79627a6b9fc78a9132781410379
* Fixing crash in empty folders. (Bug 11627191)Winson Chung2014-06-063-6/+18
| | | | | | Change-Id: I7a0e23e16a7546a9612d3406257e15be758d4c52 Signed-off-by: Winson Chung <winsonc@google.com>
* Allow 5 hotseat icons in DISABLE_ALL_APPS mode.Nilesh Agrawal2014-06-062-7/+15
| | | | | | | | Added the xml resource in Launcher3 package as well. This is a dummy resource with just hotseat icons. Previously reviewed on: http://ag/396580 Change-Id: I31b0d7d4796d028f44f746260c381f2d8226605a
* Decrease delay for closing folder on removal of an item (issue 11028310)Adam Cohen2014-06-061-1/+1
| | | | Change-Id: Ie5c094af8b0293e56bf016be5b4f4db05e7a9a05
* Fix page jumping regression in overview mode (issue 12003672)Adam Cohen2014-06-061-1/+1
| | | | Change-Id: I4315d4e97c8df4db25e2d70be759b94a0348d644
* Limit AllApps insets to certain device configurations. (Bug 11451335)Winson Chung2014-06-061-1/+2
| | | | Change-Id: I0b7172bb8c2e8cfb06ef4ff097bdc632d6be0548
* Retain current AllApps page if we never leave Launcher. (Bug 11468582)Winson Chung2014-06-061-2/+2
| | | | Change-Id: Id18b14f6fbb2598a8c1f4c714f79d1a4332a7868
* Restoring Hotseat to the left-aligned in RTL. (Bug 11451335)Winson Chung2014-06-061-6/+19
| | | | Change-Id: I5451b1281e3f346f51677040775ae7bf76e303d1
* backup launcher preferencesChris Wren2014-06-062-0/+18
| | | | | Bug: 11267816 Change-Id: I12a32477164fe2205bc8cb02e0a23c561a7f9189
* Update suggested wallpaper dimensions in onResumeMichael Jurka2014-06-064-39/+94
| | | | | | | | | If another launcher runs in between, it might change the suggested dimensions. This fixes that case. Bug: 11667475 Change-Id: I9211016c6b59450c46646737d6d54a11a49f3bba
* Add guards for restoreInstanceState (issue 11982812)Adam Cohen2014-06-061-1/+1
| | | | Change-Id: Ic4c632a956130ab28843085490dc1badb39b0e8c
* Only import workspaces for non-tablets (where grid hasn't changed)Adam Cohen2014-06-061-1/+8
| | | | Change-Id: I832b6259477d6325c141fddfe9b50cb05aeff8d2
* Fix NPE when going to All Apps in landscapeMichael Jurka2014-06-061-4/+6
| | | | Change-Id: I4bf1e935ad09e5100a7e54039537af69dd90d7ee
* Ensure we pass search bar bounds to GoogleSearch. (Bug 11968598)Winson Chung2014-06-061-2/+4
| | | | Change-Id: I10027c2c10bbc5b2f2e63276dc91ceca0bf59a08
* Modifying Workspace padding to account for Search Bar offsets. (Bug 11968598)Winson Chung2014-06-061-4/+13
| | | | Change-Id: I26b8488afd6d75777e1d881f1105b5c1a89021d7
* Revert "Revert "Enable Launcher2 workspace import.""Dan Sandler2014-06-061-1/+1
| | | | | | | | This reverts commit a6a296ba1ffba6c5b98e92f05254f0317f28290b. https://memegen.googleplex.com/5476445807706112 Bug: 9832552
* Add method to retrieve search box bounds.Mac Duy Hai2014-06-061-0/+5
| | | | Change-Id: I67893f00990053415453490034ea7066d9f0f3b6
* Generalize support for 'App Info', 'Uninstall' and 'Delete'Mathew Inwood2014-06-065-3/+47
| | | | | | | This allows other DragSource's to allow this behaviour, instead of it being tied to specific source types. Change-Id: I06b7c39b1b34a0ae141245bcc13b6a0873a4c0fd
* Fix binding problem with no screens (issue 11768766)Adam Cohen2014-06-061-21/+7
| | | | Change-Id: I0a296892d4964913f38bf6d7bd2c2b17e1e0e8e0
* Update custom content insets when Workspace insets are setAdam Cohen2014-06-061-0/+8
| | | | | | | | -> Not sure if custom content can be added before insets are set, so this is just a speculative fix. Bug: 11875171 Change-Id: Ia8e07f51f527f464262b7ff99e4db245fe5a7906