summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/layout/status_bar.xml
Commit message (Collapse)AuthorAgeFilesLines
* Remove dead code #9: Remove ticker code in PhoneStatusBarJorim Jaggi2015-01-211-8/+0
| | | | Change-Id: I2236790435d89962d70c642fa1879d44981bc71b
* Avoid some more layer creationsJorim Jaggi2014-09-121-4/+4
| | | | | Bug: 17287256 Change-Id: I8c0c6f1f189b70d9a0c261f75987def3464d808d
* Status bar iconography updatesJorim Jaggi2014-09-021-3/+3
| | | | | | | | | | | | | - 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
* Factor out keyguard components of StatusBarHeaderViewJorim Jaggi2014-07-311-26/+2
| | | | | | | Make the header on keyguard a separate view, and move all Keyguard components from StatusBarHeader into KeyguardHeaderView. Change-Id: I1e2400d5c91898df3824fd8f27b10750d576a62c
* Fix status icon reappearing for legacy activitiesJorim Jaggi2014-07-281-1/+2
| | | | | | | | | | | | | | | When closing the shade, and underneath was an activity without colored status bars, the animation for letting the status icons reappear was strange and the icons faded from 0% alpha. The cause was possibly that we set hasOverlappingRendering on the whole group but but inner views used layers for setting the alpha value which violated the contract in the documentation of hasOverlappingRendering: "The current implementation of the saveLayer and saveLayerAlpha methods in Canvas necessitates that a View return true if it uses the methods internally without passing the CLIP_TO_LAYER_SAVE_FLAG." Change-Id: I4b0accc8ec3fb8cb553c6860eb7dba8a12d04364
* Fix overlapping status bar icons.Jorim Jaggi2014-07-091-4/+4
| | | | Change-Id: I9ca4b9e026cb3cccdf9e30ab350d10d46b98d47e
* Improve motion when expanding/collapsing status bar.Jorim Jaggi2014-06-301-14/+22
| | | | | | | | | | | - Don't fade the whole panel anymore. - Parallax effect for QS header translation, fade on keyguard. - Improve fling curve for dismissing the panel. - Improve peeking behavior. Bug: 14804452 Bug: 15407838 Change-Id: I34b7bcd457cb8a037e0bb06e9802ec66d2b39b73
* Pour one out for the old notification ticker.Dan Sandler2014-06-091-41/+7
| | | | | | | | Heads-up notifications are what it always wanted to be, anyway. Bug: 14588447 Change-Id: I64aa1ed85fb162d8577468019e68df9de183a992
* VolumeZen: Unify ringer + zen status bar icons.John Spurlock2014-05-191-5/+0
| | | | | | | | - Remove zen mode indicator from LHS. - Update ringer mode icons to latest design. - Zen mode trumps ringer mode in slot if enabled (as it will in QS). Change-Id: I48bd7e8fdb2a19333b0b6d24d34cc98aa142691f
* Reparent status bar icons into header when expanded.Jorim Jaggi2014-05-091-14/+11
| | | | | | | | This change moves the status bar icons into the quick settings header when the status bar is expanded. Also, the universal header is now showing on the Keyguard. Change-Id: Ib91f7e0b8de9f852676a11b500c4419183db1b90
* Reuse KeyguardViewMediator for new Keyguard implementation.Jorim Jaggi2014-03-311-1/+0
| | | | | | | | | | | | | | | | This change reuses KeyguardViewMediator for the new Keyguard implementation in status bar. KeyguardViewManager is replaced by StatusBarKeyguardManager which handles adding the view, setting the state etc. StatusBarWindowManager is introduced to managed the window of the status bar, which has the logic of both the old Keyguard window and the old status bar window. In the current implementation, Keyguard gets displayed like it would be in the bouncer state, but that's likely to change in the future. Also, setHidden in IKeyguardService is also renamed to setOccluded, as the word hidden interferes with the terminology when dismissing the Keyguard. Bug: 13635952 Change-Id: I1c5d5a49d810d8532089f464cb2efe35e577f517
* Introduce zen mode.John Spurlock2014-02-271-1/+5
| | | | | | | | | | | | | | | | | | - 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
* Battery icon tweaks.John Spurlock2013-11-051-2/+2
| | | | | | | Fix bottom padding, better bolt placement on non-HH devices. Bug:11412369 Change-Id: I102a5ece73b2fcb5f78305c925fc2ed5fe9b2884
* New battery meter view bolt shape + color.John Spurlock2013-09-251-3/+3
| | | | | Bug:10785785 Change-Id: Ia122bcaec1137ba45648ab3c97d8ec832fd26c85
* Draw gradient behind fully transparent system bars.John Spurlock2013-09-191-1/+1
| | | | | | | | | | | Use a transition-drawable to crossfade between the gradient and solid color backgrounds, avoiding custom onDraw. Rename colors to their final names. Since both bars now receive the gradient treatment, centralize in base BarTransitions. Bug:10602521 Change-Id: Id094fa1767eabab88a3709d6026c23858c83fb5b
* Toward regularizing color & level across battery indicators.Daniel Sandler2013-08-131-4/+6
| | | | | | | | | | | | | | Each of our existing assets is slightly incorrect in some way: inconsistent pixel jumps from one percent to the next, inconsistent color change, etc. The only way to get it perfectly right is to draw it programmatically. Bug: 8504254 // inconsistent color change threshold -- previously -- Bug: 3136046 // in Gingerbread Bug: 3387973 // Honeycomb Bug: 5070948 // ICS Change-Id: I6a3e7409ecec55e10328541ecb1e9d54aebdbe96
* Fix bug #8058390 Space is required after the battery sign in the RTL localesFabrice Di Meglio2013-03-081-8/+8
| | | | | | - fix remaining left/right properties that needed to be start/end properties Change-Id: Iaa5090c2ad256e378313f164e2388f42428e5700
* Make SystemUI RTL awareFabrice Di Meglio2012-12-171-3/+3
| | | | | | - see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: Ica88ed68f893d5272691a9207788b65623849dee
* Improvements to notification/settings panels:Daniel Sandler2012-09-251-32/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | A) Hide icons corresponding to the active panel with a downward push animation. Notes: 1. this animation will now apply any time the status bar icons are disabled via DISABLE_NOTIFICATION_ICONS. 2. DISABLE_SYSTEM_INFO will now only hide the right hand icons (system status icons, battery, clock). But you weren't using it anyway, right? B) Stop pulling down the panels in response to just a touch on the status bar. (That should never have worked.) In general, we now require that a fling proceed more than 10dp to be treated as a fling with velocity (as opposed to a v=0 fling, or "let-go"). C) If a panel is pulled down more than halfway and then let go with v=0, it is expanded. If less than halfway, it is contracted. (Helps fix B) above, plus it just makes good sense.) Bug: 7211541 (A) Bug: 7227237 (B) Bug: 7228541 (B) Change-Id: I5662269b753376804bf629239835dc212716d5c3
* All Status in a Window.Daniel Sandler2012-04-301-0/+1
| | | | | | Bug: 5907042 (jank on pulldown) Bug: 6347684 (hardware acceleration) Change-Id: I90a0ac21db493cccf6913cbc271a21a130276991
* Lights out improvements.Daniel Sandler2012-04-261-0/+12
| | | | | | | | | | + Finally implemented LO in the top status bar. + Tightened up LO animations on nav bar (swap icons for dots all at once rather than in sequence). Bug: 6374406 (status bar lights out) Bug: 5854958 (tighten up) Change-Id: Id1393cef0b4281e062c1704d916843641da19dc4
* Fix so that status bar doesn't resize when hiding nav bar.Dianne Hackborn2012-04-051-0/+1
| | | | | | | | | | | | | | | | The status bar now extends behind the nav bar, and uses fitsSystemWindows to ensure its content is not covered. We always report a stable content insets (as if the nav bar is visible) even if the nav bar is hidden, so the content doesn't jump when transitioing. This does mean that if you only hide the nav bar (and not the status bar), when in landscape you will end up with a status bar whose right side still leaves room for the nav bar. But why the hell would you want to do that? Also improve documentation on setSystemUiVisibility(). Change-Id: I8087d875f1214ef0085a91b5ed5c2f35ff2fc1b3
* Bring back the 'more notifications' icon.Daniel Sandler2011-11-101-13/+27
| | | | | | | | | | | | | | | | In fact, there's even more going on here. Icons were appearing cut off because of the unusual width of icons on the right-hand side of the status bar; we now take extra steps to ensure that the IconMerger is only wide enough to show an integral number of icons. But that causes problems with the rest of the status bar the IconMerger makes itself thinner than the overall layout requires, so there's now a containing layout to absorb the additional horizontal space properly. Bug: 5136545 Change-Id: I8c4d1ee2bcd976c452510b33c196fbe0c3e8c660
* Adjust text sizes for better behavior under user scaling.Daniel Sandler2011-10-141-4/+3
| | | | | | | | | Text that is supposed to go in the status bar must be sized in dp, because the bar doesn't get bigger when the user text scale increases. Bug: 5108533 // related Change-Id: I36c3f750ec78562555d4bbe68d601d18250e36ec
* Shrink the ticker's icon to match the status bar.Daniel Sandler2011-10-141-7/+9
| | | | | Bug: 5108533 Change-Id: Iff28aaefe068feb50a636fc1456c5a31d7bdb46e
* Use holo_blue_light for statusbar clocks.Daniel Sandler2011-09-061-2/+1
| | | | | | | | | Also use the same style for the date in the phone notification panel (which already had the same net appearance). Bug: 5231182 Change-Id: Ie0b44c2b9021a4f6ad56b0e1a78fdc9d8cf16f88
* Disable clock in lockscreen; better flag logic.Jeff Sharkey2011-08-301-0/+1
| | | | | | | | When showing lockscreen, hide clock and navigation. Clean up logic to be easier to understand. Bug: 5112812 Change-Id: I20e3563aa36644db678c7839d47f01f223fe8d37
* New RSSI cluster in status bar.Christian Robertson2011-08-121-3/+4
| | | | Bug: 5147463
* Add settings button to notification panel.Daniel Sandler2011-08-091-11/+0
| | | | | | | Also move date to panel in place of carrier name. Bug: 5076789 Change-Id: I498dc1e29581829c123b3cc0a8c81551ac8bdbe2
* New stacked RSSI icons.Daniel Sandler2011-07-261-1/+20
| | | | | | | | | | | | | | The signal strength, network type & flow indicator, and battery have all been moved out of the policy and into the status bar implementation itself, mirroring the change on tablets. This means that they no longer use status bar icon slots but instead are bespoke layouts and views. GPS has also been removed and will return as a notification (again, as was done in the Honeycomb tablet UI). Bug: 4691638 Change-Id: I60df4871209b64209bfc5b3bf398651cc2e77b24
* The beginnings of the new status bar.Joe Onorato2010-11-151-7/+7
| | | | | | There is a lot of rough stuff still, but most of the functionality is here again. Change-Id: I4b1241e61270f1434e798481afa83634233ee670
* checkpoint tablet status barJoe Onorato2010-07-121-27/+0
| | | | Change-Id: Ia9089cce370ead4e685dffbca722fa8404a8f443
* buttons on the bottomJoe Onorato2010-07-071-0/+28
| | | | Change-Id: I52184ad2752c38bcc4c7646b404f3f305e0ac4b6
* New shadowy status bar, direct from Z'ha'dum.Daniel Sandler2010-06-021-3/+3
| | | | | | | | | | | | | | | | Artwork is FPO but serviceable enough. Many hardcoded font colors & styles were moved to styles.xml where they belong. AM/PM finally given the old heave-ho (but configurable in StatusBarPolicy.java). Notification content remains on a light-gray background for now (so as not to screw up custom RemoteViews) but status icons will definitely need across-the-board rework to look better against a dark background. (Re-integrated on top of new status bar code.) Change-Id: Ia180b3c2ba8e23c9a2f50cf46f98f12958022b53
* Move the StatusBarPhone package into a new catch-all SystemUI.apk.Joe Onorato2010-06-021-0/+115