Rabbit-R1/switch port/java/sources/androidx/compose/ui/graphics/MatrixKt.java
2024-05-21 17:08:36 -04:00

33 lines
1.9 KiB
Java

package androidx.compose.ui.graphics;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: Matrix.kt */
@Metadata(d1 = {"\u0000\u001e\n\u0000\n\u0002\u0010\u0007\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u0003\u001a5\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u00052\u0006\u0010\u0006\u001a\u00020\u00032\u0006\u0010\u0007\u001a\u00020\u0005H\u0002ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\b\u0010\t\u001a\u0017\u0010\n\u001a\u00020\u000b*\u00020\u0003ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\f\u0010\r\u0082\u0002\u000b\n\u0005\\u001e0\u0001\n\u0002\b\u0019¨\u0006\u000e"}, d2 = {"dot", "", "m1", "Landroidx/compose/ui/graphics/Matrix;", "row", "", "m2", "column", "dot-p89u6pk", "([FI[FI)F", "isIdentity", "", "isIdentity-58bKbWc", "([F)Z", "ui-graphics_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class MatrixKt {
/* JADX INFO: Access modifiers changed from: private */
/* renamed from: dot-p89u6pk, reason: not valid java name */
public static final float m2887dotp89u6pk(float[] fArr, int i, float[] fArr2, int i2) {
int i3 = i * 4;
return (fArr[i3] * fArr2[i2]) + (fArr[i3 + 1] * fArr2[4 + i2]) + (fArr[i3 + 2] * fArr2[8 + i2]) + (fArr[i3 + 3] * fArr2[12 + i2]);
}
/* renamed from: isIdentity-58bKbWc, reason: not valid java name */
public static final boolean m2888isIdentity58bKbWc(float[] isIdentity) {
Intrinsics.checkNotNullParameter(isIdentity, "$this$isIdentity");
int i = 0;
while (i < 4) {
int i2 = 0;
while (i2 < 4) {
if (isIdentity[(i * 4) + i2] != (i == i2 ? 1.0f : 0.0f)) {
return false;
}
i2++;
}
i++;
}
return true;
}
}