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

287 lines
12 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.animation.TimeInterpolator;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
/* renamed from: o.aiS, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2640aiS {
public static final LWm a;
public static final LWm c;
public static final LWm e;
/* renamed from: o.aiS$LWm */
/* loaded from: classes.dex */
public interface LWm extends TimeInterpolator {
@Override // android.animation.TimeInterpolator
float getInterpolation(float f);
}
static {
new LWm() { // from class: o.aiS.5
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
return f;
}
};
new LWm() { // from class: o.aiS.15
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
return f * f;
}
};
new LWm() { // from class: o.aiS.24
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
return (-f) * (f - 2.0f);
}
};
c = new LWm() { // from class: o.aiS.25
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
float f2 = f * 2.0f;
if (f2 < 1.0f) {
return 0.5f * f2 * f2;
}
float f3 = f2 - 1.0f;
return ((f3 * (f3 - 2.0f)) - 1.0f) * (-0.5f);
}
};
new LWm() { // from class: o.aiS.23
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
return (float) Math.pow(f, 3.0d);
}
};
new LWm() { // from class: o.aiS.21
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
return ((float) Math.pow(f - 1.0f, 3.0d)) + 1.0f;
}
};
new LWm() { // from class: o.aiS.28
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
float pow;
float f2 = f * 2.0f;
if (f2 < 1.0f) {
pow = (float) Math.pow(f2, 3.0d);
} else {
pow = ((float) Math.pow(f2 - 2.0f, 3.0d)) + 2.0f;
}
return pow * 0.5f;
}
};
new LWm() { // from class: o.aiS.27
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
return (float) Math.pow(f, 4.0d);
}
};
new LWm() { // from class: o.aiS.29
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
return -(((float) Math.pow(f - 1.0f, 4.0d)) - 1.0f);
}
};
new LWm() { // from class: o.aiS.4
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
float pow;
float f2;
float f3 = f * 2.0f;
if (f3 < 1.0f) {
pow = (float) Math.pow(f3, 4.0d);
f2 = 0.5f;
} else {
pow = ((float) Math.pow(f3 - 2.0f, 4.0d)) - 2.0f;
f2 = -0.5f;
}
return pow * f2;
}
};
new LWm() { // from class: o.aiS.3
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
return (-((float) Math.cos(f * 1.5707963267948966d))) + 1.0f;
}
};
new LWm() { // from class: o.aiS.1
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
return (float) Math.sin(f * 1.5707963267948966d);
}
};
new LWm() { // from class: o.aiS.2
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
return (((float) Math.cos(f * 3.141592653589793d)) - 1.0f) * (-0.5f);
}
};
new LWm() { // from class: o.aiS.9
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
return f == BitmapDescriptorFactory.HUE_RED ? BitmapDescriptorFactory.HUE_RED : (float) Math.pow(2.0d, (f - 1.0f) * 10.0f);
}
};
new LWm() { // from class: o.aiS.10
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
if (f == 1.0f) {
return 1.0f;
}
return -((float) Math.pow(2.0d, (f + 1.0f) * (-10.0f)));
}
};
new LWm() { // from class: o.aiS.6
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
float f2;
if (f == BitmapDescriptorFactory.HUE_RED) {
return BitmapDescriptorFactory.HUE_RED;
}
if (f == 1.0f) {
return 1.0f;
}
if (f * 2.0f < 1.0f) {
f2 = (float) Math.pow(2.0d, (r8 - 1.0f) * 10.0f);
} else {
f2 = (-((float) Math.pow(2.0d, (r8 - 1.0f) * (-10.0f)))) + 2.0f;
}
return f2 * 0.5f;
}
};
new LWm() { // from class: o.aiS.7
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
return -(((float) Math.sqrt(1.0f - (f * f))) - 1.0f);
}
};
new LWm() { // from class: o.aiS.8
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
float f2 = f - 1.0f;
return (float) Math.sqrt(1.0f - (f2 * f2));
}
};
new LWm() { // from class: o.aiS.13
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
float sqrt;
float f2;
float f3 = f * 2.0f;
if (f3 < 1.0f) {
sqrt = ((float) Math.sqrt(1.0f - (f3 * f3))) - 1.0f;
f2 = -0.5f;
} else {
float f4 = f3 - 2.0f;
sqrt = ((float) Math.sqrt(1.0f - (f4 * f4))) + 1.0f;
f2 = 0.5f;
}
return sqrt * f2;
}
};
new LWm() { // from class: o.aiS.11
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
if (f == BitmapDescriptorFactory.HUE_RED) {
return BitmapDescriptorFactory.HUE_RED;
}
if (f == 1.0f) {
return 1.0f;
}
float f2 = f - 1.0f;
return -(((float) Math.pow(2.0d, 10.0f * f2)) * ((float) Math.sin(((f2 - (((float) Math.asin(1.0d)) * 0.047746483f)) * 6.2831855f) / 0.3f)));
}
};
new LWm() { // from class: o.aiS.14
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
if (f == BitmapDescriptorFactory.HUE_RED) {
return BitmapDescriptorFactory.HUE_RED;
}
if (f == 1.0f) {
return 1.0f;
}
return (((float) Math.pow(2.0d, (-10.0f) * f)) * ((float) Math.sin(((f - (((float) Math.asin(1.0d)) * 0.047746483f)) * 6.2831855f) / 0.3f))) + 1.0f;
}
};
new LWm() { // from class: o.aiS.12
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
if (f == BitmapDescriptorFactory.HUE_RED) {
return BitmapDescriptorFactory.HUE_RED;
}
float f2 = f * 2.0f;
if (f2 == 2.0f) {
return 1.0f;
}
float asin = ((float) Math.asin(1.0d)) * 0.07161972f;
if (f2 < 1.0f) {
float f3 = f2 - 1.0f;
return ((float) Math.pow(2.0d, 10.0f * f3)) * ((float) Math.sin((f3 - asin) * 6.2831855f * 2.2222223f)) * (-0.5f);
}
float f4 = f2 - 1.0f;
return (((float) Math.pow(2.0d, (-10.0f) * f4)) * 0.5f * ((float) Math.sin((f4 - asin) * 6.2831855f * 2.2222223f))) + 1.0f;
}
};
new LWm() { // from class: o.aiS.18
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
return f * f * ((f * 2.70158f) - 1.70158f);
}
};
new LWm() { // from class: o.aiS.16
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
float f2 = f - 1.0f;
return (f2 * f2 * ((f2 * 2.70158f) + 1.70158f)) + 1.0f;
}
};
new LWm() { // from class: o.aiS.19
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
float f2 = f * 2.0f;
if (f2 < 1.0f) {
return f2 * f2 * ((f2 * 3.5949094f) - 2.5949094f) * 0.5f;
}
float f3 = f2 - 2.0f;
return ((f3 * f3 * ((f3 * 3.5949094f) + 2.5949094f)) + 2.0f) * 0.5f;
}
};
a = new LWm() { // from class: o.aiS.17
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
return 1.0f - C2640aiS.e.getInterpolation(1.0f - f);
}
};
e = new LWm() { // from class: o.aiS.20
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
if (f < 0.36363637f) {
return 7.5625f * f * f;
}
if (f < 0.72727275f) {
float f2 = f - 0.54545456f;
return (7.5625f * f2 * f2) + 0.75f;
}
if (f < 0.90909094f) {
float f3 = f - 0.8181818f;
return (7.5625f * f3 * f3) + 0.9375f;
}
float f4 = f - 0.95454544f;
return (7.5625f * f4 * f4) + 0.984375f;
}
};
new LWm() { // from class: o.aiS.22
@Override // o.C2640aiS.LWm, android.animation.TimeInterpolator
public final float getInterpolation(float f) {
if (f < 0.5f) {
return C2640aiS.a.getInterpolation(f * 2.0f) * 0.5f;
}
return (C2640aiS.e.getInterpolation((f * 2.0f) - 1.0f) * 0.5f) + 0.5f;
}
};
}
}