Commit Graph

171 Commits

Author SHA1 Message Date
Adam Cohen e9b198fd74 Merge "Change the way view ids are assigned (issue 11627801)" into jb-ub-now-jolly-elf 2013-11-14 16:22:36 +00:00
Adam Cohen c76e1dda08 Change the way view ids are assigned (issue 11627801)
Change-Id: I4d9c0542ea3ac581c4a9f4da68824f0b498ea337
2013-11-14 15:16:14 +00:00
Adam Copp 3dc3ecda28 Merge "Hooks for subclasses to react to home presses." into jb-ub-now-jolly-elf 2013-11-14 14:04:45 +00:00
Adam Copp a120b8e304 Hooks for subclasses to react to home presses.
This provides the nessecary hooks for GEL so that it can prevent
scrolling to the home screen when a search is open, instead choosing to
dismiss the search.

Bug: 11128544
Change-Id: I3c1b67bc271c1342db4a0abac364f2923bdeba3a
2013-11-13 11:37:59 +00:00
Winson Chung 8e15fdf60a Prevent launching Widgets when cycling between Overview/Shrink state and Home. (Bug 11439120)
Change-Id: I21173f114228ba43172af9074d2ac1fadeee9886
2013-11-11 15:47:45 -08:00
Adam Cohen 2777273a2a Add method to determine if Launcher is using vertical bars
Change-Id: I7e9096cf81b49d213025c6f98708186330448fc0
2013-11-11 14:01:35 +00:00
Winson Chung 07e045c637 Save and restore the correct content type when rotating while in AllApps.
Change-Id: I508832e46c8a2ab3bb53baf8f44b543c4c24aed2
2013-11-07 18:50:09 +00:00
Adam Cohen b2af6076c7 Merge "Ensuring that widget ids are cleaned up" into jb-ub-now-jetsonic 2013-11-05 02:26:45 +00:00
Adam Cohen 4637b5ada9 Ensuring that widget ids are cleaned up
Change-Id: I89f7bd3fccdc730128189beb51680e3ee76e3524
2013-11-04 18:21:42 -08:00
Adam Cohen c18e4a9265 Merge "Fix bug where cancelling config activity leaves user stuck in bad state" into jb-ub-now-jetsonic 2013-11-05 02:10:37 +00:00
Adam Cohen f0129b13d1 Fix bug where cancelling config activity leaves user stuck in bad state
Change-Id: I774cc6e46006f623c97812c85023b228128430fe
2013-11-04 17:58:15 -08:00
Winson Chung c44a0c0728 Merge "Tweaking cling text sizes for other languages. (Bug 11151675)" into jb-ub-now-jetsonic 2013-11-01 19:45:20 +00:00
Winson Chung 13dbfe18a0 Tweaking cling text sizes for other languages. (Bug 11151675)
Change-Id: Iae82064b1be7a33e5375c1e27fb7472216dc637a
2013-11-01 12:04:20 -07:00
Adam Cohen 917e38851c Fix issue with adding widget with config activity to empty screen (issue 11381059)
Change-Id: Ic7eecb30422e7a6cf35ebe8470d9eba8752d406e
2013-10-31 15:04:59 -07:00
Winson Chung 88400d521e Merge "Initial changes to support smaller landscape layouts." into jb-ub-now-jetsonic 2013-10-29 01:34:00 +00:00
Winson Chung 6e1c0d34bb Initial changes to support smaller landscape layouts.
Change-Id: If0abe2b82eb08bae4f1ce65b805362d548acb876
2013-10-28 18:30:25 -07:00
Adam Cohen 4fe4c93222 A bit of code cleanup (issue 11026590)
Change-Id: I8b2ef52f59abdbe3ca286eac6e639f19a11f7970
2013-10-28 16:21:21 -07:00
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 df95eb12a4 Ensuring disabled packages remove all components on the workspace. (Bug 11172454) 2013-10-16 14:57:19 -07:00
Winson Chung e5467dccdd Flushing icons of the wrong size. (Bug 11203738)
Change-Id: I9468d2e798fcf9890970270041d341e7653432f1
2013-10-14 17:03:04 -07:00
Adam Cohen 0007472e20 Fix issue with extra empty screen left over after widget add cancel (issue 10865959)
Change-Id: Iee72fe1b296e81a5f2d04f6edcbf9cac19aff992
2013-10-11 17:46:39 -07:00
Winson Chung d1e474a92e Merge "Initial changes for new clings. (Bug 11142616)" into jb-ub-now-indigo-rose 2013-10-10 20:45:27 +00: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
Bjorn Bringert f248abc122 Merge "Use translucent decor theme attributes in Launcher3." into jb-ub-now-indigo-rose 2013-10-10 08:40:10 +00:00
Winson Chung 3a6e7f330e Initial changes for new clings. (Bug 11142616)
Change-Id: Id66ebceb99449941921d9e617dfe0cc05a2e3b65
2013-10-09 17:53:32 -07:00
John Spurlock 3442bc9467 Use translucent decor theme attributes in Launcher3.
And remove interim helper class.

Bug:10674960
Change-Id: I81d31563074deea058b9bbb4b806c6200f85230f
2013-10-09 18:28:41 -04:00
Winson Chung 82963d530a Removing extraneous apps-customize page reset. (Bug 11027505) 2013-10-09 11:34:45 -07:00
Winson Chung 04c0a5c911 Don't animate search bar when we are not animating the transition to workspace. (Bug 11105305)
Change-Id: If397ce78a15dafe98f951d185da26ca014c9ad1b
2013-10-08 17:13:12 -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
Casey Burkhardt cffa7175f8 Merge "Disable clings when explore by touch is enabled. Bug: 11067870 Change-Id: If203f3a23de3bd3192ff748bbccc04d74b0a73fa" into jb-ub-now-indigo-rose 2013-10-07 21:18:08 +00:00
John Spurlock d4507eefa3 Migrate to new WM.LP.flags based translucent decor API.
Update/rename common helper class TranslucentDecor to handle both
apis so behavior is correct on old and new builds.

Bug:10674960
Change-Id: Id3b2d523026e9e4f2f71f0eab404792207c6d8c7
2013-10-06 16:08:58 -04:00
Adam Cohen 4b37887942 Fix issue where TalkBack would announce Apps instead of Widgets (issue 11012666)
Change-Id: Ia25c370d706055bee4a5766cfdea20b637e936b4
2013-10-04 18:58:48 -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
Casey Burkhardt 0d9cbae4dd Disable clings when explore by touch is enabled.
Bug: 11067870
Change-Id: If203f3a23de3bd3192ff748bbccc04d74b0a73fa
2013-10-04 15:16:47 -07:00
Winson Chung 8741298d3c Fixing issue with numerous empty screens showing when adding a shortcut to a clear workspace. (Bug 10785413)
Change-Id: Ib9b5f76dc23e609b1774147a6cf760f185d9154b
2013-10-03 18:46:06 -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
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
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
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
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
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
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
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