mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-15 18:37:17 +01:00
49 lines
3 KiB
Java
49 lines
3 KiB
Java
package androidx.compose.ui.spatial;
|
|
|
|
import androidx.compose.ui.unit.IntOffset;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.SourceDebugExtension;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000\u001a\n\u0000\n\u0002\u0010\u000b\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\u0018\u0002\n\u0002\b\u000b\u001a\u0013\u0010\u0005\u001a\u00020\u0006*\u00020\u0007H\u0002¢\u0006\u0004\b\b\u0010\t\u001a\r\u0010\u0011\u001a\u00020\u0006*\u00020\u0001H\u0080\b\"\u0018\u0010\u0000\u001a\u00020\u0001*\u00020\u00028BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\u0003\u0010\u0004\"\u001f\u0010\n\u001a\u00020\u0001*\u00020\u00068Â\u0002X\u0082\u0004¢\u0006\f\u0012\u0004\b\u000b\u0010\f\u001a\u0004\b\n\u0010\r\"\u001f\u0010\u000e\u001a\u00020\u0001*\u00020\u00068Â\u0002X\u0082\u0004¢\u0006\f\u0012\u0004\b\u000f\u0010\f\u001a\u0004\b\u0010\u0010\r¨\u0006\u0012"}, d2 = {"isSet", "", "Landroidx/compose/ui/unit/IntOffset;", "isSet--gyyYBs", "(J)Z", "analyzeComponents", "", "Landroidx/compose/ui/graphics/Matrix;", "analyzeComponents-58bKbWc", "([F)I", "isIdentity", "isIdentity$annotations", "(I)V", "(I)Z", "hasNonTranslationComponents", "getHasNonTranslationComponents$annotations", "getHasNonTranslationComponents", "toInt", "ui_release"}, k = 2, mv = {2, 0, 0}, xi = 48)
|
|
@SourceDebugExtension({"SMAP\nRectManager.kt\nKotlin\n*S Kotlin\n*F\n+ 1 RectManager.kt\nandroidx/compose/ui/spatial/RectManagerKt\n*L\n1#1,527:1\n526#1:528\n*S KotlinDebug\n*F\n+ 1 RectManager.kt\nandroidx/compose/ui/spatial/RectManagerKt\n*L\n515#1:528\n*E\n"})
|
|
/* loaded from: classes13.dex */
|
|
public final class RectManagerKt {
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
/* renamed from: analyzeComponents-58bKbWc, reason: not valid java name */
|
|
public static final int m6603analyzeComponents58bKbWc(float[] fArr) {
|
|
int i = 0;
|
|
if (fArr.length < 16) {
|
|
return 0;
|
|
}
|
|
int i2 = (fArr[0] == 1.0f && fArr[1] == 0.0f && fArr[2] == 0.0f && fArr[4] == 0.0f && fArr[5] == 1.0f && fArr[6] == 0.0f && fArr[8] == 0.0f && fArr[9] == 0.0f && fArr[10] == 1.0f) ? 1 : 0;
|
|
if (fArr[12] == 0.0f && fArr[13] == 0.0f && fArr[14] == 0.0f && fArr[15] == 1.0f) {
|
|
i = 1;
|
|
}
|
|
return (i2 << 1) | i;
|
|
}
|
|
|
|
private static final boolean getHasNonTranslationComponents(int i) {
|
|
return (i & 2) == 0;
|
|
}
|
|
|
|
private static final boolean isIdentity(int i) {
|
|
return i == 3;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
/* renamed from: isSet--gyyYBs, reason: not valid java name */
|
|
public static final boolean m6604isSetgyyYBs(long j) {
|
|
return !IntOffset.m7495equalsimpl0(j, IntOffset.INSTANCE.m7506getMaxnOccac());
|
|
}
|
|
|
|
private static /* synthetic */ void getHasNonTranslationComponents$annotations(int i) {
|
|
}
|
|
|
|
private static /* synthetic */ void isIdentity$annotations(int i) {
|
|
}
|
|
|
|
public static final int toInt(boolean z) {
|
|
return z ? 1 : 0;
|
|
}
|
|
}
|