diff options
author | Jorim Jaggi <jjaggi@google.com> | 2014-05-27 02:25:45 +0200 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2014-05-27 02:49:06 +0200 |
commit | c14f829506a5273e8022b461db2d61038b18ac4b (patch) | |
tree | 088bc4d95b7f45eeb7b59bd16d3e6a1559cbe44e /packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java | |
parent | 2fbad7b6a724cf0a5b98b66fe639d58f5ab10af3 (diff) | |
download | frameworks_base-c14f829506a5273e8022b461db2d61038b18ac4b.zip frameworks_base-c14f829506a5273e8022b461db2d61038b18ac4b.tar.gz frameworks_base-c14f829506a5273e8022b461db2d61038b18ac4b.tar.bz2 |
Skeleton for Keyguard security method appear animations.
Bug: 15163546
Change-Id: Id1c6b4f21b8f182f9d00fb903370de5512eaba1b
Diffstat (limited to 'packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java')
-rw-r--r-- | packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java index ca2d615..4dfda91 100644 --- a/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java +++ b/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java @@ -114,4 +114,11 @@ public class KeyguardPINView extends KeyguardAbsKeyInputView public int getWrongPasswordStringId() { return R.string.kg_wrong_pin; } + + @Override + public void startAppearAnimation() { + // TODO: Fancy animation. + setAlpha(0); + animate().alpha(1).withLayer().setDuration(200); + } } |