Commit Graph

712 Commits

Author SHA1 Message Date
Adam Cohen ad4e15cae4 Cleaning some page animations
-> Fix jump when last page gets delted (issue 10908427)
-> Fade out empty screen
-> If the final page is empty, and that is the current page when
   spring loaded mode ends, animate back to the previous page
   and then fade out the final page. Examples: cancel widget
   or shortcut drop on the final page, scroll to final page and
   drop an icon into a the hotseat, etc.

Change-Id: I13438fb0af6555b6f0b511b7aff51b3972431438
2013-10-23 14:11:45 -07:00
Winson Chung d8e596db4b Clearing reference to SavedState bundle after restoring from it. (Bug 11322014) 2013-10-21 17:14:12 -07:00
Winson Chung 8c90331193 Updating folder icons when the shortcut is updated. (Bug 10803060)
Change-Id: Idee158b3458213e441c01890e0db341a3bcce1f7
2013-10-16 17:51:49 -07:00
Michael Jurka 8fd3adc2a3 Refactor RTL wallpaper code to use getLayoutTransitionOffsetForPage
Bug: 11157913
2013-10-16 13:50:31 -07:00
Adam Cohen 28f852ab67 Fix drop animation issue in springloaded
Change-Id: I1d8bf9d92ab7b94238e3e6a27b0eebf2c9af6872
2013-10-15 16:13:28 -07:00
Adam Cohen 84add1de6d Fix issue where custom content pops in (issue 11209357)
Change-Id: Ibb40505ac25d59add0b405a1b2ac48a9778314d3
2013-10-14 16:42:10 -07:00
Adam Cohen 8ec05f9fa4 Fix bugs / jank with folder creation feedback (issue 11195148)
Change-Id: Ia53438a7724c95d304f08a4c16382a9b9e8bdfea
2013-10-13 13:21:13 -07:00
Adam Cohen 982470ead5 Merge "Speed up overview transition" into jb-ub-now-indigo-rose 2013-10-12 01:24:57 +00:00
Adam Cohen fa2450a9ff Speed up overview transition
Change-Id: Ie4086717318939875228dd3a920cecf79ba0ff91
2013-10-11 18:23:08 -07:00
Adam Cohen 920a9c2577 Merge "Clean up interpolators on overview mode transition fades" into jb-ub-now-indigo-rose 2013-10-12 01:05:59 +00:00
Adam Cohen 58993ad14d Clean up interpolators on overview mode transition fades
Change-Id: Id10292286cba217ad18e77f7273e497efac4708c
2013-10-11 17:57:55 -07:00
Adam Cohen 1226be4398 Merge "Fix custom content scroll effects bug (recent regression) (issue 11188769)" into jb-ub-now-indigo-rose 2013-10-11 23:22:11 +00:00
Adam Cohen a45de07ece Fix custom content scroll effects bug (recent regression) (issue 11188769)
Change-Id: Ib90c024daf64baac2ccd1cfd04897d18cd35e111
2013-10-11 16:10:20 -07:00
Winson Chung dc734ef2c0 Merge "Fixing issue where the PagedView scroll is out of sync with the current page. (Bug 11050528)" into jb-ub-now-indigo-rose 2013-10-11 23:07:45 +00:00
Winson Chung 964df6b93e Fixing issue where the PagedView scroll is out of sync with the current page. (Bug 11050528)
Change-Id: I9c445d862763b2a77847cc3bff994f6ba9af8cc4
2013-10-11 15:55:37 -07:00
Adam Cohen a5f4e488df Guarantee views are invisible after being faded (issue 11112570)
-> Prevent clicking of hotseat items during non-normal state
-> Update folder text edit highlight color (issue 11072862)

Change-Id: I0292b51dc5f7e318dc59e9a26bf1e39f333bc8eb
2013-10-11 13:51:01 -07:00
Adam Cohen d36d9476dc Fix issue where can't long click page indicators (issue 11136731)
Change-Id: Idcd3a3eabed9db6f1ab17891544578170b8cac6f
2013-10-10 15:32:59 -07:00
Adam Cohen bb6fda6ac3 Provide final callbacks before remove CustomContent (issue 11169651)
Change-Id: I0c30d58a4380f4525dcabf54a0cabf3789031ba6
2013-10-10 12:55:06 -07:00
Adam Cohen 21cd002fef Fix issue where custom content would show up on boot (issue 10713745)
Change-Id: I1c03784970fe1a88e2561f1c5367979cda825973
2013-10-10 12:51:44 -07:00
Winson Chung 82e5c98446 Update custom content hint after custom content is invalidated (Bug 11067230)
Change-Id: I5f98e2a0e4bc3439ff36688555990798c59efa58
2013-10-10 11:59:35 -07:00
Adam Cohen 564a2e7116 Fix custom content state for scroll in RTL (issue 11068877)
Change-Id: I731c55e3e4e01ef42eba94c002d0fde296dd9540
2013-10-09 14:48:01 -07:00
Winson Chung 5376e7a86f Merge "Ensuring that the widget drag outline is padded by the default widget padding. (Bug 10881814)" into jb-ub-now-indigo-rose 2013-10-08 22:54:31 +00:00
Winson Chung ad7db6e8dd Ensuring that the widget drag outline is padded by the default widget padding. (Bug 10881814)
Change-Id: I8d613104d07e64e55f31f777d222a2ecaccb0adc
2013-10-08 15:51:37 -07:00
Adam Cohen ed307df744 Cleaning up home / back behaviour in overview mode (issue 10965421)
Change-Id: Ib85e8b3ca369582122298ca0a66109c8a363880c
2013-10-08 15:35:53 -07:00
Adam Cohen d9ecec1166 Merge "Fixing flash when you swipe a page and go into All Apps (Bug 10971209)" into jb-ub-now-indigo-rose 2013-10-08 01:25:45 +00:00
Winson Chung 296ab0fde6 Fixing flash when you swipe a page and go into All Apps (Bug 10971209)
Change-Id: I7d63012409c3b084cc81095a243a2d492594bb5f
2013-10-07 18:21:59 -07:00
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