- 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
316 lines
8.2 KiB
Smali
316 lines
8.2 KiB
Smali
.class Landroidx/core/view/WindowInsetsCompat$BuilderImpl;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/core/view/WindowInsetsCompat;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "BuilderImpl"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final mInsets:Landroidx/core/view/WindowInsetsCompat;
|
|
|
|
.field mInsetsTypeMask:[Landroidx/core/graphics/Insets;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 1623
|
|
new-instance v0, Landroidx/core/view/WindowInsetsCompat;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Landroidx/core/view/WindowInsetsCompat;-><init>(Landroidx/core/view/WindowInsetsCompat;)V
|
|
|
|
invoke-direct {p0, v0}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;-><init>(Landroidx/core/view/WindowInsetsCompat;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroidx/core/view/WindowInsetsCompat;)V
|
|
.locals 0
|
|
.param p1 # Landroidx/core/view/WindowInsetsCompat;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1626
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->mInsets:Landroidx/core/view/WindowInsetsCompat;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final applyInsetTypes()V
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->mInsetsTypeMask:[Landroidx/core/graphics/Insets;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 1673
|
|
invoke-static {v1}, Landroidx/core/view/WindowInsetsCompat$Type;->indexOf(I)I
|
|
|
|
move-result v2
|
|
|
|
aget-object v0, v0, v2
|
|
|
|
iget-object v2, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->mInsetsTypeMask:[Landroidx/core/graphics/Insets;
|
|
|
|
const/4 v3, 0x2
|
|
|
|
.line 1674
|
|
invoke-static {v3}, Landroidx/core/view/WindowInsetsCompat$Type;->indexOf(I)I
|
|
|
|
move-result v4
|
|
|
|
aget-object v2, v2, v4
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
iget-object v2, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->mInsets:Landroidx/core/view/WindowInsetsCompat;
|
|
|
|
.line 1679
|
|
invoke-virtual {v2, v3}, Landroidx/core/view/WindowInsetsCompat;->getInsets(I)Landroidx/core/graphics/Insets;
|
|
|
|
move-result-object v2
|
|
|
|
:cond_0
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->mInsets:Landroidx/core/view/WindowInsetsCompat;
|
|
|
|
.line 1682
|
|
invoke-virtual {v0, v1}, Landroidx/core/view/WindowInsetsCompat;->getInsets(I)Landroidx/core/graphics/Insets;
|
|
|
|
move-result-object v0
|
|
|
|
.line 1685
|
|
:cond_1
|
|
invoke-static {v0, v2}, Landroidx/core/graphics/Insets;->max(Landroidx/core/graphics/Insets;Landroidx/core/graphics/Insets;)Landroidx/core/graphics/Insets;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->setSystemWindowInsets(Landroidx/core/graphics/Insets;)V
|
|
|
|
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->mInsetsTypeMask:[Landroidx/core/graphics/Insets;
|
|
|
|
const/16 v1, 0x10
|
|
|
|
.line 1687
|
|
invoke-static {v1}, Landroidx/core/view/WindowInsetsCompat$Type;->indexOf(I)I
|
|
|
|
move-result v1
|
|
|
|
aget-object v0, v0, v1
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 1688
|
|
invoke-virtual {p0, v0}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->setSystemGestureInsets(Landroidx/core/graphics/Insets;)V
|
|
|
|
:cond_2
|
|
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->mInsetsTypeMask:[Landroidx/core/graphics/Insets;
|
|
|
|
const/16 v1, 0x20
|
|
|
|
.line 1690
|
|
invoke-static {v1}, Landroidx/core/view/WindowInsetsCompat$Type;->indexOf(I)I
|
|
|
|
move-result v1
|
|
|
|
aget-object v0, v0, v1
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 1691
|
|
invoke-virtual {p0, v0}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->setMandatorySystemGestureInsets(Landroidx/core/graphics/Insets;)V
|
|
|
|
:cond_3
|
|
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->mInsetsTypeMask:[Landroidx/core/graphics/Insets;
|
|
|
|
const/16 v1, 0x40
|
|
|
|
.line 1693
|
|
invoke-static {v1}, Landroidx/core/view/WindowInsetsCompat$Type;->indexOf(I)I
|
|
|
|
move-result v1
|
|
|
|
aget-object v0, v0, v1
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 1694
|
|
invoke-virtual {p0, v0}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->setTappableElementInsets(Landroidx/core/graphics/Insets;)V
|
|
|
|
:cond_4
|
|
return-void
|
|
.end method
|
|
|
|
.method public build()Landroidx/core/view/WindowInsetsCompat;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1700
|
|
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->applyInsetTypes()V
|
|
|
|
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->mInsets:Landroidx/core/view/WindowInsetsCompat;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public setDisplayCutout(Landroidx/core/view/DisplayCutoutCompat;)V
|
|
.locals 0
|
|
.param p1 # Landroidx/core/view/DisplayCutoutCompat;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setInsets(ILandroidx/core/graphics/Insets;)V
|
|
.locals 3
|
|
.param p2 # Landroidx/core/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->mInsetsTypeMask:[Landroidx/core/graphics/Insets;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/16 v0, 0x9
|
|
|
|
new-array v0, v0, [Landroidx/core/graphics/Insets;
|
|
|
|
iput-object v0, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->mInsetsTypeMask:[Landroidx/core/graphics/Insets;
|
|
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
:goto_0
|
|
const/16 v1, 0x100
|
|
|
|
if-gt v0, v1, :cond_2
|
|
|
|
and-int v1, p1, v0
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
iget-object v1, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->mInsetsTypeMask:[Landroidx/core/graphics/Insets;
|
|
|
|
.line 1651
|
|
invoke-static {v0}, Landroidx/core/view/WindowInsetsCompat$Type;->indexOf(I)I
|
|
|
|
move-result v2
|
|
|
|
aput-object p2, v1, v2
|
|
|
|
:goto_1
|
|
shl-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public setInsetsIgnoringVisibility(ILandroidx/core/graphics/Insets;)V
|
|
.locals 0
|
|
.param p2 # Landroidx/core/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const/16 p2, 0x8
|
|
|
|
if-eq p1, p2, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 1659
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "Ignoring visibility inset not available for IME"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setMandatorySystemGestureInsets(Landroidx/core/graphics/Insets;)V
|
|
.locals 0
|
|
.param p1 # Landroidx/core/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setStableInsets(Landroidx/core/graphics/Insets;)V
|
|
.locals 0
|
|
.param p1 # Landroidx/core/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSystemGestureInsets(Landroidx/core/graphics/Insets;)V
|
|
.locals 0
|
|
.param p1 # Landroidx/core/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSystemWindowInsets(Landroidx/core/graphics/Insets;)V
|
|
.locals 0
|
|
.param p1 # Landroidx/core/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTappableElementInsets(Landroidx/core/graphics/Insets;)V
|
|
.locals 0
|
|
.param p1 # Landroidx/core/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setVisible(IZ)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|