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

46 lines
874 B
Java

package o;
import android.animation.Animator;
import android.animation.ValueAnimator;
import o.NPh;
/* loaded from: classes3.dex */
public abstract class XKS<T extends Animator> {
protected NPh.RVV b;
protected long d = 350;
protected T c = PW_();
public abstract T PW_();
public abstract XKS a(float f);
public XKS(NPh.RVV rvv) {
this.b = rvv;
}
public XKS b(long j) {
this.d = j;
T t = this.c;
if (t instanceof ValueAnimator) {
t.setDuration(j);
}
return this;
}
public final void d() {
T t = this.c;
if (t == null || t.isRunning()) {
return;
}
this.c.start();
}
public final void e() {
T t = this.c;
if (t == null || !t.isStarted()) {
return;
}
this.c.end();
}
}