Files
rr3-apk/smali/androidx/core/view/WindowInsetsCompat$BuilderImpl20.smali
Daniel Elliott f3960ee359 Add Discord APKTool decompilation (Smali source for modding)
- 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
2026-02-18 16:13:44 -08:00

270 lines
7.8 KiB
Smali

.class Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;
.super Landroidx/core/view/WindowInsetsCompat$BuilderImpl;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
api = 0x14
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/view/WindowInsetsCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "BuilderImpl20"
.end annotation
# static fields
.field private static sConstructor:Ljava/lang/reflect/Constructor; = null
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/reflect/Constructor<",
"Landroid/view/WindowInsets;",
">;"
}
.end annotation
.end field
.field private static sConstructorFetched:Z = false
.field private static sConsumedField:Ljava/lang/reflect/Field; = null
.field private static sConsumedFieldFetched:Z = false
# instance fields
.field private mPlatformInsets:Landroid/view/WindowInsets;
.field private mStableInsets:Landroidx/core/graphics/Insets;
# direct methods
.method static constructor <clinit>()V
.locals 0
return-void
.end method
.method public constructor <init>()V
.locals 1
.line 1720
invoke-direct {p0}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;-><init>()V
.line 1721
invoke-static {}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->createWindowInsetsInstance()Landroid/view/WindowInsets;
move-result-object v0
iput-object v0, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->mPlatformInsets:Landroid/view/WindowInsets;
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 1725
invoke-direct {p0, p1}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;-><init>(Landroidx/core/view/WindowInsetsCompat;)V
.line 1726
invoke-virtual {p1}, Landroidx/core/view/WindowInsetsCompat;->toWindowInsets()Landroid/view/WindowInsets;
move-result-object p1
iput-object p1, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->mPlatformInsets:Landroid/view/WindowInsets;
return-void
.end method
.method private static createWindowInsetsInstance()Landroid/view/WindowInsets;
.locals 6
.annotation build Landroidx/annotation/Nullable;
.end annotation
sget-boolean v0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->sConsumedFieldFetched:Z
const-class v1, Landroid/view/WindowInsets;
const/4 v2, 0x1
if-nez v0, :cond_0
:try_start_0
const-string v0, "CONSUMED"
.line 1763
invoke-virtual {v1, v0}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;
move-result-object v0
sput-object v0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->sConsumedField:Ljava/lang/reflect/Field;
:try_end_0
.catch Ljava/lang/ReflectiveOperationException; {:try_start_0 .. :try_end_0} :catch_0
:catch_0
sput-boolean v2, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->sConsumedFieldFetched:Z
:cond_0
sget-object v0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->sConsumedField:Ljava/lang/reflect/Field;
const/4 v3, 0x0
if-eqz v0, :cond_1
.line 1771
:try_start_1
invoke-virtual {v0, v3}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/WindowInsets;
if-eqz v0, :cond_1
.line 1773
new-instance v4, Landroid/view/WindowInsets;
invoke-direct {v4, v0}, Landroid/view/WindowInsets;-><init>(Landroid/view/WindowInsets;)V
:try_end_1
.catch Ljava/lang/ReflectiveOperationException; {:try_start_1 .. :try_end_1} :catch_1
return-object v4
:catch_1
:cond_1
sget-boolean v0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->sConstructorFetched:Z
const/4 v4, 0x0
if-nez v0, :cond_2
:try_start_2
new-array v0, v2, [Ljava/lang/Class;
const-class v5, Landroid/graphics/Rect;
aput-object v5, v0, v4
.line 1784
invoke-virtual {v1, v0}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
move-result-object v0
sput-object v0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->sConstructor:Ljava/lang/reflect/Constructor;
:try_end_2
.catch Ljava/lang/ReflectiveOperationException; {:try_start_2 .. :try_end_2} :catch_2
:catch_2
sput-boolean v2, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->sConstructorFetched:Z
:cond_2
sget-object v0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->sConstructor:Ljava/lang/reflect/Constructor;
if-eqz v0, :cond_3
:try_start_3
new-array v1, v2, [Ljava/lang/Object;
.line 1792
new-instance v2, Landroid/graphics/Rect;
invoke-direct {v2}, Landroid/graphics/Rect;-><init>()V
aput-object v2, v1, v4
invoke-virtual {v0, v1}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/WindowInsets;
:try_end_3
.catch Ljava/lang/ReflectiveOperationException; {:try_start_3 .. :try_end_3} :catch_3
return-object v0
:catch_3
:cond_3
return-object v3
.end method
# virtual methods
.method public build()Landroidx/core/view/WindowInsetsCompat;
.locals 2
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 1745
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->applyInsetTypes()V
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->mPlatformInsets:Landroid/view/WindowInsets;
.line 1746
invoke-static {v0}, Landroidx/core/view/WindowInsetsCompat;->toWindowInsetsCompat(Landroid/view/WindowInsets;)Landroidx/core/view/WindowInsetsCompat;
move-result-object v0
iget-object v1, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->mInsetsTypeMask:[Landroidx/core/graphics/Insets;
.line 1748
invoke-virtual {v0, v1}, Landroidx/core/view/WindowInsetsCompat;->setOverriddenInsets([Landroidx/core/graphics/Insets;)V
iget-object v1, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->mStableInsets:Landroidx/core/graphics/Insets;
.line 1749
invoke-virtual {v0, v1}, Landroidx/core/view/WindowInsetsCompat;->setStableInsets(Landroidx/core/graphics/Insets;)V
return-object v0
.end method
.method public setStableInsets(Landroidx/core/graphics/Insets;)V
.locals 0
.param p1 # Landroidx/core/graphics/Insets;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
iput-object p1, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->mStableInsets:Landroidx/core/graphics/Insets;
return-void
.end method
.method public setSystemWindowInsets(Landroidx/core/graphics/Insets;)V
.locals 4
.param p1 # Landroidx/core/graphics/Insets;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->mPlatformInsets:Landroid/view/WindowInsets;
if-eqz v0, :cond_0
.line 1732
iget v1, p1, Landroidx/core/graphics/Insets;->left:I
iget v2, p1, Landroidx/core/graphics/Insets;->top:I
iget v3, p1, Landroidx/core/graphics/Insets;->right:I
iget p1, p1, Landroidx/core/graphics/Insets;->bottom:I
invoke-virtual {v0, v1, v2, v3, p1}, Landroid/view/WindowInsets;->replaceSystemWindowInsets(IIII)Landroid/view/WindowInsets;
move-result-object p1
iput-object p1, p0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->mPlatformInsets:Landroid/view/WindowInsets;
:cond_0
return-void
.end method