Files
rr3-apk/smali/androidx/core/view/WindowCompat.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

150 lines
3.8 KiB
Smali

.class public final Landroidx/core/view/WindowCompat;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/core/view/WindowCompat$Api28Impl;,
Landroidx/core/view/WindowCompat$Api35Impl;,
Landroidx/core/view/WindowCompat$Api30Impl;,
Landroidx/core/view/WindowCompat$Api16Impl;
}
.end annotation
# static fields
.field public static final FEATURE_ACTION_BAR:I = 0x8
.field public static final FEATURE_ACTION_BAR_OVERLAY:I = 0x9
.field public static final FEATURE_ACTION_MODE_OVERLAY:I = 0xa
# direct methods
.method private constructor <init>()V
.locals 0
.line 68
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getInsetsController(Landroid/view/Window;Landroid/view/View;)Landroidx/core/view/WindowInsetsControllerCompat;
.locals 1
.param p0 # Landroid/view/Window;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/view/View;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 137
new-instance v0, Landroidx/core/view/WindowInsetsControllerCompat;
invoke-direct {v0, p0, p1}, Landroidx/core/view/WindowInsetsControllerCompat;-><init>(Landroid/view/Window;Landroid/view/View;)V
return-object v0
.end method
.method public static requireViewById(Landroid/view/Window;I)Landroid/view/View;
.locals 2
.param p0 # Landroid/view/Window;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # I
.annotation build Landroidx/annotation/IdRes;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Landroid/view/View;",
">(",
"Landroid/view/Window;",
"I)TT;"
}
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_0
.line 90
invoke-static {p0, p1}, Landroidx/core/view/WindowCompat$Api28Impl;->requireViewById(Landroid/view/Window;I)Ljava/lang/Object;
move-result-object p0
check-cast p0, Landroid/view/View;
return-object p0
.line 93
:cond_0
invoke-virtual {p0, p1}, Landroid/view/Window;->findViewById(I)Landroid/view/View;
move-result-object p0
if-eqz p0, :cond_1
return-object p0
.line 95
:cond_1
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string p1, "ID does not reference a View inside this Window"
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static setDecorFitsSystemWindows(Landroid/view/Window;Z)V
.locals 2
.param p0 # Landroid/view/Window;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x23
if-lt v0, v1, :cond_0
.line 119
invoke-static {p0, p1}, Landroidx/core/view/WindowCompat$Api35Impl;->setDecorFitsSystemWindows(Landroid/view/Window;Z)V
goto :goto_0
:cond_0
const/16 v1, 0x1e
if-lt v0, v1, :cond_1
.line 121
invoke-static {p0, p1}, Landroidx/core/view/WindowCompat$Api30Impl;->setDecorFitsSystemWindows(Landroid/view/Window;Z)V
goto :goto_0
.line 123
:cond_1
invoke-static {p0, p1}, Landroidx/core/view/WindowCompat$Api16Impl;->setDecorFitsSystemWindows(Landroid/view/Window;Z)V
:goto_0
return-void
.end method