Files
rr3-apk/decompiled/sources/androidx/core/graphics/MatrixKt.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

69 lines
2.0 KiB
Java

package androidx.core.graphics;
import android.graphics.Matrix;
import kotlin.jvm.internal.SourceDebugExtension;
@SourceDebugExtension({"SMAP\nMatrix.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Matrix.kt\nandroidx/core/graphics/MatrixKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,48:1\n1#2:49\n*E\n"})
/* loaded from: classes.dex */
public final class MatrixKt {
public static final Matrix times(Matrix matrix, Matrix matrix2) {
Matrix matrix3 = new Matrix(matrix);
matrix3.preConcat(matrix2);
return matrix3;
}
public static final float[] values(Matrix matrix) {
float[] fArr = new float[9];
matrix.getValues(fArr);
return fArr;
}
public static /* synthetic */ Matrix translationMatrix$default(float f, float f2, int i, Object obj) {
if ((i & 1) != 0) {
f = 0.0f;
}
if ((i & 2) != 0) {
f2 = 0.0f;
}
return translationMatrix(f, f2);
}
public static final Matrix translationMatrix(float f, float f2) {
Matrix matrix = new Matrix();
matrix.setTranslate(f, f2);
return matrix;
}
public static /* synthetic */ Matrix scaleMatrix$default(float f, float f2, int i, Object obj) {
if ((i & 1) != 0) {
f = 1.0f;
}
if ((i & 2) != 0) {
f2 = 1.0f;
}
return scaleMatrix(f, f2);
}
public static final Matrix scaleMatrix(float f, float f2) {
Matrix matrix = new Matrix();
matrix.setScale(f, f2);
return matrix;
}
public static /* synthetic */ Matrix rotationMatrix$default(float f, float f2, float f3, int i, Object obj) {
if ((i & 2) != 0) {
f2 = 0.0f;
}
if ((i & 4) != 0) {
f3 = 0.0f;
}
return rotationMatrix(f, f2, f3);
}
public static final Matrix rotationMatrix(float f, float f2, float f3) {
Matrix matrix = new Matrix();
matrix.setRotate(f, f2, f3);
return matrix;
}
}