Commit Graph

49925 Commits

Author SHA1 Message Date
Winson Chung a8a5f2e8d5 am 234b506f: Merge "Adding migration Clings. (Bug 11973614)" into jb-ub-now-kermit
* commit '234b506f4625b23172d437a2ba0b47d63cc2e3dd':
  Adding migration Clings. (Bug 11973614)
2014-01-10 15:42:53 -08:00
Winson Chung 234b506f46 Merge "Adding migration Clings. (Bug 11973614)" into jb-ub-now-kermit 2014-01-10 23:40:40 +00:00
Winson Chung a694524047 Adding migration Clings. (Bug 11973614)
- Refactoring Launcher cling code out to LauncherClings.

Change-Id: Iff4f84f5b8bfeb69b1be0b4802022c3eb20b6f2c
2014-01-10 22:28:16 +00:00
Adam Cohen 952081c382 am 8b5b05b7: Merge "New launcher2 icon migration algorithm." into jb-ub-now-kermit
* commit '8b5b05b7f3c8c5d705116c425bd5dbff2b75d56a':
  New launcher2 icon migration algorithm.
2014-01-10 13:45:34 -08:00
Adam Cohen 8b5b05b7f3 Merge "New launcher2 icon migration algorithm." into jb-ub-now-kermit 2014-01-10 21:42:39 +00:00
Dan Sandler d502404a44 New launcher2 icon migration algorithm.
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
2014-01-10 15:49:51 -05:00
Nilesh Agrawal fed1e5ad3e am 24fa33f8: Merge "Allow DISABLE_ALL_APPS to be set using a system property." into jb-ub-now-kermit
* commit '24fa33f8c7949d5e7fff4831f5903d70e1017091':
  Allow DISABLE_ALL_APPS to be set using a system property.
2014-01-10 11:52:42 -08:00
Nilesh Agrawal 24fa33f8c7 Merge "Allow DISABLE_ALL_APPS to be set using a system property." into jb-ub-now-kermit 2014-01-10 19:49:21 +00:00
Dan Sandler 0eb687fdc4 Quick patch for b/12446428.
Bug: 12446428
Change-Id: I5b9472e55a8919f5640c6e97fede9b5637819be0
2014-01-10 13:24:55 -05:00
Nilesh Agrawal 16f3ea870a Allow DISABLE_ALL_APPS to be set using a system property.
- 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
2014-01-09 17:21:09 -08:00
Adam Cohen 789a92835a am b54a5989: Adding optional first run activity to Launcher
* commit 'b54a5989a21bef4e6bac304591ca4030bfbe709d':
  Adding optional first run activity to Launcher
2014-01-09 16:15:20 -08:00
Adam Cohen b54a5989a2 Adding optional first run activity to Launcher
Change-Id: I146927d8a065f1cf5ef5cec41c8fb4f9ad09d25c
2014-01-09 14:08:49 -08:00
Adam Cohen 7fe091fd03 am 0259c629: Merge "Fix issue where deleting item from folder leaves extra page" into jb-ub-now-kermit
* commit '0259c629cb5b280d0d9c821f8b1685707d7ba589':
  Fix issue where deleting item from folder leaves extra page
2014-01-09 11:17:51 -08:00
Adam Cohen 0259c629cb Merge "Fix issue where deleting item from folder leaves extra page" into jb-ub-now-kermit 2014-01-09 19:14:52 +00:00
Chris Wren 442ad3d53f am 8661761c: better support for multiple files
* commit '8661761cb691d9bed446b87d55a4fa7043a3aa95':
  better support for multiple files
2014-01-09 10:50:22 -08:00
Chris Wren 8661761cb6 better support for multiple files
don't exit on error, just log.
new verbose flag to print more information

Change-Id: I5c4895a837cb8a31901aabceade3ab976abf4af0
2014-01-09 13:35:40 -05:00
Chris Wren caa45be8a4 am 33f4c2df: first backup should save things from the beginning of time
* commit '33f4c2df28228f93d96e9b1d1bfad52d715d917b':
  first backup should save things from the beginning of time
2014-01-09 10:33:41 -08:00
Chris Wren 33f4c2df28 first backup should save things from the beginning of time
Bug: 12455866
Change-Id: Ie9a97ed4110e7b1ded21f609179b5d6ee7f0ead5
2014-01-09 13:02:20 -05:00
Yura 08d4ff6b73 am 0bae5b22: Merge "Moved paddingStart to -v17 folder." into jb-ub-now-kermit
* commit '0bae5b220a24541dbc69fb2cb755f303776d0a59':
  Moved paddingStart to -v17 folder.
2014-01-09 06:48:01 -08:00
Yura 0bae5b220a Merge "Moved paddingStart to -v17 folder." into jb-ub-now-kermit 2014-01-09 14:45:57 +00:00
Michael Jurka 6e27f642ae Recover when widget preview database is deleted
Bug: 12109621

Change-Id: I8d59700d31d6856d6151b965786c87585801317b
2014-01-09 14:41:32 +01:00
Michael Jurka 8b51b17320 Move saved wallpaper images from cache directory to data directory
Bug: 12028275

Change-Id: Ia8fdd0ea50a4dad34e560287c50ae3fcc6d09cf9
2014-01-09 14:34:19 +01:00
Yura f0efa2fb4f Moved paddingStart to -v17 folder.
This is to help get us paddingStart free to be able to work on Samsung
tablets, as they crash on paddingStart when it is used outside of -v17.

Bug: 8166178
Change-Id: I84879257c4e463879fd6bfc322514d30c469ca30
2014-01-09 10:55:40 +00:00
Winson Chung cd9baa3a67 am 872e70e0: Merge "Accounting for new Package event extras when updating forward-locked apps. (Bug 11855584)" into jb-ub-now-kermit
* commit '872e70e0b648af572f660c2b432786ac63545e4c':
  Accounting for new Package event extras when updating forward-locked apps. (Bug 11855584)
2014-01-08 15:46:43 -08:00
Dan Sandler 1036754158 am 155f3bc6: Merge "KEYCODE_MENU: hide all apps when entering overview mode" into jb-ub-now-kermit
* commit '155f3bc69b79009c95dfd34aed4db6580ad15e27':
  KEYCODE_MENU: hide all apps when entering overview mode
2014-01-08 15:46:35 -08:00
Winson Chung 872e70e0b6 Merge "Accounting for new Package event extras when updating forward-locked apps. (Bug 11855584)" into jb-ub-now-kermit 2014-01-08 22:05:47 +00:00
Winson Chung 3ee4a474f2 Accounting for new Package event extras when updating forward-locked apps. (Bug 11855584)
Change-Id: I983c82a74690a9031d18d456ff43dc8750081871
2014-01-08 14:05:08 -08:00
Dan Sandler 155f3bc69b Merge "KEYCODE_MENU: hide all apps when entering overview mode" into jb-ub-now-kermit 2014-01-08 21:02:51 +00:00
Mihail Dumitrescu 8d81a2f952 am 29e619c8: Merge "Remove a non-obvious fall through in a switch statement." into jb-ub-now-kermit
* commit '29e619c8545dcc898846f6d2a58adda14c9da03a':
  Remove a non-obvious fall through in a switch statement.
2014-01-08 10:57:52 -08:00
Yura 1b93fd5909 am 83b0da1a: Removed paddingStart and paddingEnd when they are the same.
* commit '83b0da1aed13b20562039ea00d68791beb46a090':
  Removed paddingStart and paddingEnd when they are the same.
2014-01-08 10:57:50 -08:00
Mihail Dumitrescu 29e619c854 Merge "Remove a non-obvious fall through in a switch statement." into jb-ub-now-kermit 2014-01-07 19:39:17 +00:00
Dan Sandler 14c6a3f510 KEYCODE_MENU: hide all apps when entering overview mode
Bug: 12165618
Change-Id: I7ee652012c7f7b8e6fab3d9d1f99cf22484f3182
2014-01-07 14:13:08 -05:00
Mihail Dumitrescu 693fbc7f17 Remove a non-obvious fall through in a switch statement.
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
2014-01-07 18:49:46 +00:00
Yura 83b0da1aed Removed paddingStart and paddingEnd when they are the same.
This is to help get us paddingStart free to be able to work on Samsung
tablets, as they crash on paddingStart when it is used outside of -v17.

Bug: 8166178
Change-Id: Ic0ea256aabb68b654a3942dd19dd30e67f1b2af9
2014-01-07 18:34:03 +00:00
Nilesh Agrawal 39b062e20e am 579c8433: Merge "Allow scrolling folders in when all apps is disabled." into jb-ub-now-kermit
* commit '579c8433f968fd8235527865797f8d58c20487da':
  Allow scrolling folders in when all apps is disabled.
2014-01-03 14:30:23 -08:00
Nilesh Agrawal 579c8433f9 Merge "Allow scrolling folders in when all apps is disabled." into jb-ub-now-kermit 2014-01-03 22:28:44 +00:00
Sandeep Siddhartha 779dc5aa7b am 8d36ffe5: Merge "Allow changing search bar hint in the cling on-the-fly" into jb-ub-now-kermit
* commit '8d36ffe55285fce9f0485d72a0b3f5dc73b9f5e2':
  Allow changing search bar hint in the cling on-the-fly
2014-01-03 12:04:43 -08:00
Sandeep Siddhartha 8d36ffe552 Merge "Allow changing search bar hint in the cling on-the-fly" into jb-ub-now-kermit 2014-01-03 20:02:19 +00:00
Nilesh Agrawal 5f7099af85 Allow scrolling folders in when all apps is disabled.
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
2014-01-02 15:55:53 -08:00
Baligh Uddin ac0361a69c am 72b4c7c3: (-s ours) am 3e6b26da: (-s ours) am cff2d6a2: (-s ours) Import translations. DO NOT MERGE
* commit '72b4c7c3df6be428e543c2a28f9b325e0e6d9f2b':
  Import translations. DO NOT MERGE
2013-12-26 19:55:03 -08:00
Baligh Uddin 72b4c7c3df am 3e6b26da: (-s ours) am cff2d6a2: (-s ours) Import translations. DO NOT MERGE
* commit '3e6b26daba924fb88e20855210e0a96e2ab0ac37':
  Import translations. DO NOT MERGE
2013-12-26 19:53:09 -08:00
Baligh Uddin 3e6b26daba am cff2d6a2: (-s ours) Import translations. DO NOT MERGE
* commit 'cff2d6a2d904b7d88096650021aa428cfdc08632':
  Import translations. DO NOT MERGE
2013-12-26 19:51:01 -08:00
Baligh Uddin 3111f33533 am 37749ea3: (-s ours) Import translations. DO NOT MERGE
* commit '37749ea37032043687c7dab552d961ba6245bd08':
  Import translations. DO NOT MERGE
2013-12-26 19:50:57 -08:00
Baligh Uddin 37749ea370 Import translations. DO NOT MERGE
Change-Id: I9ced3c60b831f09e8436f562d8c1fef1e2aa6156
Auto-generated-cl: translation import
2013-12-26 17:20:10 -08:00
Baligh Uddin cff2d6a2d9 Import translations. DO NOT MERGE
Change-Id: I5cbd143e531cfe8f1d131f0d7c91008758337013
Auto-generated-cl: translation import
2013-12-26 17:19:12 -08:00
Sandeep Siddhartha d4d3d08741 Allow changing search bar hint in the cling on-the-fly
- 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
2013-12-26 15:42:52 -08:00
Baligh Uddin 96522598e2 am c69ae04f: (-s ours) am 79eaeaf7: (-s ours) am 33a5fd70: (-s ours) am 415c34b9: (-s ours) Import translations. DO NOT MERGE
* commit 'c69ae04f43f0857f4883599003ce94e1ede11d60':
  Import translations. DO NOT MERGE
2013-12-19 15:41:55 +00:00
Baligh Uddin c69ae04f43 am 79eaeaf7: (-s ours) am 33a5fd70: (-s ours) am 415c34b9: (-s ours) Import translations. DO NOT MERGE
* commit '79eaeaf70bfa970789b4e81fe2e0e0384c878b59':
  Import translations. DO NOT MERGE
2013-12-19 15:36:43 +00:00
Baligh Uddin 79eaeaf70b am 33a5fd70: (-s ours) am 415c34b9: (-s ours) Import translations. DO NOT MERGE
* commit '33a5fd70c665189915cb87d9e45c922c7303ab97':
  Import translations. DO NOT MERGE
2013-12-19 07:34:37 -08:00
Baligh Uddin 33a5fd70c6 am 415c34b9: (-s ours) Import translations. DO NOT MERGE
* commit '415c34b93ca572be42eeef2d4c2efba53c92a74e':
  Import translations. DO NOT MERGE
2013-12-19 07:31:41 -08:00