6238 Commits

Author SHA1 Message Date
Jorim Jaggi
9cf1f37737 Update keyguard icon paddings to spec.
Bug: 15381387
Change-Id: Ia75394fd68f66233ebabe9ec4f62b42d40d19eb9
2014-08-05 17:18:55 +00:00
Jorim Jaggi
b203821021 am 0e9d95b5: Merge "Revert "Clean up hiden notifications on Keyguard handling"" into lmp-dev
* commit '0e9d95b56308a705d9ea0667414f245cdacefd49':
  Revert "Clean up hiden notifications on Keyguard handling"
2014-08-05 17:16:26 +00:00
Jorim Jaggi
9f0262d3ab am 1c210946: am a6163827: am d9267cae: Clean up hiden notifications on Keyguard handling
* commit '1c21094624eb22cadd08f31ce6b02b33be9d4af2':
  Clean up hiden notifications on Keyguard handling
2014-08-05 17:16:22 +00:00
Jorim Jaggi
f21d7a41ad am d9267cae: Clean up hiden notifications on Keyguard handling
* commit 'd9267cae958b572b715d22a4905b18749a369c9f':
  Clean up hiden notifications on Keyguard handling
2014-08-05 17:07:19 +00:00
Jorim Jaggi
62a7c831d5 Clean up hiden notifications on Keyguard handling
Change-Id: Ifeabfdd1ed8c11b0796cc79bba81752518921be3
2014-08-05 17:00:22 +00:00
Jorim Jaggi
106caa4989 am dafe07eb: am 1073027b: am a7a0e608: Merge "Empty notification shade state." into lmp-dev
* commit 'dafe07eb240fd1b9e385c3a0be8fc8b7da2d4243':
  Empty notification shade state.
2014-08-05 16:12:25 +00:00
Adrian Roos
6f3f354cf2 am e7a2892b: am 542aaa18: am a9aff868: Merge "QS: Enable availability listener for flashlight" into lmp-dev
* commit 'e7a2892b9359fbd8aba2d0f063a2392fa5eb8704':
  QS: Enable availability listener for flashlight
2014-08-05 16:12:14 +00:00
John Spurlock
2512a6be64 am 98e502be: am a0d69dbe: am b65da916: Merge "QS: Share usage tracking timeout with color inversion tile." into lmp-dev
* commit '98e502bec5c913c9cbd59a86f42e6ec99e24ca58':
  QS: Share usage tracking timeout with color inversion tile.
2014-08-05 16:12:06 +00:00
Jorim Jaggi
0523f9b212 am ca1a89bb: am 552d9cf1: am 5c805fcd: New swipe-up assist animation for L.
* commit 'ca1a89bb464798564b8b177ad4d644b53826ac04':
  New swipe-up assist animation for L.
2014-08-05 16:12:01 +00:00
Jorim Jaggi
50379eddf4 am a7a0e608: Merge "Empty notification shade state." into lmp-dev
* commit 'a7a0e60850e033596d69e0e9ff00952d9f986863':
  Empty notification shade state.
2014-08-05 15:56:42 +00:00
Adrian Roos
9d019c3fba am a9aff868: Merge "QS: Enable availability listener for flashlight" into lmp-dev
* commit 'a9aff868819904196f9a9757a02709293f67f75f':
  QS: Enable availability listener for flashlight
2014-08-05 15:09:03 +00:00
John Spurlock
8051e44721 am b65da916: Merge "QS: Share usage tracking timeout with color inversion tile." into lmp-dev
* commit 'b65da91628362da13f9b3d34a26196aa19474358':
  QS: Share usage tracking timeout with color inversion tile.
2014-08-05 14:00:01 +00:00
Jorim Jaggi
31119d6ee0 am 5c805fcd: New swipe-up assist animation for L.
* commit '5c805fcd4a88fb94355183dd7e1caf249ca21f26':
  New swipe-up assist animation for L.
2014-08-05 13:29:14 +00:00
Jorim Jaggi
c79eda9538 am 8c9df57c: am 54987f47: am bf16485a: Merge "Dismiss all layout updates." into lmp-dev
* commit '8c9df57c324b78023b8ee5d76185856bfb4ddd71':
  Dismiss all layout updates.
2014-08-05 13:26:51 +00:00
Jorim Jaggi
f479792e05 New swipe-up assist animation for L.
Bug: 16307470
Bug: 14623152
Change-Id: Ib7e0381d118bda177981cc56ec9a8fb418dfb0e3
2014-08-05 15:24:26 +02:00
Jorim Jaggi
899ba487b6 am bf16485a: Merge "Dismiss all layout updates." into lmp-dev
* commit 'bf16485a3626782b50d8c71c69a5771851fe930c':
  Dismiss all layout updates.
2014-08-05 13:06:58 +00:00
John Spurlock
3f14df5c9d Merge "Common shade width across devices." into lmp-dev 2014-08-05 00:35:13 +00:00
John Spurlock
7e6809ad64 Common shade width across devices.
Use 400dp as the visual width of the shade across all devices
and orientations, except small device portrait.

Since the width is now dynamic across orientations, update the
necessary views in SystemUI on rotate.

Remove obsolete styles + resources.

Set max QS columns to 3 on all devices, due to the newer shade
width.

Bug:16825515
Change-Id: Iff171549a79bc318a4d585a2d9ea2af9bc686922
2014-08-06 23:33:53 -04:00
Jorim Jaggi
905857f1b8 Merge "Fix constant redrawing on Keyguard issue." into lmp-dev 2014-08-05 00:35:13 +00:00
Brian Colonna
793a3d1643 Merge "Bug 16147163: Secure camera can now be launched with FUL running" into lmp-dev 2014-08-05 00:35:13 +00:00
Brian Colonna
d45c6d4f40 Bug 16147163: Secure camera can now be launched with FUL running
This change introduces a class that handles launching the secure camera even
when other apps may be using the camera hardware.  It does this by sending out
a broadcast telling apps to stop using the camera as soon as the user begins to
swipe to use the secure camera.  It then waits until either the camera is
available or a timeout period has expired before it fires off the intent to
start the secure camera.

Secure camera apps can indicate (via their meta-data) that they will instead
handle the responsibility of waiting for the camera to be available.  In this
case, the new class still handles sending out the broadcast telling other apps
to close the camera, but it fires off the intent to start the secure camera
before the camera hardware is available.  This is optimal because some of the
time spent closing the camera can happen in parallel with the time spent
starting the secure camera app.  Since we can't depend on third-party apps to
wait for camera availability, the default is for us to wait for the camera to
be available before firing off the intent.  However, our first party app is
able to take the optimized approach.

Change-Id: I1eaed94875e8f50018cffab25aa1e9b21d85f25b
2014-08-06 12:06:32 -04:00
Jorim Jaggi
fc4a648f0e Merge "Implement face unlock running indicator on Keyguard." into lmp-dev 2014-08-05 00:35:13 +00:00
Jorim Jaggi
e7b1252e24 Implement face unlock running indicator on Keyguard.
Icon is still dummy.

Bug: 16502879
Change-Id: Ibea1e594f322e919049a42a26ff858d2169415e7
2014-08-06 16:41:21 +02:00
John Spurlock
e87457f105 Merge "PowerUI: Remove notification action icons." into lmp-dev 2014-08-05 00:35:13 +00:00
John Spurlock
04c8fd3366 PowerUI: Remove notification action icons.
Bug:16839950
Change-Id: I1f8c1c80a2c849e115396e1e22d344a52a2dbe3f
2014-08-06 10:07:30 -04:00
John Spurlock
5f72e16847 Merge "AudioService: getMasterStreamType -> RING on tablets." into lmp-dev 2014-08-05 00:35:13 +00:00
John Spurlock
4f0f120316 AudioService: getMasterStreamType -> RING on tablets.
Since all service-internal checks use stream alias, and the alias
for NOTIFICATION is RING, even on tablets.

This is a followup to ag/506532.

Ensure that #getMasterStreamType always follows the stream_system
alias, and update the system alias for tablets per the new policy.
Update the associate javadoc comment in AudioManager to make this
clear.

Note: there is now no difference in the alias maps between phones
and tablets.

Also fix a condition affected by this in VolumePanel.

Bug:16626879
Change-Id: I2700a48d2a3e7703607f771a1ab7f325596fd789
2014-08-05 16:23:14 -04:00
Geoff Mendal
ea844f92a3 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-05 00:29:22 +00:00
Geoff Mendal
1375bf9316 Import translations. DO NOT MERGE
Change-Id: Ifcaa00a5e222bebdd9d9d2608d0c4fdeed236c42
Auto-generated-cl: translation import
2014-08-06 10:37:51 -07:00
Jorim Jaggi
f641174eb9 Revert "Clean up hiden notifications on Keyguard handling"
This reverts commit d9267cae958b572b715d22a4905b18749a369c9f.

Too much performance regression - need to figure out something else.

Change-Id: I2d399add74402e1c036235ec095a053a6d5b828e
2014-08-05 17:10:43 +00:00
Adrian Roos
ca4ab058ec Merge "QS: Enable availability listener for flashlight" into lmp-dev 2014-08-05 00:19:02 +00:00
Adrian Roos
034a6c9667 QS: Enable availability listener for flashlight
Enables the availability listener now that the
underlying framwork is stable.

Bug: 16483222
Change-Id: I586a43941ade1ee8a8f3cb1a087e5356539703c1
2014-08-05 16:54:13 +02:00
John Spurlock
9c84aab892 Merge "QS: Share usage tracking timeout with color inversion tile." into lmp-dev 2014-08-05 00:19:02 +00:00
John Spurlock
3976f3d943 QS: Share usage tracking timeout with color inversion tile.
Pull out 30-day feature timeout code into a separate helper, use
in both ColorInversionTile and HotspotTile.

Expose an intent to force a reset of the timeout.

Change-Id: Ic0b89913fd5cec4e1df3cb0d5a548f052a60550f
2014-08-05 00:41:04 -04:00
John Spurlock
72d19f4671 Merge "Zen: Show subhead for Indefinitely." into lmp-dev 2014-08-05 00:15:52 +00:00
John Spurlock
89fe1cb9de Zen: Show subhead for Indefinitely.
Bug:16824870
Change-Id: Ic10d68df39c5afe06503d3b37a960c9319f84056
2014-08-06 10:31:55 -04:00
Jason Monk
966e258396 Merge "Disable heads up when DISABLE_NOTIFICATION_ALERT" into lmp-dev 2014-08-05 00:15:52 +00:00
Jason Monk
f701954d4e Disable heads up when DISABLE_NOTIFICATION_ALERT
When notification alerts are disabled also turn off heads up. This
will fall back to the old behavior, which can allow the fullscreen
intent to be triggered instead.

Bug: 14157742
Change-Id: I4b6e3d9383894b1674d600c374ff8968ca53513e
2014-08-05 17:16:56 +00:00
Jorim Jaggi
05204dc227 Merge "Dismiss all layout updates." into lmp-dev 2014-08-05 00:15:52 +00:00
Jorim Jaggi
81a0d40839 Merge "Empty notification shade state." into lmp-dev 2014-08-04 23:37:12 +00:00
Jorim Jaggi
a2052ea218 Empty notification shade state.
Bug: 16483230
Change-Id: I7953a7954cae12124146f462ed8c0dc44769a38f
2014-08-05 16:38:02 +02:00
Winson Chung
68ef07d3ef am 07674ca1: am 80c91bfc: am 2418f50f: Fixing scrolling regression with layout changes.
* commit '07674ca1c11eb23e750b753cea1cbe295a0dc2f1':
  Fixing scrolling regression with layout changes.
2014-08-04 23:12:14 +00:00
Winson Chung
bafe3836c5 am 2418f50f: Fixing scrolling regression with layout changes.
* commit '2418f50f27a52c471e078944e4bbe832daf301ee':
  Fixing scrolling regression with layout changes.
2014-08-04 23:00:44 +00:00
Winson Chung
b99b18e78e Fixing scrolling regression with layout changes.
Change-Id: Ic440d147ca13bf13d7f311b6d9876e3c02d4f189
2014-08-04 22:55:43 +00:00
Jorim Jaggi
2ae259df68 Dismiss all layout updates.
Bug: 14826666
Change-Id: I19773d0afaf34f92d987a5292de861b5963a7d8a
2014-08-05 00:07:16 +02:00
John Spurlock
71507de082 am a9642fa1: am b1e68e97: am 8acc32ee: Merge "QS: Add 8dp above and below the tile panel." into lmp-dev
* commit 'a9642fa1e6d05dfeb0d4bc0ed1049d5e1198fc05':
  QS: Add 8dp above and below the tile panel.
2014-08-04 19:42:39 +00:00
John Spurlock
29c5f04632 am 8acc32ee: Merge "QS: Add 8dp above and below the tile panel." into lmp-dev
* commit '8acc32eedd0eaff018863453af328d51496ff61c':
  QS: Add 8dp above and below the tile panel.
2014-08-04 19:35:23 +00:00
Geoff Mendal
6bb8fe6171 Import translations. DO NOT MERGE
Change-Id: If07d1feca13fa294f23afae96e27ff4b0ea1b64f
Auto-generated-cl: translation import
2014-08-04 18:23:37 +00:00
John Spurlock
1069f17217 am a8473a79: Doze: Follow the notification light.
* commit 'a8473a7962291ad292b2a98e8e43ee07eb0cd5c4':
  Doze: Follow the notification light.
2014-08-04 15:37:19 +00:00
John Spurlock
cb566aab57 Doze: Follow the notification light.
- Send the notification light info up to SystemUI from NoMan.
 - Doze mode will now periodically pulse the display (once)
   if the notification light is active.
 - Change "tease" terminology to "pulse", which is the singular.
   Maintain the multi-pulse on buzz-beep-blink for now as extra
   emphasis.
 - Scrim controller now always takes number of pulses as an arg,
   to support a single pulse (used for notification light, and
   eventually pickup once available).
 - Dial down the display brightness when pulsing.

Bug:15863249
Change-Id: Ifb208a27e82b66cff1d0c04e5b7f758098ea29cf
2014-08-04 11:32:18 -04:00