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

198 lines
5.7 KiB
Java

package o;
import android.util.SparseArray;
import android.view.View;
import androidx.constraintlayout.motion.widget.MotionLayout;
import java.lang.reflect.Array;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import o.Prc;
/* loaded from: classes.dex */
public abstract class YpW extends pqt {
/* loaded from: classes.dex */
public static class Sts extends YpW {
@Override // o.YpW
public final void e(View view, float f) {
}
}
public abstract void e(View view, float f);
/* loaded from: classes.dex */
public static class HBt extends YpW {
@Override // o.YpW
public final void e(View view, float f) {
view.setElevation((float) this.d.e(f));
}
}
/* loaded from: classes.dex */
public static class IeS extends YpW {
@Override // o.YpW
public final void e(View view, float f) {
view.setAlpha((float) this.d.e(f));
}
}
/* loaded from: classes.dex */
public static class saX extends YpW {
@Override // o.YpW
public final void e(View view, float f) {
view.setRotation((float) this.d.e(f));
}
}
/* loaded from: classes.dex */
public static class ojQ extends YpW {
@Override // o.YpW
public final void e(View view, float f) {
view.setRotationX((float) this.d.e(f));
}
}
/* loaded from: classes.dex */
public static class jbe extends YpW {
@Override // o.YpW
public final void e(View view, float f) {
view.setRotationY((float) this.d.e(f));
}
}
/* loaded from: classes.dex */
public static class LWm extends YpW {
@Override // o.YpW
public final void e(View view, float f) {
view.setPivotX((float) this.d.e(f));
}
}
/* loaded from: classes.dex */
public static class ZqN extends YpW {
@Override // o.YpW
public final void e(View view, float f) {
view.setPivotY((float) this.d.e(f));
}
}
/* loaded from: classes.dex */
public static class dAO extends YpW {
@Override // o.YpW
public final void e(View view, float f) {
view.setScaleX((float) this.d.e(f));
}
}
/* loaded from: classes.dex */
public static class vUG extends YpW {
@Override // o.YpW
public final void e(View view, float f) {
view.setScaleY((float) this.d.e(f));
}
}
/* loaded from: classes.dex */
public static class jNh extends YpW {
@Override // o.YpW
public final void e(View view, float f) {
view.setTranslationX((float) this.d.e(f));
}
}
/* loaded from: classes.dex */
public static class NHB extends YpW {
@Override // o.YpW
public final void e(View view, float f) {
view.setTranslationY((float) this.d.e(f));
}
}
/* loaded from: classes.dex */
public static class ZnX extends YpW {
@Override // o.YpW
public final void e(View view, float f) {
view.setTranslationZ((float) this.d.e(f));
}
}
/* loaded from: classes.dex */
public static class RVV extends YpW {
public SparseArray<Prc> a;
private float[] b;
private String c;
public RVV(String str, SparseArray<Prc> sparseArray) {
this.c = str.split(",")[1];
this.a = sparseArray;
}
@Override // o.pqt
public final void c(int i) {
int size = this.a.size();
int i2 = Prc.AnonymousClass1.a[this.a.valueAt(0).g.ordinal()];
int i3 = 4;
if (i2 != 4 && i2 != 5) {
i3 = 1;
}
double[] dArr = new double[size];
this.b = new float[i3];
double[][] dArr2 = (double[][]) Array.newInstance((Class<?>) Double.TYPE, size, i3);
for (int i4 = 0; i4 < size; i4++) {
int keyAt = this.a.keyAt(i4);
Prc valueAt = this.a.valueAt(i4);
dArr[i4] = keyAt * 0.01d;
valueAt.e(this.b);
int i5 = 0;
while (true) {
if (i5 < this.b.length) {
dArr2[i4][i5] = r6[i5];
i5++;
}
}
}
this.d = ktU.b(i, dArr, dArr2);
}
@Override // o.pqt
public final void c(int i, float f) {
throw new RuntimeException("don't call for custom attribute call setPoint(pos, ConstraintAttribute)");
}
@Override // o.YpW
public final void e(View view, float f) {
this.d.a(f, this.b);
Gsu.d(this.a.valueAt(0), view, this.b);
}
}
/* loaded from: classes.dex */
public static class tOB extends YpW {
private boolean a = false;
@Override // o.YpW
public final void e(View view, float f) {
Method method;
if (view instanceof MotionLayout) {
((MotionLayout) view).setProgress((float) this.d.e(f));
return;
}
if (this.a) {
return;
}
try {
method = view.getClass().getMethod("setProgress", Float.TYPE);
} catch (NoSuchMethodException unused) {
this.a = true;
method = null;
}
if (method != null) {
try {
method.invoke(view, Float.valueOf((float) this.d.e(f)));
} catch (IllegalAccessException | InvocationTargetException unused2) {
}
}
}
}
}