Commit Graph

115 Commits

Author SHA1 Message Date
Adam Cohen 89cbbb9d2e Trying to get onShow in all the right places
Change-Id: I875ecc160640a425026b1a8dc8ca2d48ae172a22
2013-09-25 16:52:58 -07:00
Adam Cohen b923fb3399 Merge "Fix issue where overview panel was taking clicks because it was visible (issue 10732462)" into jb-ub-now-indigo-rose 2013-09-25 00:16:55 +00:00
Adam Cohen 3d41198024 Fix issue where overview panel was taking clicks because it was visible (issue 10732462)
Change-Id: Ie75f9237203d3c2bd147f72d1e860ddcaff53ed9
2013-09-24 17:02:49 -07:00
Winson Chung abedd9fd4e Extending the hit rect when testing for dragging over the hotseat.
Change-Id: I57cf863c663b1e57fa422db880b6003ead1199c8
2013-09-24 15:58:59 -07:00
Winson Chung 21f9f2a747 Merge "Tweaking styles for AllApps and widgets spaces. (Bug 10843502)" into jb-ub-now-indigo-rose 2013-09-24 20:29:34 +00:00
Winson Chung 2d75f125f4 Tweaking styles for AllApps and widgets spaces. (Bug 10843502)
- Fixing various issues with Search bar showing when it shouldn't be.

Change-Id: I2a553ad93e3422666a883b90a1ff97625bf05831
2013-09-24 11:55:17 -07:00
Adam Cohen af9b0e51aa Getting RTL up to a reasonable state in Launcher3
-> Fixing random page jumps from one edge of page view to another (issue 10846070)
-> Fixing screen -1 overlap (issue 10861684)
-> Fixing callbacks / transition state related to Custom Content in RTL (issue 10858355)
-> Overview mode now works in RTL
-> Making visible page range code RTL-LTR independent

Change-Id: I4dcc6127a02bf6669f5a1e8e1b62b340b60a5edc
2013-09-24 10:43:42 -07:00
Adam Cohen 410f3cdfb4 Getting the Overview Mode to look up to spec
-> New assets, text, fonts
-> New spacing of pages (translated upwards)
-> Updated outline color to white (the ones we're drawing)

Change-Id: Ie664ac0598ae18b86ae6d54d1d6b497c13d2ee95
2013-09-22 17:41:40 -07:00
Adam Cohen e67ccac004 Merge "Fix issue where you could page to -1 during spring loaded drag (issue 10640529)" into jb-ub-now-indigo-rose 2013-09-22 19:34:40 +00:00
Adam Cohen df041bc7ad Fix issue where you could page to -1 during spring loaded drag (issue 10640529)
Change-Id: I487c871af4ec4412ee4edc74ce58947e54ccd43b
2013-09-22 12:33:36 -07:00
Adam Cohen 5108bc0fd9 More folder cleanup
-> Eliminating out ring
-> Fixing the cursor color
-> Using "nolip" asset appropriately

Change-Id: Ie0e341e865298555dcb0fcb5644e1f3e6b5e39e6
2013-09-20 17:06:05 -07:00
Winson Chung 89f9705077 Fixing small regression in PageIndicators add page, fixing NPE (Bug 10779956)
Change-Id: I7ff711c6fc97987efc57bf023913e33e31ccf140
2013-09-20 11:32:26 -07:00
Winson Chung 37cab1bc25 Merge "Tweaking page indicators to support add page icon, remembering widget picker page (Bug 10787439)" into jb-ub-now-indigo-rose 2013-09-20 17:53:54 +00:00
Michael Jurka 8be886da01 Merge "Improve parallax" into jb-ub-now-indigo-rose 2013-09-20 01:22:36 +00:00
Michael Jurka 2f81731e09 Improve parallax
- Don't move wallpaper when picking up items
- Don't use the entire wallpaper for parallax
until you have at least 4 pages

Bug: 10839029
Bug: 10840014

Change-Id: I1bb165c375429e4d449f654812784df610d9fcb7
2013-09-20 03:17:58 +02:00
Winson Chung ede4129e77 Removing old debugging logs. (Bug 107442854)
Change-Id: I56d6838af3cca710eab300d3e71ca1be90866cdd
2013-09-19 16:28:20 -07:00
Winson Chung 7819a56217 Tweaking page indicators to support add page icon, remembering widget picker page (Bug 10787439)
Change-Id: Iab0b5676aa9c34a610b4b968940abc81c913c234
2013-09-19 15:56:35 -07: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
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
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
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 046cf34436 Fix wallpaper offset after boot
Bug: 10722164
2013-09-14 16:40:34 +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 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
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
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
Winson Chung 837b2413f4 Removing click sounds on clicking workspace. (Bug 10547952)
Change-Id: I2e41d384041415dffc723f3c302e0854e691a01a
2013-09-09 14:43:51 -07:00
Michael Jurka 1bd90b0ed3 Catch exceptions when setting wallpaper offsets
Bug: 10514504
2013-09-05 23:10:14 +02:00
Daniel Sandler b56e95af5d Fix crash on uninstall via drag.
Bug: 10347293
Change-Id: I2a2e4693fb79dd71a71cb53f9a90899788702a17
2013-09-04 23:13:39 -04: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
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 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
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
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
Michael Jurka 104c456776 Initial implementation of new wallpaper picker.
Change-Id: Ib4c5ac4989b4959fa62465d9cde3cac662e24949
2013-08-21 13:18:29 +02:00