Files
rr3-apk/smali/androidx/legacy/widget/Space.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

164 lines
3.6 KiB
Smali

.class public Landroidx/legacy/widget/Space;
.super Landroid/view/View;
.source "SourceFile"
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
.param p1 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation runtime Ljava/lang/Deprecated;
.end annotation
const/4 v0, 0x0
.line 61
invoke-direct {p0, p1, v0}, Landroidx/legacy/widget/Space;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 1
.param p1 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/util/AttributeSet;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation runtime Ljava/lang/Deprecated;
.end annotation
const/4 v0, 0x0
.line 53
invoke-direct {p0, p1, p2, v0}, Landroidx/legacy/widget/Space;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.locals 0
.param p1 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/util/AttributeSet;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 42
invoke-direct {p0, p1, p2, p3}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.line 43
invoke-virtual {p0}, Landroid/view/View;->getVisibility()I
move-result p1
if-nez p1, :cond_0
const/4 p1, 0x4
.line 44
invoke-virtual {p0, p1}, Landroid/view/View;->setVisibility(I)V
:cond_0
return-void
.end method
.method private static getDefaultSize2(II)I
.locals 2
.line 84
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
move-result v0
.line 85
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
move-result p1
const/high16 v1, -0x80000000
if-eq v0, v1, :cond_1
const/high16 v1, 0x40000000 # 2.0f
if-eq v0, v1, :cond_0
goto :goto_0
:cond_0
move p0, p1
goto :goto_0
.line 92
:cond_1
invoke-static {p0, p1}, Ljava/lang/Math;->min(II)I
move-result p0
:goto_0
return p0
.end method
# virtual methods
.method public draw(Landroid/graphics/Canvas;)V
.locals 0
.annotation build Landroid/annotation/SuppressLint;
value = {
"MissingSuperCall"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
return-void
.end method
.method public onMeasure(II)V
.locals 1
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 108
invoke-virtual {p0}, Landroid/view/View;->getSuggestedMinimumWidth()I
move-result v0
invoke-static {v0, p1}, Landroidx/legacy/widget/Space;->getDefaultSize2(II)I
move-result p1
.line 109
invoke-virtual {p0}, Landroid/view/View;->getSuggestedMinimumHeight()I
move-result v0
invoke-static {v0, p2}, Landroidx/legacy/widget/Space;->getDefaultSize2(II)I
move-result p2
.line 107
invoke-virtual {p0, p1, p2}, Landroid/view/View;->setMeasuredDimension(II)V
return-void
.end method