Merge "Always update lockscreen UDFPS icon's progress" into tm-dev
This commit is contained in:
@@ -128,10 +128,6 @@ public class UdfpsKeyguardView extends UdfpsAnimationView {
|
|||||||
|
|
||||||
if (mAnimatingBetweenAodAndLockscreen && !mPauseAuth) {
|
if (mAnimatingBetweenAodAndLockscreen && !mPauseAuth) {
|
||||||
mBgProtection.setAlpha(1f - mInterpolatedDarkAmount);
|
mBgProtection.setAlpha(1f - mInterpolatedDarkAmount);
|
||||||
|
|
||||||
mLockScreenFp.setTranslationX(mBurnInOffsetX);
|
|
||||||
mLockScreenFp.setTranslationY(mBurnInOffsetY);
|
|
||||||
mLockScreenFp.setProgress(1f - mInterpolatedDarkAmount);
|
|
||||||
mLockScreenFp.setAlpha(1f - mInterpolatedDarkAmount);
|
mLockScreenFp.setAlpha(1f - mInterpolatedDarkAmount);
|
||||||
} else if (mInterpolatedDarkAmount == 0f) {
|
} else if (mInterpolatedDarkAmount == 0f) {
|
||||||
mBgProtection.setAlpha(mAlpha / 255f);
|
mBgProtection.setAlpha(mAlpha / 255f);
|
||||||
@@ -140,6 +136,9 @@ public class UdfpsKeyguardView extends UdfpsAnimationView {
|
|||||||
mBgProtection.setAlpha(0f);
|
mBgProtection.setAlpha(0f);
|
||||||
mLockScreenFp.setAlpha(0f);
|
mLockScreenFp.setAlpha(0f);
|
||||||
}
|
}
|
||||||
|
mLockScreenFp.setTranslationX(mBurnInOffsetX);
|
||||||
|
mLockScreenFp.setTranslationY(mBurnInOffsetY);
|
||||||
|
mLockScreenFp.setProgress(1f - mInterpolatedDarkAmount);
|
||||||
|
|
||||||
mAodFp.setTranslationX(mBurnInOffsetX);
|
mAodFp.setTranslationX(mBurnInOffsetX);
|
||||||
mAodFp.setTranslationY(mBurnInOffsetY);
|
mAodFp.setTranslationY(mBurnInOffsetY);
|
||||||
|
|||||||
Reference in New Issue
Block a user