Commit Graph

4413 Commits

Author SHA1 Message Date
Tom Stamm 339b0ec914 Merge "Trying to come up with a simpler approach for onShow/onHide." into jb-ub-now-indigo-rose 2013-10-03 20:38:12 +00:00
Chris Wren c95c80d137 Merge "backup widget assets." into jb-ub-now-indigo-rose 2013-10-03 19:39:31 +00:00
Daniel Sandler 57dac26fe0 Add support for <include> in workspace XML.
Note that this doesn't honor folder nesting (that is, you
can't include an XML file full of shortcuts inside a
<folder> node and expect them all to appear in that folder).
It's really just a way to concatenate/overlay multiple XML
files, making it easier to make a few tweaks/additions for
certain screen sizes or locales.

Bug: 10932771
Change-Id: I1fc29477d0717a8a7bc116f16729a955e6c625d5
2013-10-03 13:28:36 -04:00
Chris Wren 2b6c21d434 add a proto decoder host utility
Bug: 10778984
Change-Id: I1c0203a3a5b3a3b1e565af387ccdfa92b53f8335
2013-10-03 12:57:53 -04:00
Chris Wren fd13c714f4 backup widget assets.
Bug: 10778984
Change-Id: I842a88c517401fa4eb3798fd03e0fbc3634e3144
2013-10-03 12:57:52 -04: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
Winson Chung 45cab39eea Tweaking the front cling to support more verbose languages. (Bug 11015051) 2013-10-02 17:45:32 -07:00
Winson Chung 6706ed8266 Updating widget preview tile. 2013-10-02 11:00:28 -07:00
Chris Wren 136c17631d Merge "backup launcher icons" into jb-ub-now-indigo-rose 2013-10-02 17:12:13 +00:00
Adam Cohen 40d6264a8e Merge "Fix ArrayIndexOutOfBoundsException, (issue 11038649)" into jb-ub-now-indigo-rose 2013-10-02 16:47:23 +00:00
Adam Cohen 1f1f45d620 Fix ArrayIndexOutOfBoundsException, (issue 11038649)
Change-Id: Ib7aa55b104894f12175b382fdbcfb08d95408699
2013-10-02 09:44:13 -07:00
Allan Wojciechowski fdc4302bfa Don't animate showWorkspaceAndExitOverviewMode
We shouldn't animate from here as this only gets called when
transitioning to the custom content screen and we shouldn't
animate exiting overview mode.

Bug: 10849624
Change-Id: I1309f2ed1f89a20a9e7b7a2fb5aec47b01f222ab
2013-10-02 11:15:27 -04:00
Chris Wren 22e130d401 backup launcher icons
Only allow a small number of icons to be backed up in any given pass.
Also refactor common code out of favorite and screen backups.

Bug: 10778984
Change-Id: I54bc769c1d1c1c9087ea4bc58f258bd15c167aea
2013-10-02 08:02:57 -04:00
Adam Cohen 044db335ab Merge "Making sure overview mode can't get stuck (issue 11022017)" into jb-ub-now-indigo-rose 2013-10-02 01:10:57 +00:00
Adam Cohen 7a9e58aa17 Making sure overview mode can't get stuck (issue 11022017)
Change-Id: Iee2088f8781d375b0b83625023fb125a869a2868
2013-10-01 18:05: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 a8c1906a9d Merge "Disable hardware layer on custom screen" into jb-ub-now-indigo-rose 2013-10-02 00:16:36 +00:00
Adam Cohen c60777ad4d Merge "Upping icon font size. (Bug 10909316)" into jb-ub-now-indigo-rose 2013-10-01 23:32:38 +00:00
Winson Chung 2651d13422 Upping icon font size. (Bug 10909316)
Change-Id: Iafc29b0b0eb98d51c9a03babff37d1dfdd53d9e0
2013-10-01 16:28:15 -07:00
Adam Cohen 7f331b6bed Merge "Change folder icon item overlay to white (issue 11030725)" into jb-ub-now-indigo-rose 2013-10-01 23:14:02 +00:00
Adam Cohen 433766dcb8 Change folder icon item overlay to white (issue 11030725)
Change-Id: I119cd06211722f86f901eb08ee9f7d1d9903e4ea
2013-10-01 16:13:42 -07:00
Dave Hawkey c6be6eec28 Merge "Fix NPE if workspace is not created yet" into jb-ub-now-indigo-rose 2013-10-01 22:56:47 +00: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
Adam Cohen 9cfd586305 Merge "Toning down overscroll overlay (issue 11023942)" into jb-ub-now-indigo-rose 2013-10-01 19:42:53 +00:00
Adam Cohen 02dcfccb75 Toning down overscroll overlay (issue 11023942)
Change-Id: Ic019ca7b6f076236ec0b85f96446ec555e7bde1f
2013-10-01 12:38:07 -07:00
Michael Jurka 7267fa5869 Make some changes for transparent system bars
-Move transparent bars from just GEL to Launcher3
-When wallpaper strip animates, render it under the nav bar
-Disable rotation of wallpaper picker on phones

Bug: 10814785
Bug: 10852650
Bug: 10852554

Change-Id: I9efeccbc4ad1933689266a5dede201ccfd34acf4
2013-10-01 11:56:43 -07:00
Adam Cohen e269ca4298 Merge "Ensuring that snapToPage is completely aborted / cleaned up upon setCurrentPage (issue 11003904)" into jb-ub-now-indigo-rose 2013-10-01 18:21:12 +00:00
Adam Cohen 97d5311e2a Ensuring that snapToPage is completely aborted / cleaned up upon setCurrentPage (issue 11003904)
Change-Id: Iba851c297ab9406b094c8f0cbf6e39675d0ffa39
2013-10-01 11:19:44 -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 f099eb0bf4 Merge "Using state to update voice button proxy visibility instead of view flags. (Bug 10915381)" into jb-ub-now-indigo-rose 2013-10-01 01:13:23 +00: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 61f560d92a Fixing AllApps pressed state (issue 10845969)
-> Adding haptic feedback to overview mode buttons (issue 10917359)

Change-Id: Iaf7ac31521ae08f4223aa0d0ffc2f6511b85567f
2013-09-30 16:21:00 -07:00
Winson Chung f9e8640fcc Merge "Disable update logic for market button." into jb-ub-now-indigo-rose 2013-09-30 23:05:14 +00:00
Winson Chung 0f84a60456 Ensuring that we always update the container when modifying an item in the db. (Bug 11008354)
Change-Id: I82748565c878a212bdef1bffbf21f2a3fea09314
2013-09-30 14:32:58 -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
Winson Chung d64a66617b Disable update logic for market button.
Change-Id: Ie05995b18252cc78c38b3cb0886407b0c5a13be0
2013-09-30 11:06:59 -07:00
Dave Hawkey 3a733a77e3 Fix NPE if workspace is not created yet
Change-Id: I0c8976a8497e2059ec7b2cda3d56eb965a532765
2013-09-30 11:52:49 -06:00
Adam Cohen 0655904abd Fixing regression in reordering (issue 10994971)
Change-Id: I2be98fc892c1a4392c4a5e035dd4cc1fa6fab0a9
2013-09-29 18:31:11 -07: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 4ef75f523c Fixing weird paging behaviour in spring loaded mode (issue 10758454)
Change-Id: I9d527d134a042a69a9a523bcf24d1a61f0ab0e55
2013-09-29 16:55:01 -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
Adam Cohen 82398369f3 Fixing NPE in onFinishBindingItems (issue 10975740)
-> See bug for explanation. Seems like the circumstances leading to this
   NPE are understandable.

Change-Id: I89637a2da50be1081632e05cf79678c983a74d3a
2013-09-29 12:58:39 -07:00
Sandeep Siddhartha 8ad682ddda Merge "Close open folders before moving to -1" into jb-ub-now-indigo-rose 2013-09-27 23:59:18 +00:00
Sandeep Siddhartha f2b47f13ce Close open folders before moving to -1
Bug: 10955838
Change-Id: Ic6cbb67c4cf485fe1682c7cdd7de200a9227cff0
2013-09-27 16:51:51 -07:00
Adam Cohen ab37bce36a Merge changes If379cc4b,I1c6ccb01 into jb-ub-now-indigo-rose
* changes:
  Fixing up all apps button pressed state:
  Fixing widget resize handles in RTL
2013-09-27 22:46:42 +00:00
Winson Chung c88dceb0b5 Always set the LauncherAppState context before using it from a broadcast. (Bug 10947459)
Change-Id: I284786b538a9d58aa96cfc208ef68621e2500645
2013-09-27 14:59:38 -07:00