Commit Graph

6717 Commits

Author SHA1 Message Date
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
Daniel Sandler 8b0405888f Remove obsolete widget adder shortcut.
Bug: 10441366
Change-Id: Ie9d70010ecdee3332595be6296fef604e3d676a8
2013-08-23 00:53:59 -04:00
Daniel Sandler 826420b194 Remove memory-debug-related launcher icons & functionality.
Bug: 10441366
Change-Id: I3ddb95839bcd5c07db7e76ce1a28323b499ea30d
2013-08-23 00:53:59 -04: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
Michael Jurka c8f83f46b6 Oops, fix build breakage caused by missing files.
Also, remove preview images for wallpaper pickers.
2013-08-21 13:50:43 +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
Daniel Sandler bbd6ba5446 Merge "Hide WeightWatcher by default." into jb-ub-gel-agar 2013-08-15 23:00:50 +00:00
Daniel Sandler dd3204b01f Rename All Apps to More Apps.
Because they aren't all there anymore.

Change-Id: I4acee9abaefd089d903068ea519371549588c4e2
2013-08-15 15:47:41 -07:00
Daniel Sandler 6053b8007e Hide WeightWatcher by default.
Change-Id: I722b5f78311234860c4c0ac227cfb0115ffc8e01
2013-08-15 15:44:26 -07:00
Adam Cohen 3d1b2b4206 Passing right swipes through to custom content
-> Right swipes must follow page settle by >= 200 ms.

Change-Id: Ie5a5ae36e63f28736599a8a846570949447f7a03
2013-08-14 15:57:58 -07:00
Adam Cohen 61a9a5c359 Don't switch pages when dragging out of folder
-> Fix bug where page switch indicator wouldn't draw on right
-> Fixed some code related to folder reordering -- no behaviour change
   yet, but once the new AutoScroll is in, this should behave correctly
   (ie. shouldn't reorder while in scroll zone)

Change-Id: Ic14a8d70858777164f094204472dc6a726dd461a
2013-08-14 13:36:51 -07:00
Adam Cohen 1b7d423c65 Merge "Adding overview mode for reordering, widget adding and wallpaper switching" into jb-ub-gel-agar 2013-08-14 01:54:06 +00:00
Adam Cohen f358a4bbd6 Adding overview mode for reordering, widget adding and wallpaper switching
Change-Id: I082ba0b90ca4b3fbba32e8dfdec8ba79486d841c
2013-08-13 18:53:36 -07:00
Winson Chung cda0921782 Merge changes I559fae32,Ic4db1a3a into jb-ub-gel-agar
* changes:
  More logging.
  Adding additional logging.
2013-08-13 17:57:15 +00:00
Romain Guy e6661950f5 It is *very important* to call super.onDetachedFromWindow()
Bug #10075732

Change-Id: I515005e35398317d98124964b6bb74f488a213f4
(cherry picked from commit 2361a4daf77ac1f076273d19bc6e171b3b74b22e)
2013-08-13 18:49:01 +02:00
Winson Chung e34930346b More logging.
Change-Id: I559fae32d80b6d7151ce519d81c662737fb23404
2013-08-12 18:57:12 -07:00
Winson Chung 45fa06ed1e Adding additional logging.
Change-Id: Ic4db1a3abe8b735f07e51a2d35ca92273b5f76c8
2013-08-12 18:37:42 -07:00
Winson Chung 8481e32e5b Adding additional debugging code to track screen id updates.
Change-Id: I1749ab998a4c213b32f1160d5d21f21b2f30e389
2013-08-09 16:06:38 -07:00
Winson Chung d1a191d32d Merge "Fixing regression in initializing install time." into jb-ub-gel-agar 2013-08-07 21:15:20 +00:00
Daniel Sandler 2594d71193 Merge "Initial implementation: Broadcasts on app launch." into jb-ub-gel-agar 2013-08-06 20:40:44 +00:00
Daniel Sandler cff295f8b7 Merge "Remove unnecessary FolderRing bitmaps." into jb-ub-gel-agar 2013-08-06 17:08:09 +00:00
Daniel Sandler ff02d49e46 Initial implementation: Broadcasts on app launch.
Look for com.android.launcher3.action.LAUNCH to be sent when
an icon is clicked in Launcher. (Restricted to
com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS
which is a signature permission right now.

This is specifically tracking apps launched via shortcut
icon; any other method of launching apps (notifications,
recents, internal navigation, etc.) is outside of Launcher's
purview and hence not broadcast.

The broadcast currently includes, in the "intent" extra, the
Uri flattening of the specific shortcut clicked.

The file /data/data/<pkg>/files/launches.log contains a
binary log of all such launches, including additional info
like screen# that should probably be in the broadcast too.

This info is summarized in .../stats.log, which encodes a
simple histogram of app launches since basically forever.
This should probably be done over a sliding window, which
will require more processing on startup.

Bug: 10031590
Change-Id: Ifc5921d5dc20701c67678cbfdc89b03cacd62028
2013-08-06 00:18:38 -04:00