diff options
author | Selim Cinek <cinek@google.com> | 2014-08-25 22:09:19 +0200 |
---|---|---|
committer | Selim Cinek <cinek@google.com> | 2014-08-27 12:38:15 +0200 |
commit | 19c8c708f16546fc75ae12659aa190f5e3dfbb52 (patch) | |
tree | adebd8eef8f9c7054a46ff5ee9252753bec9252d /packages/SystemUI/res/values/dimens.xml | |
parent | 473119fdc36340f833e4b755ae7f50a6914e0a24 (diff) | |
download | frameworks_base-19c8c708f16546fc75ae12659aa190f5e3dfbb52.zip frameworks_base-19c8c708f16546fc75ae12659aa190f5e3dfbb52.tar.gz frameworks_base-19c8c708f16546fc75ae12659aa190f5e3dfbb52.tar.bz2 |
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
Diffstat (limited to 'packages/SystemUI/res/values/dimens.xml')
-rw-r--r-- | packages/SystemUI/res/values/dimens.xml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml index 0af693d..bc941ca 100644 --- a/packages/SystemUI/res/values/dimens.xml +++ b/packages/SystemUI/res/values/dimens.xml @@ -278,8 +278,14 @@ <!-- The height of the speed bump view. --> <dimen name="speed_bump_height">16dp</dimen> - <!-- Lockscreen affordance drag distance for camera and phone. --> - <dimen name="affordance_drag_distance">100dp</dimen> + <!-- Lockscreen unlocking falsing threshold. --> + <dimen name="unlock_falsing_threshold">100dp</dimen> + + <!-- Lockscreen falsing threshold for quick settings. --> + <dimen name="qs_falsing_threshold">60dp</dimen> + + <!-- Falsing threshold used when dismissing notifications from the lockscreen. --> + <dimen name="swipe_helper_falsing_threshold">100dp</dimen> <dimen name="notifications_top_padding">8dp</dimen> @@ -299,7 +305,7 @@ <dimen name="heads_up_window_height">250dp</dimen> <!-- The minimum amount the user needs to swipe to go to the camera / phone. --> - <dimen name="keyguard_min_swipe_amount">75dp</dimen> + <dimen name="keyguard_min_swipe_amount">85dp</dimen> <!-- The minimum background radius when swiping to a side for the camera / phone affordances. --> <dimen name="keyguard_affordance_min_background_radius">30dp</dimen> |