package d3; import android.animation.TimeInterpolator; import android.animation.ValueAnimator; import android.view.animation.AccelerateDecelerateInterpolator; import android.view.animation.AccelerateInterpolator; import android.view.animation.DecelerateInterpolator; /* loaded from: classes2.dex */ public class d { /* renamed from: a, reason: collision with root package name */ private long f9112a; /* renamed from: b, reason: collision with root package name */ private long f9113b; /* renamed from: c, reason: collision with root package name */ private TimeInterpolator f9114c; /* renamed from: d, reason: collision with root package name */ private int f9115d; /* renamed from: e, reason: collision with root package name */ private int f9116e; public d(long j10, long j11) { this.f9114c = null; this.f9115d = 0; this.f9116e = 1; this.f9112a = j10; this.f9113b = j11; } static d a(ValueAnimator valueAnimator) { d dVar = new d(valueAnimator.getStartDelay(), valueAnimator.getDuration(), e(valueAnimator)); dVar.f9115d = valueAnimator.getRepeatCount(); dVar.f9116e = valueAnimator.getRepeatMode(); return dVar; } private static TimeInterpolator e(ValueAnimator valueAnimator) { TimeInterpolator interpolator = valueAnimator.getInterpolator(); return ((interpolator instanceof AccelerateDecelerateInterpolator) || interpolator == null) ? a.f9106b : interpolator instanceof AccelerateInterpolator ? a.f9107c : interpolator instanceof DecelerateInterpolator ? a.f9108d : interpolator; } public long b() { return this.f9112a; } public long c() { return this.f9113b; } public TimeInterpolator d() { TimeInterpolator timeInterpolator = this.f9114c; return timeInterpolator != null ? timeInterpolator : a.f9106b; } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof d)) { return false; } d dVar = (d) obj; if (b() == dVar.b() && c() == dVar.c() && f() == dVar.f() && g() == dVar.g()) { return d().getClass().equals(dVar.d().getClass()); } return false; } public int f() { return this.f9115d; } public int g() { return this.f9116e; } public int hashCode() { return (((((((((int) (b() ^ (b() >>> 32))) * 31) + ((int) (c() ^ (c() >>> 32)))) * 31) + d().getClass().hashCode()) * 31) + f()) * 31) + g(); } public String toString() { return '\n' + getClass().getName() + '{' + Integer.toHexString(System.identityHashCode(this)) + " delay: " + b() + " duration: " + c() + " interpolator: " + d().getClass() + " repeatCount: " + f() + " repeatMode: " + g() + "}\n"; } public d(long j10, long j11, TimeInterpolator timeInterpolator) { this.f9115d = 0; this.f9116e = 1; this.f9112a = j10; this.f9113b = j11; this.f9114c = timeInterpolator; } }