package o; import android.animation.IntEvaluator; import android.animation.PropertyValuesHolder; import android.animation.ValueAnimator; import android.view.animation.AccelerateDecelerateInterpolator; import o.NPh; /* loaded from: classes3.dex */ public class oNc extends C17642yaU { private SEY f; int g; float i; @Override // o.C17642yaU, o.XKS public final /* synthetic */ ValueAnimator PW_() { return PW_(); } public oNc(NPh.RVV rvv) { super(rvv); this.f = new SEY(); } @Override // o.C17642yaU /* renamed from: PM_ */ public final ValueAnimator PW_() { ValueAnimator valueAnimator = new ValueAnimator(); valueAnimator.setDuration(350L); valueAnimator.setInterpolator(new AccelerateDecelerateInterpolator()); valueAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener(this) { // from class: o.oNc.4 private oNc a; { this.a = this; } @Override // android.animation.ValueAnimator.AnimatorUpdateListener public final void onAnimationUpdate(ValueAnimator valueAnimator2) { oNc.PK_(this.a, valueAnimator2); } }); return valueAnimator; } public final oNc d(int i, int i2, int i3, float f) { if (this.c != 0 && (this.a != i || this.e != i2 || this.g != i3 || this.i != f)) { this.a = i; this.e = i2; this.g = i3; this.i = f; ((ValueAnimator) this.c).setValues(PB_(false), PB_(true), PO_(false), PO_(true)); } return this; } protected PropertyValuesHolder PO_(boolean z) { int i; int i2; String str; if (z) { i2 = this.g; i = (int) (i2 * this.i); str = "ANIMATION_SCALE_REVERSE"; } else { i = this.g; i2 = (int) (i * this.i); str = "ANIMATION_SCALE"; } PropertyValuesHolder ofInt = PropertyValuesHolder.ofInt(str, i2, i); ofInt.setEvaluator(new IntEvaluator()); return ofInt; } static /* synthetic */ void PK_(oNc onc, ValueAnimator valueAnimator) { int intValue = ((Integer) valueAnimator.getAnimatedValue("ANIMATION_COLOR")).intValue(); int intValue2 = ((Integer) valueAnimator.getAnimatedValue("ANIMATION_COLOR_REVERSE")).intValue(); int intValue3 = ((Integer) valueAnimator.getAnimatedValue("ANIMATION_SCALE")).intValue(); int intValue4 = ((Integer) valueAnimator.getAnimatedValue("ANIMATION_SCALE_REVERSE")).intValue(); onc.f.e = intValue; onc.f.b = intValue2; onc.f.d = intValue3; onc.f.c = intValue4; if (onc.b != null) { onc.b.b(onc.f); } } }