Revert "Fix text crossfade"
This reverts commit ccc3a66231.
Reason for revert: b/234407239
Change-Id: I4a4c6c96ff69249a3adb9d42bcda0cfa920156b1
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
|
||||
package com.android.systemui.statusbar.notification;
|
||||
|
||||
import android.util.MathUtils;
|
||||
import android.util.Pools;
|
||||
import android.view.View;
|
||||
import android.view.animation.Interpolator;
|
||||
@@ -99,10 +98,7 @@ public class TransformState {
|
||||
if (sameAs(otherState)) {
|
||||
ensureVisible();
|
||||
} else {
|
||||
CrossFadeHelper.fadeIn(
|
||||
mTransformedView,
|
||||
MathUtils.constrainedMap(0, 1, 0.45f, 1, transformationAmount),
|
||||
false /* remap */);
|
||||
CrossFadeHelper.fadeIn(mTransformedView, transformationAmount, true /* remap */);
|
||||
}
|
||||
transformViewFullyFrom(otherState, transformationAmount);
|
||||
}
|
||||
@@ -298,10 +294,7 @@ public class TransformState {
|
||||
}
|
||||
return false;
|
||||
} else {
|
||||
CrossFadeHelper.fadeOut(
|
||||
mTransformedView,
|
||||
MathUtils.constrainedMap(0, 1, 0, 0.55f, transformationAmount),
|
||||
false /* remap */);
|
||||
CrossFadeHelper.fadeOut(mTransformedView, transformationAmount);
|
||||
}
|
||||
transformViewFullyTo(otherState, transformationAmount);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user