2512 Commits

Author SHA1 Message Date
John Spurlock
ce8a52f9aa Merge "Doze: Use configured doze brightness when pulsing." into lmp-dev 2014-09-12 19:26:42 +00:00
Jorim Jaggi
689d491d8a Merge "Avoid some more layer creations" into lmp-dev 2014-09-12 18:42:57 +00:00
Jorim Jaggi
e9cfbadc35 Merge "More notifications and bigger clock for phablets" into lmp-dev 2014-09-12 18:31:21 +00:00
Jorim Jaggi
0b15e00675 More notifications and bigger clock for phablets
Bug: 16799035
Change-Id: I7aa6240ca8a06276640bafd531d92893cf53f40b
2014-09-12 20:13:44 +02:00
John Spurlock
f50dc4993f Doze: Use configured doze brightness when pulsing.
Use the framework doze brightness configured for this device
when pulsing, instead of a separately configured value.

Bug:17409425
Change-Id: Icadc00d6c20909375d4ab726ec254dbafd997ead
2014-09-12 13:26:00 -04:00
Jorim Jaggi
e19b1ac57c Avoid some more layer creations
Bug: 17287256
Change-Id: I8c0c6f1f189b70d9a0c261f75987def3464d808d
2014-09-12 18:42:20 +02:00
Alexandra Gherghina
64d4dca63f Assign default icon to users at creation time and in SystemUI.
Right now different code in System UI, Settings app and other places replace the
user icon with their own default. This tries to make it consistent by moving the
mechanism used in Settings in a helper class.

Bug: 17311038
Change-Id: Ic858c65bf82a98b9806dbba029e7cdcf441f372e
2014-09-12 15:43:42 +01:00
John Spurlock
3e42b33980 Merge "Doze: Introduce a pulse period function." into lmp-dev 2014-09-11 18:33:38 +00:00
John Spurlock
d06aa57037 Doze: Introduce a pulse period function.
Instead of pulsing every 30 seconds to mimic the LED, use
a function that pulses more frequently for new notifications,
decaying to a slower pulse, and eventually stopping.

Specifically, the step function for the interval is:
 - 10 seconds for the first minute
 - then 30 seconds until the five minute mark
 - then 60 seconds until the 30 minute mark
 - then no pulsing at all

 - Since we pulse more frequently on new notifications, remove
   the "multi-pulse" concept.
 - Move all doze-related duration parameters to a new helper,
   backed by config, overridable by sysprops, include in dump.
 - Wake up from dozing when hitting volume keys during a pulse.
 -
Bug:17393939
Change-Id: Ica86f08b25c738338fced165c77faf3dfccd0343
2014-09-11 14:25:11 -04:00
Baligh Uddin
356a11a557 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-11 15:29:13 +00:00
Jason Monk
0875a782ad Merge "Update zen mode and qs strings on locale change" into lmp-dev 2014-09-10 15:00:31 +00:00
Jason Monk
4dd81467e3 Move zen mode constants and code to framework
This allows the strings and code to be shared with settings.

Bug: 15454830
Change-Id: I9300af4f8b6d80042452b75db3418b20c5c5cc81
2014-09-10 09:30:03 -04:00
Jorim Jaggi
00fb8a80c8 Merge "Use simpler layout for auto-redacted notifications" into lmp-dev 2014-09-10 13:03:30 +00:00
Jorim Jaggi
b1cd3c1945 Inflate guts only when needed
This saves us a ton of views.

Bug: 17346296
Change-Id: I3eafd6703d19704dc8b108c1034266f38cf77f7b
2014-09-10 14:58:50 +02:00
Winson Chung
3aa9c221c0 Adding task switching animation xmls for further tweaking. (Bug 16656169)
Change-Id: I472116cb3d86a3f90a935b2a3ac058ffc2ac1b5d
2014-09-09 22:48:19 +00:00
Winson Chung
7937fdb341 Fixing weird highlight on dismiss button ripple. (Bug 17420495)
Change-Id: I769c0647417efeda9b39913c01c62be0d6ff7887
2014-09-09 22:47:43 +00:00
Jorim Jaggi
ed713ee58d Use simpler layout for auto-redacted notifications
Saves us some views.

Bug: 17346296
Change-Id: I024f566354db2b6b93d50fcfb15f8434a1c2976b
2014-09-09 23:57:34 +02:00
Winson Chung
31e8d7602c Merge "Separating the notion of transposed search vs nav bar. (Bug 17402331)" into lmp-dev 2014-09-09 18:33:08 +00:00
Adrian Roos
e5322f47bf Merge "Show confirmation dialog when adding user from QS" into lmp-dev 2014-09-09 16:37:09 +00:00
Jorim Jaggi
f832638b57 Merge "Fix padding between R and wifi icon" into lmp-dev 2014-09-09 15:49:08 +00:00
Jason Monk
e2f4771a01 Update zen mode and qs strings on locale change
Bug: 17288370
Change-Id: Ic6191d5c16687cd760b4a0656d6ee4dbb4c53c45
2014-09-09 10:47:25 -04:00
Jorim Jaggi
c737b9bd5a Fix padding between R and wifi icon
Also adds some padding for the type and the signal strength icon in
LTE, 3G, 4G and 1x case.

Bug: 17421452

Change-Id: Ib3e6d2983397833958bca1fd33eb8b8c69e7c7fd
2014-09-09 16:35:17 +02:00
Baligh Uddin
50abe004f1 Import translations. DO NOT MERGE
Change-Id: If963270f079a31c285bd50a706330dbcd2a86a7f
Auto-generated-cl: translation import
2014-09-08 16:05:29 -07:00
Winson Chung
19d62382d0 Ensuring that the start delay matches the transition delay. (Bug 16987565)
- Also ensure that the empty text is normal weight

Change-Id: I3227a62fcb39910a402b13f42a6cb9e418f992aa
2014-09-08 20:08:01 +00:00
Jason Monk
95e71085e2 Merge "Add VPN Key to signal icons" into lmp-dev 2014-09-08 18:15:38 +00:00
Adrian Roos
0c6763a19f Show confirmation dialog when adding user from QS
Bug: 17392352
Change-Id: I522b0427dbb594d5e8ce33e928dfdc896dc961c7
2014-09-08 19:11:00 +02:00
Winson Chung
d78d4f3acd Revert "Delay in app transition until home animation completes. (Bug 17012456)"
This reverts commit e9883b8a92d72a3cfd947b3ce835bc8e4da2f1b2.

Change-Id: I61664e2a2589d09e5a93a776cf3c391049e7b284
2014-09-07 20:08:22 +00:00
Winson Chung
27acf76122 Separating the notion of transposed search vs nav bar. (Bug 17402331) 2014-09-05 17:24:20 +02:00
Jason Monk
3128f12f21 Add VPN Key to signal icons
Since the notification is going away, this gives a persistent
icon to indicate that VPN is active.

Bug: 16153201
Change-Id: Ic2ca7a332817967b76871bd0800d6f0a77a295cd
2014-09-05 10:31:00 -04:00
Jorim Jaggi
f2f0a071c2 Merge "Remove the scrimming of notifications" into lmp-dev 2014-09-05 13:58:33 +00:00
Adrian Roos
cc74113ac6 Reorder brightness slider mirror in front of album art
Fixes slider disappearing when album art is showing.

Bug: 17373958
Change-Id: Ifdb184a6a750f798bc94a9d1eeca9299b246a513
2014-09-05 15:50:53 +02:00
Jorim Jaggi
06c19ea001 Remove the scrimming of notifications
Not really needed anymore and adds a lot of overdraw. Let's get rid
of it.

Bug: 17287256
Bug: 17346296
Change-Id: I319596f7059b6ed0d3d7a578d3c786921001f4b5
2014-09-05 15:37:12 +02:00
Adrian Roos
fdd04d42d2 Merge changes Ibb63814e,I0322b1e6 into lmp-dev
* changes:
  Prevent full shade guesture from doing the wrong thing
  Add current user announce to MultiUserSwitch
2014-09-05 12:57:55 +00:00
Winson Chung
9a245b5de3 Merge "Ensure that there is enough space for the tablet search widget. (Bug 17190069)" into lmp-dev 2014-09-05 09:25:18 +00:00
Winson Chung
517c9ef165 Ensure that there is enough space for the tablet search widget. (Bug 17190069)
Change-Id: I89694edac6f299e4a9cfca8a99a0d71dce1ae168
2014-09-05 09:23:20 +00:00
Baligh Uddin
d837c3e87d Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-04 17:48:59 +00:00
Winson Chung
3884715c45 Delay in app transition until home animation completes. (Bug 17012456)
Change-Id: I3469738a70bd872ff03c48c23201d4e0b6c8d8bb
2014-09-04 14:29:38 +00:00
Baligh Uddin
751dfa6276 Import translations. DO NOT MERGE
Change-Id: I90e2526370384c8d1e43e69967e221a7758aeda3
Auto-generated-cl: translation import
2014-09-03 16:35:23 -07:00
Dan Sandler
6704cb980b Merge "Adjust iconography in notification guts." into lmp-dev 2014-09-03 22:14:32 +00:00
Dan Sandler
f4db75c20b Adjust iconography in notification guts.
(i) is now the system's app notification info panel,
      allowing you to block, prioritize, and things like
      that.

  (gear) is new; it will appear only if your package has a
      notification settings activity of its own. If the user
      taps this you'll be launched with some useful extras:
      notification_id and notification_tag, matching the id
      and tag of the notification the user longpressed.

Bug: 17005733
Change-Id: Ib09264c2564152ab27e744c47ed87a0e9223656f
2014-09-03 18:15:26 +02:00
Selim Cinek
d9df421723 Merge "Tuned anti-falsing thresholds on the lockscreen" into lmp-dev 2014-09-03 16:03:46 +00:00
Selim Cinek
5386fb337d Tuned anti-falsing thresholds on the lockscreen
Also added logic to provide nicer animations when falsing.
In addition adapted the clock scale slightly if dragging
in the void.

Bug: 15433087
Change-Id: I4d8eb26cc81d22647ef4d2eca1e69b4994a7f1e2
2014-09-03 15:42:27 +00:00
Adrian Roos
57cf5702e0 Add current user announce to MultiUserSwitch
Bug: 17142162
Change-Id: I0322b1e653b8ceac473739dc6b52aa3700d81fb8
2014-09-03 16:46:55 +02:00
Jorim Jaggi
a0221f3a9f Improve subpixel rendering of battery icon on all densities
Bug: 16161255
Change-Id: I97abc6a7a5cafb581e3f7c3d7509fdbf6d8542d5
2014-09-03 16:37:06 +02:00
Jorim Jaggi
0c06d6bff1 Merge "Status bar iconography updates" into lmp-dev 2014-09-03 12:56:16 +00:00
Jorim Jaggi
5172dc2f36 Status bar iconography updates
- Use new assets for location, flightmode and "more" notifications
  icon.
- Update icon size and clock to spec.
- Change from fixed width of the icons to WRAP_CONTENT, so they look
  more evenly distributed.
- Adjust subpixel rendering of battery icon to match other vector
  icons.

Bug: 16161255
Change-Id: I0a80f223b7d532bc53a201cff37b8f1cb09f08c2
2014-09-02 23:52:48 +02:00
Selim Cinek
58703e651c Merge "Notifications are now selectable by the Keyboard" into lmp-dev 2014-09-02 20:01:07 +00:00
Jorim Jaggi
06d551ac62 Use separate icon group for signal/battery in QS header
This reverts the terrible hack that reattaches the system icons when
expanding QS. This primarily fixes that the alpha of the icons was
wrong when closing the shade, but also fixes flickering when expanding
the shade.

Bug: 17338013
Change-Id: Ifcbe03eca43ed7639059734e23d740c1b8a7a9de
2014-09-02 17:42:25 +00:00
Selim Cinek
b2da91b14f Notifications are now selectable by the Keyboard
Also adapted the ripple colors a bit to be more visible.

Bug: 17203303
Change-Id: I7d0446d2641bcabb1e09b3af9535d88c4142e216
2014-09-02 17:35:20 +02:00
Baligh Uddin
8901c7ba1d Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-02 02:07:00 +00:00