Commit Graph

6717 Commits

Author SHA1 Message Date
Michael Jurka 80521d95f9 Merge "Adding ability to delete previously saved wallpapers" into jb-ub-now-indigo-rose 2013-09-12 22:15:03 +00:00
Michael Jurka e763ad1d14 Merge "Adding persistence of saved wallpaper images" into jb-ub-now-indigo-rose 2013-09-12 22:14:50 +00:00
John Spurlock d5066bebd8 Merge "Recompute cell size when inputs change." into jb-ub-now-indigo-rose 2013-09-12 21:41:27 +00:00
Winson Chung 369c978c73 Merge "Allow deleting folders and from all apps" into jb-ub-now-indigo-rose 2013-09-12 21:25:02 +00:00
Michael Jurka ed3d4df1f5 Allow deleting folders and from all apps
Bug: 10635796
2013-09-12 20:52:26 +02:00
Michael Jurka d6dc6043ad Adding ability to delete previously saved wallpapers
- Also preserving temporarily picked wallpapers on
rotation

Change-Id: I35361e2a5619cd986bd8b66268ce9e94b9a0027e
2013-09-12 20:49:17 +02:00
Michael Jurka be2f8ddd80 Adding persistence of saved wallpaper images
Bug: 10640466
Bug: 10648660

Change-Id: I545a0419a3a6a23b75fb035d7a3be854426d13d4
2013-09-12 20:48:53 +02:00
Michael Jurka e0300694d6 Remove unused proguard flags
Change-Id: Iae52eb3a5dd27e636aa1fb86a52a1025c3fcf416
2013-09-12 20:41:21 +02:00
John Spurlock e5d43a421f Recompute cell size when inputs change.
Bug:10691425
Change-Id: I0bb8904bbae2c6d0939b15ff06d584b96ef6f8b2
2013-09-12 13:53:46 -04: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
Michael Jurka 5f92956617 Re-add string that's used as title of wallpaper picker 2013-09-10 14:24:49 +02:00
Michael Jurka 6218e5b737 Add error message when built-in wallpapers not found 2013-09-10 14:07:20 +02:00
Winson Chung 837b2413f4 Removing click sounds on clicking workspace. (Bug 10547952)
Change-Id: I2e41d384041415dffc723f3c302e0854e691a01a
2013-09-09 14:43:51 -07:00
Michael Jurka f56914b2e5 Support new crop wallpaper intent 2013-09-09 16:23:55 +02: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
Michael Jurka c07a0dc6dd Making some code easier to debug 2013-09-06 00:12:40 +02:00
Michael Jurka 34651e3203 Merge "Catch exceptions when setting wallpaper offsets" into jb-ub-gel-agar 2013-09-05 21:11:03 +00:00
Michael Jurka 1bd90b0ed3 Catch exceptions when setting wallpaper offsets
Bug: 10514504
2013-09-05 23:10:14 +02:00
Michael Jurka 26acafbe67 Fix crash when setting wallpaper
Also clean up some unused code

Change-Id: Ibef8d3d594cc859a993640fd6ee578e9eeb633d1
2013-09-05 21:52:14 +02: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 2d8de5845b Create a separate wallpaper crop activity
Change-Id: Ifb0a7dcb5a6e9ddd4f4bbccc793d9b4db1256cf2
2013-09-05 20:37:56 +02:00
Michael Jurka c0e8b6880a Merge "Show and hide the wallpaper list in response to touch" into jb-ub-gel-agar 2013-09-05 18:13:37 +00:00
Michael Jurka 9bd4d28163 If All Apps is reinstated, allowing removing items from Workspace 2013-09-05 19:25:11 +02:00
Michael Jurka 4b94060491 Show and hide the wallpaper list in response to touch 2013-09-05 12:42:08 +02:00
Daniel Sandler b56e95af5d Fix crash on uninstall via drag.
Bug: 10347293
Change-Id: I2a2e4693fb79dd71a71cb53f9a90899788702a17
2013-09-04 23:13:39 -04:00
Adam Cohen f96c9f889f Merge "Faster ramp up; external area continues the scrolling" into jb-ub-gel-agar 2013-09-05 00:35:29 +00:00
Winson Chung 761c89d9ac Merge "Fixing issue where shortcuts to standard android intents were getting pruned." into jb-ub-gel-agar 2013-09-04 23:46:14 +00:00
Mindy Pereira e886ee1900 Faster ramp up; external area continues the scrolling
Change-Id: I5e0c5803fac9b92721f21a5f799a6929c49bb885
2013-09-04 14:32:02 -07:00
Michael Jurka 60e01b610a Fix small wallpaper thumbnails on some devices
Bug: 10616928

Change-Id: I9094f122ec5b0873c4babda42799e3840ec330c4
2013-09-04 18:53:20 +02:00
Michael Jurka d7ac23aec1 Merge "Move wallpapers to external activity" into jb-ub-gel-agar 2013-09-04 14:23:42 +00: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
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