Merge "[Bouncer] Reset alpha and translation of view." into tm-qpr-dev
This commit is contained in:
@@ -176,6 +176,8 @@ public class KeyguardPINView extends KeyguardPinBasedInputView {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void startAppearAnimation() {
|
public void startAppearAnimation() {
|
||||||
|
setAlpha(1f);
|
||||||
|
setTranslationY(0);
|
||||||
if (mAppearAnimator.isRunning()) {
|
if (mAppearAnimator.isRunning()) {
|
||||||
mAppearAnimator.cancel();
|
mAppearAnimator.cancel();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -538,7 +538,7 @@ public class KeyguardSecurityContainer extends FrameLayout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Runs after a succsssful authentication only
|
* Runs after a successful authentication only
|
||||||
*/
|
*/
|
||||||
public void startDisappearAnimation(SecurityMode securitySelection) {
|
public void startDisappearAnimation(SecurityMode securitySelection) {
|
||||||
mDisappearAnimRunning = true;
|
mDisappearAnimRunning = true;
|
||||||
@@ -1063,6 +1063,7 @@ public class KeyguardSecurityContainer extends FrameLayout {
|
|||||||
mPopup.dismiss();
|
mPopup.dismiss();
|
||||||
mPopup = null;
|
mPopup = null;
|
||||||
}
|
}
|
||||||
|
setupUserSwitcher();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -1101,7 +1102,6 @@ public class KeyguardSecurityContainer extends FrameLayout {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
mView.setAlpha(1f);
|
|
||||||
mUserSwitcherViewGroup.setAlpha(0f);
|
mUserSwitcherViewGroup.setAlpha(0f);
|
||||||
ObjectAnimator alphaAnim = ObjectAnimator.ofFloat(mUserSwitcherViewGroup, View.ALPHA,
|
ObjectAnimator alphaAnim = ObjectAnimator.ofFloat(mUserSwitcherViewGroup, View.ALPHA,
|
||||||
1f);
|
1f);
|
||||||
|
|||||||
@@ -427,6 +427,7 @@ public class KeyguardSecurityContainerController extends ViewController<Keyguard
|
|||||||
|
|
||||||
public void startAppearAnimation() {
|
public void startAppearAnimation() {
|
||||||
if (mCurrentSecurityMode != SecurityMode.None) {
|
if (mCurrentSecurityMode != SecurityMode.None) {
|
||||||
|
mView.setAlpha(1f);
|
||||||
mView.startAppearAnimation(mCurrentSecurityMode);
|
mView.startAppearAnimation(mCurrentSecurityMode);
|
||||||
getCurrentSecurityController().startAppearAnimation();
|
getCurrentSecurityController().startAppearAnimation();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user