History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0a7d9f275e6481c36726f058c8af799bc24d5408 15-Mar-2017 Jason Monk <jmonk@google.com> Fix duplicate status bars once and for all

Save the state when the fragment is getting re-created so we come
back up in the same state we left in.

Fixes: 36082443
Test: Change density using "adb shell wm density"
Change-Id: I531de728b1f4bf59d4def7ebc5562b3a1ee6694b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.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/PanelBar.java
48ff9b48335b6a22795f798ff07c9a6d83078c1c 10-Nov-2016 Selim Cinek <cinek@google.com> Improved the transition into the statusbar

When expanding, the shelf now transforms into
the statusbar, providing a more seemless transition.

This also modifies the panel peeking:
previously the panel was always peeking right after a tap timeout
which would take the panel away from the users finger.
The panel is now only peeking when the user clicked on the bar instead.

Test: Add some notification and collapse the panel. Observe nicer transition
Bug: 32437839
Change-Id: I772f6684e1cee2004e9b366d203a5c5188af4a93
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.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/PanelBar.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/PanelBar.java
1689594851a6dd985cff69913e7f4bc548062808 23-Jun-2015 Chris Wren <cwren@android.com> don't clear notification effects in response to peeks

When the heads up appears it generates a visibility event for the panel.
This always clears the notification effects (buzz, beep, blink).
If we suppress that for heads up notifications, we never get another chance.
So we add a new call when we open the shade from the heads up to catch this case.

Bug: 20947591
Change-Id: I233e5346617ca2fce7851bd85154c838849df8f7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
6857ffc940bc204269de4ae2a1937794f254286a 17-Jun-2015 Selim Cinek <cinek@google.com> Merge "Fixed a jump with the panel scrim" into mnc-dev
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/PanelBar.java
3531a95aaa956366ff29f0b99691b82c6c3e2045 10-Jun-2015 Adrian Roos <roosa@google.com> Hide StatusBarWindowView from a11y when bouncer is up

Bug: 20343910
Change-Id: Ib4c5e57f8494d980c3b2db2cd37fb478da7996eb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
90975e38dd91df12e015b793f4b2a39051785041 04-Jun-2015 Selim Cinek <cinek@google.com> Removed Log message when expanding from HUN

Bug: 20828502
Change-Id: I116afbebe6e6042bb7939892a8ba516d06ba911d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
d0b2f7ddcac251acfe88092ecef4abb63b3e248b 29-Apr-2015 Adrian Roos <roosa@google.com> Hide lockscreen contents from a11y while bouncer is showing

Bug: 20110598
Change-Id: Id65b44b06123dcc4625f46090d7d5c234b0ae951
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
f3b3bee12994a24b60bd447dede9e8791151fcc9 16-Apr-2015 Jorim Jaggi <jjaggi@google.com> Speedup unlock when authenticating with fingerprint

Change-Id: Ib76ff7a2a42cf6fc77848ef799c2a13b77cfebb2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
b8f09cf5533d458868a335ce334e4880b2b0788d 17-Mar-2015 Selim Cinek <cinek@google.com> Integrate Heads-up notifications into the shade

Change-Id: I4ca0fb4e76e7c974490538c168da0564fe97e0ae
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
27c9b7435083c5620bddefa0cce6a056863b4801 09-Apr-2015 Jorim Jaggi <jjaggi@google.com> Keyguard FP UX update

- Add scanning and error states to UI.
- Do not delay dismissing the panel when authenticating via
fingerprint.

Change-Id: I82e71c554c56e53ddf0677dca3e6909f7cedd59d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.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/PanelBar.java
8a63806a8d866c28a4983b07760603b690de48f3 29-Sep-2014 Jorim Jaggi <jjaggi@google.com> Revert "Add massive logging to investigate blank Keyguard"

This reverts commit 10ead64346b2651be144ac591117cc2413d8caa3.

Bug: 17475334
Change-Id: Ie7103a2ede1f00a91a2afc51d9e6ecf5ae569545
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
b01287fbfb548da2efb4f0e42bdcbdd4d1c950da 12-Sep-2014 Jorim Jaggi <jjaggi@google.com> Add massive logging to investigate blank Keyguard

This CL needs to be reverted after the issue is fixed, as it clutters
the code a lot.

Bug: 17439581
Change-Id: I548fdd73bbcd6d6ce727901f9dcd9f3f7268db9d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
8de4311c51229efbe2f2d0afbf298982c5cadd96 11-Aug-2014 Jorim Jaggi <jjaggi@google.com> Lockscreen launch animations

- Get rid of ActivityManager.dismissKeyguardOnNextActivity, which was
used for two different things: Dismiss keyguard from somewhere else
(not really necessary anymore), wait to actually dismiss keyguard
after the window behind is drawn. Instead, introduce
keyguardWaitingForActivityDrawn(), and change the semantics where
necessary.
- Make wallpaper_close_enter consistent with task_open_enter and the
Keyguard launch animation.
- Close the panel even on lockscreen when launching a notification.
- Block notification shade updates during the collapsing motion so
notification don't play the disappear animation immediately after
having launched a notification.

Bug: 15991916

Change-Id: I133c177b84e926c87c1a404ba93d633593fec3ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.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/PanelBar.java
dbbf45e79affa3e29b0f376719d297fe9c1f8a37 25-Jun-2014 Jorim Jaggi <jjaggi@google.com> Attempt to fix infinite recursion.

When collapsing a panel without animating, it might be that an
overscroll animating was still running, and thus expandedHeight != 0
even if we set expandedFraction manually to 0, which sets the state
to STATE_OPEN again and tries to close it in an infinite loop.

Bug: 15721600
Change-Id: I14e0ee43fb4a47286d618cc97581d4e4a98fb2a2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
3c4635c19997748e0b21453f3462e347905534e0 29-May-2014 Selim Cinek <cinek@google.com> Fixed a bug where the user was unable to pull down statusbar.

When going to the phone or camera from the lockscreen, touches
where blocked and the statusbar could not be pulled down anymore.

Bug: 15308821
Bug: 15126905
Change-Id: Ic9563346f6a466cb5ada3f4af518fabcd650e9b9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.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/PanelBar.java
9dbbca879ecab36c4bb0982c1499b30a33228aed 15-May-2014 Selim Cinek <cinek@google.com> Fix not being able to pull down status bar.

Bug: 14648079
Change-Id: Id3dbf0b781d5d4777f013804a3877df3347a38fa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.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/PanelBar.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/PanelBar.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/PanelBar.java
de84f0e77ea2bf713d15c290264059a413c2486a 12-Jun-2013 John Spurlock <jspurlock@google.com> Organize the imports in systemui.

To follow android conventions, more importantly to remove the
unused.

Change-Id: I75881718e84360a579a3b02c26489ad250bc9227
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.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/PanelBar.java
2b99a49c2e2dec29d350b662d5b45bca59cfd5c6 05-Feb-2013 Daniel Sandler <dsandler@android.com> Log messages to debug stuck status bars.

Bug: 7686690
Change-Id: If9660767a8ce6315dcd4b0c52f377069fefeb7a1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
50a531337e7d6d49b40a1c96636962507ccf6c61 24-Oct-2012 Daniel Sandler <dsandler@android.com> Missing copyright headers.

Change-Id: I0fac062ffa52fc21f32d25d3f0a38e263e701c46
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
040c2e4ace25a45bc701821da4fa786e6dd75ead 17-Oct-2012 Daniel Sandler <dsandler@android.com> For Matias.

<3, dsandler.

Bug: 7348917
Change-Id: I193a94ab82a9e59068c95624c2e8d375543f71f7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.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/PanelBar.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/PanelBar.java
c38bbc391ae4ec5945d5fa408da3994552f775eb 05-Oct-2012 Daniel Sandler <dsandler@android.com> Lubricate a sticky notification panel.

If the panel was left open when the screen was turned off,
in some cases it might get stuck in an "open" state (the
panel's expanded height would be nonzero) although the
status bar window is in fact fully collapsed (due to
makeExpandedInvisible). The next time the user would go to
open the panel, things would be in an inconsistent state and
the panel wouldn't come down (on phones, the settings panel
would be attempted, but still nothing would happen).

This was easiest to reproduce on the keyguard (turn on
screen, pull down panel, turn off screen).

Bug: 7260868
Change-Id: Iec0000ba020e5a519eb5b4d42ac273b6689a18bd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.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/PanelBar.java
919adac28bd6a9888c3bbd53a1736f260bc76bbf 02-Oct-2012 John Spurlock <jspurlock@google.com> Disable quick settings for users until USER_SETUP_COMPLETE.

If the current user has not yet made it through the setup wizard,
disable the quick settings panel entirely.

Use Settings.Secure.USER_SETUP_COMPLETE as the signal. This is a
per-user setting, so be careful to observe only on the current user's
behalf.

Bug:6712493
Change-Id: I3076a8a550165a9eeccf7fb129d470ef4ddeaed4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
173bae2c674b2bc25cf376cbb4e150bd86703049 25-Sep-2012 Daniel Sandler <dsandler@android.com> Improvements to notification/settings panels:

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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.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/PanelBar.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/PanelBar.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/PanelBar.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/PanelBar.java
978f853d189c1857190b4a2e200c7a283e31ca14 15-Aug-2012 Daniel Sandler <dsandler@android.com> Fix situations where the panel wouldn't descend.

Change-Id: I41c1d6a973b2693487062f3a5fbf922ff2025897
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
bf4aa9d5bc34df144afcab45e8045d34a0ac090a 15-Aug-2012 Daniel Sandler <dsandler@android.com> Turn off chatty logging for everyone.

Change-Id: I6c6f48012df8a551ae4f2b2a9cd2713184234763
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.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/PanelBar.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/PanelBar.java