1694 Commits

Author SHA1 Message Date
Baligh Uddin
df385f2b4c Merge "Import translations. DO NOT MERGE" 2014-03-13 16:22:45 +00:00
John Spurlock
d389ff7d89 Move zen-mode systemui affordance to quick settings.
Remove the gesture-based invocation from the notifcation
panel, create a new QS tile to display current state.

Clicking the tile reveals an interstitial dialog for
confirmation of mode changes.

Change-Id: I6760ce3f097d5dcfd0af5177287dbf4ff632b47e
2014-03-12 17:26:09 -04:00
Baligh Uddin
8c68173234 Import translations. DO NOT MERGE
Change-Id: I3d7d91a2d618011ef9c0b7f746e76f9f4de16afc
Auto-generated-cl: translation import
2014-03-12 09:48:44 -07:00
Winson Chung
303e1ff1fe Initial changes for recents.
Change-Id: Ide2c202b4a5b25410f0f32bd0a81ccf817ede38f
2014-03-11 12:03:08 -07:00
Baligh Uddin
7026d47ac7 Import translations. DO NOT MERGE
Change-Id: I80c4b6560d759272c7f605df5ff8fbef8b36486d
Auto-generated-cl: translation import
2014-03-10 13:14:43 -07:00
Jorim Jaggi
39fa59fc49 Change appearance of notifications to light theme.
Change-Id: Ic15e96582d6b46b4dc195b1c7c0cef38f25f0d38
2014-03-07 14:34:17 +01:00
Alan Viverette
858a0405ec Add icons for display adjustment quick settings
BUG: 13028934
Change-Id: I437abc48ad34364995b37c504019f7a4871c8031
2014-03-06 18:36:43 -08:00
Baligh Uddin
c61f089c2d Import translations. DO NOT MERGE
Change-Id: I2f2a00a4ac7687920c35b86f1e26a3848c489e60
Auto-generated-cl: translation import
2014-03-05 10:38:50 -08:00
Chris Wren
ee39eb59b1 add missing tablet asset for heads up
Bug: 13280212
Change-Id: I8af2ba7dd2efba6bcb55e0e7d65dae49850aed06
2014-03-03 14:13:06 -05:00
Chris Wren
9f6a372ca0 Merge "create a synthetic 2U heads up notification" 2014-02-28 16:28:53 +00:00
Chris Wren
8fd39ec46b create a synthetic 2U heads up notification
combine the 1U with the action buttons to make a mid-sized notification
bounded to 128dp by the system ui
used for the heads up

Bug: 13208692
Change-Id: I382bb0bd1ce73f35295f05ca2606195986cff1d3
2014-02-28 11:20:11 -05:00
John Spurlock
dfae159bb8 Merge "Introduce zen mode." 2014-02-27 17:29:55 +00:00
John Spurlock
e677d7113f Introduce zen mode.
- New global zen mode setting with three values:
   ZEN_MODE_OFF, ZEN_MODE_LIMITED, ZEN_MODE_FULL
 - Status bar icon (on lhs)  when in _LIMITED / _FULL
 - Rules are hardcoded for now:
   _LIMITED = intercept all notifications except calls/alarms
   _FULL = intercept everything
 - UI affordance in shade to set mode
 - Only one exit condition: "Until you delete this"
 - Intercepted notifications:
   - appear darker in the shade
   - do not cause sound/vibration
   - do not fire fullScreenIntents
   - do not contribute an icon to the status bar

Change-Id: Ic36c95982b483432006bf9dab102a31370382aa9
2014-02-27 11:53:30 -05:00
Chris Wren
9924e13037 improvements to heads up interface
remove shadow
quick hack to open shade from HUN
over status bar instead of under and below it
dismiss by pushing up
tablets: shadow remains on left, right, and bottom

Bug: 13208692
Change-Id: Ie3abb762fb1388be68353c7e3111fe4708ab8110
2014-02-27 11:38:21 -05:00
Baligh Uddin
dfbd5b750f Merge "Import translations. DO NOT MERGE" 2014-02-25 17:04:44 +00:00
John Spurlock
81de6716a5 Remove unused animations.
Change-Id: I7c34732c6bc8263c42461325437c90a06214d04a
2014-02-25 11:08:35 -05:00
Baligh Uddin
c4c48004f4 Import translations. DO NOT MERGE
Change-Id: I707b289c4e770cd216105dfb6452b9517fd1cf3c
Auto-generated-cl: translation import
2014-02-24 11:10:00 -08:00
Baligh Uddin
74b51c86a4 Import translations. DO NOT MERGE
Change-Id: Ie210515c79f6745c99c98e7db2df9026c7a9b9b3
Auto-generated-cl: translation import
2014-02-19 12:06:50 -08:00
Baligh Uddin
a23bfb2ac6 Import translations. DO NOT MERGE
Change-Id: I797c2904ef13592103408b2fdb5a3059192aea21
Auto-generated-cl: translation import
2014-02-10 13:13:21 -08:00
John Spurlock
876e359b48 Merge "Make QS battery composite color match others." 2014-02-07 19:25:20 +00:00
Geoff Mendal
d397deeef0 Import translations. DO NOT MERGE
Change-Id: I388073346d1d4990f09c557f2d1a2bea49cee99d
Auto-generated-cl: translation import
2014-02-05 10:57:18 -08:00
John Spurlock
29786fc72d Make QS battery composite color match others.
Change-Id: I2a906cd997d2372f5740532a159f04ad857d393d
2014-02-04 17:55:47 -05:00
Dan Sandler
a5e0f415d3 SystemUI support for notification visibility.
In this implementation, DISABLE_NOTIFICATION_TICKER (which was never
really used on its own and can be safely subsumed by
DISABLE_NOTIFICATION_ICONS) is now DISABLE_PRIVATE_NOTIFICATIONS;
when this SystemUI bit is set by the keyguard, SystemUI knows to switch
its presentation into "public" mode, in which
VISIBILITY_PRIVATE notifications are replaced with their
publicVersion's contentView (or a placeholder view,
synthesized by SystemUI, that leaks no additional
information about the notification). VISIBILITY_SECRET
notifications are suppressed altogether in this mode.

This behavior is enabled but not activated by default. To
turn it on, run:

  $ adb shell settings put secure lock_screen_allow_notifications 1

and restart SystemUI.

Change-Id: Id660bef7737580e16a83f60567c22b53ee81c602
2014-01-30 13:23:14 -05:00
Baligh Uddin
3f0d0f7865 Import translations. DO NOT MERGE
Change-Id: I618528f0600b0db1b94e6519e2ade0be411f7859
Auto-generated-cl: translation import
2014-01-29 09:55:35 -08:00
Baligh Uddin
56514012ae Import translations. DO NOT MERGE
Change-Id: I618c8c1324451a2a2b82457fea8e01b3b9e1a141
Auto-generated-cl: translation import
2014-01-27 09:56:24 -08:00
Baligh Uddin
ae39968fae Import translations. DO NOT MERGE
Change-Id: Ie068d31c1845ef03118ea7c45e04f729ec3a12df
Auto-generated-cl: translation import
2014-01-23 08:04:07 -08:00
Geoff Mendal
d8f45184b5 Import translations. DO NOT MERGE
Change-Id: Ib8169e516ef1d0b7911adabbd945673b199eddd2
Auto-generated-cl: translation import
2014-01-13 11:59:12 -08:00
Baligh Uddin
1adf652d45 Merge "Import translations. DO NOT MERGE" 2014-01-09 03:46:35 +00:00
John Spurlock
4b786ff4b5 Battery meter: remove bolt color compromise & improve pct.
- Bolt remains opaque (white) below a threshold level, otherwise
   transparent.
 - Draw the entire shape using a path, removing the need for a
   software layer.
 - Use a similar approach to make the percentage text readable,
   but this still requires a software layer (since text is involved).

Bug: 12131168
Change-Id: Ifde5e99121155bf1be171f44b2c80c116b17c9e7
2014-01-08 15:04:50 -05:00
Baligh Uddin
3104c96ee2 Import translations. DO NOT MERGE
Change-Id: I0b5c058dcbb0fd0d8b410cc475c0342ae5477457
Auto-generated-cl: translation import
2014-01-08 09:36:59 -08:00
Baligh Uddin
c2ee7bb146 Merge "Import translations. DO NOT MERGE" 2014-01-06 21:45:23 +00:00
Baligh Uddin
d5b2a3aae8 Import translations. DO NOT MERGE
Change-Id: I88c828f80f2fc1ff71f868c0e6630d68ddac9ba4
Auto-generated-cl: translation import
2014-01-06 13:17:32 -08:00
John Spurlock
f121921d9a Merge "Add rotation-lock to Quick Settings on phones." 2014-01-06 19:21:58 +00:00
Baligh Uddin
23ab74de5e Import translations. DO NOT MERGE
Change-Id: Id551f263c58a8e036dd44b509242ed3b0ea38f3a
Auto-generated-cl: translation import
2014-01-02 08:21:41 -08:00
Baligh Uddin
bbd861c23a Import translations. DO NOT MERGE
Change-Id: I27cfb0c604a4ab3deef7c4a55701e74cb1905172
Auto-generated-cl: translation import
2013-12-26 11:15:59 -08:00
John Spurlock
8ab172e8d9 Add rotation-lock to Quick Settings on phones.
Make the rotation-lock QS tile available for display on phones.

Devices < sw600dp are only allowed to lock rotation to their
natural orientation (i.e. portrait on most phones), so tweak
the QS tile label to make this clear.  e.g. "Locked to Portrait"
instead of "Rotation Locked" on portrait phones.

Simplify RotationLockController now that the sw600 check is no
longer hardcoded in RotationPolicy.

Remove redundant sw600dp check in SystemUI, everything driven
from the RotationPolicy helper, though SystemUI can still
choose not to display the tile at all with a resource config.

Clean up some of the docs in RotationPolicy to make clear the
subtle distinction between the two ways of locking rotation:
 - From Accessibility (locks to natural orientation on all devices)
 - From System UI (locks to natural < sw600dp, else current rotation)

Bug:11062710

Change-Id: I5caa4485c9501315da9fed964d6667d3012b43cb
2013-12-19 17:47:20 -05:00
Baligh Uddin
dd05f47fbe Import translations. DO NOT MERGE
Change-Id: I592a031d629ff17b22100ca6a26c19b97c9cbb5e
Auto-generated-cl: translation import
2013-12-16 10:40:38 -08:00
Baligh Uddin
38bae539f8 Remove deprecated locales
Bug:11340849
Change-Id: Ib99486303927a6bce308b113d70f8e5b5bce4a13
2013-12-09 22:41:12 +00:00
Geoff Mendal
47b73a05d4 Import translations. DO NOT MERGE
Change-Id: Ic23f9b9d0544004948470e20f919f4d564c88926
Auto-generated-cl: translation import
2013-12-04 12:09:45 -08:00
John Spurlock
74d2480845 Move moveable non-public framework resources up to SystemUI
Specifically, non-public resources only referenced by SystemUI
and nowhere else in frameworks or system apps (via @*android:)

Remove orphan resources found during the process.

Change-Id: I005514ff1ce52e1622849bc01cd825b09fa55842
2013-12-02 17:37:40 -05:00
Baligh Uddin
7ef02b9d18 Import translations. DO NOT MERGE
Change-Id: Iedcc1fc7c75f1bf5b97991aacbbe1c2f00aaf906
Auto-generated-cl: translation import
2013-11-20 09:53:11 -08:00
Baligh Uddin
46db123752 Import translations. DO NOT MERGE
Change-Id: Idd62c4355924b8dcf819525e688124d9ac3151f8
Auto-generated-cl: translation import
2013-11-18 09:25:17 -08:00
Jeff Brown
1aebcb9b93 am d2169447: am 2bced6dc: am a7a46a66: Merge "Update cast screen strings." into klp-dev
* commit 'd21694476563e9a6efc833b78a141e9de2bb35d3':
  Update cast screen strings.
2013-11-14 17:37:30 -08:00
Jeff Brown
d216944765 am 2bced6dc: am a7a46a66: Merge "Update cast screen strings." into klp-dev
* commit '2bced6dcb53c1743d6d11ffcb213206a07a63737':
  Update cast screen strings.
2013-11-14 17:35:00 -08:00
Jeff Brown
2bced6dcb5 am a7a46a66: Merge "Update cast screen strings." into klp-dev
* commit 'a7a46a66fa9f9ce547bac6c2e800a0ae287d9e5c':
  Update cast screen strings.
2013-11-14 17:31:32 -08:00
Jeff Brown
cef34fce3c Update cast screen strings.
Bug: 11257292
Change-Id: Ia66152985bafcdd8ec88a3145623536a2b439b78
2013-11-14 16:03:36 -08:00
Baligh Uddin
ef6a8aeb43 Merge "Import translations. DO NOT MERGE" 2013-11-13 22:39:57 +00:00
Baligh Uddin
dc0acc6f5d Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-13 22:39:40 +00:00
Baligh Uddin
eae7159444 Import translations. DO NOT MERGE
Change-Id: I8788c70c6920a36c5187ad415e5d17d3b7d525ca
Auto-generated-cl: translation import
2013-11-13 13:43:06 -08:00
Baligh Uddin
b4aac8d832 Import translations. DO NOT MERGE
Change-Id: I11d764583416d7fb4dfc85ebe81a98b6a1267424
Auto-generated-cl: translation import
2013-11-13 13:39:45 -08:00