Files
rr3-apk/smali/androidx/appcompat/widget/SwitchCompat$InspectionCompanion.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

392 lines
14 KiB
Smali

.class public final Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/view/inspector/InspectionCompanion;
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1d
.end annotation
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Landroid/view/inspector/InspectionCompanion;"
}
.end annotation
# instance fields
.field private mPropertiesMapped:Z
.field private mShowTextId:I
.field private mSplitTrackId:I
.field private mSwitchMinWidthId:I
.field private mSwitchPaddingId:I
.field private mTextOffId:I
.field private mTextOnId:I
.field private mThumbId:I
.field private mThumbTextPaddingId:I
.field private mThumbTintId:I
.field private mThumbTintModeId:I
.field private mTrackId:I
.field private mTrackTintId:I
.field private mTrackTintModeId:I
# direct methods
.method public constructor <init>()V
.locals 1
.line 19
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-boolean v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mPropertiesMapped:Z
return-void
.end method
# virtual methods
.method public mapProperties(Landroid/view/inspector/PropertyMapper;)V
.locals 2
.param p1 # Landroid/view/inspector/PropertyMapper;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
const-string v0, "textOff"
const v1, 0x1010125
.line 50
invoke-static {p1, v0, v1}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView$InspectionCompanion$$ExternalSyntheticApiModelOutline1;->m(Landroid/view/inspector/PropertyMapper;Ljava/lang/String;I)I
move-result v0
iput v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mTextOffId:I
const-string v0, "textOn"
const v1, 0x1010124
.line 51
invoke-static {p1, v0, v1}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView$InspectionCompanion$$ExternalSyntheticApiModelOutline1;->m(Landroid/view/inspector/PropertyMapper;Ljava/lang/String;I)I
move-result v0
iput v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mTextOnId:I
const-string v0, "thumb"
const v1, 0x1010142
.line 52
invoke-static {p1, v0, v1}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView$InspectionCompanion$$ExternalSyntheticApiModelOutline1;->m(Landroid/view/inspector/PropertyMapper;Ljava/lang/String;I)I
move-result v0
iput v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mThumbId:I
const-string v0, "showText"
sget v1, Landroidx/appcompat/R$attr;->showText:I
.line 53
invoke-static {p1, v0, v1}, Landroidx/appcompat/widget/LinearLayoutCompat$InspectionCompanion$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/inspector/PropertyMapper;Ljava/lang/String;I)I
move-result v0
iput v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mShowTextId:I
const-string v0, "splitTrack"
sget v1, Landroidx/appcompat/R$attr;->splitTrack:I
.line 54
invoke-static {p1, v0, v1}, Landroidx/appcompat/widget/LinearLayoutCompat$InspectionCompanion$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/inspector/PropertyMapper;Ljava/lang/String;I)I
move-result v0
iput v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mSplitTrackId:I
const-string v0, "switchMinWidth"
sget v1, Landroidx/appcompat/R$attr;->switchMinWidth:I
.line 55
invoke-static {p1, v0, v1}, Landroidx/appcompat/widget/AppCompatButton$InspectionCompanion$$ExternalSyntheticApiModelOutline2;->m(Landroid/view/inspector/PropertyMapper;Ljava/lang/String;I)I
move-result v0
iput v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mSwitchMinWidthId:I
const-string v0, "switchPadding"
sget v1, Landroidx/appcompat/R$attr;->switchPadding:I
.line 56
invoke-static {p1, v0, v1}, Landroidx/appcompat/widget/AppCompatButton$InspectionCompanion$$ExternalSyntheticApiModelOutline2;->m(Landroid/view/inspector/PropertyMapper;Ljava/lang/String;I)I
move-result v0
iput v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mSwitchPaddingId:I
const-string v0, "thumbTextPadding"
sget v1, Landroidx/appcompat/R$attr;->thumbTextPadding:I
.line 57
invoke-static {p1, v0, v1}, Landroidx/appcompat/widget/AppCompatButton$InspectionCompanion$$ExternalSyntheticApiModelOutline2;->m(Landroid/view/inspector/PropertyMapper;Ljava/lang/String;I)I
move-result v0
iput v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mThumbTextPaddingId:I
const-string v0, "thumbTint"
sget v1, Landroidx/appcompat/R$attr;->thumbTint:I
.line 58
invoke-static {p1, v0, v1}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView$InspectionCompanion$$ExternalSyntheticApiModelOutline1;->m(Landroid/view/inspector/PropertyMapper;Ljava/lang/String;I)I
move-result v0
iput v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mThumbTintId:I
const-string v0, "thumbTintMode"
sget v1, Landroidx/appcompat/R$attr;->thumbTintMode:I
.line 59
invoke-static {p1, v0, v1}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView$InspectionCompanion$$ExternalSyntheticApiModelOutline1;->m(Landroid/view/inspector/PropertyMapper;Ljava/lang/String;I)I
move-result v0
iput v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mThumbTintModeId:I
const-string v0, "track"
sget v1, Landroidx/appcompat/R$attr;->track:I
.line 60
invoke-static {p1, v0, v1}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView$InspectionCompanion$$ExternalSyntheticApiModelOutline1;->m(Landroid/view/inspector/PropertyMapper;Ljava/lang/String;I)I
move-result v0
iput v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mTrackId:I
const-string v0, "trackTint"
sget v1, Landroidx/appcompat/R$attr;->trackTint:I
.line 61
invoke-static {p1, v0, v1}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView$InspectionCompanion$$ExternalSyntheticApiModelOutline1;->m(Landroid/view/inspector/PropertyMapper;Ljava/lang/String;I)I
move-result v0
iput v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mTrackTintId:I
const-string v0, "trackTintMode"
sget v1, Landroidx/appcompat/R$attr;->trackTintMode:I
.line 62
invoke-static {p1, v0, v1}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView$InspectionCompanion$$ExternalSyntheticApiModelOutline1;->m(Landroid/view/inspector/PropertyMapper;Ljava/lang/String;I)I
move-result p1
iput p1, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mTrackTintModeId:I
const/4 p1, 0x1
iput-boolean p1, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mPropertiesMapped:Z
return-void
.end method
.method public readProperties(Landroidx/appcompat/widget/SwitchCompat;Landroid/view/inspector/PropertyReader;)V
.locals 2
.param p1 # Landroidx/appcompat/widget/SwitchCompat;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/view/inspector/PropertyReader;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
iget-boolean v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mPropertiesMapped:Z
if-eqz v0, :cond_0
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mTextOffId:I
.line 72
invoke-virtual {p1}, Landroidx/appcompat/widget/SwitchCompat;->getTextOff()Ljava/lang/CharSequence;
move-result-object v1
invoke-static {p2, v0, v1}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView$InspectionCompanion$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/inspector/PropertyReader;ILjava/lang/Object;)V
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mTextOnId:I
.line 73
invoke-virtual {p1}, Landroidx/appcompat/widget/SwitchCompat;->getTextOn()Ljava/lang/CharSequence;
move-result-object v1
invoke-static {p2, v0, v1}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView$InspectionCompanion$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/inspector/PropertyReader;ILjava/lang/Object;)V
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mThumbId:I
.line 74
invoke-virtual {p1}, Landroidx/appcompat/widget/SwitchCompat;->getThumbDrawable()Landroid/graphics/drawable/Drawable;
move-result-object v1
invoke-static {p2, v0, v1}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView$InspectionCompanion$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/inspector/PropertyReader;ILjava/lang/Object;)V
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mShowTextId:I
.line 75
invoke-virtual {p1}, Landroidx/appcompat/widget/SwitchCompat;->getShowText()Z
move-result v1
invoke-static {p2, v0, v1}, Landroidx/appcompat/widget/LinearLayoutCompat$InspectionCompanion$$ExternalSyntheticApiModelOutline4;->m(Landroid/view/inspector/PropertyReader;IZ)V
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mSplitTrackId:I
.line 76
invoke-virtual {p1}, Landroidx/appcompat/widget/SwitchCompat;->getSplitTrack()Z
move-result v1
invoke-static {p2, v0, v1}, Landroidx/appcompat/widget/LinearLayoutCompat$InspectionCompanion$$ExternalSyntheticApiModelOutline4;->m(Landroid/view/inspector/PropertyReader;IZ)V
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mSwitchMinWidthId:I
.line 77
invoke-virtual {p1}, Landroidx/appcompat/widget/SwitchCompat;->getSwitchMinWidth()I
move-result v1
invoke-static {p2, v0, v1}, Landroidx/appcompat/widget/AppCompatButton$InspectionCompanion$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/inspector/PropertyReader;II)V
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mSwitchPaddingId:I
.line 78
invoke-virtual {p1}, Landroidx/appcompat/widget/SwitchCompat;->getSwitchPadding()I
move-result v1
invoke-static {p2, v0, v1}, Landroidx/appcompat/widget/AppCompatButton$InspectionCompanion$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/inspector/PropertyReader;II)V
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mThumbTextPaddingId:I
.line 79
invoke-virtual {p1}, Landroidx/appcompat/widget/SwitchCompat;->getThumbTextPadding()I
move-result v1
invoke-static {p2, v0, v1}, Landroidx/appcompat/widget/AppCompatButton$InspectionCompanion$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/inspector/PropertyReader;II)V
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mThumbTintId:I
.line 80
invoke-virtual {p1}, Landroidx/appcompat/widget/SwitchCompat;->getThumbTintList()Landroid/content/res/ColorStateList;
move-result-object v1
invoke-static {p2, v0, v1}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView$InspectionCompanion$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/inspector/PropertyReader;ILjava/lang/Object;)V
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mThumbTintModeId:I
.line 81
invoke-virtual {p1}, Landroidx/appcompat/widget/SwitchCompat;->getThumbTintMode()Landroid/graphics/PorterDuff$Mode;
move-result-object v1
invoke-static {p2, v0, v1}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView$InspectionCompanion$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/inspector/PropertyReader;ILjava/lang/Object;)V
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mTrackId:I
.line 82
invoke-virtual {p1}, Landroidx/appcompat/widget/SwitchCompat;->getTrackDrawable()Landroid/graphics/drawable/Drawable;
move-result-object v1
invoke-static {p2, v0, v1}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView$InspectionCompanion$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/inspector/PropertyReader;ILjava/lang/Object;)V
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mTrackTintId:I
.line 83
invoke-virtual {p1}, Landroidx/appcompat/widget/SwitchCompat;->getTrackTintList()Landroid/content/res/ColorStateList;
move-result-object v1
invoke-static {p2, v0, v1}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView$InspectionCompanion$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/inspector/PropertyReader;ILjava/lang/Object;)V
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->mTrackTintModeId:I
.line 84
invoke-virtual {p1}, Landroidx/appcompat/widget/SwitchCompat;->getTrackTintMode()Landroid/graphics/PorterDuff$Mode;
move-result-object p1
invoke-static {p2, v0, p1}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView$InspectionCompanion$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/inspector/PropertyReader;ILjava/lang/Object;)V
return-void
.line 70
:cond_0
invoke-static {}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView$InspectionCompanion$$ExternalSyntheticApiModelOutline2;->m()Landroid/view/inspector/InspectionCompanion$UninitializedPropertyMapException;
move-result-object p1
throw p1
.end method
.method public bridge synthetic readProperties(Ljava/lang/Object;Landroid/view/inspector/PropertyReader;)V
.locals 0
.param p1 # Ljava/lang/Object;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/view/inspector/PropertyReader;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 17
check-cast p1, Landroidx/appcompat/widget/SwitchCompat;
invoke-virtual {p0, p1, p2}, Landroidx/appcompat/widget/SwitchCompat$InspectionCompanion;->readProperties(Landroidx/appcompat/widget/SwitchCompat;Landroid/view/inspector/PropertyReader;)V
return-void
.end method