what-the-bank/sources/o/C0176ArQ.java

106 lines
3.2 KiB
Java

package o;
import android.animation.Animator;
import android.animation.TimeInterpolator;
import android.animation.ValueAnimator;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
/* renamed from: o.ArQ, reason: case insensitive filesystem */
/* loaded from: classes2.dex */
public final class C0176ArQ {
public long a;
public long b;
int c;
int d;
public TimeInterpolator e;
public C0176ArQ(long j) {
this.e = null;
this.c = 0;
this.d = 1;
this.b = j;
this.a = 150L;
}
public C0176ArQ(long j, long j2, TimeInterpolator timeInterpolator) {
this.c = 0;
this.d = 1;
this.b = j;
this.a = j2;
this.e = timeInterpolator;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0176ArQ)) {
return false;
}
C0176ArQ c0176ArQ = (C0176ArQ) obj;
if (this.b != c0176ArQ.b || this.a != c0176ArQ.a || this.c != c0176ArQ.c || this.d != c0176ArQ.d) {
return false;
}
TimeInterpolator timeInterpolator = this.e;
if (timeInterpolator == null) {
timeInterpolator = C6217cMa.d;
}
Class<?> cls = timeInterpolator.getClass();
TimeInterpolator timeInterpolator2 = c0176ArQ.e;
if (timeInterpolator2 == null) {
timeInterpolator2 = C6217cMa.d;
}
return cls.equals(timeInterpolator2.getClass());
}
public final String toString() {
StringBuilder sb = new StringBuilder("\n");
sb.append(getClass().getName());
sb.append(UrlTreeKt.componentParamPrefixChar);
sb.append(Integer.toHexString(System.identityHashCode(this)));
sb.append(" delay: ");
sb.append(this.b);
sb.append(" duration: ");
sb.append(this.a);
sb.append(" interpolator: ");
TimeInterpolator timeInterpolator = this.e;
if (timeInterpolator == null) {
timeInterpolator = C6217cMa.d;
}
sb.append(timeInterpolator.getClass());
sb.append(" repeatCount: ");
sb.append(this.c);
sb.append(" repeatMode: ");
sb.append(this.d);
sb.append("}\n");
return sb.toString();
}
public final void HH_(Animator animator) {
animator.setStartDelay(this.b);
animator.setDuration(this.a);
TimeInterpolator timeInterpolator = this.e;
if (timeInterpolator == null) {
timeInterpolator = C6217cMa.d;
}
animator.setInterpolator(timeInterpolator);
if (animator instanceof ValueAnimator) {
ValueAnimator valueAnimator = (ValueAnimator) animator;
valueAnimator.setRepeatCount(this.c);
valueAnimator.setRepeatMode(this.d);
}
}
public final int hashCode() {
long j = this.b;
int i = (int) (j ^ (j >>> 32));
long j2 = this.a;
int i2 = (int) ((j2 >>> 32) ^ j2);
TimeInterpolator timeInterpolator = this.e;
if (timeInterpolator == null) {
timeInterpolator = C6217cMa.d;
}
return (((((((i * 31) + i2) * 31) + timeInterpolator.getClass().hashCode()) * 31) + this.c) * 31) + this.d;
}
}