summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2015-06-25 14:47:24 -0700
committerJorim Jaggi <jjaggi@google.com>2015-06-25 21:49:20 +0000
commit94f6f0610147de16aae7c39f97f21ee31591dd6f (patch)
tree7616493583313fe9402ee514c703ac05a6d2c69a /packages
parent5daee1dc27d7b0eadfddefcaf73da229579fd436 (diff)
downloadframeworks_base-94f6f0610147de16aae7c39f97f21ee31591dd6f.zip
frameworks_base-94f6f0610147de16aae7c39f97f21ee31591dd6f.tar.gz
frameworks_base-94f6f0610147de16aae7c39f97f21ee31591dd6f.tar.bz2
Speedup PIN/Pattern dismissal
Bug: 22096344 Change-Id: I50d5ecaa03aae94cecf9da173f0d6318faaf6a1a
Diffstat (limited to 'packages')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java2
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardPatternView.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java
index ac9dc85..d265e0d 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java
@@ -50,7 +50,7 @@ public class KeyguardPINView extends KeyguardPinBasedInputView {
mAppearAnimationUtils = new AppearAnimationUtils(context);
mDisappearAnimationUtils = new DisappearAnimationUtils(context,
125, 0.6f /* translationScale */,
- 0.6f /* delayScale */, AnimationUtils.loadInterpolator(
+ 0.45f /* delayScale */, AnimationUtils.loadInterpolator(
mContext, android.R.interpolator.fast_out_linear_in));
mDisappearYTranslation = getResources().getDimensionPixelSize(
R.dimen.disappear_y_translation);
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardPatternView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardPatternView.java
index 59a8ad5..3568429 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardPatternView.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardPatternView.java
@@ -109,7 +109,7 @@ public class KeyguardPatternView extends LinearLayout implements KeyguardSecurit
mContext, android.R.interpolator.linear_out_slow_in));
mDisappearAnimationUtils = new DisappearAnimationUtils(context,
125, 1.2f /* translationScale */,
- 0.8f /* delayScale */, AnimationUtils.loadInterpolator(
+ 0.6f /* delayScale */, AnimationUtils.loadInterpolator(
mContext, android.R.interpolator.fast_out_linear_in));
mDisappearYTranslation = getResources().getDimensionPixelSize(
R.dimen.disappear_y_translation);