2731 Commits

Author SHA1 Message Date
Jorim Jaggi
15dac5f35b Make it possible to disable camera on lockscreen
Bug: 16807006
Change-Id: I8f439c22d481d52c7edf46d0caf78e26dfeb64e8
2014-08-27 19:08:26 +02:00
Baligh Uddin
c733367f5a Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-27 16:00:03 +00:00
John Spurlock
48abdd1fb9 am fa4e6f1d: Merge "StatusBar: Add new icon slot for cast status." into lmp-dev
* commit 'fa4e6f1dd6522dea3c521686f7cc5bfbb850a137':
  StatusBar: Add new icon slot for cast status.
2014-08-27 14:03:31 +00:00
John Spurlock
98f8a04620 Merge "StatusBar: Add new icon slot for cast status." into lmp-dev 2014-08-27 13:58:14 +00:00
Jorim Jaggi
0275e5b037 am bb45000d: Merge "Content description for clear all notifications" into lmp-dev
* commit 'bb45000db1217466c18114a067a74741d068ebad':
  Content description for clear all notifications
2014-08-27 13:54:18 +00:00
Jorim Jaggi
394ea9eafa Merge "Content description for clear all notifications" into lmp-dev 2014-08-27 13:43:11 +00:00
Jorim Jaggi
ca3b1af1e3 Content description for clear all notifications
Bug: 17258095
Change-Id: Iafd92f9c1f0bb14ebf53a30b888f144866582925
2014-08-27 15:42:44 +02:00
John Spurlock
96fe98d0c0 StatusBar: Add new icon slot for cast status.
Bug:17275998
Change-Id: I7e80b3d76480fc2fdcb3aa5d445d895829d341d0
2014-08-27 09:36:02 -04:00
Selim Cinek
5fad8b3fa2 am 73375a57: Added anti-falsing logic to the keyguard.
* commit '73375a57cb9f3b89a3222ab1eca4796158ad5ea6':
  Added anti-falsing logic to the keyguard.
2014-08-27 12:52:02 +00:00
Selim Cinek
19c8c708f1 Added anti-falsing logic to the keyguard.
Newly enforcing a threshold for the following cases:
Unlocking, Dismissing Notifications, Swiping Down Quick settings.
Also increased the affordance threshold slightly.

Bug: 15433087
Change-Id: I723346dedf9ae0e3f8b103182992ab572fc394b9
2014-08-27 12:38:15 +02:00
Dianne Hackborn
43da8b6546 am 61b7055e: Merge "Fix issue #17179314: Make recents limits consistent" into lmp-dev
* commit '61b7055e453799c34d5a442b17d774146c81082d':
  Fix issue #17179314: Make recents limits consistent
2014-08-27 04:39:09 +00:00
Dianne Hackborn
80e29b66c5 Merge "Fix issue #17179314: Make recents limits consistent" into lmp-dev 2014-08-27 04:31:26 +00:00
Dianne Hackborn
852975d537 Fix issue #17179314: Make recents limits consistent
The max limit is now 100 (or 50 on svelte devices), and that is
what everyone used.

Re-arranged things so we have a big expensive "fix the world!"
function for recents that we go in to at only select points:
when first initializing the system, when external storage comes
and goes, and if we detect something wrong with the recents
structure.

With that, now getRecentTasks() and addRecentTaskLocked() are
generally much simpler, doing very little work in most cases.
This will help a lot with scaling up to many more recents
entries.

Change-Id: I7b5ae89edc06568f68c8af54a4420aff7635581c
2014-08-26 21:24:42 -07:00
Alan Viverette
288265c5c2 am 413e2c21: Merge "Make shadow alpha properties public, add lighting values for TV" into lmp-dev
* commit '413e2c2157c542222d0dafc8a1dcee01f4b2858b':
  Make shadow alpha properties public, add lighting values for TV
2014-08-26 22:59:24 +00:00
Alan Viverette
f3542fd63f Merge "Make shadow alpha properties public, add lighting values for TV" into lmp-dev 2014-08-26 22:52:32 +00:00
Alan Viverette
ed6f14a20c Make shadow alpha properties public, add lighting values for TV
BUG: 17189722
BUG: 17221975
Change-Id: I4ed477b658fec96ce69fa278f67345dab6bacaa3
2014-08-26 14:53:28 -07:00
Baligh Uddin
07fda0f834 Import translations. DO NOT MERGE
Change-Id: I27a436ec79e63ccadcf9315bfa179a86fe519bbf
Auto-generated-cl: translation import
2014-08-26 14:25:05 -07:00
Jorim Jaggi
3fa0064ba4 am 4d323406: Merge "Update IME switcher icon" into lmp-dev
* commit '4d3234069a794e2d7c63510f0b74b477aa51c24d':
  Update IME switcher icon
2014-08-26 19:05:55 +00:00
Jorim Jaggi
6183cc1a68 Merge "Update IME switcher icon" into lmp-dev 2014-08-26 18:51:08 +00:00
Jorim Jaggi
31fc3e8047 Update IME switcher icon
Also make the transparency consistent with the other icons.

Bug: 15597889
Change-Id: Ia5c8ea0bed192b57c552c62358b365d979c4b062
2014-08-26 20:42:38 +02:00
Winson Chung
6a327bedfc am 319b4b57: Merge "Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)" into lmp-dev
* commit '319b4b571c71a6943ff3a63154c873511ae01d87':
  Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)
2014-08-26 18:29:41 +00:00
Winson Chung
5c1b42e4f5 Merge "Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)" into lmp-dev 2014-08-26 18:23:10 +00:00
Jorim Jaggi
820c9cb216 am ccb22d47: Merge "Fix swipe up affordance bugs" into lmp-dev
* commit 'ccb22d47a9854ec1603ebeab93b6d098f197e207':
  Fix swipe up affordance bugs
2014-08-26 11:18:21 +00:00
Jorim Jaggi
5a5d353953 am cd051d74: Merge "Make date consistent with spec when alarm is set" into lmp-dev
* commit 'cd051d744b13f01e4dfe5b4c9e57d76b1a65fffa':
  Make date consistent with spec when alarm is set
2014-08-26 11:18:17 +00:00
Jorim Jaggi
5369d7a931 Merge "Fix swipe up affordance bugs" into lmp-dev 2014-08-26 10:38:41 +00:00
Jorim Jaggi
31e0ae0cad Merge "Make date consistent with spec when alarm is set" into lmp-dev 2014-08-26 10:35:41 +00:00
Winson Chung
a4ccb86ddc Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)
- Reverting changes to the existing thumbnail transition to prevent breaking applications
  that currently depend on that transition.  As a result, we need to create a new, hidden,
  aspect-scaled thumbnail transition, and instead use that thumbnail to animate the
  recents header so that we don't have to wait to do that inside the Recents activity.

  In order for this to work, we also have to ensure that the thumbnail surface destruction
  is synchronized with the application that is currently closing (when going down to
  recents) or opening (when coming back up).  The current thumbnail is destroyed when the
  animation ends, but that can be at least 1 frame before the surface for the animating
  window is destroyed.  We change this by deferring destruction of this thumbnail window
  to the animation that is being closed.

  Especially on the way up, not having to wait for us to hide the header before doing the
  transition up can save us the duration of that first animation (> 100ms).

- Other optimizations:
  * No longer creating a new stack view on each transition to calculate the target rect
  * Removing unnecessary call to get the thumbnail when transitioning up/down (the actual
    window does its own animation.
  * We reduced numerous system calls per task by adding a flag to ignore home-stack tasks
    and caching the activity label and icon (and task description icon).  These caches
    follow the same eviction schemes as the thumbnail and icon cache.

- Also tweaked the touch slop for the nav bar swiping gesture to prevent conflicting with
  tapping on home (Bug 17109581)

Change-Id: Ica697aad788051a9203edd9351c583e1cb038a71
2014-08-25 18:52:32 -07:00
Selim Cinek
5873510433 am 2218b24d: Merge "Fixed the navigation bar for LTR languages." into lmp-dev
* commit '2218b24d92e78f6d1c46bcc7aef264b7786b1fb8':
  Fixed the navigation bar for LTR languages.
2014-08-25 18:56:59 +00:00
Selim Cinek
17a327ad05 Fixed the navigation bar for LTR languages.
The navigation bar now correctly mirrors it's children even in
landscape and the tablet layout is correctly applied for LTR languages.
Also fixes some bugs where the buttons were invisible in landscape
with certain configurations.

Bug: 15280748
Change-Id: I27304d9468211a0975824c17e031e2b04b44f9e0
2014-08-25 20:30:32 +02:00
Baligh Uddin
98e6a6822f Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-25 16:15:56 +00:00
Jorim Jaggi
118aecea58 Fix swipe up affordance bugs
- Fix that you could invoke the gesture from bouncer
- Fix that sometimes the card got stuck
- Decrease threshold to invoke the gesture

Bug: 17201962
Bug: 17200912
Bug: 17199841
Change-Id: I19f1e1a69395c3bcd82cdad0d814916a3cdd3428
2014-08-25 17:41:54 +02:00
Jorim Jaggi
38a7c658c5 Make date consistent with spec when alarm is set
Bug: 17162597
Change-Id: I7855d8f40af77cf4d91791c899e0b6147ee17071
2014-08-25 15:37:06 +02:00
Selim Cinek
6304e68160 am 6f31760b: Merge "Fixed a ltr bug where the buttons disappeared" into lmp-dev
* commit '6f31760b25dd216b8bc0e7de170ab31cfda61367':
  Fixed a ltr bug where the buttons disappeared
2014-08-25 11:56:26 +00:00
Selim Cinek
6e3de6d98f Merge "Fixed a ltr bug where the buttons disappeared" into lmp-dev 2014-08-25 11:50:25 +00:00
Baligh Uddin
116bf58304 Import translations. DO NOT MERGE
Change-Id: I1e857f9c9f889e1ea6649abef8ee2446341a4631
Auto-generated-cl: translation import
2014-08-24 11:27:13 -07:00
John Spurlock
fd7c9500d0 am fa0f8288: Merge "Display notification effects suppressor in the volume panel." into lmp-dev
* commit 'fa0f82886a3074b2990df9354eb320461f44bc50':
  Display notification effects suppressor in the volume panel.
2014-08-22 22:12:10 +00:00
John Spurlock
7653a30ea0 Merge "Display notification effects suppressor in the volume panel." into lmp-dev 2014-08-22 22:09:35 +00:00
John Spurlock
b4782526f5 Display notification effects suppressor in the volume panel.
Bug:16958514

Change-Id: I0eac173875e8af62e3c6b39001722c3fda4517de
2014-08-22 18:08:17 -04:00
Selim Cinek
2ee5f8ff5e Fixed a ltr bug where the buttons disappeared
Bug: 15280748
Change-Id: If2fdeef42cba867c234300f4e5484022c405c587
2014-08-22 20:43:02 +02:00
Baligh Uddin
a79cdd0485 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-22 16:50:08 +00:00
John Spurlock
b49d837ef8 am d2792dae: Merge "Zen: "Muted by <x>" indicator string." into lmp-dev
* commit 'd2792dae7f4bf729f39706a04809a03f38fd64a0':
  Zen: "Muted by <x>" indicator string.
2014-08-22 16:14:47 +00:00
John Spurlock
2b0fea9b1a Merge "Zen: "Muted by <x>" indicator string." into lmp-dev 2014-08-22 16:06:06 +00:00
Selim Cinek
415ccb29f2 am 953dd5e4: Merge "Fixed focusing order for the notification panel and QS" into lmp-dev
* commit '953dd5e4722cf05c08d30ee4f0f653023e499e0b':
  Fixed focusing order for the notification panel and QS
2014-08-22 15:48:52 +00:00
Selim Cinek
e32010ac61 Fixed focusing order for the notification panel and QS
Also fixed multiple bugs regarding focusability, where
some elements were focusable even though invisible.
The buttons, QS-tiles, QS-detail buttons, QS Header
icons and other elements now have the correct focusability
state.
The rect indicating accessibility focus is now also
correct for dual label tiles, instead of just the whole
button.
Also fixes an ordering issue where notifications were above
the camera circle when launching.
In addition the focus order of the notifications now work
correctly.

Bug: 15569922
Bug: 15682123
Bug: 17159249
Bug: 15690386
Change-Id: Ie9f7ae73397b41ce2e9a4060699301fdef3a0d01
2014-08-22 17:13:36 +02:00
John Spurlock
a34cb5e363 Zen: "Muted by <x>" indicator string.
Bug:16958514
Change-Id: Ic2b9cde74df29ce70f4991f64759544c91e9fac3
2014-08-22 10:52:55 -04:00
Jorim Jaggi
3631717fda am f229ee63: Merge "Content description for padlock icon depending on state" into lmp-dev
* commit 'f229ee632cdf798ef2b1b68a438cd63ca7bbded9':
  Content description for padlock icon depending on state
2014-08-22 13:30:15 +00:00
Jorim Jaggi
414b152856 Merge "Content description for padlock icon depending on state" into lmp-dev 2014-08-22 13:21:46 +00:00
John Spurlock
45ff7a7285 am 36902e93: Merge "Doze: Improve icon treatment when dozing." into lmp-dev
* commit '36902e93d806da8766c483e4271ac72945927d23':
  Doze: Improve icon treatment when dozing.
2014-08-22 13:06:48 +00:00
Jorim Jaggi
baef32faa5 Content description for padlock icon depending on state
Bug: 15694090
Change-Id: I340b67f2036bd4b29388f437ab5bac1f1aabb93e
2014-08-22 00:58:22 +02:00
John Spurlock
e15452bb49 Doze: Improve icon treatment when dozing.
Instead of inverting them, simply desaturate.  Also, apply
a constant background to small icons and give them some
transparency.

Bug:17137319

Change-Id: Id772b4fcd9ffa461bec26b87a74302012fb27867
2014-08-21 16:06:11 -04:00