Commit Graph

2821 Commits

Author SHA1 Message Date
Chris Wren b1fd63b843 only backup widgets assets once
Bug: 10778984
Change-Id: I6736f8b699c7fc5669f966a8b25819ea380480ab
2013-10-04 14:42:55 +00:00
Michael Jurka 5b4b6904ae Finalize visuals of wallpaper picker items
Also, move third-party wallpapers to end of list

Bug: 10852962
Bug: 11024560
2013-10-03 18:15:08 -07:00
Bjorn Bringert ed60ba1e24 Merge "Add a better app filtering mechanism and filter widgets" into jb-ub-now-indigo-rose 2013-10-03 23:22:57 +00:00
Michael Jurka f2e1ace175 Merge "Fix RTL bugs with wallpaper parallax" into jb-ub-now-indigo-rose 2013-10-03 23:22:39 +00:00
Michael Jurka fe0ace3583 Fix RTL bugs with wallpaper parallax
Bug: 10901046

Change-Id: Id4277173b0c13d25eb0507bd6fa9fa1309946510
2013-10-03 16:19:06 -07:00
Winson Chung b232383fd5 Fixing issue where newly added shortcuts were not being animated in (Bug. 11023745)
Change-Id: I63d3a5fb3b41f5fc58ee44db9270772ce8458ee9
2013-10-03 16:05:32 -07:00
Bjorn Bringert 1307f63f8a Add a better app filtering mechanism and filter widgets
The old one didn't use the app filter when packages
were added or updated, only in the initial load.

The app filter is now also used for appwidget providers.

Bug: 10895858
Bug: 10898990
Change-Id: Id29bbc3cf7bdb0c360edd92f768b86684bd338ed
2013-10-03 23:40:34 +01:00
Chris Wren f0481bf3c9 Merge "add a proto decoder host utility" into jb-ub-now-indigo-rose 2013-10-03 20:54:28 +00:00
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