Commit Graph

10334 Commits

Author SHA1 Message Date
Michael Jurka f82f344a67 Merge "Update styling of tile to pick image as wallpaper" into jb-ub-now-indigo-rose 2013-09-17 22:54:22 +00:00
Michael Jurka 42a7174255 Update styling of tile to pick image as wallpaper
Bug: 10743257
2013-09-18 00:45:45 +02: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
Chris Wren 578e09f7a8 Merge "remember the provider path when creating a widget." into jb-ub-now-indigo-rose 2013-09-17 12:52:09 +00:00
Chris Wren d5e66bfca1 remember the provider path when creating a widget.
Bug: 10779026
Change-Id: I4f5b619087868a8f637c433c29e3aa6856ccc97d
2013-09-17 08:45:08 -04: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 f343499f9b Making sure CustomContent is never visible during overview / springloaded
Change-Id: I187f7fcfbd4e24e20959c9e0cf5fd5400d006f45
2013-09-16 16:53:18 -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
Adam Cohen 1003be9e62 Fix NPE (issue 10708277)
Change-Id: I76cc74ae4e75bb9a0c1437c2f7d1c27b2fc6afd7
2013-09-16 14:35:25 -07:00
Michael Jurka c05d313e5a Merge "Solve fling-to-delete bug" into jb-ub-now-indigo-rose 2013-09-16 18:05:17 +00:00
Michael Jurka 5e7af5d790 Fix issue with deleting in-app shortcuts
Also, don't show remove target for system apps
when dragging from All Apps

Bug: 10414133
Bug: 10635796
2013-09-14 19:01:28 +02:00
Michael Jurka b605102cfd Solve fling-to-delete bug
Delete target didn't hide after a fling because
onDragEnd was being called twice
2013-09-14 18:08:46 +02:00
Michael Jurka 046cf34436 Fix wallpaper offset after boot
Bug: 10722164
2013-09-14 16:40:34 +02:00
Michael Jurka 876a990097 Fix order of saved gallery images
Bug: 10640466
2013-09-14 15:50:45 +02: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
Michael Jurka 78cf9299b9 Merge "Update to using new crop intent" into jb-ub-now-indigo-rose 2013-09-14 12:26:09 +00: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 d6214a7a63 Merge "Tweaking animation while scrolling to custom content page. (Bug 10394396)" into jb-ub-now-indigo-rose 2013-09-13 23:06:28 +00: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 624cea3f7b Tweaking animation while scrolling to custom content page. (Bug 10394396)
Change-Id: I792439eb6b052ba747ab115ffd345638382ac58d
2013-09-13 15:54:41 -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
Michael Jurka adc574ccb1 Update to using new crop intent
Also, unify WallpaperCropActivity so it's
identical to the system default version (mainly
removing Launcher dependencies)

Change-Id: I1ebc390bce23de62d76daced6f8cb44d57e4ac0c
2013-09-13 18:16:54 +02:00
Bjorn Bringert c639f8cdab Don't use resource ID in switch
This makes Eclipse unhappy when the code is used
as a library project.

Change-Id: I75949ebd36fabcdc88914150dc3a21aecc3357d8
2013-09-13 13:42:00 +01:00
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
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
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 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
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 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