33 lines
764 B
Java
33 lines
764 B
Java
package o;
|
|
|
|
import android.view.animation.Interpolator;
|
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class Sta implements Interpolator {
|
|
private final float a;
|
|
private final float b;
|
|
private final float e;
|
|
|
|
public Sta() {
|
|
this((byte) 0);
|
|
}
|
|
|
|
private Sta(byte b) {
|
|
this.e = 0.3f;
|
|
this.a = 0.19999999f;
|
|
this.b = 2.5000002f;
|
|
}
|
|
|
|
@Override // android.animation.TimeInterpolator
|
|
public final float getInterpolation(float f) {
|
|
if (Math.abs(f - 0.5f) < this.a) {
|
|
return (f - this.e) * this.b;
|
|
}
|
|
if (f < 0.5f) {
|
|
return BitmapDescriptorFactory.HUE_RED;
|
|
}
|
|
return 1.0f;
|
|
}
|
|
}
|