summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2015-06-09 15:25:40 -0700
committerJorim Jaggi <jjaggi@google.com>2015-06-09 15:25:40 -0700
commit5673353559453ecb57fc767b4e7500dd46e44079 (patch)
tree725c2863a0c964ff57e4b4372d01e7559839f27c /packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java
parent2ba59793680a950a1f789a8a68c48bb6ce5df9d4 (diff)
downloadframeworks_base-5673353559453ecb57fc767b4e7500dd46e44079.zip
frameworks_base-5673353559453ecb57fc767b4e7500dd46e44079.tar.gz
frameworks_base-5673353559453ecb57fc767b4e7500dd46e44079.tar.bz2
Animations/success state for external confirm device credentials (1/2)
Bug: 20929186 Change-Id: I8ca396e353189da7da3e9c98f841b76c876e461e
Diffstat (limited to 'packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java
index d0be855..ac9dc85 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java
@@ -22,6 +22,9 @@ import android.view.View;
import android.view.ViewGroup;
import android.view.animation.AnimationUtils;
+import com.android.settingslib.animation.AppearAnimationUtils;
+import com.android.settingslib.animation.DisappearAnimationUtils;
+
/**
* Displays a PIN pad for unlocking.
*/
@@ -115,7 +118,7 @@ public class KeyguardPINView extends KeyguardPinBasedInputView {
.setDuration(500)
.setInterpolator(mAppearAnimationUtils.getInterpolator())
.translationY(0);
- mAppearAnimationUtils.startAnimation(mViews,
+ mAppearAnimationUtils.startAnimation2d(mViews,
new Runnable() {
@Override
public void run() {
@@ -132,7 +135,7 @@ public class KeyguardPINView extends KeyguardPinBasedInputView {
.setDuration(280)
.setInterpolator(mDisappearAnimationUtils.getInterpolator())
.translationY(mDisappearYTranslation);
- mDisappearAnimationUtils.startAnimation(mViews,
+ mDisappearAnimationUtils.startAnimation2d(mViews,
new Runnable() {
@Override
public void run() {