diff options
author | Daniel Sandler <dsandler@android.com> | 2012-09-25 14:37:42 -0400 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2012-09-25 14:38:43 -0400 |
commit | 173bae2c674b2bc25cf376cbb4e150bd86703049 (patch) | |
tree | 1e52b0021fab9fbd25e2f019489dd6bd31e29cee /packages/SystemUI/res/values/dimens.xml | |
parent | a8a7e7140d8d2f231707712d329a24cf32184299 (diff) | |
download | frameworks_base-173bae2c674b2bc25cf376cbb4e150bd86703049.zip frameworks_base-173bae2c674b2bc25cf376cbb4e150bd86703049.tar.gz frameworks_base-173bae2c674b2bc25cf376cbb4e150bd86703049.tar.bz2 |
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
Diffstat (limited to 'packages/SystemUI/res/values/dimens.xml')
-rw-r--r-- | packages/SystemUI/res/values/dimens.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml index 13cda3a..90fe558 100644 --- a/packages/SystemUI/res/values/dimens.xml +++ b/packages/SystemUI/res/values/dimens.xml @@ -107,6 +107,9 @@ <!-- Cap on overall resulting fling speed (s^-1) --> <dimen name="fling_gesture_max_output_velocity">3000dp</dimen> + <!-- Minimum distance a fling must travel (anti-jitter) --> + <dimen name="fling_gesture_min_dist">10dp</dimen> + <!-- Minimum fraction of the display a gesture must travel, at any velocity, to qualify as a collapse request --> <item type="dimen" name="collapse_min_display_fraction">10%</item> |