package o; import android.animation.IntEvaluator; import android.animation.PropertyValuesHolder; import android.animation.ValueAnimator; import android.view.animation.AccelerateDecelerateInterpolator; import o.NPh; /* renamed from: o.iVU, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C15770iVU extends XKS { private int a; private int e; private hnK i; public C15770iVU(NPh.RVV rvv) { super(rvv); this.e = -1; this.a = -1; this.i = new hnK(); } public final C15770iVU e(int i, int i2) { if (this.c != 0 && (this.e != i || this.a != i2)) { this.e = i; this.a = i2; PropertyValuesHolder ofInt = PropertyValuesHolder.ofInt("ANIMATION_COORDINATE", i, i2); ofInt.setEvaluator(new IntEvaluator()); PropertyValuesHolder ofInt2 = PropertyValuesHolder.ofInt("ANIMATION_COORDINATE_REVERSE", i2, i); ofInt2.setEvaluator(new IntEvaluator()); ((ValueAnimator) this.c).setValues(ofInt, ofInt2); } return this; } static /* synthetic */ void PR_(C15770iVU c15770iVU, ValueAnimator valueAnimator) { int intValue = ((Integer) valueAnimator.getAnimatedValue("ANIMATION_COORDINATE")).intValue(); int intValue2 = ((Integer) valueAnimator.getAnimatedValue("ANIMATION_COORDINATE_REVERSE")).intValue(); c15770iVU.i.e = intValue; c15770iVU.i.c = intValue2; if (c15770iVU.b != null) { c15770iVU.b.b(c15770iVU.i); } } @Override // o.XKS public final /* synthetic */ ValueAnimator PW_() { ValueAnimator valueAnimator = new ValueAnimator(); valueAnimator.setDuration(350L); valueAnimator.setInterpolator(new AccelerateDecelerateInterpolator()); valueAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener(this) { // from class: o.iVU.3 private C15770iVU e; { this.e = this; } @Override // android.animation.ValueAnimator.AnimatorUpdateListener public final void onAnimationUpdate(ValueAnimator valueAnimator2) { C15770iVU.PR_(this.e, valueAnimator2); } }); return valueAnimator; } @Override // o.XKS public final /* synthetic */ XKS a(float f) { if (this.c != 0) { long j = f * ((float) this.d); if (((ValueAnimator) this.c).getValues() != null && ((ValueAnimator) this.c).getValues().length > 0) { ((ValueAnimator) this.c).setCurrentPlayTime(j); } } return this; } }