mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-28 01:52:26 -06:00
26 lines
753 B
Java
26 lines
753 B
Java
package androidx.transition;
|
|
|
|
import android.animation.TypeEvaluator;
|
|
|
|
/* loaded from: classes2.dex */
|
|
class FloatArrayEvaluator implements TypeEvaluator<float[]> {
|
|
private float[] mArray;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public FloatArrayEvaluator(float[] fArr) {
|
|
this.mArray = fArr;
|
|
}
|
|
|
|
@Override // android.animation.TypeEvaluator
|
|
public float[] evaluate(float f, float[] fArr, float[] fArr2) {
|
|
float[] fArr3 = this.mArray;
|
|
if (fArr3 == null) {
|
|
fArr3 = new float[fArr.length];
|
|
}
|
|
for (int i = 0; i < fArr3.length; i++) {
|
|
float f2 = fArr[i];
|
|
fArr3[i] = f2 + ((fArr2[i] - f2) * f);
|
|
}
|
|
return fArr3;
|
|
}
|
|
}
|