3771 Commits

Author SHA1 Message Date
Jeff Brown
635e915296 Integrate remote display providers into Quick Settings.
This is a first pass at integrating new remote display functionality
into Quick Settings.  The Wireless Display card which previously
only supported Wifi Display is reimplemented to use the media router
to enumerate available remote display routes.  This ensures that the
user is presented with a consistent state regarding the currently
selected display route.

In this patch, the Wireless Display card still launches the old
Settings preference page for Wifi Display when clicked.  This will be
addressed in future patches.

As part of this change, it was necessary to derive some new lifecycle
information regarding the visibility of the Quick Settings model.
When Quick Settings is shown, an onPrepare event is delivered to
give the model a chance to update its state.  Likewise when Quick
Settings is hidden, an onUnprepare event is delivered.

These events allow the system to determine precisely when remote
display discovery is required to update the UI so as not to waste
power performing discovery in the background all of the time.

Bug: 11257292
Change-Id: Id802aa0983b625aeb972b5d123e4cc080dd6705f
2013-11-07 16:07:18 -08:00
Jim Miller
a7756cbc62 am b8aba3f4: am b892ac68: Merge "Fix glitch with switching users from QuickSettings" into klp-dev
* commit 'b8aba3f4df3962ea6b11806aff4479f0b61eae0f':
  Fix glitch with switching users from QuickSettings
2013-11-06 19:20:13 -08:00
Jim Miller
b8aba3f4df am b892ac68: Merge "Fix glitch with switching users from QuickSettings" into klp-dev
* commit 'b892ac680b045daca2926037955857889d32e1c0':
  Fix glitch with switching users from QuickSettings
2013-11-06 19:16:59 -08:00
Jim Miller
b892ac680b Merge "Fix glitch with switching users from QuickSettings" into klp-dev 2013-11-07 03:14:37 +00:00
Michael Jurka
b1b0266dc7 am 8ef6da5c: am b922178d: Merge "More background protection in Recents for status bar" into klp-dev
* commit '8ef6da5c9e40ae73a4f73be72df28d51fffcfaad':
  More background protection in Recents for status bar
2013-11-06 05:01:22 -08:00
Michael Jurka
8ef6da5c9e am b922178d: Merge "More background protection in Recents for status bar" into klp-dev
* commit 'b922178dce8464aa46203812d8bd4424c47ba486':
  More background protection in Recents for status bar
2013-11-06 04:58:34 -08:00
Michael Jurka
b922178dce Merge "More background protection in Recents for status bar" into klp-dev 2013-11-06 12:38:23 +00:00
John Spurlock
46cfab7587 am b2b56eae: am 499c7eeb: Merge "Update remaining settings icon with old style." into klp-dev
* commit 'b2b56eaeb19e8974bc7c1fee5039c0491e07fe8f':
  Update remaining settings icon with old style.
2013-11-05 19:15:16 -08:00
John Spurlock
b2b56eaeb1 am 499c7eeb: Merge "Update remaining settings icon with old style." into klp-dev
* commit '499c7eeb9ad59e5449481eb871db24a176f2ccdb':
  Update remaining settings icon with old style.
2013-11-05 18:50:36 -08:00
John Spurlock
88f3d6bde0 Update remaining settings icon with old style.
Bug:11412369
Change-Id: I7827e3060d9dbf320c23ac7c43e4ef4a5fae3773
2013-11-05 21:41:23 -05:00
John Spurlock
633626a096 am 6e0b89a5: am 47c46dd5: Merge "Battery icon tweaks." into klp-dev
* commit '6e0b89a5a035fc7759714c9323d381a4cf7be3d4':
  Battery icon tweaks.
2013-11-05 13:57:01 -08:00
John Spurlock
6e0b89a5a0 am 47c46dd5: Merge "Battery icon tweaks." into klp-dev
* commit '47c46dd56dc0414ebf6220481f04cc8767268b5c':
  Battery icon tweaks.
2013-11-05 12:53:19 -08:00
John Spurlock
47c46dd56d Merge "Battery icon tweaks." into klp-dev 2013-11-05 20:48:42 +00:00
John Spurlock
d8595fd8fe Battery icon tweaks.
Fix bottom padding, better bolt placement on non-HH devices.

Bug:11412369
Change-Id: I102a5ece73b2fcb5f78305c925fc2ed5fe9b2884
2013-11-05 11:55:04 -05:00
Baligh Uddin
41c3cb387a Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-05 15:55:38 +00:00
John Spurlock
dd0e636eb2 am 7755e39f: am 8f42b4e8: Merge "Don\'t clear the interacting bit if panel handled touch." into klp-dev
* commit '7755e39f58b2629a21f4a0eb30da24c92979ead2':
  Don't clear the interacting bit if panel handled touch.
2013-11-04 21:54:33 -08:00
Baligh Uddin
70f8537e73 Import translations. DO NOT MERGE
Change-Id: I5db8300884193dc458e26c042f35eed084d4b002
Auto-generated-cl: translation import
2013-11-04 10:41:28 -08:00
John Spurlock
7755e39f58 am 8f42b4e8: Merge "Don\'t clear the interacting bit if panel handled touch." into klp-dev
* commit '8f42b4e8e475f498b3cbbe8d456902876850b1f5':
  Don't clear the interacting bit if panel handled touch.
2013-11-04 10:27:50 -08:00
John Spurlock
d157ca049a Don't clear the interacting bit if panel handled touch.
Bug:11489729
Change-Id: Ie225cf9ff27f1490643ba4b1c02aa09896bd6724
2013-11-04 10:30:39 -05:00
Michael Jurka
9b0b59e6d1 More background protection in Recents for status bar
Bug: 11255407
2013-11-04 16:11:11 +01:00
John Spurlock
9b8145f774 am 17433a63: am b7824a94: Merge "Manage keyguard nav elements using transitions." into klp-dev
* commit '17433a633a3d415fc1932738c0814c3dc6716683':
  Manage keyguard nav elements using transitions.
2013-11-01 11:54:32 -07:00
John Spurlock
17433a633a am b7824a94: Merge "Manage keyguard nav elements using transitions." into klp-dev
* commit 'b7824a9475d02bc3d96f1fb881a9769843e8f6f3':
  Manage keyguard nav elements using transitions.
2013-11-01 11:51:18 -07:00
John Spurlock
b7824a9475 Merge "Manage keyguard nav elements using transitions." into klp-dev 2013-11-01 18:48:00 +00:00
John Spurlock
56d007b998 Manage keyguard nav elements using transitions.
Move the logic for managing dimming the navigation bar
elements on the lockscreen into BarTransitions.

Replace search light + camera assets with new
versions at full brightness, and apply 50% dimming
at runtime, including the IME dismiss button.

Remove unused StatusBarManager _NOP hints.

Improve choreography between camera button +
password security (w/ IME).  Fix a few found bugs
in PagedView.

Improve password security unlock transition, manually
fade in back along with the rest of the icons.

Bug:11221659
Change-Id: Ifd1f8c9f400d90542f0ca858b9a4deacabbd518a
2013-11-01 11:33:48 -04:00
Baligh Uddin
3f4c6bb5ab Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-01 14:35:42 +00:00
Jim Miller
ee3b039ac6 am aa8dbf11: am 43ef1c8c: Merge "Remove deprecated API calls to KeyguardManager from statusbar" into klp-dev
* commit 'aa8dbf111444435b6071f7b226af5a7bb2a56c52':
  Remove deprecated API calls to KeyguardManager from statusbar
2013-10-31 15:30:02 -07:00
Jim Miller
aa8dbf1114 am 43ef1c8c: Merge "Remove deprecated API calls to KeyguardManager from statusbar" into klp-dev
* commit '43ef1c8c34c6dd7c7ae75ac2c1b9bfdc15405b04':
  Remove deprecated API calls to KeyguardManager from statusbar
2013-10-31 15:26:52 -07:00
Jim Miller
43ef1c8c34 Merge "Remove deprecated API calls to KeyguardManager from statusbar" into klp-dev 2013-10-31 22:22:58 +00:00
Jim Miller
a999d463c1 Remove deprecated API calls to KeyguardManager from statusbar
Fixes bug 11448304

Change-Id: I3049a20d9320af0425d7a8f08d5aa208e470e292
2013-10-31 14:32:29 -07:00
John Spurlock
6252c996ee am 6af08c29: am b207ea96: Merge "Update ic_qs_ime assets to standard brightness." into klp-dev
* commit '6af08c29d8353ad63a4d393ef3d72fcf68c8817b':
  Update ic_qs_ime assets to standard brightness.
2013-10-31 10:42:28 -07:00
John Spurlock
6af08c29d8 am b207ea96: Merge "Update ic_qs_ime assets to standard brightness." into klp-dev
* commit 'b207ea960911867e7c1951338df24108d37ad189':
  Update ic_qs_ime assets to standard brightness.
2013-10-31 10:39:15 -07:00
Jim Miller
8a26b43cd8 Fix glitch with switching users from QuickSettings
Since keyguard and systemui were merged into the same process to save
memory, they share the same Looper and graphics context.  As a result,
there's no way to allow concurrent animation while keyguard inflates.
The workaround is to add a slight delay to allow the animation to finish.

Workaround for bug 11046339

Change-Id: I355ca4fb325312bae87d587acfb12b475ecdeba4
2013-10-30 15:23:46 -07:00
Baligh Uddin
1fada0a012 Import translations. DO NOT MERGE
Change-Id: Ife16f0c4467fe5d8cd8e8f9908448c100e01e9ca
Auto-generated-cl: translation import
2013-10-30 09:34:05 -07:00
John Spurlock
c0156b82fd Update ic_qs_ime assets to standard brightness.
Bug:11412369
Change-Id: I582f4dfc28eb7453d67c5fe9c1b90a38ad756666
2013-10-30 09:35:22 -04:00
John Spurlock
2fcefe4571 am 161e43dc: am 1b5bd6b6: Merge "Update QS settings icon, remove unused location icon." into klp-dev
* commit '161e43dc5952a607a5996ab2cd07ac3ef49c2902':
  Update QS settings icon, remove unused location icon.
2013-10-29 13:29:34 -07:00
John Spurlock
161e43dc59 am 1b5bd6b6: Merge "Update QS settings icon, remove unused location icon." into klp-dev
* commit '1b5bd6b68af0f26dc0f42e442a9ffa8e1f30e3e5':
  Update QS settings icon, remove unused location icon.
2013-10-29 13:26:44 -07:00
John Spurlock
1b5bd6b68a Merge "Update QS settings icon, remove unused location icon." into klp-dev 2013-10-29 20:21:50 +00:00
Baligh Uddin
97ea6a0648 Import translations. DO NOT MERGE
Change-Id: I1ef363e676ff75e85aece9789cdb7c86b55281d3
Auto-generated-cl: translation import
2013-10-28 10:45:56 -07:00
John Spurlock
1aff28640b Update QS settings icon, remove unused location icon.
Bug:11412369
Change-Id: Icdd34a1cffe438e5e9d3ffe268578abb57200525
2013-10-28 10:37:43 -04:00
John Spurlock
286291bf86 am d958b78d: am 4a7f3ada: Merge "Optimize system bar background drawable." into klp-dev
* commit 'd958b78de92a3697eba4c7b47b39cffe88757b7d':
  Optimize system bar background drawable.
2013-10-25 13:39:57 -07:00
John Spurlock
d958b78de9 am 4a7f3ada: Merge "Optimize system bar background drawable." into klp-dev
* commit '4a7f3adaf08e65eceaad0e69f8edcdbcb897011a':
  Optimize system bar background drawable.
2013-10-25 13:36:31 -07:00
John Spurlock
4a7f3adaf0 Merge "Optimize system bar background drawable." into klp-dev 2013-10-25 20:33:35 +00:00
John Spurlock
a281dda794 am baa18a39: am f3b5b37b: Merge "Reset our status bar window fade color on screen off." into klp-dev
* commit 'baa18a3966b0eee205e5c028b4d109e9b6a56e2f':
  Reset our status bar window fade color on screen off.
2013-10-25 13:30:12 -07:00
John Spurlock
baa18a3966 am f3b5b37b: Merge "Reset our status bar window fade color on screen off." into klp-dev
* commit 'f3b5b37b14c49cfe9a74abd25afa5e071ec55b51':
  Reset our status bar window fade color on screen off.
2013-10-25 13:27:52 -07:00
John Spurlock
c19418e3f5 Reset our status bar window fade color on screen off.
Previously, turning the screen off with the panel expanded would
run one time through panelExpansionChanged, leaving the background
in an intermediate state.

This has probably been around for a while, only uncovered now
that we can see it (if the status bar is translucent).

Bug:11357145
Change-Id: I55b768696c8791f82265a61d2c0f665503ad8bb0
2013-10-25 14:25:09 -04:00
Daniel Sandler
dae531753a am 6714471b: am 9279d45b: DessertCase memory improvements
* commit '6714471bffe1a9d1f55d586a4277209e19f7f9ed':
  DessertCase memory improvements
2013-10-24 10:45:13 -07:00
Daniel Sandler
6714471bff am 9279d45b: DessertCase memory improvements
* commit '9279d45b8d26c88c69fa917816ea396142627020':
  DessertCase memory improvements
2013-10-24 10:42:22 -07:00
Daniel Sandler
9279d45b8d DessertCase memory improvements
- reuse intermediate bitmaps when loading resources
  - only use hardware layers on views that are animating

Bug: 11269977
Change-Id: I39ad7aff16468632da47448404416404f3b54cc4
2013-10-24 17:27:33 +00:00
Baligh Uddin
154fd0b2a2 Import translations. DO NOT MERGE
Change-Id: Ia0ce87e181ca1c425b1a4ea2427b267c9e5d1cf0
Auto-generated-cl: translation import
2013-10-23 17:59:26 -07:00
Victoria Lease
df5ba9bfeb am d19e7af0: am 5eb3e07c: Merge "add accessibility string for location quicksetting" into klp-dev
* commit 'd19e7af02ab2d3d21921e5a313c78285b308ad9c':
  add accessibility string for location quicksetting
2013-10-23 11:12:57 -07:00