History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b018399a3a2762e95126acbe14397eca15bad772 22-Dec-2014 Christoph Studer <chstuder@google.com> SysUI: Log lockscreen gestures

Log the following lockscreen gestures:
* Swipe up to unlock
* Swipe down to enter full shade
* Tap in empty area (causing unlock hint)
* Swipe to camera
* Swipe to dialer
* Tap on lock to lock device
* Tap on notification, activating it

For swipe gestures, includes length and velocity where available.

Bug: 18767135
Change-Id: Ib2c535e3a9d2b378f5a2a0a00c2be3fd916554ac
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
abcb0590cd79933e8012743277566159a02a0ec9 14-Nov-2014 Jorim Jaggi <jjaggi@google.com> Don't play hint animation when touching to wake up

Bug: 18146441
Change-Id: Ie7e17a26c70d4fb0dd94787cce9e5baa0d775bde
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
aea80f40d8dc55b7de5b3d0efe78f63eeb7c2745 10-Nov-2014 Jorim Jaggi <jjaggi@google.com> Cancel lockscreen/shade gestures when orientation changes

Bug: 18293929
Change-Id: Ifbf91c42fa9e68aa688ca4c390fcc24a358212a9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
06a0c3a4459de084ecf8f1a8920edf36c41ac164 29-Oct-2014 Jorim Jaggi <jjaggi@google.com> Implement nice transition for unlocking while QS is open

Also allow to swipe from the very bottom on Keyguard to close both
QS and notifications, to have the same behavior like in the normal
shade.

Bug: 18167287
Change-Id: I2150ac5834efe1061ca8c8d32815a481c0796c97
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
ab1dc954b2b97b59f868c96921f2daabc3336034 30-Oct-2014 Selim Cinek <cinek@google.com> Fixed a bug that the panel was not closable in the locked shade

This happened when draging on the active lock icon.

Bug: 18185875
Change-Id: I27917fad000bc89f37b82fc8be978d867356904e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
3a9c10a2861404f1be9f06a3a54ae18803c81d1d 28-Oct-2014 Selim Cinek <cinek@google.com> Fixed a bug when tapping in the empty space of the notification panel

This happens often when tapping in the dismissView area.
Also fixed a bug where the decor views and the speedbump where swipable.

Bug: 18031244
Change-Id: I2c9685e068420c21032affb3aa58f7d53183ff52
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
0b1528aac46007f94f0e073143708240b0c7c144 28-Oct-2014 Jorim Jaggi <jjaggi@google.com> Make status bar expanding more tightly coupled to finger

Improves the "direct modification" feeling a bit.

Bug: 17040206
Change-Id: Ide4bfb36aef584da36e0340bc2ed099e2e24c0ee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
1b459f89a738fa913ed12fe893e435b2f6cc9416 24-Oct-2014 Selim Cinek <cinek@google.com> Merge "Cleaned up status bar closing handling" into lmp-mr1-dev
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/PanelView.java
5256d93121d03b8d23053eead8c11bb3c43db109 22-Oct-2014 Selim Cinek <cinek@google.com> Fixed a bug where the indication text could get too high

Bug: 17645187
Change-Id: I8b526be55cd554ae4656797ea5e737135952d32c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
02af41efe54eb2cc8fde7311e4cf5f0e5ff2373c 14-Oct-2014 Selim Cinek <cinek@google.com> Fixed a bug when double tapping a notification in the normal shade

This fixes that sometimes holes where created when grabbing the panel while
closing the shade (eg. double tapping) or the notifications did not disappear.
It could also happen when using the clear all button.

Bug: 17969040
Bug: 17899136
Bug: 17961295
Bug: 17551216
Change-Id: Id7aa37bbcbae504039f90686e2bc364d18685205
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
6bb4a9b356bdb141e353a8115e100029bed3eb88 10-Oct-2014 Selim Cinek <cinek@google.com> Fixed a bug where the panel got into a wrong state

Bug: 17939708
Change-Id: Ieaa9dc2fc0c92ce52b02ac4ea452df47ee492ac3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
a1b84165f9520c025c59f5b2d93a65d4609b8088 30-Sep-2014 John Spurlock <jspurlock@google.com> Merge "Don't play hint animations when dozing" into lmp-dev
d7912d2f106053bf4965d137b436e0b5b863f184 30-Sep-2014 Jorim Jaggi <jjaggi@google.com> Don't play hint animations when dozing

Bug: 17718416
Change-Id: I2c27b4ea479ee46612eb5284a2c872d03dc52ab0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
ee98df79a1797323aaa6d645e9cd5dc6a7cc0ee4 30-Sep-2014 John Spurlock <jspurlock@google.com> Doze: Log screenOnFromTouch when flinging.

Bug: 17350239
Bug: 17496795
Change-Id: I4a8e26c2fc05cf4396e9c8cb58e81b4f95c531e6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.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/PanelView.java
29ed3c92ef8a28975606f6213477ce5ee2c99ba9 23-Sep-2014 Selim Cinek <cinek@google.com> Enforcing falsing-threshold on touch when using AoD

Also increased the threshold by a factor of 1.5 if
we are waking up due to a touch.

Bug: 17350239
Change-Id: Ida8bad234b3815abf80ca57f8004f3bc5df003cd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
813552cc27cbeac366166cdda82fd813c8458bbf 19-Sep-2014 John Spurlock <jspurlock@google.com> When dozing, re-enable falsing threshold and log events.

- Reactivate our configured keyguard falsing swipe threshold
for secure keyguards, but only when dozing.
- Add DozeLog helper to capture/maintain interesting events
about the doze + unlock process, enabled by default, but
only on devices that start dozing at least once.
- Dump summary counts + logged events to dumpsys output.
- Pass notification pulse "instance" as an extra to the scheduled
intent, so we can log accordingly.

Bug:17496795
Change-Id: I7e88f93bfc967bdc06550cf1fe5e74d535edd774
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
50d87a7fb4fd146112ce1b080d618f67fe08884b 12-Sep-2014 Jorim Jaggi <jjaggi@google.com> Add touch disabled state output in dumpsys

Bug: 17439581
Change-Id: I1e071e849b1196485b633716aebf19aebc63a4b2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
d41083ad06f63e335a1d1a1d5050ed3646f4fd35 12-Sep-2014 Jorim Jaggi <jjaggi@google.com> Attempt to fix invisible Keyguard #2

Bug: 17439581
Change-Id: Ib38d9be3271081b33c23b3b17b2ed7790c71729b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.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/PanelView.java
ef764551c9bcb5541cb3076f6caece90a71069da 10-Sep-2014 Jorim Jaggi <jjaggi@google.com> Merge "Fix invisible Keyguard" into lmp-dev
5cbfe5476b1422c63363c6899d455870bed15663 10-Sep-2014 Jorim Jaggi <jjaggi@google.com> Fix invisible Keyguard

Bug: 17439581
Change-Id: Ie649af4a3455a650ab46372f1e5500b530a24f34
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
98139559af15d85b8a34c02fe9bc97fba901a4b5 10-Sep-2014 Jorim Jaggi <jjaggi@google.com> Don't let two closing animations run at the same time

Fixes a flash when clicking on a single notification.

Bug: 17450892
Change-Id: Ia99c21a0bb30ce100532cfab66c96ec24f2412bf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
d9df4217237f9bc2ffb130d162afd4e90de5179c 03-Sep-2014 Selim Cinek <cinek@google.com> Merge "Tuned anti-falsing thresholds on the lockscreen" into lmp-dev
5386fb337d3f2bd9b0ea673b5f60483246e5d0cd 03-Sep-2014 Selim Cinek <cinek@google.com> Tuned anti-falsing thresholds on the lockscreen

Also added logic to provide nicer animations when falsing.
In addition adapted the clock scale slightly if dragging
in the void.

Bug: 15433087
Change-Id: I4d8eb26cc81d22647ef4d2eca1e69b4994a7f1e2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
e62d589bea54e58054ae16265c92e974a8250ff5 02-Sep-2014 Jorim Jaggi <jjaggi@google.com> Fix expanded notifications on lockscreen

Bug: 17340086
Change-Id: I388f859cea1ad5daf195590512ee684e88b9299c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
19c8c708f16546fc75ae12659aa190f5e3dfbb52 25-Aug-2014 Selim Cinek <cinek@google.com> Added anti-falsing logic to the keyguard.

Newly enforcing a threshold for the following cases:
Unlocking, Dismissing Notifications, Swiping Down Quick settings.
Also increased the affordance threshold slightly.

Bug: 15433087
Change-Id: I723346dedf9ae0e3f8b103182992ab572fc394b9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
b7a3303f807ee01bbe405f4153a2285e55c0b6e3 20-Aug-2014 Jorim Jaggi <jjaggi@google.com> Fix QS expansion weirdness #2

Bug: 17138703
Bug: 17047680
Change-Id: I4058d9a2e349c4a52ab167638471a1eb11753380
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
31094df5c6e3cb3a4a4faacb091e35eea1f6a5de 14-Aug-2014 Selim Cinek <cinek@google.com> Fixed several bugs with the notification shade

Cleaned up the code around mMaxPanelHeight of the
PanelView which could lead to flickering during
peeking.
Changed the panel opening logic to account for lag
when we need to wait for a layout, which could lead
to inconsistent animations.
Fixed a bug where holes could appear in the shade
when notifications were updating.
This also improved the general updating behaviour
which is now done in a nicer animation.

Bug: 15942322
Bug: 15861506
Bug: 15168335
Change-Id: Ifd7ce51bea6b5e39c9b76fd0d766a7d2c42bf7a4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.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/PanelView.java
488b792eeeea359ba29addd6a202b5475ad1d18f 05-Aug-2014 Jorim Jaggi <jjaggi@google.com> Fix not being able to dismiss panel with single tap

Bug: 16562847
Change-Id: Ic409b9dd23df7e79a20b83a8a63eaaf1f76b3dd0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
2ae259df68659fd3c0c3ca070f58ca40b20de8b8 04-Aug-2014 Jorim Jaggi <jjaggi@google.com> Dismiss all layout updates.

Bug: 14826666
Change-Id: I19773d0afaf34f92d987a5292de861b5963a7d8a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
4b04a3a1649018e7f0fe11136d0b012a9eeb44ea 28-Jul-2014 Jorim Jaggi <jjaggi@google.com> Clear all notifications improvements

- Fix a bug with visibility.
- Improve fling behavior such that the shade open animation still
looks like that we are decelerating towards the last card.

Change-Id: I1ad167ce0001ff6850f49e819bab944943fa529d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
fb98a5023eb1ac059f62355b28b492eb75cf8c30 11-Jul-2014 Jorim Jaggi <jjaggi@google.com> Fix weird state when tracking and pressing back

Bug: 10934514
Change-Id: I60bbd6005e664033ed22c87b404ddc918e5f2c0e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.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/PanelView.java
30c305ce6283ce1380ad91ef0d221696b32d5a6b 01-Jul-2014 Jorim Jaggi <jjaggi@google.com> Implement nice motion for collapsing panel while QS open

Also remove the delay for actions which close the panel. Delaying is
no longer necessary as you still see the touch feedback when the
panel is closed.

Change-Id: I0dffae6998fc41b1590cb182667323f40be3a7d5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
dc96d6310c6e13077a563b80f190550d87e95ff9 01-Jul-2014 Jorim Jaggi <jjaggi@google.com> Implement ability to fling to QS in empty space

Bug: 16009808
Change-Id: I0af174a4d97202dae767e4ae56f43599dbee4e05
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
93439da0ed9213bc54291b3fce4e04dd3a7f9f3a 30-Jun-2014 Jorim Jaggi <jjaggi@google.com> Fix scrim flashing when no security is set.

Change-Id: Iccd07c39b57c7bcf3d4d26a00a46926df56eddbc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.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/PanelView.java
b7240136b748e548069c7fe2bd77a7ed4148728e 30-Jun-2014 Jorim Jaggi <jjaggi@google.com> Improve fling logic for opening the notification shade

Bug: 15858126
Change-Id: I800b00f80b315218358ea9acbd3614e6d5c87c45
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
3857ac4b3f24e13bac255d162249dd8b2ccb63ac 27-Jun-2014 Jorim Jaggi <jjaggi@google.com> Fix a bug where a short fling resulted in a bad state

Change-Id: I43900d1cb72a03e2fb2e6cb2dea44bfad9792fcc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.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/PanelView.java
f99d0007646781b99a63bc0d2103a45f0f72e724 13-Jun-2014 Selim Cinek <cinek@google.com> Improve unlock motion further.

Bug: 15244051
Change-Id: I6f567ff327695ec6ece56748cd300b8103715811
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
cc693247dceef098490a4b01f2c0793ba5f948a4 14-Jun-2014 Jorim Jaggi <jjaggi@google.com> Revert "Improve unlock motion."

This reverts commit 03599a4c8fcc539948174136878f5e0ceec1eeda.

Change-Id: Iacd5f7ecd755ee2c8efdf1e37060a21702bcf08a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
fd9d4414e82f684fa545f75943578d31e2a11722 12-Jun-2014 Jorim Jaggi <jjaggi@google.com> Improve unlock motion.

Bug: 15244051
Change-Id: Ib33a7a8e27a2dc191c6e18ffe1cd2725dfa3bb37
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
0a27be899c7143df1d8b64ef842b7f6b7fcf0baa 11-Jun-2014 Jorim Jaggi <jjaggi@google.com> Fix blank lockscreen.

Bug: 15281241
Change-Id: If315891274a97fa5cc579554b83b85cf3c87f0fb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
47c85a3525dcd0bbd3168632830e8ab491d18462 05-Jun-2014 Jorim Jaggi <jjaggi@google.com> Fix PanelView over expanding behavior.

Fixes a bug that the panel height was wrongly calculated and lagging
one frame behind. Also fixes the animation when overscrolling and
then flinging the panel to collapse. In addition, the logic to handle
the over expanding is much cleaner and calculated in an absolut
manner (before, it was relative an really complicated to understand).

Bug: 14487435
Change-Id: If8dbb3e063ef63f51f6dac0ae5bf276480514103
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
787a0af8ebba004a6f1cd3bfe8c78d851003d227 04-Jun-2014 Jorim Jaggi <jjaggi@google.com> Fix not being able to dismiss notifications with tap.

Also fixes that the go-to-shade gesture sometimes triggers the unlock
hint animation.

Bug: 14487435
Bug: 15421928
Change-Id: Ie7e01c81a397b9b1a03baed82c1270ba4e7eb799
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
dffb3e7ed06d50d4a5c60daa2b8c46a551a92afd 04-Jun-2014 Selim Cinek <cinek@google.com> Merge "Changed the overscroll and expanding behaviour." into lmp-preview-dev
1408eb5a58d669933c701e347fd3498ceab70f3c 02-Jun-2014 Selim Cinek <cinek@google.com> Changed the overscroll and expanding behaviour.

Only the first selected element will be expanded, no subsequent children.
Afterwards, overscrolling is performed.
This improves overscroll consistency a lot and people don't accidentally
expand unwanted notifications, just the one they wanted to.
If the users primary intent is overscrolling (i.e if he drags on a card
which is already expanded), then we allow him to go to the quick settings.

Bug: 14487435
Bug: 15181651
Change-Id: I978cc4e06ae85c2ca69e15a149cb85ac54b2ef35
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
6539a83f776ed66851f3712bc7e300418ee4aee5 03-Jun-2014 Jorim Jaggi <jjaggi@google.com> Go back to keyguard when in SHADE_LOCKED with single tap.

Bug: 15188946
Change-Id: Iee9f1572bd25a5fc9f1ad7e182746a6f09a49f6d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
8dd95e03f8555c278217bac7e4faef865b1850a7 03-Jun-2014 Jorim Jaggi <jjaggi@google.com> Animate unlock icon while unlocking.

When the user reaches the threshold such that the gesture is accepted
as an unlock, the icon scales a bit and gets fully opaque. When the
user flings, it gets even larger and fades out.

Bug: 15163546
Change-Id: Icd963aa8f7268712f239b204cdfa61ebc2baf4d0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
b3f0a2ff000ca2481f95ee8f7d7b487e33b87eca 02-Jun-2014 Jorim Jaggi <jjaggi@google.com> Hint for phone and camera.

Bug: 15189049
Bug: 15126962
Change-Id: Ie28fc8202ace4af56542201d168572ef6ad78d19
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
9012958742c7a66b37ba5f2196f9086bb1980e6b 02-Jun-2014 Jorim Jaggi <jjaggi@google.com> Implement unlock hint.

Before, users didn't have any clue how to unlock their phone. Now
they have. Also, a tap now dismisses the notification shade in the
unlocked state.

Bug: 14080971
Bug: 15189435
Bug: 15282191
Bug: 15126962

Change-Id: I779344b043b4415809dd98217b7cb9ff6d57fa3e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
e29b2dbc762bfa66093d76f5a65f55328d8753c9 30-May-2014 Jorim Jaggi <jjaggi@google.com> Fade scrim in unlock animation.

This also introduces a startTime which gets sent from window manager
to SystemUI, which tells when the animation should start, to allow
for a more synchronized animation with fading out the scrim and
fading in the activity behind.

Bug: 15163546
Change-Id: I16212b1ef9eb76f1f98734da1d14fc5b7e626937
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.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/PanelView.java
4c6969a512cd70831249ec1d07691f16fe5465f5 26-May-2014 Selim Cinek <cinek@google.com> Implemented basic camera and phone affordance.

The phone and the camera can now be accessed when swiping anywhere
on the background of the keyguard in the corresponding direction.

Bug: 15126905
Change-Id: If5551078676275764d5b7ddbca6e71cf008a1904
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.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/PanelView.java
24120a5ccf79f6f4844916121bcc1fbad0b7691b 26-May-2014 Selim Cinek <cinek@google.com> Introduced overscrolling for the panel expansion

Notifications now overscroll in a rubberbandy motion when expanding.

Bug: 14486987
Change-Id: I5ad47027adab10d6996e70f489e8c2550220e224
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
7d16bb1e32fc61f3f26e72b8a36fb332073ead75 22-May-2014 Jorim Jaggi <jjaggi@google.com> DO NOT MERGE Move clock and top padding while dismissing Keyguard.

Such translation. Much alpha. Very parallax. Wow.

Bug: 15163546
Change-Id: Id419acced94083cf6cd7abebbcf1d5a08439b0a7
(cherry picked from commit c42bdc3ba9493efe68b9ed39fbd55c84ba175185)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
1d480695df31f1c328473f32d5007cea6a03b6e0 20-May-2014 Jorim Jaggi <jjaggi@google.com> Change fling behavior of PanelView.

Change-Id: Ie700be6b1ef48350601ce6bc7fe60579fddae098
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
b7b61ddaef4f2a2ebc79e832fb909fd4dcac8ba5 21-May-2014 Jorim Jaggi <jjaggi@google.com> Make velocity tracker used in panel dependent on config.

The velocity tracker used in PanelView can now be configured with
a boolean value. The default is to use tha platform-standard velocity
tracker, but can be overriden to use our own velocity tracker for
noisy touch screens instead.

Change-Id: I375f4e2675ddbaa003acd6f085065bb3fe59ebf4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
069cd03740312159faf24a01910ff1daeae93131 15-May-2014 Jorim Jaggi <jjaggi@google.com> Position clock and notifications dynamically.

The positioning is dependant on how many notifications are currently
showing. This makes sure that the lockscreen always looks balanced
and harmonic.

Bug: 14592994
Change-Id: Ic647b887dd23e6cc5ecd07d70f279ff2f218f4ca
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
b84a1074b34f64174d9451234fa7c684f8283b6c 15-May-2014 Selim Cinek <cinek@google.com> Improved Notification Panel height logic

Due to a racecondition, the mMaxPanelheight of the PanelView could
get too small in certain cases, leading to an empty shade.

Change-Id: Ib1d7b5245cbb25a853698e1985b1e4bbf617505f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
4f0128fb8fc1e56ead8ba7bccd9fab2ff9c3b29a 07-May-2014 Jorim Jaggi <jjaggi@google.com> Merge "New layout structure for the expanded status bar."
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/PanelView.java
2322ae82e9bbd0683eb86ae0f70050e76e44a30d 07-May-2014 Jorim Jaggi <jjaggi@google.com> Merge "Improved interception logic of the PanelView"
172e914178181cf1c5999722fc0817e8ac2097f1 07-May-2014 Selim Cinek <cinek@google.com> Improved interception logic of the PanelView

It was previously possible to get into undesired states when closing
the shade and clicking on it in midtransition. This was also triggered
when double tapping a card.

Bug: 14130526
Change-Id: I6b73f348dba4ee21d2401004176a9c6cc0c59745
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
3b23999954d48487852c4b2a8ede63f8b96d36a1 06-May-2014 Jorim Jaggi <jjaggi@google.com> Fix overly huge PanelView.

Bug: 14489968
Change-Id: Ibdc820348eb7d045ffb5ad07093ac86e5ff7abb0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
a6310293c5a861cdb54f2c894e90a8d9da87f8d7 16-Apr-2014 Jorim Jaggi <jjaggi@google.com> Hide navigation bar on Keyguard.

This also moves the camera affordance from navbar to the navigation
panel, so it is still visible on the Keyguard.

Bug: 14086354
Bug: 14085922
Bug: 14110532
Bug: 14059294
Change-Id: I93b51381915a67c688cdffd055fd149f2a220b00
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.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/PanelView.java
584caa5fabf22b1092c7a8659bfb62f70aa81819 15-Apr-2014 John Spurlock <jspurlock@google.com> Migrate away from @hidden onViewAdded.

Change-Id: Id8c1c05a2fdeb0776a3d70e67990da1e8e93b18a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
584a7aa62c54bcbd654a6696d4fbb56e124874e7 10-Apr-2014 Jorim Jaggi <jjaggi@google.com> resolved conflicts for merge of ff0978fd to master-lockscreen-dev

Change-Id: I03881da30db8189005d50812e5528ed07cebd437
1685e634fb0b14033bd436af8d7174436699ffec 08-Apr-2014 Selim Cinek <cinek@google.com> Further improved NotificationStackScroller

The top card is now collapsed during the pulldown of
the notification shade and expanded during the transition.
The scrollstate is also reset once the shade is closed.

Change-Id: Ibf17eef1f338d674c545e5bf55261e60db62b2ce
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
7b5232251cbf32f14fa48bb3d9a77a09725a063b 07-Apr-2014 Selim Cinek <cinek@google.com> am ed01ddd5: Merge "QuickSettings was inaccessible sometimes with empty shade."

* commit 'ed01ddd5014780c64c529a17a3b4a5b600038c5c':
QuickSettings was inaccessible sometimes with empty shade.
91c39ef7f2fb1b678658a037f2e055062ee2d9c3 07-Apr-2014 Selim Cinek <cinek@google.com> QuickSettings was inaccessible sometimes with empty shade.

Fixed access to QuickSettings, when the shade was not full.

Bug: 13879008
Change-Id: Ie8c88b91eb397dcb4d78834acfc2e2ab2a24bed9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
6b7961d7463e0b1eb9692a4f3db37376b1d39814 07-Apr-2014 Selim Cinek <cinek@google.com> am a3e5bcb6: Fixed crash in PanelView dump

* commit 'a3e5bcb60efdf1202f627d25d30693089f7d535d':
Fixed crash in PanelView dump
a3e5bcb60efdf1202f627d25d30693089f7d535d 07-Apr-2014 Selim Cinek <cinek@google.com> Fixed crash in PanelView dump

Bugreports crashed when dumping PanelView.

Bug: 13872972
Change-Id: I3bd2b5321dd208766248f6506c5592190366e5ea
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.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/PanelView.java
b6d85ebfe4f9f5d3b7d7ab7b6123af02a0deb516 28-Mar-2014 Selim Cinek <cinek@google.com> Enabled the new notification shade and improved expanding logic

Made the NotificationStackScroller now the default and only shade.
When the notification shade is expanded, the NotificationStackScroller
now also expands revealing the notifications.

Change-Id: If989ed848f684b3ac4e687d9642289db4599553b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
a4b70aff3419b61d2395589b393251da9ddcba3f 17-Aug-2013 John Spurlock <jspurlock@google.com> Use panel tracking as signal preventing auto-collapse.

Keeping track of pointer down at the window view level is unreliable
since gestures can be stolen.

Bug:10328256
Bug:10226720
Change-Id: I92d72f9eed73f90d2a7c5b30a3f6a4aa6549f799
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
48fa91a818e321208e90d6af234c1d4bed5a945d 15-Aug-2013 John Spurlock <jspurlock@google.com> Recover tracking pointer going up mid-gesture in shade.

Keep track of the pointer id used in driving the gesture. If
it happens to go up mid-gesture (another pointer is still down),
continue the gesture with another down pointer, instead of
abruptly jumping on next ACTION_MOVE.

Bug:10246050
Change-Id: Ia6e59658635fd696974fe415f37811d27da80519
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
69f756fe9b375df404b040c1f1e1d30265365c18 14-Aug-2013 Daniel Sandler <dsandler@android.com> Drop simultaneous pointer events when tracking velocity.

They're not really simultaneous, but within 1ms of one
another, which is too close for getEventTime() to
distinguish; these events were causing the velocity
computation to become (understandably) confused and
resulting in failed panel flings.

Bug: 10246454
Change-Id: I3829192cdf9ad2a222ec8deca031d772d58de0da
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.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/PanelView.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/PanelView.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/PanelView.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/PanelView.java
e7c5bbb1719c07b12596f5492cef3c29c2672718 05-Mar-2013 Daniel Sandler <dsandler@android.com> Defend against NaNs in panel animation code.

Once these get into the Animators, they freeze up and
disable the whole notification panel. Not cool.

Bug: 7686690
Change-Id: I04567417b3840a82d9cfe071c601e3078b2e3fe3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
42b3cf94d0f647a798085aaae2a7b8ff5203fc2e 20-Feb-2013 Daniel Sandler <dsandler@android.com> Looking for NaN values in status bar animations.

We should probably set these values to 0 when we find them,
but first I want to catch this bug in the act before I paper
over it with defensive programming.

Also standardizing on use of isStarted() instead of
isRunning() on animators.

Bug: 7686690
Change-Id: I9f93c443784d2ed795d3e16ad9bb03811371497c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
37a38aaecb5045906ade6d1c970f106a028cbaf5 13-Feb-2013 Daniel Sandler <dsandler@android.com> More debug logs for stuck statusbars.

Bug: 7686690
Change-Id: Ic58d90a56412579cad0c77f5787a6fc4193a32d1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
6f7654d6658f1bd0eb9e6658aaf77aae23ac26df 30-Nov-2012 Daniel Sandler <dsandler@android.com> Reduce false swipe-closed gestures in status bar panels.

VelocityTracker is a powerful tool---too powerful, in this
case, because many devices (I'm looking at you, Nexus 7)
have touchscreens that report total garbage on takeoff and
landing.

PanelView now uses its own incredibly crude velocity tracker
called FlingTracker, which implements a short sliding window
of the last 8 motion events (7 intervals) over which touch
velocity is averaged. There's also a little bias toward more
recent touch events so that the overall velocity of small
circular gestures will tend to favor the exit tangent.

The end result is a primitive low-pass filter on touch
velocity that should help us avoid situations where one (or
even two!) stray MotionEvents at the end of a gesture won't
invalidate the overall thrust.

Bug: 7422342
Change-Id: Idae38d1957727e400493324af4eee357ba5baa27
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
be2cf3206eb6fdc81cb5619ce36e3f9d5a9e9c15 24-Oct-2012 Daniel Sandler <dsandler@android.com> Be a little more lenient with panel-open gestures.

The code would not consider any drag that did not complete
the "peek" distance (the distance the panel opens when you
press and hold on the status bar; on tablets this is
statusbarheight + closehandleheight, and on phones it's
headerheight + closehandleheight) as a candidate for a
fling, and set that drag's effective velocity to 0.

This CL just removes that check. Now a fling must meet the
minimum linear velocity and minimum Y distance thresholds
(100dp/sec and 20dp, respectively) to change the position of
the panel (closed->open or open->closed).

Bug: 7390976
Change-Id: Ia0c2450f9fdf3f27b890aab240a155dad1ab052f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.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/PanelView.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/PanelView.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/PanelView.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/PanelView.java
9d09824a66e3a9785f3f05929bc9139da108efe4 08-Oct-2012 Daniel Sandler <dsandler@android.com> Fix NPE if pulling down QS quickly on very first boot.

The cling interception code can interfere with the touch
stream to the point that PanelView might get an ACTION_UP or
_CANCEL without a corresponding ACTION_DOWN, causing
problems.

Bug: 7301742
Change-Id: Idd5074c2544b3238517655ab3c068966bae9f912
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
b17a726f2fb1066060b5646d35233d26222e8721 05-Oct-2012 Daniel Sandler <dsandler@android.com> Notification & settings panel help.

Comes up the first time you touch the status bar; explains
where quick settings is, and even allows you to swipe down
to try it (instead of touching "OK").

Bug: 7209412
Change-Id: I72b1a91902e64b4623e0fcaf1555dc703870b59f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
a801f68624636a4f1fdb71c4aef97a59d5dbb731 05-Oct-2012 Daniel Sandler <dsandler@android.com> Restore rubberbanding on initial pulldown.

Broken by change Id93d6a00.

Bug: 7286201
Change-Id: I4155076df09d548aa00ae3793f78e6c154cde5f1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
0c1b75c17b79979e0f210b5bf03226d1091a4c21 04-Oct-2012 Daniel Sandler <dsandler@android.com> Bring back the notification panel handle peek animation.

Bug: 7286201
Change-Id: Id93d6a00689ffb7f97e89af935460b1debec3850
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.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/PanelView.java
db9a37627835192f582f6c3755aafbc4d0f8e090 03-Oct-2012 Daniel Sandler <dsandler@android.com> Increase the anti-jitter threshold for status bar flings.

You must move the panel at least 20dp overall, or at a speed
of 150dp/sec or more (actually quite easy; most normal
flings are 500dp/s or more) for it to be considered a fling.

Bug: 7179458
Change-Id: Ic1f4edc641cd2aa1cde89b2ee02eefdf5a0cc044
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.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/PanelView.java
13522a2e40730a0703fd7f185b7fb9be8ae37ab6 27-Sep-2012 Daniel Sandler <dsandler@android.com> Fix panel handles on large screens.

Bug: 7171620
Change-Id: If8445210fe654aa0b8ba508f4e6f93ad6d4fca14
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.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/PanelView.java
3ffdcc70c28d7a2abbb4f248d32d70d45d61fd44 23-Sep-2012 Daniel Sandler <dsandler@android.com> Properly launch quicksettings activities.

- As current user
- Dismissing keyguard if necessary
- Dismissing all status bar windows and panels

Also move some QS-specific stuff out of PanelView and into
SettingsPanelView.

Bug: 7217006
Change-Id: I4d8ac84cc0f43e78f70553599c3207305c4f5c74
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.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/PanelView.java
49321ec4fb30ab0c709c1e808701f63f38f8cbe7 14-Sep-2012 Winson Chung <winsonc@google.com> Merge "Suppress ExpandHelper on quick settings." into jb-mr1-dev
b4e56edde684c2a09cb225c99571fddb39b43b34 13-Sep-2012 Daniel Sandler <dsandler@android.com> Suppress ExpandHelper on quick settings.

Bug: 7004997
Change-Id: I423de03022982d9f87451eb3fb5ffdca818cac8a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
43229d707515ce51c52f63e15257960c6d29162c 13-Sep-2012 Winson Chung <winsonc@google.com> Adding IME tile.

- Adding checks for telephony before showing RSSI tile

Change-Id: I1dc4fb7a07d9693d8c6a96678ac9d4ff9abafe44
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
d63c59786509aadd6a8d0c5cb45ed696339f16b7 06-Sep-2012 Winson Chung <winsonc@google.com> Initial changes to add QuickSettings.

Change-Id: If510f74d6046929e5e8a794c6dc2fddb15a03d6b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
bf526d14f3252b8a5c123291e4cd8b1c51346560 05-Sep-2012 Daniel Sandler <dsandler@android.com> Full-height panels on phones.

The dynamic carrier label is also back for those devices.

Finally, allow the panel to be dragged just by touching the
(newly reopened) empty area.

Bug: 6999596
Change-Id: I65f2867f1bd1977270de0bcedd32cb7141fcb6b1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
179ec6d0bc9963ffc065a4e7983743bb5e4ce9fe 21-Aug-2012 Chet Haase <chet@google.com> Fix notification panel bug which prevented proper resizing

When the notification panel is opened larger than the list's length,
the penl is put into a "rubber band" mode, to animate the bottom of the
panel back to the end of the list. But the rubber band mode is never
unset, which causes an improper result if another notification is ended,
preventing the panel from resizing to the new, appropriate size of the list.

Fix is to unset the rubber banding flag when the snapping animation finishes.

Issue #6992133 Notification bar does not drop down completely in Mako

Change-Id: Id93918086353f58d6eb6bb071556f08eb2e2706e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.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/PanelView.java
5a35a0d560ccc5582f26c33534bf22c5c0d169b7 16-Aug-2012 Daniel Sandler <dsandler@android.com> Fix crash in SystemUI.

It looks like we were end()ing the main timing animation in
the middle of the animation (and too many times, at that).

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