package m0;

import android.animation.TypeEvaluator;
import android.graphics.Matrix;

/* JADX INFO: compiled from: MatrixEvaluator.java */
/* JADX INFO: loaded from: classes.dex */
public class g implements TypeEvaluator<Matrix> {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    private final float[] f5563a = new float[9];

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    private final float[] f5564b = new float[9];

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    private final Matrix f5565c = new Matrix();

    public Matrix a(float f3, Matrix matrix, Matrix matrix2) {
        matrix.getValues(this.f5563a);
        matrix2.getValues(this.f5564b);
        for (int i3 = 0; i3 < 9; i3++) {
            float[] fArr = this.f5564b;
            float f4 = fArr[i3];
            float[] fArr2 = this.f5563a;
            fArr[i3] = fArr2[i3] + ((f4 - fArr2[i3]) * f3);
        }
        this.f5565c.setValues(this.f5564b);
        return this.f5565c;
    }
}
