History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
45e2d8faed70252f8c5535ed9dee903b45f60ac1 16-May-2017 Jorim Jaggi <jjaggi@google.com> Optimize latency when closing panel with animation

The interpolator we chose had a very slow easy out where it
generated out frame with mExpandedHeight=0.3 pixels. We add a
check there and stop the animation immediately if this happens.

Furthermore, we just use a simple post when closing the panel
to not add to much latency. The frame will be shown in any case
since we are already in animation/input callback, such that a post
will be executed after the frame has been sent to RT.

Test: Capture trace, unlock phone, make sure no delays
Change-Id: I9fc45f4b081bd6143da1ba99e9bc652a9f64e4a7
Fixes: 38294347
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
51efddbd3bb304de2dd47fa8cd1114ac555958bb 05-Apr-2017 Alan Viverette <alanv@google.com> Remove unnecessary casts on calls to findViewById

Just frameworks/ this time. More paths to come.

Bug: 24137209
Test: make -j32
Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
ae76b4c2f71ee6c2ad5f8d5c266f0addaf487f20 08-Mar-2017 Selim Cinek <cinek@google.com> Fixed a bug where the scrim was distracting when pulling on HUN

Test: add hun, pull down, observe no scrim jump
Change-Id: Iec2a12476ac1f728c76119653226d2ca5a9d4145
Fixes: 35968030
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
aa573e9e8632552d1fa8bdd6b0ee408ff9a93a6b 27-Jan-2017 Jason Monk <jmonk@google.com> Work on separating out the status bar management

Lots of stuff:
- Make StatusBarIconController be a permanent dependency
- Break out dark stuff into DarkIconDispatcher
- Create StatusBarFragment
- This bit is a bit ugly for now, but will be better later
- Other stuff probably

Test: runtest systemui
Change-Id: I4973bc9f944e66af92731bf1edd2b39657f1782f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
2a6ea9c2a1b52b0386270ec73e1e6d6a9b614a34 26-Jan-2017 Jason Monk <jmonk@google.com> Delete BaseStatusBar

It is a relic of a more complex time, but has passed out of all
knowledge for too long.

Test: manual testing on phones and TV
Change-Id: I62a15d9413ea4bda3ac82bf6f7d22c096e2c1cdc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
3e7592d0cbbde5b0b85d98b82d991ee5d2aab8a9 11-Apr-2016 Selim Cinek <cinek@google.com> Fixed a few issues when adapting the dpi

The statusbar is now behaving nicer and other
parts are behaving similar as if they had been inflated
that way. The signalclusterview is now properly recreated
ensuring that it's scaled correclty.

Fixes: 26844819
Change-Id: Id1aab629204d03c079815358e7a5eb12d2a4e557
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
529c5325f0e5cd3cf97fd7431d8dc9e79d7a627f 07-Apr-2016 Selim Cinek <cinek@google.com> Fixed a bug with talkback where the panel could be expanded

Some callbacks were still firing even though they shouldn't have

Bug: 27408677
Change-Id: Id70ac43ecd115a47f28bfdfd0aafaa7ded4e6255
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
5104a6db2eb748fafd3918dcb939dd9d3ac281dd 19-Dec-2015 Selim Cinek <cinek@google.com> Fixed the animations on the notification scrims

When pulling down on a heads up notification the scrim would
fade in from 0 instead of fading to the new position.
The old behavior didn't work if the heads up notifications were
big, so we had to change it in order to always have a scrim.

Change-Id: I9ae387b75136c9240d863e06a8649c85b3c6c9dc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
9f96711e1adf4a28f961c440da1626ad40c03bc8 07-Jan-2016 Xiaohui Chen <xiaohuic@google.com> sysui: refactor out PanelHolder

PanelHolder seems obsolete for a long time. Now PanelBar contains only
one PanelView. This simplifies the code a bit.

Change-Id: Ic4da5d4ee72ffe4e36fa084371a8cd6fd102a9bd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
ddcd201b39bb5538984b3baa523cc1fc2969b41b 06-Jan-2016 Xiaohui Chen <xiaohuic@google.com> sysui: remove some dead code

Change-Id: I77f16798971e1984fc4be058f626a1730b8c0c89
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
86b273f1cc59185a14d5bab8a3f4db30c1a4c8a9 15-Jul-2015 Jorim Jaggi <jjaggi@google.com> Fix jank in swipe-up to unlock

Some stuff is slow in the swipe-up to unlock transition. Introduce
DejankUtils to execute it when RenderThread is doing its work.

Bug: 22205322
Change-Id: I7089f0a1bdca13ad13a1e305a7bff32276a3cd53
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
7025f26a99483d333cd8e4df0b919c3b9e9334b3 14-Jul-2015 Selim Cinek <cinek@google.com> Removed logging for the empty keyguard

Only logging the states in the bugreport now.

Bug: 21701756
Change-Id: I8252583300d0162b878dd217c8098c1d6b970ea4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
80c2abe5bb896bd31509b201428208dd4fce8c76 18-Jun-2015 Selim Cinek <cinek@google.com> Fixed a potential bug where the keyguard could become empty

Bug: 21124013
Change-Id: Ia955b1426e13d47a8f191817d55615253012acb1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
3d395c69fa67732ceb2c045d03ea81efa3710afa 17-Jun-2015 Selim Cinek <cinek@google.com> Fixed a jump with the panel scrim

Bug: 21764980
Change-Id: Ib09aa025143025178a9e21390f3a06b37a067e3e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
6a1bd2b3dbc993e63632f12819d77ae5fa872a06 02-Jun-2015 Selim Cinek <cinek@google.com> Added logging to debug empty keyguard state

Bug: 21124013
Change-Id: Icdc085e993aae073ed7c42333f49644624971787
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
b93024f1e8676c3b964cca6f86c9c7056da37d88 07-Jan-2015 Jorim Jaggi <jjaggi@google.com> Remove dead code #10: Clean up PhoneStatusBar

- Remove carrier label
- Remove emergency calls only label
- Remove dead methods and fiels.

Change-Id: If242a8fa926d21d77fc54867f4244e7d82626fff
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
5b0467522c8fd2e17d688e04ec592bdba9f2f012 08-Jan-2015 Alan Viverette <alanv@google.com> Fix bad super call in PhoneStatusBarView accessibility

Change-Id: Ie18e6c9b74dce498c1c830ce983a73aa619c6df3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
a54956a0bc611b1e9b3914edc7a604b59688f6b7 08-Jan-2015 Alan Viverette <alanv@google.com> Fix accessibility delegation

Ensures that delegate code is run last. Previously, calling the super
method from an accessibility delegate set on a widget would only run
code in the widget's parent. Next, the delegate code would run. Finally,
the widget's code would run. As a result, the widget code would override
any data supplied by the delegate.

By moving all overridden code to internal methods, we ensure that the
call chain for super includes the widget's parent code followed by the
widget's code. The delegate code will always run last.

BUG: 17641433
Change-Id: Ib9d403156c1fc4fb04f65f3c126d1277a44b3740
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
934025e8d79975444d8b93cf6a18c7d98760b3ad 25-Nov-2014 Christoph Studer <chstuder@google.com> Turn off DEBUG_GESTURES

Stop spamming the logs.

Bug: 18584495
Change-Id: Icc7337005a0efc0590b502e93c459f05f0a9ace9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
dbbcfbe8aea1944fc0b0ecbf531034bcd5b5770a 24-Oct-2014 Selim Cinek <cinek@google.com> Cleaned up status bar closing handling

This could lead to a bug where there was a hole in the shade.

Bug: 17961295
Change-Id: Ief4bb3f79433a062c4904329e7ca130987d7fe0f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
b690f0d5023fcf144f2701058d5a6f88d66cc97a 03-Jul-2014 Jorim Jaggi <jjaggi@google.com> Clean up user activity handling

- Only call userActivity in down touch event
- Use normal timeout when QS is open
- Clean up old code regarding user activity in Keyguard

Change-Id: I968eeed33fef44def37b68eb1ddc63f1a531ab35
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
b472b347b51f84489217bb5d9c3beeeda1e4e626 30-Jun-2014 Jorim Jaggi <jjaggi@google.com> Improve peek behavior and fix a few bugs in PanelView

- A single tap on the bar peeks and then dismisses it a again.
- Wait for the peek until the layout has happened.
- Add logic to only peek if user is not flinging.
- Fix a few bugs with panel holes (onExpandingStarted/Finished not
called correctly.

Bug: 15856091
Bug: 15407838
Bug: 15942322

Change-Id: I1aedf9d01bc8db3d7fed7cea6e341b0be18a8bd9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
2580a976ec93a01ed00fae51364ad872bc591d95 25-Jun-2014 Jorim Jaggi <jjaggi@google.com> Improve motion when expanding/collapsing status bar.

- 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
b13d36d428054362aa6f450760ecd46421e1876a 06-Jun-2014 Jorim Jaggi <jjaggi@google.com> Always hide status bar icons when status bar is expanded

Also improve the animation when expanding/collapsing the shade for
a jank-free alpha fade animation.

Bug: 15448443
Bug: 15407838
Change-Id: Ieb0ce6d5bb1e5c1fb60d433b6989c52ec6924e8c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
2fbad7b6a724cf0a5b98b66fe639d58f5ab10af3 26-May-2014 Jorim Jaggi <jjaggi@google.com> Show bouncer immediately when MOTION_UP is received

Bug: 15163546
Change-Id: Ie50905b78352e54298cb7e0e3f13152e6c2becd0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
ecc798e6668046c2f67cf30c6ab1db2eba80cab1 26-May-2014 Jorim Jaggi <jjaggi@google.com> Improve scrim handling

Bug: 15163546
Change-Id: I0d2c05b035f832f4b4e6a2fc34113fe9d5677525
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
acea100015dffbb77d137b0681d6c34992e72ae9 10-May-2014 Jorim Jaggi <jjaggi@google.com> Real fix for recent SystemUI crash.

Bug: 14680799
Change-Id: I13b476a5e1b610410caeca642722b16053a2a5ea
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
d7daab7b9e33cd56f2692b9ebea87ef21290c1ea 06-May-2014 Jorim Jaggi <jjaggi@google.com> New layout structure for the expanded status bar.

This also includes a new (very WIP) interaction to get to quick
settings, with clumping the cards and a scrollable container with
the cards and the bottom QS part in it.

Change-Id: Ib073bb0174cddcf60347a5e3bb474fb3b6385bcf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
4222d9a7fb87d73e1443ec1a2de9782b05741af6 23-Apr-2014 Jorim Jaggi <jjaggi@google.com> Change interaction for dragging down to full shade.

Starts expanding the card if it is expandable. If it's not, we
rubberband the expansion a lot. After the threshold has been reached,
we scale all the notifications up and make it fully white and opaque.

Change-Id: I9ecd020ca263b0f84e87fd6ab2332519ac5e9984
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
ecbab3662d4474bbb45477939aaa167eb883212b 23-Apr-2014 Jorim Jaggi <jjaggi@google.com> Introduce SHADE_LOCKED as a special state for the shade.

This state can be either reached by tapping the more card or dragging
down on any card. In this state, the shade is fully interactive, but
the phone is stil locked. This state can only be enterred if
redaction is off but security is on. If redaction is on, we will show
the bouncer instead and go to the normal shade.

Bug: 14161523
Change-Id: I95ca0991745ffc11ed1028581e3da15265c12ae5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
fa505a7f26bdf685c701e92b481602eb59d7ff56 28-Apr-2014 Jorim Jaggi <jjaggi@google.com> Attemp to fix blank lockscreen #2.

Bug: 14280857
Change-Id: Ib868cc7a01d24f7169310774a5397b90a2d5b35f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
e70d31f48d1c123544eb5e72b7b007d81ae8d8c9 24-Apr-2014 Jorim Jaggi <jjaggi@google.com> Add text view for double-tap and unlock hint on Keyguard.

Bug: 14080971
Change-Id: Id6f7344b01bb9666fe6add415ec4a28163315967
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
507288322b11ae27ab8f47438d3ef4203dad0192 18-Apr-2014 John Spurlock <jspurlock@google.com> Remove obsolete settings panel artifacts.

I don't always have quick settings. But when I do,
they live in a flip view, not a separate panel.

Bug:14133785
Change-Id: I3df11d7de308a36a800eb7582a71e3febc897fec
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
e46f521161a4269b44f30c9afb19ea3df7cbfeae 11-Apr-2014 Jorim Jaggi <jjaggi@google.com> Change scrim on lockscreen and transparency of cards a bit.

Bug: 13635952
Change-Id: Iaae4728fd7ed4944b3a2b80343bbdeaa5438ca9c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
03c701ec58ff6de3cc3c53b05342a475a63a11cf 02-Apr-2014 Jorim Jaggi <jjaggi@google.com> Basic implementation for notifications on lockscreen.

This change makes PhoneStatusBar expand while the lockscreen is
showing. Further, the KeyguardSimpleHostView is shown by
KeyguardBouncer, and the Bouncer is shown whenever the user tries to
unlock the phone (closing the shade).

Bug: 13635952
Change-Id: I4354b7a7937af6e1c93abf16ad6e485376d16bc2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
ab847cf16dd42af71a6e4a444709c1ce1a227bc6 15-Jan-2014 John Spurlock <jspurlock@google.com> Tear down bars on destroy() and avoid null pointers.

Change-Id: Ie393689bbf2f0b28895bfde5098c883b5d4ea4a6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
c19418e3f52bd6c88dae433750daf1ce15fafe23 25-Oct-2013 John Spurlock <jspurlock@google.com> Reset our status bar window fade color on screen off.

Previously, turning the screen off with the panel expanded would
run one time through panelExpansionChanged, leaving the background
in an intermediate state.

This has probably been around for a while, only uncovered now
that we can see it (if the status bar is translucent).

Bug:11357145
Change-Id: I55b768696c8791f82265a61d2c0f665503ad8bb0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
7edfbca5d00cbc376fda790b50a3fedb9c6070ab 14-Sep-2013 John Spurlock <jspurlock@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
74ac2ecb447c4489733e627e3f39e38ce19b8fda 08-Sep-2013 John Spurlock <jspurlock@google.com> Restore alpha animation to status bar rhs icons.

Avoid the view group to prevent stomping on an existing animation.

Bug:10653941
Change-Id: I3d2bdd6360699d3d70c158ec1b8f832bd7205147
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
fceb7edddeda6962212377cb88391d9affe5967a 07-Sep-2013 John Spurlock <jspurlock@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
21efa9ade3a5ff1854bf53a3fdf964d598ef9783 07-Sep-2013 John Spurlock <jspurlock@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
cfc359a9e6798dc7595380314eac7fcfeda14d76 05-Sep-2013 John Spurlock <jspurlock@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
e6f0a716501e57616c8e1d809c0f60b08d21eb0a 03-Sep-2013 John Spurlock <jspurlock@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
b77edbfdab54531023c8bbea7d89b6cefc42096c 22-Aug-2013 John Spurlock <jspurlock@google.com> Improve transparent bar transitions.

1. Migrate transparent transitions to the new optimized
background color animations.

2. Ensure sysui animation transparent -> opaque has enough
time to run before window manager crops off the content area.

3. Lose the individual alpha on each status bar icon if the bars
are not opaque. Animate the alpha if visible, make sure they
play together.

4. Documentation typo fix found in AnimatorSet.

Bug:10344949
Change-Id: I615668ce3c552d3df15dbba5cdeeca67549a0220
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
89835ddf327ef256b44d91cf1fd1898c0599eb48 16-Aug-2013 John Spurlock <jspurlock@google.com> Lose navigation bar icon alpha in transparent modes.

Also decouple visual style from bar mode in preparation for future
changes.

Bug:10344949
Change-Id: I8e5a94b023cd6a6606c3aab485f81b1494295cee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
e932e30eadb5978591316ffe3d21d60604c0cd91 12-Aug-2013 John Spurlock <jspurlock@google.com> Distinguish transient + transparent bar styles.

Transient bars = 30% black scrim per spec (formerly view alpha).
Transparent nav bar = Simple gradient drawable from 50% to 0% black.
Transparent status bar = Fully transparent.

Smoother transitions between bar modes will be tricky due to
coordination with window manager, and thus deferred to a separate
future change.

Pre-baked assets instead of the gradient drawable will also be
part of a separate future change, this change is simply meant to
move closer to the final look and feel to minimize confusion for
those kicking the tires on the new flags.

Bug:10012887
Change-Id: I8c35a660187903224a6bfe604b5313e9115c4a73
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
9afc50dedaed6e01644171fa2f17edcb5b29e0c0 30-Jul-2013 Chris Wren <cwren@android.com> Animate the heads up notification into the shade.

Bug: 10001874
Change-Id: I14ece05dbc29a93a551381c6ddc3cbbb8a331430
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
9764218ff979f735aee2f1189e3547d5f3b02f83 29-Jul-2013 John Spurlock <jspurlock@google.com> Collapse/disable shade when hiding status bar window.

Provide system bar window visibility (showing/hiding) to sysui,
information it did not have before.

Use this new info to disable shade interaction when bars are hiding.

Bug: 8682123
Change-Id: I4105b789866f847582af1c68a703240d773fa71e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
a5baf891024888eefdd1d1f6ed1e2923f0600681 25-Jul-2013 John Spurlock <jspurlock@google.com> Remove obsolete optimization.

Reverts JB optimization I7ae978caa1f28932ee56f65484b18330a4406b80
made obsolete by I2f9b0591d44599b07bd83f03c4e09e6dd98e1448 in MR1.

Change-Id: I8a738624f9a902648e317f2eac25fd56c3b47a46
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
209bede6b9edb9171e5bee4077b48e35004a37b4 17-Jul-2013 John Spurlock <jspurlock@google.com> Remove trailing whitespace from system ui.

Baseline existing .java files, no excuses going forward.

Change-Id: I4bd0f25bbda6f2ec832e34ef5c70d4830bf07f99
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
cd686b5b6d4166b510df8e32138479a9559bc117 05-Jun-2013 John Spurlock <jspurlock@google.com> Migrate systemui Slog calls to Log

Change-Id: Ib6734c85960f06fed646599565b8eeba26b9e98e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
64161ccb2f3341ebe1675e38a999250c7967d0ad 17-Dec-2012 Chris Wren <cwren@android.com> add logging to debug panel touches.

Turn on gesture recorder.
Add events to the Event Log.

Bug:7686690
Change-Id: I53b7d43f5bdc002360e305182597765f3c430b11
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
8afcd149970c79054a3a16377834aa0aec35eee0 28-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Make SystemUI RTL aware

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Ica88ed68f893d5272691a9207788b65623849dee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
025e7cb4a186092692e76456e4c4404ab4103fe8 17-Oct-2012 Daniel Sandler <dsandler@android.com> Fade out the notification/settings panels just before close.

Bug: 7362346
Change-Id: I437a98f4400c0a14b038c268ccf78a322d992681
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
6e2810bb981582a235f27c70885ee55bf71f0174 17-Oct-2012 Daniel Sandler <dsandler@android.com> Fixes for QS:

- don't show clear all on the settings page if a
notification comes in
- delay makeExpandedInvisible when all panels are collapsed
to ensure that the last frame of panel animation can show
in its entirety

Bug: 7362346
Change-Id: I5303f03ea5ee654e222aff0b62ab69f98dc16978
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
3679bf58fb2f59745b416b26126b7e2a673c54d8 17-Oct-2012 Daniel Sandler <dsandler@android.com> Quickening.

+ Baseline align all header elements.
+ Make clock clickable.
+ Remove clock tile.
+ Reorder tiles.
+ Hide status bar behind panel on phones.
+ Make status bar peek animation show the whole header on phones.
+ Stop hiding status bar bits on phones.

Bug: 7350584 // baseline align header, make clock clickable,
Bug: 7351760 // hide status bar behind panel
Change-Id: I888752b64c56e80c3f5581fd8ee1cfd7c50eab7c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
e111ad300d614a0f94e30f96ae664a1de578c48a 13-Oct-2012 Daniel Sandler <dsandler@android.com> No, that's German for "The Quick Settings, The".

Bug: ???????
Change-Id: I24ffb21b1566d98c9df6db48c4062390757cd8bc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
efb0faf1c043777762eecfef87ec575632c365e1 10-Oct-2012 Daniel Sandler <dsandler@android.com> Remove the double-swipe to access quick settings on phones.

On the plus side, the settings button is back!

Now that we have two buttons on the right-hand side it's
more important than ever that the notification panel header
not allow errant taps to go all the way back to the
notification panel, where they will drag/close it.

Bug: 7319756 // remove double-swipe
Bug: 7217201 // finally make the notification header black
Change-Id: I8b2d6c7a7cfaaed2bfbcd61fb45db9f234cb002d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
bac221ff0b9e1406f95f23c9a5c3b580ece10eab 04-Oct-2012 Casey Burkhardt <caseyburkhardt@google.com> Accessibility enhancements within quick settings and notification shade.

Change-Id: I377c389abe3ce2285a620e60f4c8de4727f4f5c9
Bug: 7229886
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
750bb9bff9fccf94f4bbf5945e10ce3f76534e7f 03-Oct-2012 Daniel Sandler <dsandler@android.com> Fix a bug in double-swiping panels...

...that could cause them both to be shown at once.

Bug: 7179458
Change-Id: I32e51bd6d4f5773d0f4f5d3e99a84d299cd4b766
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
67eab79051eea2d4f8fda4a2a698900ffacfb557 02-Oct-2012 Daniel Sandler <dsandler@android.com> Panel physics changes.

- You can start pulling down another panel before the first
one has fully expanded. (Protip: tap many times on the
statusbar to invoke Schwarzenegger Mode.)
- When starting to pull down a panel, other panels are
immediately sent running (rather than placing them on a
literal seesaw).
- Rubberbanding is a little less aggressive: if it looks
like you're moving your finger upward, we'll just close
the panel outright rather than sticking to the bottom of
the visible content. (tablets only)
- This has some implications for the background fade; you'll
see a brief increase in brightness as you swap panels
because the fade fraction is based on the sum of all the
panels' fractional visibility. At times there will not be
enough "panel" visible, in the aggregate, to justify
holding the fade steady.

Bug: 7260868 // can't pull down panel, possibly fixed
Bug: 7204435 // double-swipe for QS
Bug: 7179458 // fling & rubberbanding heuristics
Bug: 7172453 // collapse other panels when dragging a new one
Bug: 7221970 // grabbing a flying panel causes twitching
Change-Id: Iad7c1f92c4edab9102cdda45605ef0ead4cc16c5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
5a8aefa6c8ab2f129bc6477a49cd0876ec5d72fa 25-Sep-2012 Daniel Sandler <dsandler@android.com> No more double-swiping to toggle panels on tablets.

This also fixes up the drag regions so that quick settings
is only assigned the right 1/3 of the display (or 100dp,
whichever is larger). It had been that more than half of the
status bar, when dragged, would pull down QS.

Bug: 7217002
Change-Id: I515b6e19deab305b99784c7287d8f04fa9b22dc7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
198a0306e5b0ef6b02d61e299a4b4ab4c1c2cdc8 17-Aug-2012 Daniel Sandler <dsandler@android.com> Fix the seesaw behavior on the status panels.

The code in onMeasure that attempts to accommodate changing
child boundaries (i.e. an expanding/collapsing notification)
was locking the window size to the child measurement, even
though another window was trying to seesaw it closed. We now
only activate the rubberband behavior when the size of the
children changes, not on each onMeasure().

Lots of other small fixes to the panel expansion logic, too,
including ensuring that the expanded fraction doesn't jump
to 1.0f when the panel content hasn't been laid out yet
(causing the entire screen to become dim for a second thanks
to PhoneStatusBarView.panelExpansionChanged).

This change also restores the ability of Binder clients
(such as accessibility systems) to expand and collapse the
status bar.

Bug: 7008196
Bug: 6995518
Bug: 6628429
Change-Id: Ib0244a27aef2b4dbe19be98f7e039a9d38f1b80e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
b8ea2f59e2727020ac211d5b6f6d421314546439 24-Aug-2012 Chris Wren <cwren@android.com> [phones] Only allow double-flick opening of the quicksettings panel.

Bug: 7043587
Change-Id: I39d208626c477e8c081c9d81c3124eb631152998
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
98365d7663cbd82979a5700faf0050220b01084d 20-Aug-2012 Jeff Brown <jeffbrown@google.com> Refactor for multi-display support.

Split WindowManagerImpl into two parts, the WindowManager
interface implementation remains where it is but the global
communications with the window manager are now handled by
the WindowManagerGlobal class. This change greatly simplifies
the challenge of having separate WindowManager instances
for each Context.

Removed WindowManagerImpl.getDefault(). This represents the
bulk of this change. Most of the usages of this method were
either to perform global functions (now handled by WindowManagerGlobal)
or to obtain the default display (now handled by DisplayManager).

Explicitly associate each new window with a display and make
the Display object available to the View hierarchy.

Add stubs for some new display manager API features.

Start to split apart the concepts of display id and layer stack.
since they operate at different layers of abstraction.
While it's true that each logical display uniquely corresponds to a
surface flinger layer stack, it is not necessarily the case that
they must use the same ids. Added Display.getLayerStack()
and started using it in places where it was relatively easy to do.

Change-Id: I29ed909114dec86807c4d3a5059c3fa0358bea61
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
5050813f15a1d39d49cb8eca5a3aa6df43c4d450 16-Aug-2012 Daniel Sandler <dsandler@android.com> Allow the panels to be temporarily dragged past their contents.

Once the user lets go, restore the "correct" height of the
panel.

Bug: 6999596
Change-Id: I2db393873cee876cf17fea25c9d25fe5e3a78424
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
1e8feef1faca7d2f14bf459691dbe724c8cf5c88 16-Aug-2012 Daniel Sandler <dsandler@android.com> Fix status bar disabling.

Bug: 6998403
Change-Id: I8a47e694f2f3914ef5cf0d180b0309783148c627
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
cf591db04914d8ceadd982451b325bd8c4817086 15-Aug-2012 Daniel Sandler <dsandler@android.com> Confine the quick settings trigger to the right third of the status bar.

Pulling down anywhere on the status bar when a panel is
already showing will switch to the other panel.

Also adjust gesture recorder output to track the settings
panel and annotate it separately.

Change-Id: I0ca3b395b5f2c6c8767237126bce26d0e8c9b8c0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
8e72c9e19cfb0b6c1463fa841f1dd02be8f3b4e1 15-Aug-2012 Daniel Sandler <dsandler@android.com> Quick settings come to all Android devices.

I mean, real soon now.

Change-Id: I9a15b49f271e7ae06eb48a402f58270d8adccbf4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
1c1edaa5f127d814058271ee4827fc0fe4a8de44 14-Aug-2012 Daniel Sandler <dsandler@android.com> Use a color resource to specify the dim behind panels.

Change-Id: I551d9969dc1f4032f26fd94cf9719f07873abb5e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
08d05e3d1d6ade6924266296033981a96b47d5fb 08-Aug-2012 Daniel Sandler <dsandler@android.com> New status bar capable of multiple sliding panels.

There are some visual glitches but almost everything should
be put back pretty much where it was.

Change-Id: I2f9b0591d44599b07bd83f03c4e09e6dd98e1448
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
a4b7f2f75e7803193429ec1179fb5e2eb1c6fbda 21-May-2012 Dianne Hackborn <hackbod@google.com> Use two fingers to work some magic...

Change-Id: Ibcb3dbd3d158c22da8277e544d81fb47eadccd49
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
0c8275b392344c24bb621b2a8af360f48a6459f9 08-May-2012 Chris Wren <cwren@android.com> Pull up updateNotification to BaseStatusBar in preparation for modifying update behvior.

Bug: 6455789
Change-Id: I09fbf4d31643813cb4dfecaa496327d9625a15af
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
c4f2a5652dd42fdb43a94e341b7a2034b0211a21 04-May-2012 Daniel Sandler <dsandler@android.com> Back button dismisses notifications again.

Bug: 6441337
Change-Id: Iabc97cd2a3f66ee2af5406807b3023908965b8c8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
c6d29fc0f552db7cfee6491530cf89f59c242bd4 25-Feb-2012 Daniel Sandler <dsandler@android.com> Newly reimplemented PhoneStatusBar, now with fewer windows.

Change-Id: I4eaf69a1d46f9180d6911a6559ff24d173ccb35b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
d309056d36759446c91ff5c1e17a217bfa4fdcfb 09-Aug-2011 Daniel Sandler <dsandler@android.com> Add settings button to notification panel.

Also move date to panel in place of carrier name.

Bug: 5076789
Change-Id: I498dc1e29581829c123b3cc0a8c81551ac8bdbe2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
1dacf2772d0099ae74f42f81d162a3d0e180ffb7 03-Aug-2011 Dianne Hackborn <hackbod@google.com> Reduce memory usage of status bar expanded view.

It was configuring this to have its width follow the display size
but height be a fixed amount. As a result, during a rotation we
would end up with a surface that is 800x712, which uses a lot more
memory.

The fix is to just always set the window to a fixed size, changing
it when the display size changes.

Also the expanded view was setting itself to use a hardware layer
for no reason -- it is a top view so there is no point in this,
and anyway it is doesn't even use hw rendering. This saves 1.5MB
of the layer bitmap.

This change also fixes the returned problem where the expanded
view would flicker when pulling it down in landscape.

Change-Id: If57420b0bc3fdc2706d2d3b36cb2d287b5fc9e27
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
6179ea3196e9306d3f14361fe9ef14191b1edba6 28-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility support to the Status Bar.

1. Added content description to pretty much all animals
in the zoo including buttons in the navigation bar,
notifications and status icons for battery, signal,
data, etc.

2. Rectored to avoid ovelaying views since they block
touch exploratino. In general overlaying views
cause trouble for touch exploration and accessibility
in general.

3. Avoid sending accessibility events in case the user is
touching outside of the StatauBAr panels to avoid
confusion.

4. Added records to accessibility events in the places where
this would help the presentation. So the event comes from
a given "leaf" view and its predecessor is adding a record
to the event for itself to provide more cotext. It is up
to the accessiiblity service to choose how to present that.

bug:4686943

Change-Id: I1c1bd123d828fb10911bca92130e9a05c1f020b3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
fd52b18d9bf3cd62c7a07058536e9f97db65beea 11-Nov-2010 Joe Onorato <joeo@google.com> The beginnings of the new status bar.

There is a lot of rough stuff still, but most of the functionality is here again.

Change-Id: I4b1241e61270f1434e798481afa83634233ee670
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java