* 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>
816 lines
19 KiB
Smali
816 lines
19 KiB
Smali
.class public Landroidx/appcompat/widget/AppCompatImageButton;
|
|
.super Landroid/widget/ImageButton;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroidx/core/view/TintableBackgroundView;
|
|
.implements Landroidx/core/widget/TintableImageSourceView;
|
|
|
|
|
|
# instance fields
|
|
.field public final c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.field public final f:Landroidx/appcompat/widget/AppCompatImageHelper;
|
|
|
|
.field public g:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p1}, Landroidx/appcompat/widget/TintContextWrapper;->a(Landroid/content/Context;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/widget/ImageButton;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
const/4 p1, 0x0
|
|
|
|
.line 8
|
|
iput-boolean p1, p0, Landroidx/appcompat/widget/AppCompatImageButton;->g:Z
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result-object p1
|
|
|
|
.line 14
|
|
invoke-static {p1, p0}, Landroidx/appcompat/widget/ThemeUtils;->a(Landroid/content/Context;Landroid/view/View;)V
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
new-instance p1, Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-direct {p1, p0}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;-><init>(Landroid/view/View;)V
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
iput-object p1, p0, Landroidx/appcompat/widget/AppCompatImageButton;->c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 23
|
|
.line 24
|
|
invoke-virtual {p1, p2, p3}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->d(Landroid/util/AttributeSet;I)V
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
new-instance p1, Landroidx/appcompat/widget/AppCompatImageHelper;
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-direct {p1, p0}, Landroidx/appcompat/widget/AppCompatImageHelper;-><init>(Landroid/widget/ImageView;)V
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
iput-object p1, p0, Landroidx/appcompat/widget/AppCompatImageButton;->f:Landroidx/appcompat/widget/AppCompatImageHelper;
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-virtual {p1, p2, p3}, Landroidx/appcompat/widget/AppCompatImageHelper;->b(Landroid/util/AttributeSet;I)V
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final drawableStateChanged()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/widget/ImageButton;->drawableStateChanged()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatImageButton;->c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->a()V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatImageButton;->f:Landroidx/appcompat/widget/AppCompatImageHelper;
|
|
|
|
.line 12
|
|
.line 13
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatImageHelper;->a()V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public getSupportBackgroundTintList()Landroid/content/res/ColorStateList;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatImageButton;->c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->b()Landroid/content/res/ColorStateList;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
return-object v0
|
|
|
|
.line 10
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 11
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getSupportBackgroundTintMode()Landroid/graphics/PorterDuff$Mode;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatImageButton;->c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->c()Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
return-object v0
|
|
|
|
.line 10
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 11
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getSupportImageTintList()Landroid/content/res/ColorStateList;
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
iget-object v1, p0, Landroidx/appcompat/widget/AppCompatImageButton;->f:Landroidx/appcompat/widget/AppCompatImageHelper;
|
|
|
|
.line 3
|
|
.line 4
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
iget-object v1, v1, Landroidx/appcompat/widget/AppCompatImageHelper;->b:Landroidx/appcompat/widget/TintInfo;
|
|
|
|
.line 7
|
|
.line 8
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
iget-object v0, v1, Landroidx/appcompat/widget/TintInfo;->a:Landroid/content/res/ColorStateList;
|
|
|
|
.line 11
|
|
.line 12
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getSupportImageTintMode()Landroid/graphics/PorterDuff$Mode;
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
iget-object v1, p0, Landroidx/appcompat/widget/AppCompatImageButton;->f:Landroidx/appcompat/widget/AppCompatImageHelper;
|
|
|
|
.line 3
|
|
.line 4
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
iget-object v1, v1, Landroidx/appcompat/widget/AppCompatImageHelper;->b:Landroidx/appcompat/widget/TintInfo;
|
|
|
|
.line 7
|
|
.line 8
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
iget-object v0, v1, Landroidx/appcompat/widget/TintInfo;->b:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 11
|
|
.line 12
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final hasOverlappingRendering()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatImageButton;->f:Landroidx/appcompat/widget/AppCompatImageHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Landroidx/appcompat/widget/AppCompatImageHelper;->a:Landroid/widget/ImageView;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
instance-of v0, v0, Landroid/graphics/drawable/RippleDrawable;
|
|
|
|
.line 10
|
|
.line 11
|
|
if-nez v0, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-super {p0}, Landroid/widget/ImageButton;->hasOverlappingRendering()Z
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result v0
|
|
|
|
.line 17
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 18
|
|
.line 19
|
|
const/4 v0, 0x1
|
|
|
|
.line 20
|
|
return v0
|
|
|
|
.line 21
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 22
|
|
return v0
|
|
.end method
|
|
|
|
.method public setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 0
|
|
.param p1 # Landroid/graphics/drawable/Drawable;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/ImageButton;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatImageButton;->c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->e()V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBackgroundResource(I)V
|
|
.locals 1
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/DrawableRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatImageButton;->c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->f(I)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setImageBitmap(Landroid/graphics/Bitmap;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/ImageButton;->setImageBitmap(Landroid/graphics/Bitmap;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatImageButton;->f:Landroidx/appcompat/widget/AppCompatImageHelper;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatImageHelper;->a()V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 2
|
|
.param p1 # Landroid/graphics/drawable/Drawable;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatImageButton;->f:Landroidx/appcompat/widget/AppCompatImageHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-boolean v1, p0, Landroidx/appcompat/widget/AppCompatImageButton;->g:Z
|
|
|
|
.line 8
|
|
.line 9
|
|
if-nez v1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getLevel()I
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result v1
|
|
|
|
.line 15
|
|
iput v1, v0, Landroidx/appcompat/widget/AppCompatImageHelper;->c:I
|
|
|
|
.line 16
|
|
.line 17
|
|
:cond_0
|
|
invoke-super {p0, p1}, Landroid/widget/ImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 21
|
|
.line 22
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatImageHelper;->a()V
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
iget-boolean p1, p0, Landroidx/appcompat/widget/AppCompatImageButton;->g:Z
|
|
|
|
.line 26
|
|
.line 27
|
|
if-nez p1, :cond_1
|
|
|
|
.line 28
|
|
.line 29
|
|
iget-object p1, v0, Landroidx/appcompat/widget/AppCompatImageHelper;->a:Landroid/widget/ImageView;
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-virtual {p1}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result-object v1
|
|
|
|
.line 35
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 36
|
|
.line 37
|
|
invoke-virtual {p1}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
move-result-object p1
|
|
|
|
.line 41
|
|
iget v0, v0, Landroidx/appcompat/widget/AppCompatImageHelper;->c:I
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-virtual {p1, v0}, Landroid/graphics/drawable/Drawable;->setLevel(I)Z
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public setImageLevel(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/ImageButton;->setImageLevel(I)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
const/4 p1, 0x1
|
|
|
|
.line 5
|
|
iput-boolean p1, p0, Landroidx/appcompat/widget/AppCompatImageButton;->g:Z
|
|
|
|
.line 6
|
|
.line 7
|
|
return-void
|
|
.end method
|
|
|
|
.method public setImageResource(I)V
|
|
.locals 3
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/DrawableRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatImageButton;->f:Landroidx/appcompat/widget/AppCompatImageHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v1, v0, Landroidx/appcompat/widget/AppCompatImageHelper;->a:Landroid/widget/ImageView;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v1}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result-object v2
|
|
|
|
.line 11
|
|
invoke-static {v2, p1}, Landroidx/appcompat/content/res/AppCompatResources;->a(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object p1
|
|
|
|
.line 15
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-static {p1}, Landroidx/appcompat/widget/DrawableUtils;->a(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
:cond_0
|
|
invoke-virtual {v1, p1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
goto :goto_0
|
|
|
|
.line 24
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
.line 25
|
|
invoke-virtual {v1, p1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
:goto_0
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatImageHelper;->a()V
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
return-void
|
|
.end method
|
|
|
|
.method public setImageURI(Landroid/net/Uri;)V
|
|
.locals 0
|
|
.param p1 # Landroid/net/Uri;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/ImageButton;->setImageURI(Landroid/net/Uri;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatImageButton;->f:Landroidx/appcompat/widget/AppCompatImageHelper;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatImageHelper;->a()V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSupportBackgroundTintList(Landroid/content/res/ColorStateList;)V
|
|
.locals 1
|
|
.param p1 # Landroid/content/res/ColorStateList;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatImageButton;->c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->h(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSupportBackgroundTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
.locals 1
|
|
.param p1 # Landroid/graphics/PorterDuff$Mode;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatImageButton;->c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->i(Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSupportImageTintList(Landroid/content/res/ColorStateList;)V
|
|
.locals 2
|
|
.param p1 # Landroid/content/res/ColorStateList;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatImageButton;->f:Landroidx/appcompat/widget/AppCompatImageHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v1, v0, Landroidx/appcompat/widget/AppCompatImageHelper;->b:Landroidx/appcompat/widget/TintInfo;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-nez v1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
new-instance v1, Landroidx/appcompat/widget/TintInfo;
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-direct {v1}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
iput-object v1, v0, Landroidx/appcompat/widget/AppCompatImageHelper;->b:Landroidx/appcompat/widget/TintInfo;
|
|
|
|
.line 15
|
|
.line 16
|
|
:cond_0
|
|
iget-object v1, v0, Landroidx/appcompat/widget/AppCompatImageHelper;->b:Landroidx/appcompat/widget/TintInfo;
|
|
|
|
.line 17
|
|
.line 18
|
|
iput-object p1, v1, Landroidx/appcompat/widget/TintInfo;->a:Landroid/content/res/ColorStateList;
|
|
|
|
.line 19
|
|
.line 20
|
|
const/4 p1, 0x1
|
|
|
|
.line 21
|
|
iput-boolean p1, v1, Landroidx/appcompat/widget/TintInfo;->d:Z
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatImageHelper;->a()V
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSupportImageTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
.locals 2
|
|
.param p1 # Landroid/graphics/PorterDuff$Mode;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatImageButton;->f:Landroidx/appcompat/widget/AppCompatImageHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v1, v0, Landroidx/appcompat/widget/AppCompatImageHelper;->b:Landroidx/appcompat/widget/TintInfo;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-nez v1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
new-instance v1, Landroidx/appcompat/widget/TintInfo;
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-direct {v1}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
iput-object v1, v0, Landroidx/appcompat/widget/AppCompatImageHelper;->b:Landroidx/appcompat/widget/TintInfo;
|
|
|
|
.line 15
|
|
.line 16
|
|
:cond_0
|
|
iget-object v1, v0, Landroidx/appcompat/widget/AppCompatImageHelper;->b:Landroidx/appcompat/widget/TintInfo;
|
|
|
|
.line 17
|
|
.line 18
|
|
iput-object p1, v1, Landroidx/appcompat/widget/TintInfo;->b:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 19
|
|
.line 20
|
|
const/4 p1, 0x1
|
|
|
|
.line 21
|
|
iput-boolean p1, v1, Landroidx/appcompat/widget/TintInfo;->c:Z
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatImageHelper;->a()V
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
:cond_1
|
|
return-void
|
|
.end method
|