package androidx.core.view;

import android.view.animation.Interpolator;
import androidx.annotation.Nullable;

/* JADX INFO: loaded from: classes.dex */
public class k2 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final int f1775a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public float f1776b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final long f1777c;

    @Nullable
    private final Interpolator mInterpolator;

    public k2(int i10, @Nullable Interpolator interpolator, long j10) {
        this.f1775a = i10;
        this.mInterpolator = interpolator;
        this.f1777c = j10;
    }

    public long a() {
        return this.f1777c;
    }

    public float b() {
        Interpolator interpolator = this.mInterpolator;
        return interpolator != null ? interpolator.getInterpolation(this.f1776b) : this.f1776b;
    }

    public int c() {
        return this.f1775a;
    }

    public void d(float f10) {
        this.f1776b = f10;
    }

    @Nullable
    public Interpolator getInterpolator() {
        return this.mInterpolator;
    }
}
