Files
rr3-apk/smali/androidx/core/graphics/drawable/RoundedBitmapDrawable21.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

108 lines
2.4 KiB
Smali

.class Landroidx/core/graphics/drawable/RoundedBitmapDrawable21;
.super Landroidx/core/graphics/drawable/RoundedBitmapDrawable;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x15
.end annotation
# direct methods
.method public constructor <init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V
.locals 0
.line 32
invoke-direct {p0, p1, p2}, Landroidx/core/graphics/drawable/RoundedBitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V
return-void
.end method
# virtual methods
.method public getOutline(Landroid/graphics/Outline;)V
.locals 2
.param p1 # Landroid/graphics/Outline;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 37
invoke-virtual {p0}, Landroidx/core/graphics/drawable/RoundedBitmapDrawable;->updateDstRect()V
iget-object v0, p0, Landroidx/core/graphics/drawable/RoundedBitmapDrawable;->mDstRect:Landroid/graphics/Rect;
.line 38
invoke-virtual {p0}, Landroidx/core/graphics/drawable/RoundedBitmapDrawable;->getCornerRadius()F
move-result v1
invoke-virtual {p1, v0, v1}, Landroid/graphics/Outline;->setRoundRect(Landroid/graphics/Rect;F)V
return-void
.end method
.method public gravityCompatApply(IIILandroid/graphics/Rect;Landroid/graphics/Rect;)V
.locals 6
const/4 v5, 0x0
move v0, p1
move v1, p2
move v2, p3
move-object v3, p4
move-object v4, p5
.line 57
invoke-static/range {v0 .. v5}, Landroid/view/Gravity;->apply(IIILandroid/graphics/Rect;Landroid/graphics/Rect;I)V
return-void
.end method
.method public hasMipMap()Z
.locals 1
iget-object v0, p0, Landroidx/core/graphics/drawable/RoundedBitmapDrawable;->mBitmap:Landroid/graphics/Bitmap;
if-eqz v0, :cond_0
.line 51
invoke-virtual {v0}, Landroid/graphics/Bitmap;->hasMipMap()Z
move-result v0
if-eqz v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public setMipMap(Z)V
.locals 1
iget-object v0, p0, Landroidx/core/graphics/drawable/RoundedBitmapDrawable;->mBitmap:Landroid/graphics/Bitmap;
if-eqz v0, :cond_0
.line 44
invoke-virtual {v0, p1}, Landroid/graphics/Bitmap;->setHasMipMap(Z)V
.line 45
invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->invalidateSelf()V
:cond_0
return-void
.end method