Commit Graph

116 Commits

Author SHA1 Message Date
Sandeep Siddhartha f2b47f13ce Close open folders before moving to -1
Bug: 10955838
Change-Id: Ic6cbb67c4cf485fe1682c7cdd7de200a9227cff0
2013-09-27 16:51:51 -07:00
Sandeep Siddhartha a6125efb66 Fix build break
Change-Id: I23f7c74eb088fbe77a24df9bc80f0d2fff647abb
2013-09-26 20:30:40 -07:00
Winson Chung fa54513308 Tweaking folder cling to support large folders.
Change-Id: I3c500463fba8db71807ad4fc27c6923f3e1d0770
2013-09-26 18:29:08 -07:00
Winson Chung 780fe59a7a Integrating some aosp fixes, ensuring that we update the install queue before returning to Launcher.
- Fixing stuck page in All Apps (Bug 9347818)
- Fixing shortcuts to uninstalled apps from being installed (Bug 10726510)
- Consolidating vibration feedback
- Ensuring that we trim names during comparison in AllApps list

Change-Id: Ieaae4d85851ce771283b4684a8a60306da28cb3b
2013-09-26 16:17:07 -07:00
Adam Cohen 93c9756e7a Fixing some touch / interaction problems
-> Weird reorder/scroll mode hybrid (issue 10550801)
-> Entering overview mode when we shouldn't (issue 10855389)

Change-Id: Ic936ead8deb3a5d4e00f265d09329528a1517063
2013-09-26 13:53:23 -07:00
Anton Hansson a2f665f4f7 Broadcast app launches from all apps too.
Bug 10943415

Change-Id: I0e496a53fc253bd313d269a05674d7c5cdadee68
2013-09-26 12:18:32 +01:00
Winson Chung 94d6768c65 Restoring INSTALL_SHORTCUT receiver (Bug. 10343529)
Change-Id: Icd6a97c1d7877241aa9c71bd80dfdbe6e44ca7ee
2013-09-25 17:59:45 -07:00
Winson Chung a0b7e86299 Removing any overlapping items with the hotseat.
Change-Id: I9634939e6b1e8905d232d5a30608e2c56071d7bc
2013-09-25 14:22:39 -04:00
Winson Chung 2b5e56c23b Merge "Launcher changes to support custom cling hints." into jb-ub-now-indigo-rose 2013-09-24 20:58:24 +00:00
Winson Chung 2d75f125f4 Tweaking styles for AllApps and widgets spaces. (Bug 10843502)
- Fixing various issues with Search bar showing when it shouldn't be.

Change-Id: I2a553ad93e3422666a883b90a1ff97625bf05831
2013-09-24 11:55:17 -07:00
Winson Chung e6eabffd39 Launcher changes to support custom cling hints.
Change-Id: Ic381f43b96fb15a7a485b139635795e89564cc3b
2013-09-24 11:09:57 -07:00
Winson Chung af40f205d7 Initial changes to restore clings.
Change-Id: Ie23e6e9f39679e8d35955a4a7db804d03f8b4d3f
2013-09-20 17:22:05 -07:00
Winson Chung 37cab1bc25 Merge "Tweaking page indicators to support add page icon, remembering widget picker page (Bug 10787439)" into jb-ub-now-indigo-rose 2013-09-20 17:53:54 +00:00
Mark Brophy d7dc681290 Fix scroll not sync with QSB in GEL.
Bug: 10835163

Change-Id: I6b8e09fa395fadb31fe6a0d5339e92ece9334b0c
2013-09-20 17:27:43 +01:00
Winson Chung ede4129e77 Removing old debugging logs. (Bug 107442854)
Change-Id: I56d6838af3cca710eab300d3e71ca1be90866cdd
2013-09-19 16:28:20 -07:00
Winson Chung 7819a56217 Tweaking page indicators to support add page icon, remembering widget picker page (Bug 10787439)
Change-Id: Iab0b5676aa9c34a610b4b968940abc81c913c234
2013-09-19 15:56:35 -07:00
Michael Jurka b94f3f804f Remove options menu
When options menu is clicked, go into overview
mode

Bug: 10704930
2013-09-19 20:06:26 +02:00
Dave Hawkey 8c082818a8 Merge "Support for dynamically adding/removing -1 screen" into jb-ub-now-indigo-rose 2013-09-19 17:16:32 +00:00
Adam Cohen dbdff6bc7b Handful of small changes / bug fixes
-> Fixed fade in of overview panel on first animation
-> Fixed long press issue in page indicator region
-> Added background scrim to overview mode
-> Fading search bar in overview mode / disabling clickability
   of search bar and mic

Change-Id: Ic9bf84f7cb9ff2991c5b4e93273d9e3f65556e5c
2013-09-18 19:10:53 -07:00
Dave Hawkey a888158880 Support for dynamically adding/removing -1 screen
Change-Id: Ife68b64c04498e336192caf895edb9a090dcdc26
2013-09-18 18:41:15 -06:00
John Spurlock 2c38e70acd Fix launcher3 standalone build.
Change-Id: Ibfe14c5960211916222fc49389b8776be6bf768b
2013-09-18 10:51:31 -04:00
Adam Cohen 1697b79a86 Fixing up click / long click to enter / exit overview mode
Change-Id: I1ec7ab7f3e5c67add9ae64901e0ea377e265ed84
2013-09-17 19:09:54 -07:00
Sandeep Siddhartha ab2d9d72ae Add settled/unsettled state information to launcher
Bug: 10789736
Bug: 10785435
Change-Id: I876707103d495f4a8e55909af63c75da210fefde
2013-09-17 14:38:06 -07:00
Adam Cohen 040a5d2f7a Ensure we exit overview mode when screen turns off (issue 10750327)
Change-Id: I2bd31bf549e2bd88a2fbc958b94e5e1107994162
2013-09-16 17:11:20 -07:00
Adam Cohen d3ecce9192 Fix issue where you can't long press on empty screen to enter overiew mode
Change-Id: Ia7e3913187e5f38ce9db6f9da4bf9e8408ea977a
2013-09-16 14:58:24 -07:00
Michael Jurka 336fd4f65b Exit overview mode after setting wallpaper
Also, create method to exit overview mode without
an animation
Bug: 10332065
Change-Id: Iaade5ccb07aefa7d19be5f07db821a69762cb1bb
2013-09-14 14:38:19 +02:00
Allan Wojciechowski af110e8603 WIP: Add moveToCustomContentScreen method
To allow as to move to the -1 screen from GEL. Also added a
showWorkspace method to handle intents when we are in All Apps.

Related GEL CL at ag/357408

Change-Id: I0a4d03df2bf035d342b74f6c3c9b3fe9105f1c59
2013-09-13 16:17:22 -07:00
Adam Cohen 0a1cc7da27 Merge "Shrink-wrapping model to spec (issue 10397399)" into jb-ub-now-indigo-rose 2013-09-13 23:05:03 +00:00
Adam Cohen 5084cbab0e Shrink-wrapping model to spec (issue 10397399)
Change-Id: I87e32e8bd93f3b0468bc840200faed8270922a03
2013-09-13 16:02:44 -07:00
Winson Chung 11a1a53651 Fixing issue with folders not showing up.
- Add long click on empty spaces in hotseat to show overview mode
- Limit the height of all apps to the workspace + hotseat size
- Fixing some comments

Change-Id: Ie5a97a8b04e449385e2b3f6230079aebf8e15d5a
2013-09-13 11:40:05 -07:00
John Spurlock 77e1f47520 Add system window inset support to DragLayer and children.
Instead of fitting system windows as before, DragLayer now
lays out under the system windows.

DragLayer will simply add the system window insets to each
child's layout margins by default.  e.g. for Hotseat, Page
Indicators, QSB, Search Overlay.

Children that want to use the full viewport can declare so
by implementing a new Insettable interface.  System window
insets will be passed to Insettable#setInsets(insets) and
the child can do what it wants with them.

Currently, two of DragLayer's children implement Insettable:

1) Workspace (for the -1 screen).
   Full screen pages are given the entire viewport, paged
   view offsets modified to end up in the right place now
   that the viewport is larger (the full screen height).
   Non-full screen pages like the normal icon pages simply
   apply the insets to end up in the same place they did
   before.
   NowClientCardsView uses the full viewport, applying the
   insets as padding. Will want to better take advantage
   of this new real estate in a future CL.

2) All Apps (AppsCustomizeTabHost).
   Applies the insets as layout margin one level down, so that
   the bar area is opaque during the transition, but visually
   the content lands in the same place.

(Also add db_files to .gitignore to ignore the output of the
db tool)

Bug:10687177
Bug:10652189
Change-Id: I80b25d63884d244fcf704b24dad9497ee0d8b453
2013-09-11 16:29:34 -04:00
Bjorn Bringert 85f418d0f5 Allow Launcher class to hide activities from All Apps
There are a few questions for the launcher team
embedded in comments.

Bug: 10645210
Bug: 10551568
Change-Id: I67ad10da0d0f0f0885f8b14d329231c37aa6779b
2013-09-06 12:52:24 +01:00
Winson Chung c58497ee61 Initial changes to restore AllApps.
- Removes unused all apps code due to dynamic grid/spacing
- Attempts to use CellLayout instead of PagedViewCellLayout

Change-Id: I3c49bca9fc35dfeaf250591fd63bc7f36119968f
2013-09-05 12:14:28 -07:00
Michael Jurka eadbfc564d Move wallpapers to external activity
Also renaming Launcher's ApplicationInfo to
AppInfo since ApplicationInfo is already a 
framework class

Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146
2013-09-04 16:21:20 +02:00
Adam Cohen e92c8c8e30 Merge "Adding custom content scroll progress callback" into jb-ub-gel-agar 2013-08-29 21:45:22 +00:00
Adam Cohen 30bacb2158 Added settings button to overview mode
Change-Id: Idcbfa49fe2710dec460155f34bd371321af6cf17
2013-08-29 14:37:46 -07:00
Adam Cohen c36fa5ce39 Adding custom content scroll progress callback
Change-Id: I23b007f6ac30809c03127f5d9030d8f367694310
2013-08-29 11:55:07 -07:00
Adam Cohen 4caf298a2c Logging to disk for more reliable logging
-> Re-adding basic distinction btw apps and shortcuts
-> Adding functionality to e-mail dump file, but not using

Change-Id: I2b635004ab082af79445158ab61f20aac62d2e2f
2013-08-28 15:00:15 -07:00
Winson Chung 9e6a0a20d4 Clearing workspace screen data structures along with pages.
Change-Id: Ib6c4522cd0c0c06dd6fd327be3621a6de0778f9c
2013-08-27 15:54:46 -07:00
Winson Chung 53fc06d5d6 Merge "Fixing issue where dragging final items out of hot seat folder can causes inconsistency issue." into jb-ub-gel-agar 2013-08-26 22:25:03 +00:00
Winson Chung 6c15a644cb Merge "Fixing folders to always show in view, removing old assets and references to LauncherModel count." into jb-ub-gel-agar 2013-08-26 22:08:09 +00:00
Winson Chung 0e6a713fca Fixing issue where dragging final items out of hot seat folder can causes inconsistency issue.
- Fixing restoring of workspace screens on rotation (and flash of custom content page indicator)
- Fixing NPE on long pressing on empty screen to go into overview mode
2013-08-23 12:55:10 -07:00
Winson Chung 892c74d460 Fixing folders to always show in view, removing old assets and references to LauncherModel count. 2013-08-23 12:13:02 -07:00
Adam Copp eed7aa422f Merge "Get the view to be used as qsb bar from the launcher directly." into jb-ub-gel-agar 2013-08-23 13:47:28 +00:00
Michael Jurka a805e1a297 Finish support for third-party wallpaper pickers
Clicking on the pickers didn't do anything before.

Change-Id: I103caafbe8d44d27d1797436ce479fb769c4c0f4
2013-08-22 15:05:45 +02:00
Cristina Stancu 476493bcc3 Get the view to be used as qsb bar from the launcher directly.
This will allow more control over the qsb visuals and behaviour in GEL.
Depends on ag/339203

Future changes:
- revert ag/344333 since we won't need the normal qsb to support hotword
  anymore
- Dragging icons over the Drop target bar (to remove/uninstall them or
  get App info) doesn't currently work in GEL. There might be future
  changes needed to fix that.

Change-Id: Ic498f0abee5ad99ef1644ff94f174b61f8e1f5f0
2013-08-22 11:41:11 +01:00
Daniel Sandler 2b931429db Merge "Don't use a More Apps folder." into jb-ub-gel-agar 2013-08-21 13:27:27 +00:00
Daniel Sandler 8707e0fa1c Don't use a More Apps folder.
Instead, "extra" icons (which were not previously workspace
shortcuts) will be strewn across your workspace.

Change-Id: Ie8a7b533bb3c94bec3aa8fc7c7c8d3bea7eef485
2013-08-21 09:13:32 -04:00
Michael Jurka f3007589e3 Add logging for Folder drag issues
Drags out of Folders are getting lost, adding
debug code to see if the uninstall logic is
causing that

Also, fixing one potential cause of the issue

Change-Id: I0b6a91268571c2a9394e0d6f19fb9d324b427b51
2013-08-21 15:11:00 +02:00
Michael Jurka 104c456776 Initial implementation of new wallpaper picker.
Change-Id: Ib4c5ac4989b4959fa62465d9cde3cac662e24949
2013-08-21 13:18:29 +02:00