OSDN Git Service
Michael Jurka [Thu, 5 Sep 2013 21:11:02 +0000 (21:11 +0000)]
Merge "Catch exceptions when setting wallpaper offsets" into jb-ub-gel-agar
Michael Jurka [Thu, 5 Sep 2013 21:10:14 +0000 (23:10 +0200)]
Catch exceptions when setting wallpaper offsets
Bug:
10514504
Michael Jurka [Thu, 5 Sep 2013 19:47:39 +0000 (21:47 +0200)]
Fix crash when setting wallpaper
Also clean up some unused code
Change-Id: Ibef8d3d594cc859a993640fd6ee578e9eeb633d1
Winson Chung [Wed, 4 Sep 2013 00:48:37 +0000 (17:48 -0700)]
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
Michael Jurka [Wed, 4 Sep 2013 12:42:52 +0000 (14:42 +0200)]
Create a separate wallpaper crop activity
Change-Id: Ifb0a7dcb5a6e9ddd4f4bbccc793d9b4db1256cf2
Michael Jurka [Thu, 5 Sep 2013 18:13:37 +0000 (18:13 +0000)]
Merge "Show and hide the wallpaper list in response to touch" into jb-ub-gel-agar
Michael Jurka [Thu, 5 Sep 2013 17:21:31 +0000 (19:21 +0200)]
If All Apps is reinstated, allowing removing items from Workspace
Michael Jurka [Thu, 5 Sep 2013 10:14:12 +0000 (12:14 +0200)]
Show and hide the wallpaper list in response to touch
Daniel Sandler [Thu, 5 Sep 2013 03:13:39 +0000 (23:13 -0400)]
Fix crash on uninstall via drag.
Bug:
10347293
Change-Id: I2a2e4693fb79dd71a71cb53f9a90899788702a17
Adam Cohen [Thu, 5 Sep 2013 00:35:29 +0000 (00:35 +0000)]
Merge "Faster ramp up; external area continues the scrolling" into jb-ub-gel-agar
Winson Chung [Wed, 4 Sep 2013 23:46:14 +0000 (23:46 +0000)]
Merge "Fixing issue where shortcuts to standard android intents were getting pruned." into jb-ub-gel-agar
Mindy Pereira [Wed, 4 Sep 2013 21:32:02 +0000 (14:32 -0700)]
Faster ramp up; external area continues the scrolling
Change-Id: I5e0c5803fac9b92721f21a5f799a6929c49bb885
Michael Jurka [Wed, 4 Sep 2013 16:49:45 +0000 (18:49 +0200)]
Fix small wallpaper thumbnails on some devices
Bug:
10616928
Change-Id: I9094f122ec5b0873c4babda42799e3840ec330c4
Michael Jurka [Wed, 4 Sep 2013 14:23:41 +0000 (14:23 +0000)]
Merge "Move wallpapers to external activity" into jb-ub-gel-agar
Michael Jurka [Tue, 3 Sep 2013 22:45:37 +0000 (00:45 +0200)]
Move wallpapers to external activity
Also renaming Launcher's ApplicationInfo to
AppInfo since ApplicationInfo is already a
framework class
Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146
Alan Viverette [Thu, 29 Aug 2013 00:53:41 +0000 (17:53 -0700)]
Port AutoScroller to launcher3
Change-Id: Ic2b7b5faac4878f3b4645c291e36c5f7734c7f8b
Winson Chung [Fri, 30 Aug 2013 23:38:00 +0000 (16:38 -0700)]
Fixing issue where shortcuts to standard android intents were getting pruned.
Change-Id: Ie5b83f0240a72813e33d528b62f74e69c3807d55
Winson Chung [Fri, 30 Aug 2013 23:12:31 +0000 (23:12 +0000)]
Merge "Fixing missing workspace screens. (Bug
10512285)" into jb-ub-gel-agar
Winson Chung [Fri, 30 Aug 2013 21:11:37 +0000 (14:11 -0700)]
Fixing missing workspace screens. (Bug
10512285)
- Also skipping apps that are disabled (Regression, Bug
10444606)
Change-Id: I175d0188615cbd378166e14ac2f7afb6295fe886
Michael Jurka [Fri, 30 Aug 2013 16:04:22 +0000 (18:04 +0200)]
Adjust wallpaper crop sizes
- Cap the widths to the previous default wallpaper
size
- Increase the height to cover the nav bar area
Winson Chung [Thu, 29 Aug 2013 21:48:54 +0000 (21:48 +0000)]
Merge "Additional Logging." into jb-ub-gel-agar
Adam Cohen [Thu, 29 Aug 2013 21:45:22 +0000 (21:45 +0000)]
Merge "Adding custom content scroll progress callback" into jb-ub-gel-agar
Adam Cohen [Thu, 29 Aug 2013 21:45:13 +0000 (21:45 +0000)]
Merge "Added settings button to overview mode" into jb-ub-gel-agar
Winson Chung [Thu, 29 Aug 2013 18:42:30 +0000 (11:42 -0700)]
Additional Logging.
Change-Id: I37bfa8e1812d2f08c62f1181514aece854a22f2b
Adam Cohen [Thu, 29 Aug 2013 21:25:25 +0000 (14:25 -0700)]
Added settings button to overview mode
Change-Id: Idcbfa49fe2710dec460155f34bd371321af6cf17
Adam Cohen [Thu, 29 Aug 2013 18:54:42 +0000 (11:54 -0700)]
Adding custom content scroll progress callback
Change-Id: I23b007f6ac30809c03127f5d9030d8f367694310
Michael Jurka [Tue, 27 Aug 2013 13:48:58 +0000 (15:48 +0200)]
Improve wallpaper cropping
- Add support for tablets
- Add support for parallax with user-cropped images
- Improve behavior in landscape
Change-Id: I50c4bba59b03d26d595a086a9ea425894f341705
Adam Cohen [Wed, 21 Aug 2013 01:54:31 +0000 (18:54 -0700)]
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
Michael Jurka [Tue, 27 Aug 2013 13:42:35 +0000 (15:42 +0200)]
Clean up unused code
Change-Id: Ie1e927aa0b5304f62cfffaab449abb3133870f80
Winson Chung [Tue, 27 Aug 2013 18:58:12 +0000 (11:58 -0700)]
Clearing workspace screen data structures along with pages.
Change-Id: Ib6c4522cd0c0c06dd6fd327be3621a6de0778f9c
Winson Chung [Mon, 26 Aug 2013 22:25:02 +0000 (22:25 +0000)]
Merge "Fixing issue where dragging final items out of hot seat folder can causes inconsistency issue." into jb-ub-gel-agar
Winson Chung [Mon, 26 Aug 2013 22:08:09 +0000 (22:08 +0000)]
Merge "Fixing folders to always show in view, removing old assets and references to LauncherModel count." into jb-ub-gel-agar
Michael Jurka [Mon, 26 Aug 2013 18:56:35 +0000 (20:56 +0200)]
Add wallpaper parallax
- Currently only works with built-in wallpapers
- Animates smoothly when the number of wallpapers
changes
Change-Id: Ia63f5d4cdc6fc83495e507d93cf34405e6733515
Michael Jurka [Thu, 22 Aug 2013 22:15:41 +0000 (00:15 +0200)]
Fix wallpaper cropping
Images were not being scaled correctly and
wallpaper dimensions weren't always being set
Winson Chung [Fri, 23 Aug 2013 19:55:10 +0000 (12:55 -0700)]
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
Winson Chung [Thu, 22 Aug 2013 23:15:50 +0000 (16:15 -0700)]
Fixing folders to always show in view, removing old assets and references to LauncherModel count.
Adam Copp [Fri, 23 Aug 2013 13:47:27 +0000 (13:47 +0000)]
Merge "Get the view to be used as qsb bar from the launcher directly." into jb-ub-gel-agar
Daniel Sandler [Fri, 23 Aug 2013 04:48:52 +0000 (00:48 -0400)]
Remove obsolete widget adder shortcut.
Bug:
10441366
Change-Id: Ie9d70010ecdee3332595be6296fef604e3d676a8
Daniel Sandler [Fri, 23 Aug 2013 04:45:46 +0000 (00:45 -0400)]
Remove memory-debug-related launcher icons & functionality.
Bug:
10441366
Change-Id: I3ddb95839bcd5c07db7e76ce1a28323b499ea30d
Michael Jurka [Thu, 22 Aug 2013 22:13:41 +0000 (22:13 +0000)]
Merge "Finish support for third-party wallpaper pickers" into jb-ub-gel-agar
Michael Jurka [Thu, 22 Aug 2013 22:12:23 +0000 (22:12 +0000)]
Merge "Disable zoom/pan for built-in wallpapers" into jb-ub-gel-agar
Michael Jurka [Thu, 22 Aug 2013 14:01:17 +0000 (16:01 +0200)]
Disable zoom/pan for built-in wallpapers
Michael Jurka [Thu, 22 Aug 2013 13:00:33 +0000 (15:00 +0200)]
Finish support for third-party wallpaper pickers
Clicking on the pickers didn't do anything before.
Change-Id: I103caafbe8d44d27d1797436ce479fb769c4c0f4
Cristina Stancu [Wed, 7 Aug 2013 16:20:14 +0000 (17:20 +0100)]
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
Winson Chung [Thu, 22 Aug 2013 02:10:29 +0000 (19:10 -0700)]
Fixing issue loading old db rows without proper spans causing crash due to occupied-cells check.
Change-Id: Iac4d245c27aa7e6afe7792cc2308a163af11d11f
Daniel Sandler [Wed, 21 Aug 2013 13:27:27 +0000 (13:27 +0000)]
Merge "Don't use a More Apps folder." into jb-ub-gel-agar
Daniel Sandler [Thu, 15 Aug 2013 22:54:18 +0000 (15:54 -0700)]
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
Michael Jurka [Wed, 21 Aug 2013 12:33:57 +0000 (14:33 +0200)]
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
Michael Jurka [Wed, 21 Aug 2013 11:48:09 +0000 (13:48 +0200)]
Oops, fix build breakage caused by missing files.
Also, remove preview images for wallpaper pickers.
Daniel Sandler [Thu, 11 Jul 2013 19:42:43 +0000 (14:42 -0500)]
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
Michael Jurka [Tue, 9 Jul 2013 01:03:46 +0000 (18:03 -0700)]
Initial implementation of new wallpaper picker.
Change-Id: Ib4c5ac4989b4959fa62465d9cde3cac662e24949
Daniel Sandler [Wed, 21 Aug 2013 05:08:31 +0000 (01:08 -0400)]
Fix build.
Change-Id: I000059cd9f462dac5b21b6edcc65f9852a74cb51
Winson Chung [Tue, 20 Aug 2013 23:56:15 +0000 (16:56 -0700)]
Fixing issue with widget sizes being misreported.
- Fixing NPE with getting page indicators in phone landscape
Change-Id: Id369596e38cbe7a161c0d1f62e62e4f4f3cc31b3
Winson Chung [Tue, 20 Aug 2013 22:13:43 +0000 (22:13 +0000)]
Merge "Removing workspace screens on load and ensuring we don't bind on new apps until returning to Launcher." into jb-ub-gel-agar
Winson Chung [Tue, 20 Aug 2013 21:37:16 +0000 (14:37 -0700)]
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
Adam Cohen [Tue, 20 Aug 2013 18:57:13 +0000 (11:57 -0700)]
Stripping unused method param
Change-Id: Id71664a88908773c5e64c9394070ad231d2148a1
Winson Chung [Tue, 20 Aug 2013 17:59:05 +0000 (17:59 +0000)]
Merge "Initial Changes for Dynamic Grid" into jb-ub-gel-agar
Winson Chung [Mon, 12 Aug 2013 23:19:28 +0000 (16:19 -0700)]
Initial Changes for Dynamic Grid
Change-Id: I9e6f1e5167791cf8dc140778dfa447f86424e9bf
Cristina Stancu [Tue, 20 Aug 2013 10:59:24 +0000 (10:59 +0000)]
Merge "Modify qsb bar elements to handle hotword state." into jb-ub-gel-agar
Winson Chung [Mon, 19 Aug 2013 23:54:56 +0000 (23:54 +0000)]
Merge "Ensuring that we don't clobber workspace screens map when new apps are added." into jb-ub-gel-agar
Winson Chung [Mon, 19 Aug 2013 22:43:29 +0000 (15:43 -0700)]
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
Winson Chung [Fri, 16 Aug 2013 21:31:00 +0000 (14:31 -0700)]
Fixing issue where widgets could not be picked up after the bind-dialog shows. (Bug
10332119)
Winson Chung [Fri, 16 Aug 2013 20:30:17 +0000 (20:30 +0000)]
Merge "Cancelling long press on widgets if they don't handle touch/tap." into jb-ub-gel-agar
Winson Chung [Fri, 16 Aug 2013 18:10:59 +0000 (11:10 -0700)]
Cancelling long press on widgets if they don't handle touch/tap.
Change-Id: Id5f002f64d02d8d5fb9bdda8b062a026decbe0e2
Cristina Stancu [Fri, 16 Aug 2013 10:15:40 +0000 (11:15 +0100)]
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
Adam Cohen [Thu, 15 Aug 2013 23:19:08 +0000 (23:19 +0000)]
Merge "Removing custom content padding" into jb-ub-gel-agar
Adam Cohen [Thu, 15 Aug 2013 23:17:42 +0000 (16:17 -0700)]
Removing custom content padding
-> Cleaned up extraneous imports
Change-Id: I3f9258a893e85f9f6a7cc1eab03d4c5a3dfba786
Daniel Sandler [Thu, 15 Aug 2013 23:00:51 +0000 (23:00 +0000)]
Merge "Rename All Apps to More Apps." into jb-ub-gel-agar
Daniel Sandler [Thu, 15 Aug 2013 23:00:50 +0000 (23:00 +0000)]
Merge "Hide WeightWatcher by default." into jb-ub-gel-agar
Daniel Sandler [Thu, 15 Aug 2013 22:47:41 +0000 (15:47 -0700)]
Rename All Apps to More Apps.
Because they aren't all there anymore.
Change-Id: I4acee9abaefd089d903068ea519371549588c4e2
Daniel Sandler [Thu, 15 Aug 2013 22:44:26 +0000 (15:44 -0700)]
Hide WeightWatcher by default.
Change-Id: I722b5f78311234860c4c0ac227cfb0115ffc8e01
Adam Cohen [Wed, 14 Aug 2013 22:57:58 +0000 (15:57 -0700)]
Passing right swipes through to custom content
-> Right swipes must follow page settle by >= 200 ms.
Change-Id: Ie5a5ae36e63f28736599a8a846570949447f7a03
Adam Cohen [Wed, 14 Aug 2013 20:32:04 +0000 (13:32 -0700)]
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
Adam Cohen [Wed, 14 Aug 2013 01:54:04 +0000 (01:54 +0000)]
Merge "Adding overview mode for reordering, widget adding and wallpaper switching" into jb-ub-gel-agar
Adam Cohen [Tue, 23 Jul 2013 23:47:31 +0000 (16:47 -0700)]
Adding overview mode for reordering, widget adding and wallpaper switching
Change-Id: I082ba0b90ca4b3fbba32e8dfdec8ba79486d841c
Winson Chung [Tue, 13 Aug 2013 17:57:15 +0000 (17:57 +0000)]
Merge changes I559fae32,Ic4db1a3a into jb-ub-gel-agar
* changes:
More logging.
Adding additional logging.
Romain Guy [Fri, 9 Aug 2013 02:13:22 +0000 (19:13 -0700)]
It is *very important* to call super.onDetachedFromWindow()
Bug #
10075732
Change-Id: I515005e35398317d98124964b6bb74f488a213f4
(cherry picked from commit
2361a4daf77ac1f076273d19bc6e171b3b74b22e)
Winson Chung [Tue, 13 Aug 2013 01:57:12 +0000 (18:57 -0700)]
More logging.
Change-Id: I559fae32d80b6d7151ce519d81c662737fb23404
Winson Chung [Tue, 13 Aug 2013 01:36:01 +0000 (18:36 -0700)]
Adding additional logging.
Change-Id: Ic4db1a3abe8b735f07e51a2d35ca92273b5f76c8
Winson Chung [Fri, 9 Aug 2013 23:06:38 +0000 (16:06 -0700)]
Adding additional debugging code to track screen id updates.
Change-Id: I1749ab998a4c213b32f1160d5d21f21b2f30e389
Winson Chung [Wed, 7 Aug 2013 21:15:20 +0000 (21:15 +0000)]
Merge "Fixing regression in initializing install time." into jb-ub-gel-agar
Daniel Sandler [Tue, 6 Aug 2013 20:40:44 +0000 (20:40 +0000)]
Merge "Initial implementation: Broadcasts on app launch." into jb-ub-gel-agar
Daniel Sandler [Tue, 6 Aug 2013 17:08:09 +0000 (17:08 +0000)]
Merge "Remove unnecessary FolderRing bitmaps." into jb-ub-gel-agar
Daniel Sandler [Mon, 5 Aug 2013 06:12:05 +0000 (02:12 -0400)]
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
Winson Chung [Mon, 5 Aug 2013 19:41:55 +0000 (12:41 -0700)]
Fixing regression in initializing install time.
Change-Id: Iedeae0eed7cc929ee7cb2be99bd3bdc58822ce6e
Michael Jurka [Mon, 5 Aug 2013 10:06:48 +0000 (12:06 +0200)]
Fix build error
Winson Chung [Fri, 2 Aug 2013 21:55:16 +0000 (21:55 +0000)]
Merge "Cross referencing all shortcuts on workspace with the PackageManager to ensure we don't have zombie icons." into jb-ub-gel-agar
Winson Chung [Fri, 2 Aug 2013 21:54:25 +0000 (21:54 +0000)]
Merge "Removing old new-app animation code, and refactoring InstallShortcutReceiver to use new add/bind logic." into jb-ub-gel-agar
Winson Chung [Fri, 2 Aug 2013 18:55:24 +0000 (18:55 +0000)]
Merge "Fix bugs with dragging items out of folders" into jb-ub-gel-agar
Michael Jurka [Thu, 1 Aug 2013 10:52:23 +0000 (12:52 +0200)]
Fix bugs with dragging items out of folders
A folder of one item wasn't converted to a single
item - this fixes that regression
It was also possible, in some rare cases, that the
Folder cleanup code never ran after uninstalling
an app
Change-Id: Iee2490ed95d4f4a243b6f93411397a397aef7ae1
Michael Jurka [Fri, 2 Aug 2013 10:37:34 +0000 (10:37 +0000)]
Merge "Small code formatting changes" into jb-ub-gel-agar
Winson Chung [Thu, 1 Aug 2013 00:19:51 +0000 (17:19 -0700)]
Fixing crash due to grabbing oob screen index. (Bug
10114488)
Change-Id: I9e0c3d9bfcf96f092260a82b930b7ea728b6e98d
Winson Chung [Wed, 31 Jul 2013 17:44:43 +0000 (17:44 +0000)]
Merge "Adding hint for launcher to pre-create custom workspace screen." into jb-ub-gel-agar
Winson Chung [Mon, 29 Jul 2013 19:58:51 +0000 (12:58 -0700)]
Adding hint for launcher to pre-create custom workspace screen.
Change-Id: I150fb8b6ff13053bf4b0b49f2b510630ed50714a
Winson Chung [Wed, 31 Jul 2013 17:34:53 +0000 (17:34 +0000)]
Merge "Verifying that new applications are added and fixing issue with new items getting wrong ids." into jb-ub-gel-agar
Winson Chung [Wed, 31 Jul 2013 17:31:16 +0000 (17:31 +0000)]
Merge "Prevent dragging workspace items to custom content page." into jb-ub-gel-agar
Winson Chung [Wed, 31 Jul 2013 17:30:54 +0000 (17:30 +0000)]
Merge "Adding support for custom page indicator markers." into jb-ub-gel-agar
Daniel Sandler [Wed, 31 Jul 2013 04:14:58 +0000 (00:14 -0400)]
Remove unnecessary FolderRing bitmaps.
Bug:
10097530
Change-Id: Ic791d5c36b16474e1ab0a800e18aec802755dd67
Winson Chung [Tue, 30 Jul 2013 21:46:24 +0000 (14:46 -0700)]
Cross referencing all shortcuts on workspace with the PackageManager to ensure we don't have zombie icons.
Change-Id: If9e22bbf1e3e0228e6ce9c76044ae7e015ebf54f
Derek Prothro [Tue, 30 Jul 2013 19:32:39 +0000 (15:32 -0400)]
Call onShow/onHide when visibility changes on -1 screen.
Bug:
10089616
Change-Id: I4365432d5ff699b3722ca3f30713e0c490d0e4ed