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
|