* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2939 lines
60 KiB
Smali
2939 lines
60 KiB
Smali
.class public Landroidx/appcompat/widget/SwitchCompat;
|
|
.super Landroid/widget/CompoundButton;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroidx/appcompat/widget/EmojiCompatConfigurationView;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/appcompat/widget/SwitchCompat$EmojiCompatInitCallback;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final y:Landroid/util/Property;
|
|
|
|
.field public static final z:[I
|
|
|
|
|
|
# instance fields
|
|
.field public c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.field public f:Landroid/content/res/ColorStateList;
|
|
|
|
.field public g:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.field public h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.field public i:Landroid/content/res/ColorStateList;
|
|
|
|
.field public j:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.field public k:I
|
|
|
|
.field public l:I
|
|
|
|
.field public m:I
|
|
|
|
.field public n:Z
|
|
|
|
.field public o:Ljava/lang/CharSequence;
|
|
|
|
.field public p:Ljava/lang/CharSequence;
|
|
|
|
.field public q:Ljava/lang/CharSequence;
|
|
|
|
.field public r:Ljava/lang/CharSequence;
|
|
|
|
.field public s:Z
|
|
|
|
.field public t:F
|
|
|
|
.field public u:Landroid/text/StaticLayout;
|
|
|
|
.field public v:Landroid/text/StaticLayout;
|
|
|
|
.field public w:Landroid/animation/ObjectAnimator;
|
|
|
|
.field public x:Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
new-instance v0, Landroidx/appcompat/widget/SwitchCompat$1;
|
|
|
|
.line 2
|
|
.line 3
|
|
const-class v1, Ljava/lang/Float;
|
|
|
|
.line 4
|
|
.line 5
|
|
const-string v2, "thumbPos"
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-direct {v0, v1, v2}, Landroid/util/Property;-><init>(Ljava/lang/Class;Ljava/lang/String;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
sput-object v0, Landroidx/appcompat/widget/SwitchCompat;->y:Landroid/util/Property;
|
|
|
|
.line 11
|
|
.line 12
|
|
const v0, 0x10100a0
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
filled-new-array {v0}, [I
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result-object v0
|
|
|
|
.line 19
|
|
sput-object v0, Landroidx/appcompat/widget/SwitchCompat;->z:[I
|
|
|
|
.line 20
|
|
.line 21
|
|
return-void
|
|
.end method
|
|
|
|
.method private getEmojiTextViewHelper()Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->x:Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
new-instance v0, Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-direct {v0, p0}, Landroidx/appcompat/widget/AppCompatEmojiTextHelper;-><init>(Landroid/widget/TextView;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
iput-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->x:Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
|
|
.line 11
|
|
.line 12
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->x:Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
|
|
.line 13
|
|
.line 14
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private getTargetCheckedState()Z
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat;->t:F
|
|
|
|
.line 2
|
|
.line 3
|
|
const/high16 v1, 0x3f000000 # 0.5f
|
|
|
|
.line 4
|
|
.line 5
|
|
cmpl-float v0, v0, v1
|
|
|
|
.line 6
|
|
.line 7
|
|
if-lez v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
const/4 v0, 0x1
|
|
|
|
.line 10
|
|
return v0
|
|
|
|
.line 11
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 12
|
|
return v0
|
|
.end method
|
|
|
|
.method private getThumbOffset()I
|
|
.locals 2
|
|
|
|
.line 1
|
|
sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->a:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/view/View;->getLayoutDirection()I
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v0
|
|
|
|
.line 7
|
|
const/4 v1, 0x1
|
|
|
|
.line 8
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
.line 11
|
|
.line 12
|
|
iget v1, p0, Landroidx/appcompat/widget/SwitchCompat;->t:F
|
|
|
|
.line 13
|
|
.line 14
|
|
sub-float/2addr v0, v1
|
|
|
|
.line 15
|
|
goto :goto_0
|
|
|
|
.line 16
|
|
:cond_0
|
|
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat;->t:F
|
|
|
|
.line 17
|
|
.line 18
|
|
:goto_0
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/SwitchCompat;->getThumbScrollRange()I
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
move-result v1
|
|
|
|
.line 22
|
|
int-to-float v1, v1
|
|
|
|
.line 23
|
|
mul-float/2addr v0, v1
|
|
|
|
.line 24
|
|
const/high16 v1, 0x3f000000 # 0.5f
|
|
|
|
.line 25
|
|
.line 26
|
|
add-float/2addr v0, v1
|
|
|
|
.line 27
|
|
float-to-int v0, v0
|
|
|
|
.line 28
|
|
return v0
|
|
.end method
|
|
|
|
.method private getThumbScrollRange()I
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v1, 0x0
|
|
|
|
.line 6
|
|
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->getPadding(Landroid/graphics/Rect;)Z
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 10
|
|
.line 11
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-static {v0}, Landroidx/appcompat/widget/DrawableUtils;->b(Landroid/graphics/drawable/Drawable;)Landroid/graphics/Rect;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
goto :goto_0
|
|
|
|
.line 17
|
|
:cond_0
|
|
sget-object v0, Landroidx/appcompat/widget/DrawableUtils;->a:[I
|
|
|
|
.line 18
|
|
.line 19
|
|
:goto_0
|
|
throw v1
|
|
|
|
.line 20
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
.line 21
|
|
return v0
|
|
.end method
|
|
|
|
.method private setTextOffInternal(Ljava/lang/CharSequence;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iput-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->q:Ljava/lang/CharSequence;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/SwitchCompat;->getEmojiTextViewHelper()Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
iget-object v0, v0, Landroidx/appcompat/widget/AppCompatEmojiTextHelper;->b:Landroidx/emoji2/viewsintegration/EmojiTextViewHelper;
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {v0}, Landroidx/emoji2/viewsintegration/EmojiTextViewHelper;->d()Landroid/text/method/TransformationMethod;
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result-object v0
|
|
|
|
.line 13
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-interface {v0, p1, p0}, Landroid/text/method/TransformationMethod;->getTransformation(Ljava/lang/CharSequence;Landroid/view/View;)Ljava/lang/CharSequence;
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result-object p1
|
|
|
|
.line 19
|
|
:cond_0
|
|
iput-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->r:Ljava/lang/CharSequence;
|
|
|
|
.line 20
|
|
.line 21
|
|
const/4 p1, 0x0
|
|
|
|
.line 22
|
|
iput-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->v:Landroid/text/StaticLayout;
|
|
|
|
.line 23
|
|
.line 24
|
|
return-void
|
|
.end method
|
|
|
|
.method private setTextOnInternal(Ljava/lang/CharSequence;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iput-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->o:Ljava/lang/CharSequence;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/SwitchCompat;->getEmojiTextViewHelper()Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
iget-object v0, v0, Landroidx/appcompat/widget/AppCompatEmojiTextHelper;->b:Landroidx/emoji2/viewsintegration/EmojiTextViewHelper;
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {v0}, Landroidx/emoji2/viewsintegration/EmojiTextViewHelper;->d()Landroid/text/method/TransformationMethod;
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result-object v0
|
|
|
|
.line 13
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-interface {v0, p1, p0}, Landroid/text/method/TransformationMethod;->getTransformation(Ljava/lang/CharSequence;Landroid/view/View;)Ljava/lang/CharSequence;
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result-object p1
|
|
|
|
.line 19
|
|
:cond_0
|
|
iput-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->p:Ljava/lang/CharSequence;
|
|
|
|
.line 20
|
|
.line 21
|
|
const/4 p1, 0x0
|
|
|
|
.line 22
|
|
iput-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->u:Landroid/text/StaticLayout;
|
|
|
|
.line 23
|
|
.line 24
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
iput-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v1, p0, Landroidx/appcompat/widget/SwitchCompat;->f:Landroid/content/res/ColorStateList;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setTintList(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 17
|
|
.line 18
|
|
iget-object v1, p0, Landroidx/appcompat/widget/SwitchCompat;->g:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 24
|
|
.line 25
|
|
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->isStateful()Z
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result v0
|
|
|
|
.line 29
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 30
|
|
.line 31
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 32
|
|
.line 33
|
|
invoke-virtual {p0}, Landroid/view/View;->getDrawableState()[I
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result-object v1
|
|
|
|
.line 37
|
|
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final b()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
iput-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v1, p0, Landroidx/appcompat/widget/SwitchCompat;->i:Landroid/content/res/ColorStateList;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setTintList(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 17
|
|
.line 18
|
|
iget-object v1, p0, Landroidx/appcompat/widget/SwitchCompat;->j:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 24
|
|
.line 25
|
|
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->isStateful()Z
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result v0
|
|
|
|
.line 29
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 30
|
|
.line 31
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 32
|
|
.line 33
|
|
invoke-virtual {p0}, Landroid/view/View;->getDrawableState()[I
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result-object v1
|
|
|
|
.line 37
|
|
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final c()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->o:Ljava/lang/CharSequence;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {p0, v0}, Landroidx/appcompat/widget/SwitchCompat;->setTextOnInternal(Ljava/lang/CharSequence;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->q:Ljava/lang/CharSequence;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-direct {p0, v0}, Landroidx/appcompat/widget/SwitchCompat;->setTextOffInternal(Ljava/lang/CharSequence;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {p0}, Landroid/view/View;->requestLayout()V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
return-void
|
|
.end method
|
|
|
|
.method public final draw(Landroid/graphics/Canvas;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/SwitchCompat;->getThumbOffset()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {v0}, Landroidx/appcompat/widget/DrawableUtils;->b(Landroid/graphics/drawable/Drawable;)Landroid/graphics/Rect;
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
goto :goto_0
|
|
|
|
.line 12
|
|
:cond_0
|
|
sget-object v0, Landroidx/appcompat/widget/DrawableUtils;->a:[I
|
|
|
|
.line 13
|
|
.line 14
|
|
:goto_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 15
|
|
.line 16
|
|
const/4 v1, 0x0
|
|
|
|
.line 17
|
|
if-nez v0, :cond_2
|
|
|
|
.line 18
|
|
.line 19
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 20
|
|
.line 21
|
|
if-nez v0, :cond_1
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-super {p0, p1}, Landroid/widget/CompoundButton;->draw(Landroid/graphics/Canvas;)V
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
return-void
|
|
|
|
.line 27
|
|
:cond_1
|
|
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->getPadding(Landroid/graphics/Rect;)Z
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
throw v1
|
|
|
|
.line 31
|
|
:cond_2
|
|
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->getPadding(Landroid/graphics/Rect;)Z
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final drawableHotspotChanged(FF)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0, p1, p2}, Landroid/widget/CompoundButton;->drawableHotspotChanged(FF)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {v0, p1, p2}, Landroid/graphics/drawable/Drawable;->setHotspot(FF)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 12
|
|
.line 13
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {v0, p1, p2}, Landroid/graphics/drawable/Drawable;->setHotspot(FF)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public final drawableStateChanged()V
|
|
.locals 4
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/widget/CompoundButton;->drawableStateChanged()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-virtual {p0}, Landroid/view/View;->getDrawableState()[I
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result-object v0
|
|
|
|
.line 8
|
|
iget-object v1, p0, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 9
|
|
.line 10
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-virtual {v1}, Landroid/graphics/drawable/Drawable;->isStateful()Z
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result v2
|
|
|
|
.line 16
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {v1, v0}, Landroid/graphics/drawable/Drawable;->setState([I)Z
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
move-result v1
|
|
|
|
.line 22
|
|
goto :goto_0
|
|
|
|
.line 23
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
.line 24
|
|
:goto_0
|
|
iget-object v2, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 25
|
|
.line 26
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-virtual {v2}, Landroid/graphics/drawable/Drawable;->isStateful()Z
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result v3
|
|
|
|
.line 32
|
|
if-eqz v3, :cond_1
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-virtual {v2, v0}, Landroid/graphics/drawable/Drawable;->setState([I)Z
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
move-result v0
|
|
|
|
.line 38
|
|
or-int/2addr v1, v0
|
|
|
|
.line 39
|
|
:cond_1
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 40
|
|
.line 41
|
|
invoke-virtual {p0}, Landroid/view/View;->invalidate()V
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public getCompoundPaddingLeft()I
|
|
.locals 2
|
|
|
|
.line 1
|
|
sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->a:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/view/View;->getLayoutDirection()I
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v0
|
|
|
|
.line 7
|
|
const/4 v1, 0x1
|
|
|
|
.line 8
|
|
if-ne v0, v1, :cond_1
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-super {p0}, Landroid/widget/CompoundButton;->getCompoundPaddingLeft()I
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result v0
|
|
|
|
.line 14
|
|
invoke-virtual {p0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object v1
|
|
|
|
.line 18
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
move-result v1
|
|
|
|
.line 22
|
|
if-nez v1, :cond_0
|
|
|
|
.line 23
|
|
.line 24
|
|
iget v1, p0, Landroidx/appcompat/widget/SwitchCompat;->m:I
|
|
|
|
.line 25
|
|
.line 26
|
|
add-int/2addr v0, v1
|
|
|
|
.line 27
|
|
:cond_0
|
|
return v0
|
|
|
|
.line 28
|
|
:cond_1
|
|
invoke-super {p0}, Landroid/widget/CompoundButton;->getCompoundPaddingLeft()I
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result v0
|
|
|
|
.line 32
|
|
return v0
|
|
.end method
|
|
|
|
.method public getCompoundPaddingRight()I
|
|
.locals 2
|
|
|
|
.line 1
|
|
sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->a:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/view/View;->getLayoutDirection()I
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v0
|
|
|
|
.line 7
|
|
const/4 v1, 0x1
|
|
|
|
.line 8
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-super {p0}, Landroid/widget/CompoundButton;->getCompoundPaddingRight()I
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result v0
|
|
|
|
.line 14
|
|
return v0
|
|
|
|
.line 15
|
|
:cond_0
|
|
invoke-super {p0}, Landroid/widget/CompoundButton;->getCompoundPaddingRight()I
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result v0
|
|
|
|
.line 19
|
|
invoke-virtual {p0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result-object v1
|
|
|
|
.line 23
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result v1
|
|
|
|
.line 27
|
|
if-nez v1, :cond_1
|
|
|
|
.line 28
|
|
.line 29
|
|
iget v1, p0, Landroidx/appcompat/widget/SwitchCompat;->m:I
|
|
|
|
.line 30
|
|
.line 31
|
|
add-int/2addr v0, v1
|
|
|
|
.line 32
|
|
:cond_1
|
|
return v0
|
|
.end method
|
|
|
|
.method public getCustomSelectionActionModeCallback()Landroid/view/ActionMode$Callback;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/widget/CompoundButton;->getCustomSelectionActionModeCallback()Landroid/view/ActionMode$Callback;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
invoke-static {v0}, Landroidx/core/widget/TextViewCompat;->g(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode$Callback;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getShowText()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Landroidx/appcompat/widget/SwitchCompat;->s:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getSplitTrack()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Landroidx/appcompat/widget/SwitchCompat;->n:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getSwitchMinWidth()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat;->l:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getSwitchPadding()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat;->m:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getTextOff()Ljava/lang/CharSequence;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->q:Ljava/lang/CharSequence;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getTextOn()Ljava/lang/CharSequence;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->o:Ljava/lang/CharSequence;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getThumbDrawable()Landroid/graphics/drawable/Drawable;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getThumbPosition()F
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/FloatRange;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat;->t:F
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getThumbTextPadding()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/appcompat/widget/SwitchCompat;->k:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getThumbTintList()Landroid/content/res/ColorStateList;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->f:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getThumbTintMode()Landroid/graphics/PorterDuff$Mode;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->g:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getTrackDrawable()Landroid/graphics/drawable/Drawable;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getTrackTintList()Landroid/content/res/ColorStateList;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->i:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getTrackTintMode()Landroid/graphics/PorterDuff$Mode;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->j:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final jumpDrawablesToCurrentState()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/widget/CompoundButton;->jumpDrawablesToCurrentState()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->jumpToCurrentState()V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 12
|
|
.line 13
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->jumpToCurrentState()V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
:cond_1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->w:Landroid/animation/ObjectAnimator;
|
|
|
|
.line 19
|
|
.line 20
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 21
|
|
.line 22
|
|
invoke-virtual {v0}, Landroid/animation/Animator;->isStarted()Z
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result v0
|
|
|
|
.line 26
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 27
|
|
.line 28
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->w:Landroid/animation/ObjectAnimator;
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-virtual {v0}, Landroid/animation/Animator;->end()V
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
const/4 v0, 0x0
|
|
|
|
.line 34
|
|
iput-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->w:Landroid/animation/ObjectAnimator;
|
|
|
|
.line 35
|
|
.line 36
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public onCreateDrawableState(I)[I
|
|
.locals 1
|
|
|
|
.line 1
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-super {p0, p1}, Landroid/widget/CompoundButton;->onCreateDrawableState(I)[I
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object p1
|
|
|
|
.line 7
|
|
invoke-virtual {p0}, Landroid/widget/CompoundButton;->isChecked()Z
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result v0
|
|
|
|
.line 11
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
sget-object v0, Landroidx/appcompat/widget/SwitchCompat;->z:[I
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-static {p1, v0}, Landroid/view/View;->mergeDrawableStates([I[I)[I
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
:cond_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final onDraw(Landroid/graphics/Canvas;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/CompoundButton;->onDraw(Landroid/graphics/Canvas;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
const/4 v0, 0x0
|
|
|
|
.line 10
|
|
invoke-virtual {p1, v0}, Landroid/graphics/drawable/Drawable;->getPadding(Landroid/graphics/Rect;)Z
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final onInitializeAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/CompoundButton;->onInitializeAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
const-string v0, "android.widget.Switch"
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {p1, v0}, Landroid/view/accessibility/AccessibilityRecord;->setClassName(Ljava/lang/CharSequence;)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onInitializeAccessibilityNodeInfo(Landroid/view/accessibility/AccessibilityNodeInfo;)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/CompoundButton;->onInitializeAccessibilityNodeInfo(Landroid/view/accessibility/AccessibilityNodeInfo;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
const-string v0, "android.widget.Switch"
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {p1, v0}, Landroid/view/accessibility/AccessibilityNodeInfo;->setClassName(Ljava/lang/CharSequence;)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
.line 10
|
|
.line 11
|
|
const/16 v1, 0x1e
|
|
|
|
.line 12
|
|
.line 13
|
|
if-ge v0, v1, :cond_2
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {p0}, Landroid/widget/CompoundButton;->isChecked()Z
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result v0
|
|
|
|
.line 19
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 20
|
|
.line 21
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->o:Ljava/lang/CharSequence;
|
|
|
|
.line 22
|
|
.line 23
|
|
goto :goto_0
|
|
|
|
.line 24
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->q:Ljava/lang/CharSequence;
|
|
|
|
.line 25
|
|
.line 26
|
|
:goto_0
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
move-result v1
|
|
|
|
.line 30
|
|
if-nez v1, :cond_2
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-virtual {p1}, Landroid/view/accessibility/AccessibilityNodeInfo;->getText()Ljava/lang/CharSequence;
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
move-result-object v1
|
|
|
|
.line 36
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
move-result v2
|
|
|
|
.line 40
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 41
|
|
.line 42
|
|
invoke-virtual {p1, v0}, Landroid/view/accessibility/AccessibilityNodeInfo;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
return-void
|
|
|
|
.line 46
|
|
:cond_1
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
.line 47
|
|
.line 48
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
.line 49
|
|
.line 50
|
|
.line 51
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
const/16 v1, 0x20
|
|
|
|
.line 55
|
|
.line 56
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
invoke-virtual {p1, v2}, Landroid/view/accessibility/AccessibilityNodeInfo;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 63
|
|
.line 64
|
|
.line 65
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onLayout(ZIIII)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-super/range {p0 .. p5}, Landroid/widget/CompoundButton;->onLayout(ZIIII)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-object p1, p0
|
|
|
|
.line 5
|
|
iget-object p2, p1, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-nez p2, :cond_3
|
|
|
|
.line 8
|
|
.line 9
|
|
sget-boolean p2, Landroidx/appcompat/widget/ViewUtils;->a:Z
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {p0}, Landroid/view/View;->getLayoutDirection()I
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result p2
|
|
|
|
.line 15
|
|
const/4 p3, 0x1
|
|
|
|
.line 16
|
|
if-ne p2, p3, :cond_0
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {p0}, Landroid/view/View;->getPaddingLeft()I
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
goto :goto_0
|
|
|
|
.line 22
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/view/View;->getWidth()I
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
invoke-virtual {p0}, Landroid/view/View;->getPaddingRight()I
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroid/widget/TextView;->getGravity()I
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result p2
|
|
|
|
.line 32
|
|
and-int/lit8 p2, p2, 0x70
|
|
|
|
.line 33
|
|
.line 34
|
|
const/16 p3, 0x10
|
|
|
|
.line 35
|
|
.line 36
|
|
if-eq p2, p3, :cond_2
|
|
|
|
.line 37
|
|
.line 38
|
|
const/16 p3, 0x50
|
|
|
|
.line 39
|
|
.line 40
|
|
if-eq p2, p3, :cond_1
|
|
|
|
.line 41
|
|
.line 42
|
|
invoke-virtual {p0}, Landroid/view/View;->getPaddingTop()I
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
return-void
|
|
|
|
.line 46
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroid/view/View;->getHeight()I
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
invoke-virtual {p0}, Landroid/view/View;->getPaddingBottom()I
|
|
|
|
.line 50
|
|
.line 51
|
|
.line 52
|
|
return-void
|
|
|
|
.line 53
|
|
:cond_2
|
|
invoke-virtual {p0}, Landroid/view/View;->getPaddingTop()I
|
|
|
|
.line 54
|
|
.line 55
|
|
.line 56
|
|
invoke-virtual {p0}, Landroid/view/View;->getHeight()I
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
invoke-virtual {p0}, Landroid/view/View;->getPaddingBottom()I
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
return-void
|
|
|
|
.line 63
|
|
:cond_3
|
|
iget-object p2, p1, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 64
|
|
.line 65
|
|
invoke-virtual {p2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
iget-object p2, p1, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 69
|
|
.line 70
|
|
const/4 p3, 0x0
|
|
|
|
.line 71
|
|
invoke-virtual {p2, p3}, Landroid/graphics/drawable/Drawable;->getPadding(Landroid/graphics/Rect;)Z
|
|
|
|
.line 72
|
|
.line 73
|
|
.line 74
|
|
iget-object p2, p1, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 75
|
|
.line 76
|
|
invoke-static {p2}, Landroidx/appcompat/widget/DrawableUtils;->b(Landroid/graphics/drawable/Drawable;)Landroid/graphics/Rect;
|
|
|
|
.line 77
|
|
.line 78
|
|
.line 79
|
|
move-result-object p2
|
|
|
|
.line 80
|
|
iget p2, p2, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 81
|
|
.line 82
|
|
throw p3
|
|
.end method
|
|
|
|
.method public final onMeasure(II)V
|
|
.locals 9
|
|
|
|
.line 1
|
|
iget-boolean p1, p0, Landroidx/appcompat/widget/SwitchCompat;->s:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 p2, 0x0
|
|
|
|
.line 4
|
|
const/4 v0, 0x0
|
|
|
|
.line 5
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->u:Landroid/text/StaticLayout;
|
|
|
|
.line 8
|
|
.line 9
|
|
if-nez p1, :cond_1
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v2, p0, Landroidx/appcompat/widget/SwitchCompat;->p:Ljava/lang/CharSequence;
|
|
|
|
.line 12
|
|
.line 13
|
|
new-instance v1, Landroid/text/StaticLayout;
|
|
|
|
.line 14
|
|
.line 15
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-static {v2, v0}, Landroid/text/Layout;->getDesiredWidth(Ljava/lang/CharSequence;Landroid/text/TextPaint;)F
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result p1
|
|
|
|
.line 21
|
|
float-to-double v3, p1
|
|
|
|
.line 22
|
|
invoke-static {v3, v4}, Ljava/lang/Math;->ceil(D)D
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result-wide v3
|
|
|
|
.line 26
|
|
double-to-int p1, v3
|
|
|
|
.line 27
|
|
move v4, p1
|
|
|
|
.line 28
|
|
goto :goto_0
|
|
|
|
.line 29
|
|
:cond_0
|
|
move v4, p2
|
|
|
|
.line 30
|
|
:goto_0
|
|
sget-object v5, Landroid/text/Layout$Alignment;->ALIGN_NORMAL:Landroid/text/Layout$Alignment;
|
|
|
|
.line 31
|
|
.line 32
|
|
const/4 v7, 0x0
|
|
|
|
.line 33
|
|
const/4 v8, 0x1
|
|
|
|
.line 34
|
|
const/4 v3, 0x0
|
|
|
|
.line 35
|
|
const/high16 v6, 0x3f800000 # 1.0f
|
|
|
|
.line 36
|
|
.line 37
|
|
invoke-direct/range {v1 .. v8}, Landroid/text/StaticLayout;-><init>(Ljava/lang/CharSequence;Landroid/text/TextPaint;ILandroid/text/Layout$Alignment;FFZ)V
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
iput-object v1, p0, Landroidx/appcompat/widget/SwitchCompat;->u:Landroid/text/StaticLayout;
|
|
|
|
.line 41
|
|
.line 42
|
|
:cond_1
|
|
iget-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->v:Landroid/text/StaticLayout;
|
|
|
|
.line 43
|
|
.line 44
|
|
if-nez p1, :cond_3
|
|
|
|
.line 45
|
|
.line 46
|
|
iget-object v2, p0, Landroidx/appcompat/widget/SwitchCompat;->r:Ljava/lang/CharSequence;
|
|
|
|
.line 47
|
|
.line 48
|
|
new-instance v1, Landroid/text/StaticLayout;
|
|
|
|
.line 49
|
|
.line 50
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 51
|
|
.line 52
|
|
invoke-static {v2, v0}, Landroid/text/Layout;->getDesiredWidth(Ljava/lang/CharSequence;Landroid/text/TextPaint;)F
|
|
|
|
.line 53
|
|
.line 54
|
|
.line 55
|
|
move-result p1
|
|
|
|
.line 56
|
|
float-to-double v3, p1
|
|
|
|
.line 57
|
|
invoke-static {v3, v4}, Ljava/lang/Math;->ceil(D)D
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
move-result-wide v3
|
|
|
|
.line 61
|
|
double-to-int p1, v3
|
|
|
|
.line 62
|
|
move v4, p1
|
|
|
|
.line 63
|
|
goto :goto_1
|
|
|
|
.line 64
|
|
:cond_2
|
|
move v4, p2
|
|
|
|
.line 65
|
|
:goto_1
|
|
sget-object v5, Landroid/text/Layout$Alignment;->ALIGN_NORMAL:Landroid/text/Layout$Alignment;
|
|
|
|
.line 66
|
|
.line 67
|
|
const/4 v7, 0x0
|
|
|
|
.line 68
|
|
const/4 v8, 0x1
|
|
|
|
.line 69
|
|
const/4 v3, 0x0
|
|
|
|
.line 70
|
|
const/high16 v6, 0x3f800000 # 1.0f
|
|
|
|
.line 71
|
|
.line 72
|
|
invoke-direct/range {v1 .. v8}, Landroid/text/StaticLayout;-><init>(Ljava/lang/CharSequence;Landroid/text/TextPaint;ILandroid/text/Layout$Alignment;FFZ)V
|
|
|
|
.line 73
|
|
.line 74
|
|
.line 75
|
|
iput-object v1, p0, Landroidx/appcompat/widget/SwitchCompat;->v:Landroid/text/StaticLayout;
|
|
|
|
.line 76
|
|
.line 77
|
|
:cond_3
|
|
iget-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 78
|
|
.line 79
|
|
if-nez p1, :cond_5
|
|
|
|
.line 80
|
|
.line 81
|
|
iget-boolean p1, p0, Landroidx/appcompat/widget/SwitchCompat;->s:Z
|
|
|
|
.line 82
|
|
.line 83
|
|
if-eqz p1, :cond_4
|
|
|
|
.line 84
|
|
.line 85
|
|
iget-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->u:Landroid/text/StaticLayout;
|
|
|
|
.line 86
|
|
.line 87
|
|
invoke-virtual {p1}, Landroid/text/Layout;->getWidth()I
|
|
|
|
.line 88
|
|
.line 89
|
|
.line 90
|
|
move-result p1
|
|
|
|
.line 91
|
|
iget-object v1, p0, Landroidx/appcompat/widget/SwitchCompat;->v:Landroid/text/StaticLayout;
|
|
|
|
.line 92
|
|
.line 93
|
|
invoke-virtual {v1}, Landroid/text/Layout;->getWidth()I
|
|
|
|
.line 94
|
|
.line 95
|
|
.line 96
|
|
move-result v1
|
|
|
|
.line 97
|
|
invoke-static {p1, v1}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 98
|
|
.line 99
|
|
.line 100
|
|
move-result p1
|
|
|
|
.line 101
|
|
iget v1, p0, Landroidx/appcompat/widget/SwitchCompat;->k:I
|
|
|
|
.line 102
|
|
.line 103
|
|
mul-int/lit8 v1, v1, 0x2
|
|
|
|
.line 104
|
|
.line 105
|
|
add-int/2addr v1, p1
|
|
|
|
.line 106
|
|
goto :goto_2
|
|
|
|
.line 107
|
|
:cond_4
|
|
move v1, p2
|
|
|
|
.line 108
|
|
:goto_2
|
|
invoke-static {v1, p2}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 109
|
|
.line 110
|
|
.line 111
|
|
iget-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 112
|
|
.line 113
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 114
|
|
.line 115
|
|
.line 116
|
|
iget-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 117
|
|
.line 118
|
|
invoke-virtual {p1, v0}, Landroid/graphics/drawable/Drawable;->getPadding(Landroid/graphics/Rect;)Z
|
|
|
|
.line 119
|
|
.line 120
|
|
.line 121
|
|
iget-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 122
|
|
.line 123
|
|
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I
|
|
|
|
.line 124
|
|
.line 125
|
|
.line 126
|
|
throw v0
|
|
|
|
.line 127
|
|
:cond_5
|
|
invoke-virtual {p1, v0}, Landroid/graphics/drawable/Drawable;->getPadding(Landroid/graphics/Rect;)Z
|
|
|
|
.line 128
|
|
.line 129
|
|
.line 130
|
|
iget-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 131
|
|
.line 132
|
|
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I
|
|
|
|
.line 133
|
|
.line 134
|
|
.line 135
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final onPopulateAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/CompoundButton;->onPopulateAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-virtual {p0}, Landroid/widget/CompoundButton;->isChecked()Z
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result v0
|
|
|
|
.line 8
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->o:Ljava/lang/CharSequence;
|
|
|
|
.line 11
|
|
.line 12
|
|
goto :goto_0
|
|
|
|
.line 13
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->q:Ljava/lang/CharSequence;
|
|
|
|
.line 14
|
|
.line 15
|
|
:goto_0
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-virtual {p1}, Landroid/view/accessibility/AccessibilityRecord;->getText()Ljava/util/List;
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result-object p1
|
|
|
|
.line 21
|
|
invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
.locals 0
|
|
|
|
.line 1
|
|
const/4 p1, 0x0
|
|
|
|
.line 2
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setAllCaps(Z)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/CompoundButton;->setAllCaps(Z)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/SwitchCompat;->getEmojiTextViewHelper()Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result-object v0
|
|
|
|
.line 8
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatEmojiTextHelper;->b(Z)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
return-void
|
|
.end method
|
|
|
|
.method public setChecked(Z)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/CompoundButton;->setChecked(Z)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-virtual {p0}, Landroid/widget/CompoundButton;->isChecked()Z
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result p1
|
|
|
|
.line 8
|
|
const/16 v0, 0x1e
|
|
|
|
.line 9
|
|
.line 10
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 11
|
|
.line 12
|
|
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
.line 13
|
|
.line 14
|
|
if-lt v1, v0, :cond_3
|
|
|
|
.line 15
|
|
.line 16
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->o:Ljava/lang/CharSequence;
|
|
|
|
.line 17
|
|
.line 18
|
|
if-nez v0, :cond_0
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result-object v0
|
|
|
|
.line 24
|
|
sget v1, Landroidx/appcompat/R$string;->abc_capital_on:I
|
|
|
|
.line 25
|
|
.line 26
|
|
invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
move-result-object v0
|
|
|
|
.line 30
|
|
:cond_0
|
|
invoke-static {p0, v0}, Landroidx/core/view/ViewCompat;->K(Landroidx/appcompat/widget/SwitchCompat;Ljava/lang/CharSequence;)V
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
goto :goto_0
|
|
|
|
.line 34
|
|
:cond_1
|
|
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
.line 35
|
|
.line 36
|
|
if-lt v1, v0, :cond_3
|
|
|
|
.line 37
|
|
.line 38
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->q:Ljava/lang/CharSequence;
|
|
|
|
.line 39
|
|
.line 40
|
|
if-nez v0, :cond_2
|
|
|
|
.line 41
|
|
.line 42
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
move-result-object v0
|
|
|
|
.line 46
|
|
sget v1, Landroidx/appcompat/R$string;->abc_capital_off:I
|
|
|
|
.line 47
|
|
.line 48
|
|
invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
|
|
|
|
.line 49
|
|
.line 50
|
|
.line 51
|
|
move-result-object v0
|
|
|
|
.line 52
|
|
:cond_2
|
|
invoke-static {p0, v0}, Landroidx/core/view/ViewCompat;->K(Landroidx/appcompat/widget/SwitchCompat;Ljava/lang/CharSequence;)V
|
|
|
|
.line 53
|
|
.line 54
|
|
.line 55
|
|
:cond_3
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroid/view/View;->getWindowToken()Landroid/os/IBinder;
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
move-result-object v0
|
|
|
|
.line 59
|
|
const/4 v1, 0x0
|
|
|
|
.line 60
|
|
const/high16 v2, 0x3f800000 # 1.0f
|
|
|
|
.line 61
|
|
.line 62
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 63
|
|
.line 64
|
|
invoke-virtual {p0}, Landroid/view/View;->isLaidOut()Z
|
|
|
|
.line 65
|
|
.line 66
|
|
.line 67
|
|
move-result v0
|
|
|
|
.line 68
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 69
|
|
.line 70
|
|
if-eqz p1, :cond_4
|
|
|
|
.line 71
|
|
.line 72
|
|
move v1, v2
|
|
|
|
.line 73
|
|
:cond_4
|
|
const/4 p1, 0x1
|
|
|
|
.line 74
|
|
new-array v0, p1, [F
|
|
|
|
.line 75
|
|
.line 76
|
|
const/4 v2, 0x0
|
|
|
|
.line 77
|
|
aput v1, v0, v2
|
|
|
|
.line 78
|
|
.line 79
|
|
sget-object v1, Landroidx/appcompat/widget/SwitchCompat;->y:Landroid/util/Property;
|
|
|
|
.line 80
|
|
.line 81
|
|
invoke-static {p0, v1, v0}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
|
|
|
|
.line 82
|
|
.line 83
|
|
.line 84
|
|
move-result-object v0
|
|
|
|
.line 85
|
|
iput-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->w:Landroid/animation/ObjectAnimator;
|
|
|
|
.line 86
|
|
.line 87
|
|
const-wide/16 v1, 0xfa
|
|
|
|
.line 88
|
|
.line 89
|
|
invoke-virtual {v0, v1, v2}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;
|
|
|
|
.line 90
|
|
.line 91
|
|
.line 92
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->w:Landroid/animation/ObjectAnimator;
|
|
|
|
.line 93
|
|
.line 94
|
|
invoke-virtual {v0, p1}, Landroid/animation/ObjectAnimator;->setAutoCancel(Z)V
|
|
|
|
.line 95
|
|
.line 96
|
|
.line 97
|
|
iget-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->w:Landroid/animation/ObjectAnimator;
|
|
|
|
.line 98
|
|
.line 99
|
|
invoke-virtual {p1}, Landroid/animation/ObjectAnimator;->start()V
|
|
|
|
.line 100
|
|
.line 101
|
|
.line 102
|
|
return-void
|
|
|
|
.line 103
|
|
:cond_5
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->w:Landroid/animation/ObjectAnimator;
|
|
|
|
.line 104
|
|
.line 105
|
|
if-eqz v0, :cond_6
|
|
|
|
.line 106
|
|
.line 107
|
|
invoke-virtual {v0}, Landroid/animation/Animator;->cancel()V
|
|
|
|
.line 108
|
|
.line 109
|
|
.line 110
|
|
:cond_6
|
|
if-eqz p1, :cond_7
|
|
|
|
.line 111
|
|
.line 112
|
|
move v1, v2
|
|
|
|
.line 113
|
|
:cond_7
|
|
invoke-virtual {p0, v1}, Landroidx/appcompat/widget/SwitchCompat;->setThumbPosition(F)V
|
|
|
|
.line 114
|
|
.line 115
|
|
.line 116
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCustomSelectionActionModeCallback(Landroid/view/ActionMode$Callback;)V
|
|
.locals 0
|
|
.param p1 # Landroid/view/ActionMode$Callback;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-static {p1, p0}, Landroidx/core/widget/TextViewCompat;->h(Landroid/view/ActionMode$Callback;Landroid/widget/TextView;)Landroid/view/ActionMode$Callback;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object p1
|
|
|
|
.line 5
|
|
invoke-super {p0, p1}, Landroid/widget/CompoundButton;->setCustomSelectionActionModeCallback(Landroid/view/ActionMode$Callback;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
return-void
|
|
.end method
|
|
|
|
.method public setEmojiCompatEnabled(Z)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/SwitchCompat;->getEmojiTextViewHelper()Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatEmojiTextHelper;->c(Z)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
iget-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->o:Ljava/lang/CharSequence;
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-direct {p0, p1}, Landroidx/appcompat/widget/SwitchCompat;->setTextOnInternal(Ljava/lang/CharSequence;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
iget-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->q:Ljava/lang/CharSequence;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-direct {p0, p1}, Landroidx/appcompat/widget/SwitchCompat;->setTextOffInternal(Ljava/lang/CharSequence;)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {p0}, Landroid/view/View;->requestLayout()V
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
return-void
|
|
.end method
|
|
|
|
.method public final setEnforceSwitchWidth(Z)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->invalidate()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
return-void
|
|
.end method
|
|
|
|
.method public setFilters([Landroid/text/InputFilter;)V
|
|
.locals 1
|
|
.param p1 # [Landroid/text/InputFilter;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/SwitchCompat;->getEmojiTextViewHelper()Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
iget-object v0, v0, Landroidx/appcompat/widget/AppCompatEmojiTextHelper;->b:Landroidx/emoji2/viewsintegration/EmojiTextViewHelper;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v0, p1}, Landroidx/emoji2/viewsintegration/EmojiTextViewHelper;->a([Landroid/text/InputFilter;)[Landroid/text/InputFilter;
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result-object p1
|
|
|
|
.line 11
|
|
invoke-super {p0, p1}, Landroid/widget/CompoundButton;->setFilters([Landroid/text/InputFilter;)V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
return-void
|
|
.end method
|
|
|
|
.method public setShowText(Z)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Landroidx/appcompat/widget/SwitchCompat;->s:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iput-boolean p1, p0, Landroidx/appcompat/widget/SwitchCompat;->s:Z
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p0}, Landroid/view/View;->requestLayout()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSplitTrack(Z)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-boolean p1, p0, Landroidx/appcompat/widget/SwitchCompat;->n:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/view/View;->invalidate()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSwitchMinWidth(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/appcompat/widget/SwitchCompat;->l:I
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/view/View;->requestLayout()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSwitchPadding(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/appcompat/widget/SwitchCompat;->m:I
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/view/View;->requestLayout()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSwitchTypeface(Landroid/graphics/Typeface;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
const/4 p1, 0x0
|
|
|
|
.line 2
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setTextOff(Ljava/lang/CharSequence;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1}, Landroidx/appcompat/widget/SwitchCompat;->setTextOffInternal(Ljava/lang/CharSequence;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-virtual {p0}, Landroid/view/View;->requestLayout()V
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p0}, Landroid/widget/CompoundButton;->isChecked()Z
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result p1
|
|
|
|
.line 11
|
|
if-nez p1, :cond_1
|
|
|
|
.line 12
|
|
.line 13
|
|
sget p1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
.line 14
|
|
.line 15
|
|
const/16 v0, 0x1e
|
|
|
|
.line 16
|
|
.line 17
|
|
if-lt p1, v0, :cond_1
|
|
|
|
.line 18
|
|
.line 19
|
|
iget-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->q:Ljava/lang/CharSequence;
|
|
|
|
.line 20
|
|
.line 21
|
|
if-nez p1, :cond_0
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result-object p1
|
|
|
|
.line 27
|
|
sget v0, Landroidx/appcompat/R$string;->abc_capital_off:I
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-virtual {p1, v0}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object p1
|
|
|
|
.line 33
|
|
:cond_0
|
|
invoke-static {p0, p1}, Landroidx/core/view/ViewCompat;->K(Landroidx/appcompat/widget/SwitchCompat;Ljava/lang/CharSequence;)V
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTextOn(Ljava/lang/CharSequence;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1}, Landroidx/appcompat/widget/SwitchCompat;->setTextOnInternal(Ljava/lang/CharSequence;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-virtual {p0}, Landroid/view/View;->requestLayout()V
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p0}, Landroid/widget/CompoundButton;->isChecked()Z
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result p1
|
|
|
|
.line 11
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 12
|
|
.line 13
|
|
sget p1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
.line 14
|
|
.line 15
|
|
const/16 v0, 0x1e
|
|
|
|
.line 16
|
|
.line 17
|
|
if-lt p1, v0, :cond_1
|
|
|
|
.line 18
|
|
.line 19
|
|
iget-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->o:Ljava/lang/CharSequence;
|
|
|
|
.line 20
|
|
.line 21
|
|
if-nez p1, :cond_0
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result-object p1
|
|
|
|
.line 27
|
|
sget v0, Landroidx/appcompat/R$string;->abc_capital_on:I
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-virtual {p1, v0}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object p1
|
|
|
|
.line 33
|
|
:cond_0
|
|
invoke-static {p0, p1}, Landroidx/core/view/ViewCompat;->K(Landroidx/appcompat/widget/SwitchCompat;Ljava/lang/CharSequence;)V
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public setThumbDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v1, 0x0
|
|
|
|
.line 6
|
|
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
:cond_0
|
|
iput-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 10
|
|
.line 11
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {p1, p0}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroid/view/View;->requestLayout()V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
return-void
|
|
.end method
|
|
|
|
.method public setThumbPosition(F)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/appcompat/widget/SwitchCompat;->t:F
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/view/View;->invalidate()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public setThumbResource(I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
invoke-static {v0, p1}, Landroidx/appcompat/content/res/AppCompatResources;->a(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object p1
|
|
|
|
.line 9
|
|
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/SwitchCompat;->setThumbDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
return-void
|
|
.end method
|
|
|
|
.method public setThumbTextPadding(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/appcompat/widget/SwitchCompat;->k:I
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/view/View;->requestLayout()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public setThumbTintList(Landroid/content/res/ColorStateList;)V
|
|
.locals 0
|
|
.param p1 # Landroid/content/res/ColorStateList;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iput-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->f:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/SwitchCompat;->a()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public setThumbTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
.locals 0
|
|
.param p1 # Landroid/graphics/PorterDuff$Mode;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iput-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->g:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/SwitchCompat;->a()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTrackDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v1, 0x0
|
|
|
|
.line 6
|
|
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
:cond_0
|
|
iput-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 10
|
|
.line 11
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {p1, p0}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroid/view/View;->requestLayout()V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTrackResource(I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
invoke-static {v0, p1}, Landroidx/appcompat/content/res/AppCompatResources;->a(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object p1
|
|
|
|
.line 9
|
|
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/SwitchCompat;->setTrackDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTrackTintList(Landroid/content/res/ColorStateList;)V
|
|
.locals 0
|
|
.param p1 # Landroid/content/res/ColorStateList;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iput-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->i:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/SwitchCompat;->b()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTrackTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
.locals 0
|
|
.param p1 # Landroid/graphics/PorterDuff$Mode;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iput-object p1, p0, Landroidx/appcompat/widget/SwitchCompat;->j:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/SwitchCompat;->b()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public final toggle()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/widget/CompoundButton;->isChecked()Z
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
xor-int/lit8 v0, v0, 0x1
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/SwitchCompat;->setChecked(Z)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
return-void
|
|
.end method
|
|
|
|
.method public final verifyDrawable(Landroid/graphics/drawable/Drawable;)Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/CompoundButton;->verifyDrawable(Landroid/graphics/drawable/Drawable;)Z
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
if-nez v0, :cond_1
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->c:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 8
|
|
.line 9
|
|
if-eq p1, v0, :cond_1
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v0, p0, Landroidx/appcompat/widget/SwitchCompat;->h:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 12
|
|
.line 13
|
|
if-ne p1, v0, :cond_0
|
|
|
|
.line 14
|
|
.line 15
|
|
goto :goto_0
|
|
|
|
.line 16
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
.line 17
|
|
return p1
|
|
|
|
.line 18
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
.line 19
|
|
return p1
|
|
.end method
|