4027 Commits

Author SHA1 Message Date
John Spurlock
f6475c7204 Merge "Fix NPE in BaseStatusBar." 2014-02-13 14:47:53 +00:00
John Spurlock
70cf4c104c Fix NPE in BaseStatusBar.
Bug:12996414
Change-Id: Icded809ce14ca6fc5d11bee1c2470152d507cee2
2014-02-13 09:39:14 -05:00
John Spurlock
5bb5467d6c Remove unused output array in QuickSettingsModel.
Change-Id: I0e9ce2ee1f20f5bf03f838a7ca965a71270b97d4
2014-02-12 17:44:41 -05:00
Chris Wren
ad8e18d490 Merge topic 'hun'
* changes:
  use private notification for the heads up
  explicitly handle clicks on the heads up notification
2014-02-12 13:52:22 +00:00
Chris Wren
464c7efcbc use private notification for the heads up
HUN only shows if the device is on and unlocked

Change-Id: Ib3f11bb9267b95c88ddb8bef0b321db79d68841b
2014-02-11 16:50:43 -05:00
Chris Wren
f29c3b4997 explicitly handle clicks on the heads up notification
Bug: 11900055
Change-Id: I45c955f7ac91dc9f59528e382e9df490f0f96be5
2014-02-11 16:49:52 -05: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
John Spurlock
0e29ad02f9 Merge "Global system setting to override certain window policy." 2014-02-06 00:53:42 +00:00
John Spurlock
c6d1c60fb1 Global system setting to override certain window policy.
Specifically, the ability to force immersive-mode-like behavior
on the status bar, the navigation bar (or both) on a
package-by-package basis - and to disable immersive mode
confirmations for specific packages.

Change-Id: I2df7092a91eceeb815367ef917dd7289f4f2b27e
2014-02-05 16:45:23 -05:00
John Spurlock
6c1b8c1412 Merge "Remove need for software layer drawing percentage text." 2014-02-05 20:03:18 +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
1fd0b933b8 Remove need for software layer drawing percentage text.
When the text is transparent, use the same approach as the bolt
to punch it through the rest of the shape - by first rendering the
text into a path.

When the text is opaque, draw the text on top as before.

Change-Id: I50f201b1bf0f92164728e3237ec45e22eb788d52
2014-02-05 11:56:17 -05:00
John Spurlock
29786fc72d Make QS battery composite color match others.
Change-Id: I2a906cd997d2372f5740532a159f04ad857d393d
2014-02-04 17:55:47 -05:00
Dan Sandler
156e97fffa Redact public version of screenshot notifications.
It's OK to reveal that a screenshot has been taken, but the public
version of this notification no longer shows the actual screenshot
image itself (in case it was taken before the device was locked
and therefore might contain sensitive information).

Change-Id: I5ba0b64023810ece0cea56ba457968fbde4b0cbe
2014-01-30 13:23:14 -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
ced263e41d Merge "Import translations. DO NOT MERGE" 2014-01-30 16:43:25 +00: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
John Spurlock
77b17f335d am 2ad24e74: am 15c09e1e: am 0dbcd7d9: am 2d35ba4d: am d12f4eb8: Merge "[Navigation bar] Allow "right to left" gesture to launch search panel"
* commit '2ad24e74f5ea206d737bad4253f33504a542eaba':
  [Navigation bar] Allow "right to left" gesture to launch search panel
2014-01-29 15:52:15 +00:00
John Spurlock
0dbcd7d99f am 2d35ba4d: am d12f4eb8: Merge "[Navigation bar] Allow "right to left" gesture to launch search panel"
* commit '2d35ba4d4a43036706638ca0e96e5e1a9904d2af':
  [Navigation bar] Allow "right to left" gesture to launch search panel
2014-01-29 15:42:34 +00:00
fisherson_lin
10e71e014a [Navigation bar] Allow "right to left" gesture to launch search panel
Symptom: "Bottom to up" gesture can launch search panel in portrait, but "right to left" gesture CANNOT in landscape.
Root Cause: Not handled.
Solution: Set swapXY to handle this in landscape case.

Change-Id: I1793280b3656af6912e6b4583b08e80a0a38e44a
2014-01-29 13:10:41 +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
John Spurlock
ab847cf16d Tear down bars on destroy() and avoid null pointers.
Change-Id: Ie393689bbf2f0b28895bfde5098c883b5d4ea4a6
2014-01-15 14:18:43 -05:00
Adrian Roos
d8ea484e2c Make brightness panel behave like volume panel.
Moves the brightness panel to the same spot as the volume panel. To avoid a conflict with the volume panel, brightness is dismissed when the volume keys are pressed.

Bug: 7217009
Bug: 7217154
Change-Id: Ib8331a1e390cbedca40fa237243ea2cfd088e521
2014-01-14 16:12:33 -08:00
John Spurlock
4a5eb8fe18 Merge "Add demo-mode command to hide notification icons." 2014-01-14 21:29:57 +00:00
John Spurlock
7f42fc5007 Add demo-mode command to hide notification icons.
Bug:11285517
Change-Id: I341feadbf164afd34fef192a541f14a2ff67e8e2
2014-01-14 16:20:39 -05:00
John Spurlock
fd0e6c0d6f Allow lights-out + bar icon dimming on low-end devices.
Maintain fallback to OPAQUE mode on low-end devices in place of the
translucent modes.

Bug: 12546110
Change-Id: Ia3582c305cb09aadd56c6aa58b039a174675c79a
2014-01-14 14:51:23 -05:00
John Spurlock
28f7dbec4f Merge "Remove only com.google reference from SystemUI." 2014-01-13 21:41:07 +00:00
Geoff Mendal
17fc100ea1 Merge "Import translations. DO NOT MERGE" 2014-01-13 20:37:13 +00: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
John Spurlock
01534780df Use accessors for @hidden fields.
Change-Id: I7d66070afb707262cc0dff93b9f9a1dbe77b0092
2014-01-13 12:03:49 -05:00
John Spurlock
dfc6319064 Remove only com.google reference from SystemUI.
Change-Id: Ie02bf3662307fa1ea3c68b908a7856fbf0482bb7
2014-01-13 11:27:25 -05:00
Adrian Roos
5b0acf0d7d Hide camera icon in navbar when disabled by DPM.
Hides the camera icon in the keyguard more reliably if the device policy disables it.

Bug: 11655611
Change-Id: Ic66f41b6703bf2028edc269cf10f9c167a22081d
2014-01-10 18:19:49 -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
Michael Jurka
1971963fbe Merge "Change wallpaper sizing" 2013-12-20 20:01:00 +00:00
Michael Jurka
824a4b5ea4 Change wallpaper sizing
- ignore suggested dimensions
- when orientation changes, scale up wallpaper if
it doesn't fill the whole screen, or scale back to
original size if not necessary

Change-Id: I75b7519a105d4097bf7a35cd8af61fc40f45f8fb
2013-12-19 15:42:50 -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
The Android Open Source Project
ebcb32f58a Merge commit 'bac61807d3bcfff957b358cb9ad77850bd373689' into HEAD
Change-Id: I29374270c8e0c2f2859efaf1d55af9f73da0f8d7
2013-12-05 13:10:46 -08: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