- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
604 lines
16 KiB
Smali
604 lines
16 KiB
Smali
.class public final Landroidx/core/graphics/RectKt;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation build Lkotlin/jvm/internal/SourceDebugExtension;
|
|
value = {
|
|
"SMAP\nRect.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Rect.kt\nandroidx/core/graphics/RectKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,294:1\n278#1,3:296\n211#1,6:299\n114#1:305\n122#1:307\n278#1,3:309\n278#1,3:312\n1#2:295\n1#2:306\n1#2:308\n*S KotlinDebug\n*F\n+ 1 Rect.kt\nandroidx/core/graphics/RectKt\n*L\n161#1:296,3\n207#1:299,6\n220#1:305\n223#1:307\n253#1:309,3\n290#1:312,3\n220#1:306\n223#1:308\n*E\n"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public static final and(Landroid/graphics/Rect;Landroid/graphics/Rect;)Landroid/graphics/Rect;
|
|
.locals 1
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"CheckResult"
|
|
}
|
|
.end annotation
|
|
|
|
.line 231
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
invoke-virtual {v0, p1}, Landroid/graphics/Rect;->intersect(Landroid/graphics/Rect;)Z
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final and(Landroid/graphics/RectF;Landroid/graphics/RectF;)Landroid/graphics/RectF;
|
|
.locals 1
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"CheckResult"
|
|
}
|
|
.end annotation
|
|
|
|
.line 240
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/RectF;)V
|
|
|
|
invoke-virtual {v0, p1}, Landroid/graphics/RectF;->intersect(Landroid/graphics/RectF;)Z
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final component1(Landroid/graphics/RectF;)F
|
|
.locals 0
|
|
|
|
.line 77
|
|
iget p0, p0, Landroid/graphics/RectF;->left:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final component1(Landroid/graphics/Rect;)I
|
|
.locals 0
|
|
|
|
.line 37
|
|
iget p0, p0, Landroid/graphics/Rect;->left:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final component2(Landroid/graphics/RectF;)F
|
|
.locals 0
|
|
|
|
.line 87
|
|
iget p0, p0, Landroid/graphics/RectF;->top:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final component2(Landroid/graphics/Rect;)I
|
|
.locals 0
|
|
|
|
.line 47
|
|
iget p0, p0, Landroid/graphics/Rect;->top:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final component3(Landroid/graphics/RectF;)F
|
|
.locals 0
|
|
|
|
.line 97
|
|
iget p0, p0, Landroid/graphics/RectF;->right:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final component3(Landroid/graphics/Rect;)I
|
|
.locals 0
|
|
|
|
.line 57
|
|
iget p0, p0, Landroid/graphics/Rect;->right:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final component4(Landroid/graphics/RectF;)F
|
|
.locals 0
|
|
|
|
.line 107
|
|
iget p0, p0, Landroid/graphics/RectF;->bottom:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final component4(Landroid/graphics/Rect;)I
|
|
.locals 0
|
|
|
|
.line 67
|
|
iget p0, p0, Landroid/graphics/Rect;->bottom:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final contains(Landroid/graphics/Rect;Landroid/graphics/Point;)Z
|
|
.locals 1
|
|
|
|
.line 261
|
|
iget v0, p1, Landroid/graphics/Point;->x:I
|
|
|
|
iget p1, p1, Landroid/graphics/Point;->y:I
|
|
|
|
invoke-virtual {p0, v0, p1}, Landroid/graphics/Rect;->contains(II)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final contains(Landroid/graphics/RectF;Landroid/graphics/PointF;)Z
|
|
.locals 1
|
|
|
|
.line 268
|
|
iget v0, p1, Landroid/graphics/PointF;->x:F
|
|
|
|
iget p1, p1, Landroid/graphics/PointF;->y:F
|
|
|
|
invoke-virtual {p0, v0, p1}, Landroid/graphics/RectF;->contains(FF)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final minus(Landroid/graphics/Rect;I)Landroid/graphics/Rect;
|
|
.locals 1
|
|
|
|
.line 169
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
neg-int p0, p1
|
|
|
|
invoke-virtual {v0, p0, p0}, Landroid/graphics/Rect;->offset(II)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final minus(Landroid/graphics/Rect;Landroid/graphics/Point;)Landroid/graphics/Rect;
|
|
.locals 1
|
|
|
|
.line 185
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
iget p0, p1, Landroid/graphics/Point;->x:I
|
|
|
|
neg-int p0, p0
|
|
|
|
iget p1, p1, Landroid/graphics/Point;->y:I
|
|
|
|
neg-int p1, p1
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/Rect;->offset(II)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final minus(Landroid/graphics/RectF;F)Landroid/graphics/RectF;
|
|
.locals 1
|
|
|
|
.line 177
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/RectF;)V
|
|
|
|
neg-float p0, p1
|
|
|
|
invoke-virtual {v0, p0, p0}, Landroid/graphics/RectF;->offset(FF)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final minus(Landroid/graphics/RectF;Landroid/graphics/PointF;)Landroid/graphics/RectF;
|
|
.locals 1
|
|
|
|
.line 193
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/RectF;)V
|
|
|
|
iget p0, p1, Landroid/graphics/PointF;->x:F
|
|
|
|
neg-float p0, p0
|
|
|
|
iget p1, p1, Landroid/graphics/PointF;->y:F
|
|
|
|
neg-float p1, p1
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/RectF;->offset(FF)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final minus(Landroid/graphics/Rect;Landroid/graphics/Rect;)Landroid/graphics/Region;
|
|
.locals 1
|
|
|
|
.line 153
|
|
new-instance v0, Landroid/graphics/Region;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Region;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
sget-object p0, Landroid/graphics/Region$Op;->DIFFERENCE:Landroid/graphics/Region$Op;
|
|
|
|
invoke-virtual {v0, p1, p0}, Landroid/graphics/Region;->op(Landroid/graphics/Rect;Landroid/graphics/Region$Op;)Z
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final minus(Landroid/graphics/RectF;Landroid/graphics/RectF;)Landroid/graphics/Region;
|
|
.locals 2
|
|
|
|
.line 161
|
|
new-instance v0, Landroid/graphics/Region;
|
|
|
|
.line 278
|
|
new-instance v1, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
.line 279
|
|
invoke-virtual {p0, v1}, Landroid/graphics/RectF;->roundOut(Landroid/graphics/Rect;)V
|
|
|
|
.line 161
|
|
invoke-direct {v0, v1}, Landroid/graphics/Region;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
.line 278
|
|
new-instance p0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {p0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
.line 279
|
|
invoke-virtual {p1, p0}, Landroid/graphics/RectF;->roundOut(Landroid/graphics/Rect;)V
|
|
|
|
.line 161
|
|
sget-object p1, Landroid/graphics/Region$Op;->DIFFERENCE:Landroid/graphics/Region$Op;
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/Region;->op(Landroid/graphics/Rect;Landroid/graphics/Region$Op;)Z
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final or(Landroid/graphics/Rect;Landroid/graphics/Rect;)Landroid/graphics/Rect;
|
|
.locals 1
|
|
|
|
.line 114
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
invoke-virtual {v0, p1}, Landroid/graphics/Rect;->union(Landroid/graphics/Rect;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final or(Landroid/graphics/RectF;Landroid/graphics/RectF;)Landroid/graphics/RectF;
|
|
.locals 1
|
|
|
|
.line 122
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/RectF;)V
|
|
|
|
invoke-virtual {v0, p1}, Landroid/graphics/RectF;->union(Landroid/graphics/RectF;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final plus(Landroid/graphics/Rect;I)Landroid/graphics/Rect;
|
|
.locals 1
|
|
|
|
.line 130
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
invoke-virtual {v0, p1, p1}, Landroid/graphics/Rect;->offset(II)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final plus(Landroid/graphics/Rect;Landroid/graphics/Point;)Landroid/graphics/Rect;
|
|
.locals 1
|
|
|
|
.line 143
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
iget p0, p1, Landroid/graphics/Point;->x:I
|
|
|
|
iget p1, p1, Landroid/graphics/Point;->y:I
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/Rect;->offset(II)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final plus(Landroid/graphics/Rect;Landroid/graphics/Rect;)Landroid/graphics/Rect;
|
|
.locals 1
|
|
|
|
.line 114
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
invoke-virtual {v0, p1}, Landroid/graphics/Rect;->union(Landroid/graphics/Rect;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final plus(Landroid/graphics/RectF;F)Landroid/graphics/RectF;
|
|
.locals 1
|
|
|
|
.line 138
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/RectF;)V
|
|
|
|
invoke-virtual {v0, p1, p1}, Landroid/graphics/RectF;->offset(FF)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final plus(Landroid/graphics/RectF;Landroid/graphics/PointF;)Landroid/graphics/RectF;
|
|
.locals 1
|
|
|
|
.line 148
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/RectF;)V
|
|
|
|
iget p0, p1, Landroid/graphics/PointF;->x:F
|
|
|
|
iget p1, p1, Landroid/graphics/PointF;->y:F
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/RectF;->offset(FF)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final plus(Landroid/graphics/RectF;Landroid/graphics/RectF;)Landroid/graphics/RectF;
|
|
.locals 1
|
|
|
|
.line 122
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/RectF;)V
|
|
|
|
invoke-virtual {v0, p1}, Landroid/graphics/RectF;->union(Landroid/graphics/RectF;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final times(Landroid/graphics/Rect;I)Landroid/graphics/Rect;
|
|
.locals 1
|
|
|
|
.line 198
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
iget p0, v0, Landroid/graphics/Rect;->top:I
|
|
|
|
mul-int/2addr p0, p1
|
|
|
|
iput p0, v0, Landroid/graphics/Rect;->top:I
|
|
|
|
iget p0, v0, Landroid/graphics/Rect;->left:I
|
|
|
|
mul-int/2addr p0, p1
|
|
|
|
iput p0, v0, Landroid/graphics/Rect;->left:I
|
|
|
|
iget p0, v0, Landroid/graphics/Rect;->right:I
|
|
|
|
mul-int/2addr p0, p1
|
|
|
|
iput p0, v0, Landroid/graphics/Rect;->right:I
|
|
|
|
iget p0, v0, Landroid/graphics/Rect;->bottom:I
|
|
|
|
mul-int/2addr p0, p1
|
|
|
|
iput p0, v0, Landroid/graphics/Rect;->bottom:I
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final times(Landroid/graphics/RectF;F)Landroid/graphics/RectF;
|
|
.locals 1
|
|
|
|
.line 211
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/RectF;)V
|
|
|
|
iget p0, v0, Landroid/graphics/RectF;->top:F
|
|
|
|
mul-float/2addr p0, p1
|
|
|
|
iput p0, v0, Landroid/graphics/RectF;->top:F
|
|
|
|
iget p0, v0, Landroid/graphics/RectF;->left:F
|
|
|
|
mul-float/2addr p0, p1
|
|
|
|
iput p0, v0, Landroid/graphics/RectF;->left:F
|
|
|
|
iget p0, v0, Landroid/graphics/RectF;->right:F
|
|
|
|
mul-float/2addr p0, p1
|
|
|
|
iput p0, v0, Landroid/graphics/RectF;->right:F
|
|
|
|
iget p0, v0, Landroid/graphics/RectF;->bottom:F
|
|
|
|
mul-float/2addr p0, p1
|
|
|
|
iput p0, v0, Landroid/graphics/RectF;->bottom:F
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final times(Landroid/graphics/RectF;I)Landroid/graphics/RectF;
|
|
.locals 1
|
|
|
|
int-to-float p1, p1
|
|
|
|
.line 211
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/RectF;)V
|
|
|
|
iget p0, v0, Landroid/graphics/RectF;->top:F
|
|
|
|
mul-float/2addr p0, p1
|
|
|
|
iput p0, v0, Landroid/graphics/RectF;->top:F
|
|
|
|
iget p0, v0, Landroid/graphics/RectF;->left:F
|
|
|
|
mul-float/2addr p0, p1
|
|
|
|
iput p0, v0, Landroid/graphics/RectF;->left:F
|
|
|
|
iget p0, v0, Landroid/graphics/RectF;->right:F
|
|
|
|
mul-float/2addr p0, p1
|
|
|
|
iput p0, v0, Landroid/graphics/RectF;->right:F
|
|
|
|
iget p0, v0, Landroid/graphics/RectF;->bottom:F
|
|
|
|
mul-float/2addr p0, p1
|
|
|
|
iput p0, v0, Landroid/graphics/RectF;->bottom:F
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final toRect(Landroid/graphics/RectF;)Landroid/graphics/Rect;
|
|
.locals 1
|
|
|
|
.line 278
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
.line 279
|
|
invoke-virtual {p0, v0}, Landroid/graphics/RectF;->roundOut(Landroid/graphics/Rect;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final toRectF(Landroid/graphics/Rect;)Landroid/graphics/RectF;
|
|
.locals 1
|
|
|
|
.line 271
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final toRegion(Landroid/graphics/Rect;)Landroid/graphics/Region;
|
|
.locals 1
|
|
|
|
.line 284
|
|
new-instance v0, Landroid/graphics/Region;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Region;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final toRegion(Landroid/graphics/RectF;)Landroid/graphics/Region;
|
|
.locals 2
|
|
|
|
.line 290
|
|
new-instance v0, Landroid/graphics/Region;
|
|
|
|
.line 278
|
|
new-instance v1, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
.line 279
|
|
invoke-virtual {p0, v1}, Landroid/graphics/RectF;->roundOut(Landroid/graphics/Rect;)V
|
|
|
|
.line 290
|
|
invoke-direct {v0, v1}, Landroid/graphics/Region;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final transform(Landroid/graphics/RectF;Landroid/graphics/Matrix;)Landroid/graphics/RectF;
|
|
.locals 0
|
|
|
|
.line 293
|
|
invoke-virtual {p1, p0}, Landroid/graphics/Matrix;->mapRect(Landroid/graphics/RectF;)Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final xor(Landroid/graphics/Rect;Landroid/graphics/Rect;)Landroid/graphics/Region;
|
|
.locals 1
|
|
|
|
.line 245
|
|
new-instance v0, Landroid/graphics/Region;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Region;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
sget-object p0, Landroid/graphics/Region$Op;->XOR:Landroid/graphics/Region$Op;
|
|
|
|
invoke-virtual {v0, p1, p0}, Landroid/graphics/Region;->op(Landroid/graphics/Rect;Landroid/graphics/Region$Op;)Z
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final xor(Landroid/graphics/RectF;Landroid/graphics/RectF;)Landroid/graphics/Region;
|
|
.locals 2
|
|
|
|
.line 253
|
|
new-instance v0, Landroid/graphics/Region;
|
|
|
|
.line 278
|
|
new-instance v1, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
.line 279
|
|
invoke-virtual {p0, v1}, Landroid/graphics/RectF;->roundOut(Landroid/graphics/Rect;)V
|
|
|
|
.line 253
|
|
invoke-direct {v0, v1}, Landroid/graphics/Region;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
.line 278
|
|
new-instance p0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {p0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
.line 279
|
|
invoke-virtual {p1, p0}, Landroid/graphics/RectF;->roundOut(Landroid/graphics/Rect;)V
|
|
|
|
.line 253
|
|
sget-object p1, Landroid/graphics/Region$Op;->XOR:Landroid/graphics/Region$Op;
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/Region;->op(Landroid/graphics/Rect;Landroid/graphics/Region$Op;)Z
|
|
|
|
return-object v0
|
|
.end method
|