package com.google.android.material.animation;

import X6FRs_4.Nm6q_10.KQgRr5e_0.KQgRr5e_0.KQgRr5e_0;
import X6FRs_4.Nm6q_10.KQgRr5e_0.KQgRr5e_0.PGPF6hQ_2;
import X6FRs_4.Nm6q_10.KQgRr5e_0.KQgRr5e_0.QxJ9d_1;
import android.animation.TimeInterpolator;
import android.view.animation.DecelerateInterpolator;
import android.view.animation.LinearInterpolator;
/* loaded from: classes.dex */
public class AnimationUtils {
    public static final TimeInterpolator LINEAR_INTERPOLATOR = new LinearInterpolator();
    public static final TimeInterpolator FAST_OUT_SLOW_IN_INTERPOLATOR = new QxJ9d_1();
    public static final TimeInterpolator FAST_OUT_LINEAR_IN_INTERPOLATOR = new KQgRr5e_0();
    public static final TimeInterpolator LINEAR_OUT_SLOW_IN_INTERPOLATOR = new PGPF6hQ_2();
    public static final TimeInterpolator DECELERATE_INTERPOLATOR = new DecelerateInterpolator();

    public static float lerp(float f, float f2, float f3) {
        return f + (f3 * (f2 - f));
    }

    public static int lerp(int i, int i2, float f) {
        return i + Math.round(f * (i2 - i));
    }
}
