package y8;

import android.view.animation.DecelerateInterpolator;
import android.view.animation.LinearInterpolator;
import com.google.android.gms.measurement.internal.u1;

/* JADX INFO: loaded from: classes2.dex */
public abstract class a {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public static final LinearInterpolator f36864a = new LinearInterpolator();

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static final l1.b f36865b = new l1.b();

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public static final l1.a f36866c = new l1.a();

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public static final l1.c f36867d = new l1.c();

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public static final DecelerateInterpolator f36868e = new DecelerateInterpolator();

    public static float a(float f10, float f11, float f12) {
        return u1.a(f11, f10, f12, f10);
    }

    public static float b(float f10, float f11, float f12, float f13, float f14) {
        return f14 <= f12 ? f10 : f14 >= f13 ? f11 : a(f10, f11, (f14 - f12) / (f13 - f12));
    }

    public static int c(float f10, int i10, int i11) {
        return Math.round(f10 * (i11 - i10)) + i10;
    }
}
