Commit Graph

136 Commits

Author SHA1 Message Date
Winson Chung a3818ab906 Merge "Hiding side pages during AllApps transition. (Bug 10971209)" into jb-ub-now-indigo-rose 2013-10-08 01:13:24 +00:00
Winson Chung f4bd23662d Hiding side pages during AllApps transition. (Bug 10971209)
- Tweaking page indicator sizing (Bug 11116262)

Change-Id: Ia03f0ba3713c90a2672a1d8770a19c61adf9badc
2013-10-07 18:07:04 -07:00
Adam Cohen 225ad9b7ff Only show the most recent screen added to custom content (issue 11087978)
Change-Id: Id50604e982cbb3abb26e5dfc3fcc37339529539d
2013-10-07 13:06:27 -07:00
Adam Cohen 5380521880 First pass on accessibility
-> issue 10801717
-> issue 11012432
-> issue 11012764

Change-Id: I9a687a39a358441afd57c0c46b57399ecbf23c36
2013-10-04 16:31:09 -07:00
Michael Jurka fe0ace3583 Fix RTL bugs with wallpaper parallax
Bug: 10901046

Change-Id: Id4277173b0c13d25eb0507bd6fa9fa1309946510
2013-10-03 16:19:06 -07:00
Adam Cohen 6fecd410e8 Trying to come up with a simpler approach for onShow/onHide.
-> In this approach, the shown/hidden state should be tracked
   by the CustomContent provider and excess calls to onShow and onHide
   should be debounced. That is, if onShow is called twice in a row,
   without an intermediate onHide, the second should be discarded.
   Viceversa for onHide.

Change-Id: I2fa48d15f28767775a9a9cb84c1d920867a12176
2013-10-02 17:58:53 -07:00
Adam Cohen 20df4f87ec Merge "Ensuring launcher is always setting "interactionBegin/End" where appropriate (issue 11030735)" into jb-ub-now-indigo-rose 2013-10-02 01:03:54 +00:00
Adam Cohen edaaa30232 Ensuring launcher is always setting "interactionBegin/End" where appropriate (issue 11030735)
Change-Id: I16f4f6a19cdc92af6b817a658dc32e082f08660c
2013-10-01 17:35:43 -07:00
Winson Chung ba4e52f41c Updating page indicator assets. 2013-10-01 17:22:26 -07:00
Chris Craik 01f2d7fa4b Disable hardware layer on custom screen
Whereas standard ShortcutAndWidgetContainers are static during screen
transition, the custom screen may animate during its transition.
Disabling the hardware layer reduces the cost of this animation
significantly.

bug:10810505

Change-Id: I560d209f651951f54c224862a706e8a243dc71af
2013-10-01 15:07:17 -07:00
Michael Jurka 1970614d09 Merge "Restore parallax even if Google Now isn't present" into jb-ub-now-indigo-rose 2013-10-01 01:28:13 +00:00
Michael Jurka 16205da30e Restore parallax even if Google Now isn't present
- Also fix a crash when choosing third-party wallpaper pickers

Bug: 11008122

Change-Id: Ie5923fdadc1db6facf695ec05522f5e469d6c72a
2013-09-30 18:25:52 -07:00
Winson Chung 5841efa612 Using state to update voice button proxy visibility instead of view flags. (Bug 10915381)
Change-Id: I72feb506cbc1b03e2b99d36bc4a9d7bda27101be
2013-09-30 18:12:40 -07:00
Adam Cohen def01fb8dc Merge "Trying to get onShow in all the right places" into jb-ub-now-indigo-rose 2013-09-30 19:01:10 +00:00
Adam Cohen 2bf63d5205 Fixing issue where you couldn't drag an item multiple pages (issue 10754544)
-> This was caused by a strange race condition. The page snap time was equal to
   the delay to recheck whether to snap (in DragController). This meant that
   scrollRight()/Left() would get called, and the scroller would be finished
   however, the final computeScrollHelper() hadn't been called, so the mCurrentPage
   hadn't yet been incremented.
-> Fixed the underlying race condition.
-> Added suitable gap (150 ms) between the two delays.

Change-Id: If700eb9e14d77a174e4395ca6933119bdb0da768
2013-09-29 18:13:25 -07:00
Adam Cohen 74c5491d1b Improving the granularity of reorder with resize on drop (issue 9533227)
Change-Id: If196f75c148487a8d31f4fcdb5293cc41d3bb7a7
2013-09-29 15:50:01 -07:00
Adam Cohen 949debe6e6 Fix issue where we weren't saving span after resize drop (issue 9533407)
Change-Id: I760bf505ce9c894aedb6f1d0def63cdc7d39271a
2013-09-29 14:23:33 -07:00
Winson Chung 54e6513554 Ensuring that Launcher always has a search bar. (Bug 10965514)
- Also disabling voice proxy when we are in now (Bug 10915381)

Change-Id: I4ad6392b5139d12b9b298110109b9363ba426cb4
2013-09-27 11:44:58 -07:00
Winson Chung fe411c8e31 Fixing issue where incorrect min/max widths/heights were being reported to widgets. (Bug 10940505) 2013-09-26 16:08:03 -07:00
Adam Cohen a29f5047f0 Fixing overscroll with single page (issue 10937081)
-> Also fixing asymmetrical assets (10951956)
-> Also fixing camera distance to improve overscroll effect

Change-Id: If229c7b8a0c80073f6dea89d5fb009a0e2f5845f
2013-09-26 15:50:25 -07:00
Adam Cohen 93c9756e7a Fixing some touch / interaction problems
-> Weird reorder/scroll mode hybrid (issue 10550801)
-> Entering overview mode when we shouldn't (issue 10855389)

Change-Id: Ic936ead8deb3a5d4e00f265d09329528a1517063
2013-09-26 13:53:23 -07:00
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