Commit Graph

10334 Commits

Author SHA1 Message Date
Alan Viverette 4cda5b770d Port AutoScroller to launcher3
Change-Id: Ic2b7b5faac4878f3b4645c291e36c5f7734c7f8b
2013-09-03 08:32:03 -07:00
Winson Chung 68fd3c33da Fixing issue where shortcuts to standard android intents were getting pruned.
Change-Id: Ie5b83f0240a72813e33d528b62f74e69c3807d55
2013-08-30 16:38:40 -07:00
Winson Chung 8b3cd79082 Merge "Fixing missing workspace screens. (Bug 10512285)" into jb-ub-gel-agar 2013-08-30 23:12:31 +00:00
Winson Chung ba9c37f41c Fixing missing workspace screens. (Bug 10512285)
- Also skipping apps that are disabled (Regression, Bug 10444606)

Change-Id: I175d0188615cbd378166e14ac2f7afb6295fe886
2013-08-30 14:15:17 -07:00
Michael Jurka 1042243412 Adjust wallpaper crop sizes
- Cap the widths to the previous default wallpaper
size
- Increase the height to cover the nav bar area
2013-08-30 18:27:20 +02:00
Winson Chung 5e2ceef114 Merge "Additional Logging." into jb-ub-gel-agar 2013-08-29 21:48:54 +00: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 d1bfb51ef3 Merge "Added settings button to overview mode" into jb-ub-gel-agar 2013-08-29 21:45:13 +00:00
Winson Chung 933bae6958 Additional Logging.
Change-Id: I37bfa8e1812d2f08c62f1181514aece854a22f2b
2013-08-29 14:39:19 -07: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
Michael Jurka fe09cb7fe3 Improve wallpaper cropping
- Add support for tablets
- Add support for parallax with user-cropped images
- Improve behavior in landscape

Change-Id: I50c4bba59b03d26d595a086a9ea425894f341705
2013-08-29 18:14:29 +02: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
Michael Jurka 414300a79d Clean up unused code
Change-Id: Ie1e927aa0b5304f62cfffaab449abb3133870f80
2013-08-28 15:06:31 +02: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
Michael Jurka cc07e7a9c6 Add wallpaper parallax
- Currently only works with built-in wallpapers
- Animates smoothly when the number of wallpapers
changes

Change-Id: Ia63f5d4cdc6fc83495e507d93cf34405e6733515
2013-08-26 21:50:28 +02:00
Michael Jurka fd471c0b4f Fix wallpaper cropping
Images were not being scaled correctly and
wallpaper dimensions weren't always being set
2013-08-26 15:54:03 +02: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 fe14e04987 Merge "Finish support for third-party wallpaper pickers" into jb-ub-gel-agar 2013-08-22 22:13:43 +00:00
Michael Jurka 0cffae54f9 Merge "Disable zoom/pan for built-in wallpapers" into jb-ub-gel-agar 2013-08-22 22:12:25 +00:00
Michael Jurka fbf25c19aa Disable zoom/pan for built-in wallpapers 2013-08-22 16:01:17 +02: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
Winson Chung 61c69869b3 Fixing issue loading old db rows without proper spans causing crash due to occupied-cells check.
Change-Id: Iac4d245c27aa7e6afe7792cc2308a163af11d11f
2013-08-21 19:10:49 -07: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
Daniel Sandler 6241609bd6 Remove built-in wallpaper picker.
Note that we don't yet have a solution for the user's
initial wallpaper. Bother!

Bug: 9626042
Change-Id: I07ab09a3d10434e444dc27051034d387e692e469
2013-08-21 13:36:18 +02:00
Michael Jurka 104c456776 Initial implementation of new wallpaper picker.
Change-Id: Ib4c5ac4989b4959fa62465d9cde3cac662e24949
2013-08-21 13:18:29 +02:00
Daniel Sandler 912d360cd7 Fix build.
Change-Id: I000059cd9f462dac5b21b6edcc65f9852a74cb51
2013-08-21 01:09:46 -04:00
Winson Chung 6670073de8 Fixing issue with widget sizes being misreported.
- Fixing NPE with getting page indicators in phone landscape

Change-Id: Id369596e38cbe7a161c0d1f62e62e4f4f3cc31b3
2013-08-20 17:12:22 -07:00
Winson Chung 81d6f6ecca Merge "Removing workspace screens on load and ensuring we don't bind on new apps until returning to Launcher." into jb-ub-gel-agar 2013-08-20 22:13:44 +00:00
Winson Chung d64d1763c5 Removing workspace screens on load and ensuring we don't bind on new apps until returning to Launcher.
- Updating print_db to print workspace screens

Change-Id: Id477f5a5649c0d3b7ab0cce5ed99ca0a519d7706
2013-08-20 15:03:13 -07:00
Adam Cohen 89bddfaa6d Stripping unused method param
Change-Id: Id71664a88908773c5e64c9394070ad231d2148a1
2013-08-20 15:01:56 -07:00
Winson Chung c9c4424ead Merge "Initial Changes for Dynamic Grid" into jb-ub-gel-agar 2013-08-20 17:59:06 +00:00
Winson Chung 5f8afe6280 Initial Changes for Dynamic Grid
Change-Id: I9e6f1e5167791cf8dc140778dfa447f86424e9bf
2013-08-20 10:56:05 -07:00
Cristina Stancu 1430d1bc67 Merge "Modify qsb bar elements to handle hotword state." into jb-ub-gel-agar 2013-08-20 10:59:24 +00:00
Winson Chung 8a6870101c Merge "Ensuring that we don't clobber workspace screens map when new apps are added." into jb-ub-gel-agar 2013-08-19 23:54:56 +00:00
Winson Chung 76828c87dd Ensuring that we don't clobber workspace screens map when new apps are added.
- Using Log warnings instead of debugs
- Ensuring we don't save negative screen id's

Change-Id: I13276d007193c120ee0830abcdc6eb203f22a9da
2013-08-19 16:44:58 -07:00
Winson Chung e341d30a13 Fixing issue where widgets could not be picked up after the bind-dialog shows. (Bug 10332119) 2013-08-16 14:31:43 -07:00
Winson Chung 430b79fd0e Merge "Cancelling long press on widgets if they don't handle touch/tap." into jb-ub-gel-agar 2013-08-16 20:30:18 +00:00
Winson Chung e7a852ef15 Cancelling long press on widgets if they don't handle touch/tap.
Change-Id: Id5f002f64d02d8d5fb9bdda8b062a026decbe0e2
2013-08-16 11:10:59 -07:00
Cristina Stancu d791998dd8 Modify qsb bar elements to handle hotword state.
They currently handle a pressed mode (showing a blue overlay), we'd like
them to also handle a hotword state that would modify their appearance
when hotword is available and active.

Meant to work with: ag/344334

Change-Id: I07e261ce64307fdad8a4c16fc02eb009ca826ece
2013-08-16 12:06:59 +01:00
Adam Cohen e3381e11b0 Merge "Removing custom content padding" into jb-ub-gel-agar 2013-08-15 23:19:08 +00:00
Adam Cohen 2702ea0060 Removing custom content padding
-> Cleaned up extraneous imports

Change-Id: I3f9258a893e85f9f6a7cc1eab03d4c5a3dfba786
2013-08-15 16:18:09 -07:00
Daniel Sandler b3699f0a27 Merge "Rename All Apps to More Apps." into jb-ub-gel-agar 2013-08-15 23:01:07 +00:00