2019-07-31 00:08:31 +00:00
|
|
|
.class public final Landroidx/core/graphics/MatrixKt;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Matrix.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static final rotationMatrix(FFF)Landroid/graphics/Matrix;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/Matrix;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Matrix;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0, p1, p2}, Landroid/graphics/Matrix;->setRotate(FFF)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic rotationMatrix$default(FFFILjava/lang/Object;)Landroid/graphics/Matrix;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
and-int/lit8 p4, p3, 0x2
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p4, :cond_0
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
and-int/lit8 p3, p3, 0x4
|
|
|
|
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-static {p0, p1, p2}, Landroidx/core/graphics/MatrixKt;->rotationMatrix(FFF)Landroid/graphics/Matrix;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final scaleMatrix(FF)Landroid/graphics/Matrix;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/Matrix;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Matrix;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/Matrix;->setScale(FF)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic scaleMatrix$default(FFILjava/lang/Object;)Landroid/graphics/Matrix;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
and-int/lit8 p3, p2, 0x1
|
|
|
|
|
|
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
|
|
|
|
const/high16 p0, 0x3f800000 # 1.0f
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
and-int/lit8 p2, p2, 0x2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
const/high16 p1, 0x3f800000 # 1.0f
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-static {p0, p1}, Landroidx/core/graphics/MatrixKt;->scaleMatrix(FF)Landroid/graphics/Matrix;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final times(Landroid/graphics/Matrix;Landroid/graphics/Matrix;)Landroid/graphics/Matrix;
|
|
|
|
.locals 1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/Matrix;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Matrix;-><init>(Landroid/graphics/Matrix;)V
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Landroid/graphics/Matrix;->preConcat(Landroid/graphics/Matrix;)Z
|
|
|
|
|
|
|
|
return-object v0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "m"
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$times"
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final translationMatrix(FF)Landroid/graphics/Matrix;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/Matrix;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Matrix;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/Matrix;->setTranslate(FF)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic translationMatrix$default(FFILjava/lang/Object;)Landroid/graphics/Matrix;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
and-int/lit8 p3, p2, 0x1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
and-int/lit8 p2, p2, 0x2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-static {p0, p1}, Landroidx/core/graphics/MatrixKt;->translationMatrix(FF)Landroid/graphics/Matrix;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final values(Landroid/graphics/Matrix;)[F
|
|
|
|
.locals 1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
const/16 v0, 0x9
|
|
|
|
|
|
|
|
new-array v0, v0, [F
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/graphics/Matrix;->getValues([F)V
|
|
|
|
|
|
|
|
return-object v0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$values"
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|