3403 Commits

Author SHA1 Message Date
John Spurlock
fa0556943e Merge "Promote lights-out to a bar transition mode." into klp-dev 2013-09-14 21:31:09 +00:00
John Spurlock
0819e34221 Merge "Despotted back." into klp-dev 2013-09-14 21:30:21 +00:00
John Spurlock
7edfbca5d0 Promote lights-out to a bar transition mode.
Move all visual application of the legacy lights-out behind
a new mode managed by BarTransitions for better coordination.

Remove unused "hidden" state in NavigationBarView.

Improve window state (showing/hiding/hidden) calculation,
affecting whether or not sysui thinks it should animate.
Removes invalid interim mode changes causing needless
flashing during some transitions.

Consider WINDOW_STATE_HIDING a state in which we ought to animate,
since at least part of the window is visible throughout.

Make the status/nav bar transition helper classes real boys.

Animate KeyButtonView drawing alpha transition, cancel existing
animations when resetting to avoid needless and unsightly "recovery".

Bug:10746803
Change-Id: Ibd883da9041d071b6a4ff5b42cf96efba7696e9c
2013-09-14 16:58:57 -04:00
Maggie Benthall
f5aba5ad1e Merge "CA cert monitoring: add notifications and actions for dialog" into klp-dev 2013-09-14 18:00:13 +00:00
John Spurlock
b9b2fa9249 Despotted back.
Bug:9795248
Change-Id: If46134afe7560b74ce7758f8dbe221dbe2872262
2013-09-14 12:17:15 -04:00
Craig Mautner
540421ba98 Merge "When launching home activity, make sure it is top." into klp-dev 2013-09-13 23:33:17 +00:00
Craig Mautner
a82aa09ba3 When launching home activity, make sure it is top.
Because recents sits on the same stack as launcher it can sometimes be
above launcher. When we were launching home activity because the flag
told us to we would sometimes launch recents instead. This fix makes
sure that the home activity is on the top when it is supposed to be
launched next.

Previously this was fixed by having recents move itself to the back
of the stack after it launched an activity (b/9750207 and ag/336019).
But that solution caused the AppTransition to be set to
TRANSIT_TASK_TO_BACK which left the SOFT_INPUT_IS_FORWARD_NAVIGATION
flag unset. This in turn caused IMEs to remain unlaunched when
returning from recents (b/10240567).

Fixes bug 10240567.

Change-Id: I35c6619af0e68d0e6d9ab87cad06ea7c27e11e27
2013-09-13 15:46:51 -07:00
Maggie Benthall
0469f41010 CA cert monitoring: add notifications and actions for dialog
In DevicePolicyManagementService, on boot and when certs are installed,
post notification to tell the user that their traffic may be
monitored.
Have QuickSettings use the MonitoringCertInfoActivity instead
of building the dialog itself.

Bug: 10633199

Change-Id: Ie4b97295a9fc25867c87872feccdb17f4bea071d
2013-09-13 15:46:30 -04:00
Baligh Uddin
195752a3a6 Import translations. DO NOT MERGE
Change-Id: Ic199dafb31a9f2245f771d8a39c39c152338cf71
Auto-generated-cl: translation import
2013-09-13 12:23:22 -07:00
John Spurlock
49580cf1f7 Merge "SystemUI status bar/quick settings updates." into klp-dev 2013-09-13 08:42:06 +00:00
John Spurlock
2062abfa13 SystemUI status bar/quick settings updates.
Status bar:
 - Update remaining mute/speakerphone icons.
 - Remove orange versions of wifi/signal icons.
 - Use only full versions of data type overlays.
 - Remove obsolete light versions of data type overlays.
 - Low battery color back to red.

Quick settings:
 - Update to indicate problem (orange) status.
 - Update to new battery style.

And a few remaining xx assets.

Bug:10680149
Bug:10502089
Bug:10729729
Bug:10316062
Change-Id: Iccd936d90271e4ec5c48e688917225136e7d45aa
2013-09-13 02:18:14 +00:00
John Spurlock
43c70b0ccf Merge "Status bar interaction veto revoked on ups/cancels." into klp-dev 2013-09-12 16:05:56 +00:00
John Spurlock
5fee8360f8 Status bar interaction veto revoked on ups/cancels.
If we get an ACTION_UP or ACTION_CANCEL and the shade is not
expanded, treat this as a signal of !interacting, revoking
the interaction veto.

Bug:10711758
Change-Id: Ia69ff24880193fa8d99ece79053eeb95dfa9ba71
2013-09-12 11:35:08 -04:00
Baligh Uddin
4dff98689d Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-12 02:46:12 +00:00
Baligh Uddin
243a2c4293 Import translations. DO NOT MERGE
Change-Id: I92fdf6e34e65d70e813b5f3f5139659fb0eab2ce
Auto-generated-cl: translation import
2013-09-11 11:46:30 -07:00
John Spurlock
ec7a6ea845 Merge "Add activity indicator icons to quick settings tiles." into klp-dev 2013-09-11 14:50:08 +00:00
John Spurlock
43670879fa Add activity indicator icons to quick settings tiles.
Wifi + RSSI now have activity in / activity out indicators
wired up to information coming from NetworkController.

Bug: 10634208
Change-Id: I3cf29dc905eeaeb4aea8e7df4fe46e70645e0013
2013-09-11 10:04:44 -04:00
Daniel Sandler
ab6284f1e0 Merge "New orange color for status bar + qs assets." into klp-dev 2013-09-11 13:51:19 +00:00
John Spurlock
79ec2a15f7 Don't rely on window state when disabling the panel.
Bug:10488453
Change-Id: I09ffbf166dd34489064cf0d73fe7ae4dd356c6c9
2013-09-11 09:28:49 -04:00
John Spurlock
8a6c77545b New orange color for status bar + qs assets.
Bug:10502089
Change-Id: I7b43fe260ceccba29f896009ce467fe29ec67f64
2013-09-11 08:37:43 -04:00
Marco Nelissen
8716c08151 Merge "Use correct timescale for "date taken" field" into klp-dev 2013-09-10 16:09:16 +00:00
John Spurlock
74ac2ecb44 Restore alpha animation to status bar rhs icons.
Avoid the view group to prevent stomping on an existing animation.

Bug:10653941
Change-Id: I3d2bdd6360699d3d70c158ec1b8f832bd7205147
2013-09-08 11:00:06 -04:00
John Spurlock
fceb7eddde Draw status bar battery icon bolt in code.
Use high-res polygon points, punching a hole in the rest of drawing
with PorterDuff.Mode.CLEAR.

Remove the now obsolete lightning.png and associated color filters.

Bug:10640891
Change-Id: I8f2d4dd157f9866f37ed9b3480bb79ee9f109975
2013-09-08 10:29:11 -04:00
John Spurlock
5109041f79 Merge "Update signal, wifi, battery assets + global dimming." into klp-dev 2013-09-06 23:10:30 +00:00
John Spurlock
21efa9ade3 Update signal, wifi, battery assets + global dimming.
Global status bar dimming is now 75%.

Signal/wifi: use problem color if not fully connected.

Battery: frame 40% white, charge level = white, new hollow bolt.
  (hollow bolt simulated for now until we can draw it in code)

Update ic_notification_overlay, all sizes.

Workaround animation bug on tablets.

Bug:10502089
Change-Id: I10f979b7a48ccb1bc94022d8c189ec216283dbe6
2013-09-06 18:35:50 -04:00
David Christie
ba957652bf Merge "Fix QuickSettings to honor location setting for restricted users (b/10553306). Generally when a user is location restricted, location will be off. But just in case location is on and locked in that state, we should respect that in the UI." into klp-dev 2013-09-06 18:09:20 +00:00
David Christie
a2b73480c0 Fix QuickSettings to honor location setting for restricted users (b/10553306).
Generally when a user is location restricted, location will be off.
But just in case location is on and locked in that state, we should
respect that in the UI.

Change-Id: I112139db447ba6dbf4c7c38600406fb5ba6a1fa8
2013-09-06 10:57:00 -07:00
John Spurlock
bd84760165 Merge "Remove opaque-on-interaction from nav bar." into klp-dev 2013-09-05 23:20:00 +00:00
John Spurlock
cfc359a9e6 Remove opaque-on-interaction from nav bar.
And decouple it from the status bar opaque-on-interaction logic.

It's still important to track nav bar interaction for hideybar
suspension purposes.

Also fix a sysui NPE that can occur when restarting SystemUI
(vs the shell).

Bug:10606136
Change-Id: I66a15e02cff352e26b25aebc1c42fb58c042effa
2013-09-05 11:44:34 -04:00
John Spurlock
3e17843dd0 Remove obsolete indicator icons.
Bug:10607423
Change-Id: I8d4e1037edf2394a1065c9b0a85a1f3e3c21e70e
2013-09-05 07:32:54 -04:00
John Spurlock
0e907e8350 Merge "SystemUI demo mode." into klp-dev 2013-09-05 02:19:19 +00:00
John Spurlock
079db74874 Merge "Remove signal/wifi activity indicator icon overlays." into klp-dev 2013-09-05 02:18:31 +00:00
John Spurlock
a6fdd7f2ea Merge "SystemUI asset update." into klp-dev 2013-09-05 02:02:53 +00:00
John Spurlock
7436f07eb5 SystemUI asset update.
Plus a few framework resources used as status icons.

Bug:10502089
Change-Id: I66d3bcbb408a8e008cbb383cb3a1a55f97d3d64c
2013-09-04 21:52:37 -04:00
David Christie
61edc94ab5 Merge "Make location QuickSettings multi-user compatible (b/10563313)" into klp-dev 2013-09-04 19:22:54 +00:00
John Spurlock
51a28a211d Change semi-transparent system bar from 33 to 40% black.
Bug:10502089
Change-Id: I045dab25e16a2711ed48659412022bee0fd4e2b2
2013-09-04 14:47:17 -04:00
David Christie
b12ba933f3 Make location QuickSettings multi-user compatible (b/10563313)
Change-Id: I8ae5238e66fa2d6890ffe5697d3e6d5f50413c3e
2013-09-04 11:36:17 -07:00
John Spurlock
3c87566c11 SystemUI demo mode.
Control the status bar visuals via a simple intent protocol.
Useful for comprehensive visual testing reachable assets
and the various bar modes.

Protected behind a global system setting.  To enable:
  adb shell settings put global sysui_demo_allowed 1

Remove obsolete sync failing asset, and tighten up
BluetoothController to represent reality.

Bug:10502089
Change-Id: I28443af3d6b22fcb7b367ef70e1d95fc23ebd407
2013-09-04 14:09:17 -04:00
John Spurlock
fcc901c10b Remove signal/wifi activity indicator icon overlays.
Bug:10607423
Change-Id: Ib58c5a6759b54f5c84aa2de414bef0f7f3d9b21d
2013-09-04 10:36:27 -04:00
John Spurlock
43701dbfa0 Icon updates: location, settings, cdma roaming
Bug:10502089
Change-Id: I2cc1b6bd8e1998830228b1d174cd4af13a1f1b6e
2013-09-04 09:23:40 -04:00
Baligh Uddin
85e479b3d7 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-04 04:44:27 +00:00
John Spurlock
cbd067e875 Merge "Dim status icons / battery / clock on opaque bars." into klp-dev 2013-09-03 20:30:48 +00:00
John Spurlock
e6f0a71650 Dim status icons / battery / clock on opaque bars.
Apply consistent alpha to the other status bar elements
now that they are intrinsically brighter than before.

Bug:10602822
Change-Id: I8ca6ddc844f9c58ddf2a1df8d1a5bd7fb71932d1
2013-09-03 16:23:49 -04:00
John Spurlock
686820a402 Don't ever disable the status/nav bar.
Revert part of the fix for b/8682123 until we figure out why
the window state does not flip to SHOWING in BarController.

Bug:10488453
Change-Id: Ic5d60a6d945b470fd519dc01de30690e61c62e01
2013-09-03 14:44:16 -04:00
Baligh Uddin
d99d648156 Import translations. DO NOT MERGE
Change-Id: Icaf13bfca4c997cd0b1bddc91c96351cb5d5a20e
Auto-generated-cl: translation import
2013-09-03 10:16:06 -07:00
John Spurlock
bbb97ae7a5 Status bar icons as expressions of white.
Bug:10502089
Change-Id: Id13badd6c729b79492aec5370dbb3dc2479008fd
2013-08-30 21:11:19 -04:00
John Spurlock
b7cdbcef9e Add a few SystemUI xxhdpi stragglers.
Bug: 10316062
Change-Id: I1307d7188e8326407c562a1f65f100e6a3dca5ed
2013-08-30 15:39:02 +00:00
John Spurlock
81e0b1bd83 Improve signal assets against tranparent bkgrnd.
And update ringer icons, restoring their previous optical bounds.

Bug:10546772
Change-Id: If05a1cd674453b496d25dddfe185783abec93f5e
2013-08-30 09:47:42 -04:00
John Spurlock
8f1f0109d3 Remove unused status bar help and obsolete resources.
Bug:10502089
Change-Id: I813244c4d5535256a56b242b92e6373edbbaba93
2013-08-29 21:02:15 -04:00
John Spurlock
fc3c06ef21 More SystemUI asset updates.
White close handles, a few missed xx items.

Bug:10502089
Change-Id: I788f3698249e72c3df3d039c68b438998db1b978
2013-08-29 13:56:31 -04:00