Commit Graph

2697 Commits

Author SHA1 Message Date
Winson Chung ede4129e77 Removing old debugging logs. (Bug 107442854)
Change-Id: I56d6838af3cca710eab300d3e71ca1be90866cdd
2013-09-19 16:28:20 -07:00
Daniel Sandler bb701aaa83 Updated launcher assets part 2.
- fixed centering on new pagination indicators
 - also tuned the pagination animation a bit to make the
   size change feel more natural

Bug: 10807054
Change-Id: I0953cff80bfeecf085172f710a4bc947133115ed
2013-09-19 15:40:33 -04:00
Adam Cohen 437dec39ee Merge "Adding some assets / fixing a couple bugs" into jb-ub-now-indigo-rose 2013-09-19 19:01:38 +00:00
Adam Cohen 3f452c87db Adding some assets / fixing a couple bugs
-> Adding wallpaper, settings and widgets icons for overview mode
-> Fix issues with disappearing search bar / custom content screen
   when screen is turned off from overview mode.

Change-Id: I0904098bd642c40709e27f571e458f1b6e479c17
2013-09-19 11:58:22 -07:00
Michael Jurka b94f3f804f Remove options menu
When options menu is clicked, go into overview
mode

Bug: 10704930
2013-09-19 20:06:26 +02:00
Dave Hawkey 8c082818a8 Merge "Support for dynamically adding/removing -1 screen" into jb-ub-now-indigo-rose 2013-09-19 17:16:32 +00:00
Adam Cohen dbdff6bc7b Handful of small changes / bug fixes
-> Fixed fade in of overview panel on first animation
-> Fixed long press issue in page indicator region
-> Added background scrim to overview mode
-> Fading search bar in overview mode / disabling clickability
   of search bar and mic

Change-Id: Ic9bf84f7cb9ff2991c5b4e93273d9e3f65556e5c
2013-09-18 19:10:53 -07:00
Dave Hawkey a888158880 Support for dynamically adding/removing -1 screen
Change-Id: Ife68b64c04498e336192caf895edb9a090dcdc26
2013-09-18 18:41:15 -06:00
Chris Wren 5029f1bc83 Merge "fixup missing providers on load." into jb-ub-now-indigo-rose 2013-09-18 19:04:23 +00:00
Chris Wren c3919c0e99 fixup missing providers on load.
Bug: 10779026
Change-Id: I0a9fc43258623c233c7ba89a9e9f1dee97800967
2013-09-18 13:37:20 -04:00
John Spurlock 2c38e70acd Fix launcher3 standalone build.
Change-Id: Ibfe14c5960211916222fc49389b8776be6bf768b
2013-09-18 10:51:31 -04:00
Michael Jurka 5664de2524 Update assets for pressed/focused/selected states
Also, add shadow below/above wallpaper strip

Bug: 10722070

Change-Id: I37c445bab90e103f414c95b62e101a73d060661f
2013-09-18 15:16:00 +02:00
Adam Cohen 1697b79a86 Fixing up click / long click to enter / exit overview mode
Change-Id: I1ec7ab7f3e5c67add9ae64901e0ea377e265ed84
2013-09-17 19:09:54 -07:00
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