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
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
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
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
b54a5989a2
Adding optional first run activity to Launcher
...
Change-Id: I146927d8a065f1cf5ef5cec41c8fb4f9ad09d25c
2014-01-09 14:08:49 -08: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
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
Michael Jurka
7ad868b86e
Create separate project for Wallpaper Picker
...
Change-Id: Id9e855780b9fb68c63eb6e9f6c19bcbce28a6fd5
2013-12-13 12:50:32 +01:00
Nilesh Agrawal
306c1cf200
Show widgets when ALL_APPS is disabled.
...
Change-Id: I367448df69a63ffd3412fe4c99137a21426d285c
2013-12-12 15:00:59 -08:00
Dan Sandler
a40916d534
Merge "Size hotseat data structure appropriately." into jb-ub-now-kermit
2013-12-11 15:03:02 +00:00
Dan Sandler
295ae18d0f
Size hotseat data structure appropriately.
...
Bug: 12070213
Change-Id: I4df2f4bcc71bb4077c62cae91ed844ea8c43d421
2013-12-10 16:10:53 -05:00
Derek Prothro
7aff399974
Bind the workspace synchronously if started on -1 screen.
...
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
2013-12-10 15:05:41 -05:00
Winson Chung
e7e97e6552
Retain current AllApps page if we never leave Launcher. (Bug 11468582)
...
Change-Id: Id18b14f6fbb2598a8c1f4c714f79d1a4332a7868
2013-12-04 20:11:09 +00:00
Michael Jurka
3ed4a4dd3d
am 10a8935e: Merge "Use AsyncTasks instead of creating new threads" into jb-ub-now-jolly-elf
...
* commit '10a8935ef1fc8f073e276fddc85bf66513050c81':
Use AsyncTasks instead of creating new threads
2013-12-03 07:07:19 -08:00
Michael Jurka
10a8935ef1
Merge "Use AsyncTasks instead of creating new threads" into jb-ub-now-jolly-elf
2013-12-02 22:17:49 +00:00
Mac Duy Hai
6077945816
am a50d3430: Merge "Add method to retrieve search box bounds." into jb-ub-now-jolly-elf
...
* commit 'a50d34306c5fe6748392b493b5fbd4c54bf5f39f':
Add method to retrieve search box bounds.
2013-12-02 03:43:36 -08:00
Mac Duy Hai
6def4f900c
Add method to retrieve search box bounds.
...
Change-Id: I67893f00990053415453490034ea7066d9f0f3b6
2013-11-28 16:17:33 +00:00
Adam Cohen
52aa0636c6
am d552dd90: Fix NPE in Launcher onDestroy
...
* commit 'd552dd90f1da32e1be2dd95ffed57c65d40cb651':
Fix NPE in Launcher onDestroy
2013-11-26 12:23:01 -08:00
Adam Cohen
d552dd90f1
Fix NPE in Launcher onDestroy
...
Bug: 11765296
Change-Id: I83299656cc90b8a744afb0db4b5ea08675c8db82
2013-11-26 12:17:39 -08:00
Adam Cohen
9710ec9d85
am 060a4837: Merge "Fix NPE in case where workspace is null because Launcher has been destroyed " into jb-ub-now-jolly-elf
...
* commit '060a48378f21a6b5836990a23178d02c94fccc60':
Fix NPE in case where workspace is null because Launcher has been destroyed
2013-11-26 12:00:48 -08:00
Adam Cohen
37c717ffa6
Fix NPE in case where workspace is null because Launcher has been destroyed
...
Bug: 11765964
Change-Id: Iacd4db712c09940c05ccd2a64b25e376b63c6aee
2013-11-26 19:52:58 +00:00
Mathew Inwood
72fbec17e0
Add support for initiating a drag from an overlay.
...
This allows an overlay to create apps and shortcuts on the home screen.
Change-Id: I63ee4ef02db3f4bc89726c394fd55ad26f50452c
2013-11-20 11:45:53 +00:00
Winson Chung
9b9fb967b2
Updating LauncherModel filtering to use screen ids. (Bug 11685286)
...
- Fixes the issue with the current page not synchronously binding
Change-Id: I3dfa45cc1777f846c77f3e86059dfb715553e1a3
2013-11-15 15:46:27 -08:00
Winson Chung
28b690ab8e
Merge "Adding logs to track down missing workspace screen. (Bug 11683562)" into jb-ub-now-jolly-elf
2013-11-15 21:11:22 +00:00
Winson Chung
a90303bb6f
Adding logs to track down missing workspace screen. (Bug 11683562)
...
Change-Id: I12ef3331ab81004c75229d33afa0a8dd0fa8521c
2013-11-15 13:10:03 -08:00
Adam Cohen
e9b198fd74
Merge "Change the way view ids are assigned (issue 11627801)" into jb-ub-now-jolly-elf
2013-11-14 16:22:36 +00:00
Adam Cohen
c76e1dda08
Change the way view ids are assigned (issue 11627801)
...
Change-Id: I4d9c0542ea3ac581c4a9f4da68824f0b498ea337
2013-11-14 15:16:14 +00:00
Adam Copp
3dc3ecda28
Merge "Hooks for subclasses to react to home presses." into jb-ub-now-jolly-elf
2013-11-14 14:04:45 +00:00
Michael Jurka
4346746ef3
Use AsyncTasks instead of creating new threads
...
Change-Id: If166869dfbeb84d4dee2203f5b98a22b9d20719d
2013-11-14 12:38:45 +01:00
Adam Copp
a120b8e304
Hooks for subclasses to react to home presses.
...
This provides the nessecary hooks for GEL so that it can prevent
scrolling to the home screen when a search is open, instead choosing to
dismiss the search.
Bug: 11128544
Change-Id: I3c1b67bc271c1342db4a0abac364f2923bdeba3a
2013-11-13 11:37:59 +00:00
Winson Chung
8e15fdf60a
Prevent launching Widgets when cycling between Overview/Shrink state and Home. (Bug 11439120)
...
Change-Id: I21173f114228ba43172af9074d2ac1fadeee9886
2013-11-11 15:47:45 -08:00
Adam Cohen
2777273a2a
Add method to determine if Launcher is using vertical bars
...
Change-Id: I7e9096cf81b49d213025c6f98708186330448fc0
2013-11-11 14:01:35 +00:00
Winson Chung
07e045c637
Save and restore the correct content type when rotating while in AllApps.
...
Change-Id: I508832e46c8a2ab3bb53baf8f44b543c4c24aed2
2013-11-07 18:50:09 +00:00
Adam Cohen
b2af6076c7
Merge "Ensuring that widget ids are cleaned up" into jb-ub-now-jetsonic
2013-11-05 02:26:45 +00:00
Adam Cohen
4637b5ada9
Ensuring that widget ids are cleaned up
...
Change-Id: I89f7bd3fccdc730128189beb51680e3ee76e3524
2013-11-04 18:21:42 -08:00
Adam Cohen
c18e4a9265
Merge "Fix bug where cancelling config activity leaves user stuck in bad state" into jb-ub-now-jetsonic
2013-11-05 02:10:37 +00:00
Adam Cohen
f0129b13d1
Fix bug where cancelling config activity leaves user stuck in bad state
...
Change-Id: I774cc6e46006f623c97812c85023b228128430fe
2013-11-04 17:58:15 -08:00
Winson Chung
c44a0c0728
Merge "Tweaking cling text sizes for other languages. (Bug 11151675)" into jb-ub-now-jetsonic
2013-11-01 19:45:20 +00:00
Winson Chung
13dbfe18a0
Tweaking cling text sizes for other languages. (Bug 11151675)
...
Change-Id: Iae82064b1be7a33e5375c1e27fb7472216dc637a
2013-11-01 12:04:20 -07:00
Adam Cohen
917e38851c
Fix issue with adding widget with config activity to empty screen (issue 11381059)
...
Change-Id: Ic7eecb30422e7a6cf35ebe8470d9eba8752d406e
2013-10-31 15:04:59 -07:00
Winson Chung
88400d521e
Merge "Initial changes to support smaller landscape layouts." into jb-ub-now-jetsonic
2013-10-29 01:34:00 +00:00
Winson Chung
6e1c0d34bb
Initial changes to support smaller landscape layouts.
...
Change-Id: If0abe2b82eb08bae4f1ce65b805362d548acb876
2013-10-28 18:30:25 -07:00
Adam Cohen
4fe4c93222
A bit of code cleanup (issue 11026590)
...
Change-Id: I8b2ef52f59abdbe3ca286eac6e639f19a11f7970
2013-10-28 16:21:21 -07:00
Adam Cohen
ad4e15cae4
Cleaning some page animations
...
-> Fix jump when last page gets delted (issue 10908427)
-> Fade out empty screen
-> If the final page is empty, and that is the current page when
spring loaded mode ends, animate back to the previous page
and then fade out the final page. Examples: cancel widget
or shortcut drop on the final page, scroll to final page and
drop an icon into a the hotseat, etc.
Change-Id: I13438fb0af6555b6f0b511b7aff51b3972431438
2013-10-23 14:11:45 -07:00
Winson Chung
df95eb12a4
Ensuring disabled packages remove all components on the workspace. (Bug 11172454)
2013-10-16 14:57:19 -07:00
Winson Chung
e5467dccdd
Flushing icons of the wrong size. (Bug 11203738)
...
Change-Id: I9468d2e798fcf9890970270041d341e7653432f1
2013-10-14 17:03:04 -07:00
Adam Cohen
0007472e20
Fix issue with extra empty screen left over after widget add cancel (issue 10865959)
...
Change-Id: Iee72fe1b296e81a5f2d04f6edcbf9cac19aff992
2013-10-11 17:46:39 -07:00
Winson Chung
d1e474a92e
Merge "Initial changes for new clings. (Bug 11142616)" into jb-ub-now-indigo-rose
2013-10-10 20:45:27 +00:00
Adam Cohen
21cd002fef
Fix issue where custom content would show up on boot (issue 10713745)
...
Change-Id: I1c03784970fe1a88e2561f1c5367979cda825973
2013-10-10 12:51:44 -07:00