* 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>
2307 lines
48 KiB
Smali
2307 lines
48 KiB
Smali
.class public final Landroidx/appcompat/widget/ResourceManagerInternal;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/appcompat/widget/ResourceManagerInternal$VdcInflateDelegate;,
|
|
Landroidx/appcompat/widget/ResourceManagerInternal$InflateDelegate;,
|
|
Landroidx/appcompat/widget/ResourceManagerInternal$AvdcInflateDelegate;,
|
|
Landroidx/appcompat/widget/ResourceManagerInternal$AsldcInflateDelegate;,
|
|
Landroidx/appcompat/widget/ResourceManagerInternal$DrawableDelegate;,
|
|
Landroidx/appcompat/widget/ResourceManagerInternal$ResourceManagerHooks;,
|
|
Landroidx/appcompat/widget/ResourceManagerInternal$ColorFilterLruCache;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final h:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.field public static i:Landroidx/appcompat/widget/ResourceManagerInternal;
|
|
|
|
.field public static final j:Landroidx/appcompat/widget/ResourceManagerInternal$ColorFilterLruCache;
|
|
|
|
|
|
# instance fields
|
|
.field public a:Ljava/util/WeakHashMap;
|
|
|
|
.field public b:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.field public c:Landroidx/collection/SparseArrayCompat;
|
|
|
|
.field public final d:Ljava/util/WeakHashMap;
|
|
|
|
.field public e:Landroid/util/TypedValue;
|
|
|
|
.field public f:Z
|
|
|
|
.field public g:Landroidx/appcompat/widget/ResourceManagerInternal$ResourceManagerHooks;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
sget-object v0, Landroid/graphics/PorterDuff$Mode;->SRC_IN:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 2
|
|
.line 3
|
|
sput-object v0, Landroidx/appcompat/widget/ResourceManagerInternal;->h:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 4
|
|
.line 5
|
|
new-instance v0, Landroidx/appcompat/widget/ResourceManagerInternal$ColorFilterLruCache;
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v1, 0x6
|
|
|
|
.line 8
|
|
invoke-direct {v0, v1}, Landroidx/collection/LruCache;-><init>(I)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
sput-object v0, Landroidx/appcompat/widget/ResourceManagerInternal;->j:Landroidx/appcompat/widget/ResourceManagerInternal$ColorFilterLruCache;
|
|
|
|
.line 12
|
|
.line 13
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
new-instance v0, Ljava/util/WeakHashMap;
|
|
|
|
.line 5
|
|
.line 6
|
|
const/4 v1, 0x0
|
|
|
|
.line 7
|
|
invoke-direct {v0, v1}, Ljava/util/WeakHashMap;-><init>(I)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
iput-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->d:Ljava/util/WeakHashMap;
|
|
|
|
.line 11
|
|
.line 12
|
|
return-void
|
|
.end method
|
|
|
|
.method public static declared-synchronized c()Landroidx/appcompat/widget/ResourceManagerInternal;
|
|
.locals 2
|
|
|
|
.line 1
|
|
const-class v0, Landroidx/appcompat/widget/ResourceManagerInternal;
|
|
|
|
.line 2
|
|
.line 3
|
|
monitor-enter v0
|
|
|
|
.line 4
|
|
:try_start_0
|
|
sget-object v1, Landroidx/appcompat/widget/ResourceManagerInternal;->i:Landroidx/appcompat/widget/ResourceManagerInternal;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-nez v1, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
new-instance v1, Landroidx/appcompat/widget/ResourceManagerInternal;
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-direct {v1}, Landroidx/appcompat/widget/ResourceManagerInternal;-><init>()V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
sput-object v1, Landroidx/appcompat/widget/ResourceManagerInternal;->i:Landroidx/appcompat/widget/ResourceManagerInternal;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-static {v1}, Landroidx/appcompat/widget/ResourceManagerInternal;->i(Landroidx/appcompat/widget/ResourceManagerInternal;)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
goto :goto_0
|
|
|
|
.line 19
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 20
|
|
goto :goto_1
|
|
|
|
.line 21
|
|
:cond_0
|
|
:goto_0
|
|
sget-object v1, Landroidx/appcompat/widget/ResourceManagerInternal;->i:Landroidx/appcompat/widget/ResourceManagerInternal;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 22
|
|
.line 23
|
|
monitor-exit v0
|
|
|
|
.line 24
|
|
return-object v1
|
|
|
|
.line 25
|
|
:goto_1
|
|
:try_start_1
|
|
monitor-exit v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 26
|
|
throw v1
|
|
.end method
|
|
|
|
.method public static declared-synchronized g(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuffColorFilter;
|
|
.locals 4
|
|
|
|
.line 1
|
|
const-class v0, Landroidx/appcompat/widget/ResourceManagerInternal;
|
|
|
|
.line 2
|
|
.line 3
|
|
monitor-enter v0
|
|
|
|
.line 4
|
|
:try_start_0
|
|
sget-object v1, Landroidx/appcompat/widget/ResourceManagerInternal;->j:Landroidx/appcompat/widget/ResourceManagerInternal$ColorFilterLruCache;
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
const/16 v2, 0x1f
|
|
|
|
.line 10
|
|
.line 11
|
|
add-int v3, v2, p0
|
|
|
|
.line 12
|
|
.line 13
|
|
mul-int/2addr v3, v2
|
|
|
|
.line 14
|
|
invoke-virtual {p1}, Ljava/lang/Object;->hashCode()I
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result v2
|
|
|
|
.line 18
|
|
add-int/2addr v2, v3
|
|
|
|
.line 19
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result-object v2
|
|
|
|
.line 23
|
|
invoke-virtual {v1, v2}, Landroidx/collection/LruCache;->c(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result-object v2
|
|
|
|
.line 27
|
|
check-cast v2, Landroid/graphics/PorterDuffColorFilter;
|
|
|
|
.line 28
|
|
.line 29
|
|
if-nez v2, :cond_0
|
|
|
|
.line 30
|
|
.line 31
|
|
new-instance v2, Landroid/graphics/PorterDuffColorFilter;
|
|
|
|
.line 32
|
|
.line 33
|
|
invoke-direct {v2, p0, p1}, Landroid/graphics/PorterDuffColorFilter;-><init>(ILandroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
invoke-virtual {p1}, Ljava/lang/Object;->hashCode()I
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
move-result p0
|
|
|
|
.line 40
|
|
add-int/2addr p0, v3
|
|
|
|
.line 41
|
|
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
move-result-object p0
|
|
|
|
.line 45
|
|
invoke-virtual {v1, p0, v2}, Landroidx/collection/LruCache;->d(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
move-result-object p0
|
|
|
|
.line 49
|
|
check-cast p0, Landroid/graphics/PorterDuffColorFilter;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 50
|
|
.line 51
|
|
goto :goto_0
|
|
|
|
.line 52
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
.line 53
|
|
goto :goto_1
|
|
|
|
.line 54
|
|
:cond_0
|
|
:goto_0
|
|
monitor-exit v0
|
|
|
|
.line 55
|
|
return-object v2
|
|
|
|
.line 56
|
|
:goto_1
|
|
:try_start_1
|
|
monitor-exit v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 57
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static i(Landroidx/appcompat/widget/ResourceManagerInternal;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/16 v1, 0x18
|
|
|
|
.line 4
|
|
.line 5
|
|
if-ge v0, v1, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
new-instance v0, Landroidx/appcompat/widget/ResourceManagerInternal$VdcInflateDelegate;
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
const-string v1, "vector"
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-virtual {p0, v1, v0}, Landroidx/appcompat/widget/ResourceManagerInternal;->a(Ljava/lang/String;Landroidx/appcompat/widget/ResourceManagerInternal$InflateDelegate;)V
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
new-instance v0, Landroidx/appcompat/widget/ResourceManagerInternal$AvdcInflateDelegate;
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
const-string v1, "animated-vector"
|
|
|
|
.line 23
|
|
.line 24
|
|
invoke-virtual {p0, v1, v0}, Landroidx/appcompat/widget/ResourceManagerInternal;->a(Ljava/lang/String;Landroidx/appcompat/widget/ResourceManagerInternal$InflateDelegate;)V
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
new-instance v0, Landroidx/appcompat/widget/ResourceManagerInternal$AsldcInflateDelegate;
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
const-string v1, "animated-selector"
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-virtual {p0, v1, v0}, Landroidx/appcompat/widget/ResourceManagerInternal;->a(Ljava/lang/String;Landroidx/appcompat/widget/ResourceManagerInternal$InflateDelegate;)V
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
new-instance v0, Landroidx/appcompat/widget/ResourceManagerInternal$DrawableDelegate;
|
|
|
|
.line 38
|
|
.line 39
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
const-string v1, "drawable"
|
|
|
|
.line 43
|
|
.line 44
|
|
invoke-virtual {p0, v1, v0}, Landroidx/appcompat/widget/ResourceManagerInternal;->a(Ljava/lang/String;Landroidx/appcompat/widget/ResourceManagerInternal$InflateDelegate;)V
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Ljava/lang/String;Landroidx/appcompat/widget/ResourceManagerInternal$InflateDelegate;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->b:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
new-instance v0, Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v1, 0x0
|
|
|
|
.line 8
|
|
invoke-direct {v0, v1}, Landroidx/collection/SimpleArrayMap;-><init>(I)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
iput-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->b:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 12
|
|
.line 13
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->b:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {v0, p1, p2}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
return-void
|
|
.end method
|
|
|
|
.method public final declared-synchronized b(Landroid/content/Context;JLandroid/graphics/drawable/Drawable;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
monitor-enter p0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
invoke-virtual {p4}, Landroid/graphics/drawable/Drawable;->getConstantState()Landroid/graphics/drawable/Drawable$ConstantState;
|
|
|
|
.line 3
|
|
.line 4
|
|
.line 5
|
|
move-result-object p4
|
|
|
|
.line 6
|
|
if-eqz p4, :cond_1
|
|
|
|
.line 7
|
|
.line 8
|
|
iget-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->d:Ljava/util/WeakHashMap;
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {v0, p1}, Ljava/util/WeakHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result-object v0
|
|
|
|
.line 14
|
|
check-cast v0, Landroidx/collection/LongSparseArray;
|
|
|
|
.line 15
|
|
.line 16
|
|
if-nez v0, :cond_0
|
|
|
|
.line 17
|
|
.line 18
|
|
new-instance v0, Landroidx/collection/LongSparseArray;
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-direct {v0}, Landroidx/collection/LongSparseArray;-><init>()V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
iget-object v1, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->d:Ljava/util/WeakHashMap;
|
|
|
|
.line 24
|
|
.line 25
|
|
invoke-virtual {v1, p1, v0}, Ljava/util/WeakHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
goto :goto_0
|
|
|
|
.line 29
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 30
|
|
goto :goto_1
|
|
|
|
.line 31
|
|
:cond_0
|
|
:goto_0
|
|
new-instance p1, Ljava/lang/ref/WeakReference;
|
|
|
|
.line 32
|
|
.line 33
|
|
invoke-direct {p1, p4}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
invoke-virtual {v0, p2, p3, p1}, Landroidx/collection/LongSparseArray;->g(JLjava/lang/Object;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
monitor-exit p0
|
|
|
|
.line 40
|
|
return-void
|
|
|
|
.line 41
|
|
:cond_1
|
|
monitor-exit p0
|
|
|
|
.line 42
|
|
return-void
|
|
|
|
.line 43
|
|
:goto_1
|
|
:try_start_1
|
|
monitor-exit p0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 44
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final declared-synchronized d(Landroid/content/Context;J)Landroid/graphics/drawable/Drawable;
|
|
.locals 3
|
|
|
|
.line 1
|
|
monitor-enter p0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->d:Ljava/util/WeakHashMap;
|
|
|
|
.line 3
|
|
.line 4
|
|
invoke-virtual {v0, p1}, Ljava/util/WeakHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result-object v0
|
|
|
|
.line 8
|
|
check-cast v0, Landroidx/collection/LongSparseArray;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 9
|
|
.line 10
|
|
const/4 v1, 0x0
|
|
|
|
.line 11
|
|
if-nez v0, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
monitor-exit p0
|
|
|
|
.line 14
|
|
return-object v1
|
|
|
|
.line 15
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-virtual {v0, p2, p3}, Landroidx/collection/LongSparseArray;->d(J)Ljava/lang/Object;
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result-object v2
|
|
|
|
.line 19
|
|
check-cast v2, Ljava/lang/ref/WeakReference;
|
|
|
|
.line 20
|
|
.line 21
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-virtual {v2}, Ljava/lang/ref/Reference;->get()Ljava/lang/Object;
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result-object v2
|
|
|
|
.line 27
|
|
check-cast v2, Landroid/graphics/drawable/Drawable$ConstantState;
|
|
|
|
.line 28
|
|
.line 29
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result-object p1
|
|
|
|
.line 35
|
|
invoke-virtual {v2, p1}, Landroid/graphics/drawable/Drawable$ConstantState;->newDrawable(Landroid/content/res/Resources;)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result-object p1
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 39
|
|
monitor-exit p0
|
|
|
|
.line 40
|
|
return-object p1
|
|
|
|
.line 41
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 42
|
|
goto :goto_0
|
|
|
|
.line 43
|
|
:cond_1
|
|
:try_start_2
|
|
iget-object p1, v0, Landroidx/collection/LongSparseArray;->f:[J
|
|
|
|
.line 44
|
|
.line 45
|
|
iget v2, v0, Landroidx/collection/LongSparseArray;->h:I
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-static {p1, v2, p2, p3}, Landroidx/collection/internal/ContainerHelpersKt;->b([JIJ)I
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
move-result p1
|
|
|
|
.line 51
|
|
if-ltz p1, :cond_2
|
|
|
|
.line 52
|
|
.line 53
|
|
iget-object p2, v0, Landroidx/collection/LongSparseArray;->g:[Ljava/lang/Object;
|
|
|
|
.line 54
|
|
.line 55
|
|
aget-object p3, p2, p1
|
|
|
|
.line 56
|
|
.line 57
|
|
sget-object v2, Landroidx/collection/LongSparseArrayKt;->a:Ljava/lang/Object;
|
|
|
|
.line 58
|
|
.line 59
|
|
if-eq p3, v2, :cond_2
|
|
|
|
.line 60
|
|
.line 61
|
|
aput-object v2, p2, p1
|
|
|
|
.line 62
|
|
.line 63
|
|
const/4 p1, 0x1
|
|
|
|
.line 64
|
|
iput-boolean p1, v0, Landroidx/collection/LongSparseArray;->c:Z
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
.line 65
|
|
.line 66
|
|
:cond_2
|
|
monitor-exit p0
|
|
|
|
.line 67
|
|
return-object v1
|
|
|
|
.line 68
|
|
:goto_0
|
|
:try_start_3
|
|
monitor-exit p0
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_0
|
|
|
|
.line 69
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final declared-synchronized e(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
.locals 1
|
|
|
|
.line 1
|
|
monitor-enter p0
|
|
|
|
.line 2
|
|
const/4 v0, 0x0
|
|
|
|
.line 3
|
|
:try_start_0
|
|
invoke-virtual {p0, p1, p2, v0}, Landroidx/appcompat/widget/ResourceManagerInternal;->f(Landroid/content/Context;IZ)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object p1
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 7
|
|
monitor-exit p0
|
|
|
|
.line 8
|
|
return-object p1
|
|
|
|
.line 9
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 10
|
|
:try_start_1
|
|
monitor-exit p0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 11
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final declared-synchronized f(Landroid/content/Context;IZ)Landroid/graphics/drawable/Drawable;
|
|
.locals 5
|
|
|
|
.line 1
|
|
monitor-enter p0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-boolean v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->f:Z
|
|
|
|
.line 3
|
|
.line 4
|
|
const/4 v1, 0x1
|
|
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
goto :goto_0
|
|
|
|
.line 8
|
|
:cond_0
|
|
iput-boolean v1, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->f:Z
|
|
|
|
.line 9
|
|
.line 10
|
|
sget v0, Landroidx/appcompat/resources/R$drawable;->abc_vector_test:I
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-virtual {p0, p1, v0}, Landroidx/appcompat/widget/ResourceManagerInternal;->e(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result-object v0
|
|
|
|
.line 16
|
|
if-eqz v0, :cond_a
|
|
|
|
.line 17
|
|
.line 18
|
|
instance-of v2, v0, Landroidx/vectordrawable/graphics/drawable/VectorDrawableCompat;
|
|
|
|
.line 19
|
|
.line 20
|
|
if-nez v2, :cond_1
|
|
|
|
.line 21
|
|
.line 22
|
|
const-string v2, "android.graphics.drawable.VectorDrawable"
|
|
|
|
.line 23
|
|
.line 24
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
move-result-object v0
|
|
|
|
.line 28
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result-object v0
|
|
|
|
.line 32
|
|
invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
move-result v0
|
|
|
|
.line 36
|
|
if-eqz v0, :cond_a
|
|
|
|
.line 37
|
|
.line 38
|
|
:cond_1
|
|
:goto_0
|
|
invoke-virtual {p0, p1, p2}, Landroidx/appcompat/widget/ResourceManagerInternal;->j(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
move-result-object v0
|
|
|
|
.line 42
|
|
if-nez v0, :cond_6
|
|
|
|
.line 43
|
|
.line 44
|
|
iget-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->e:Landroid/util/TypedValue;
|
|
|
|
.line 45
|
|
.line 46
|
|
if-nez v0, :cond_2
|
|
|
|
.line 47
|
|
.line 48
|
|
new-instance v0, Landroid/util/TypedValue;
|
|
|
|
.line 49
|
|
.line 50
|
|
invoke-direct {v0}, Landroid/util/TypedValue;-><init>()V
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
iput-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->e:Landroid/util/TypedValue;
|
|
|
|
.line 54
|
|
.line 55
|
|
:cond_2
|
|
iget-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->e:Landroid/util/TypedValue;
|
|
|
|
.line 56
|
|
.line 57
|
|
invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
move-result-object v2
|
|
|
|
.line 61
|
|
invoke-virtual {v2, p2, v0, v1}, Landroid/content/res/Resources;->getValue(ILandroid/util/TypedValue;Z)V
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
iget v1, v0, Landroid/util/TypedValue;->assetCookie:I
|
|
|
|
.line 65
|
|
.line 66
|
|
int-to-long v1, v1
|
|
|
|
.line 67
|
|
const/16 v3, 0x20
|
|
|
|
.line 68
|
|
.line 69
|
|
shl-long/2addr v1, v3
|
|
|
|
.line 70
|
|
iget v3, v0, Landroid/util/TypedValue;->data:I
|
|
|
|
.line 71
|
|
.line 72
|
|
int-to-long v3, v3
|
|
|
|
.line 73
|
|
or-long/2addr v1, v3
|
|
|
|
.line 74
|
|
invoke-virtual {p0, p1, v1, v2}, Landroidx/appcompat/widget/ResourceManagerInternal;->d(Landroid/content/Context;J)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 75
|
|
.line 76
|
|
.line 77
|
|
move-result-object v3
|
|
|
|
.line 78
|
|
if-eqz v3, :cond_4
|
|
|
|
.line 79
|
|
.line 80
|
|
:cond_3
|
|
:goto_1
|
|
move-object v0, v3
|
|
|
|
.line 81
|
|
goto :goto_3
|
|
|
|
.line 82
|
|
:cond_4
|
|
iget-object v3, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->g:Landroidx/appcompat/widget/ResourceManagerInternal$ResourceManagerHooks;
|
|
|
|
.line 83
|
|
.line 84
|
|
if-nez v3, :cond_5
|
|
|
|
.line 85
|
|
.line 86
|
|
const/4 v3, 0x0
|
|
|
|
.line 87
|
|
goto :goto_2
|
|
|
|
.line 88
|
|
:cond_5
|
|
check-cast v3, Landroidx/appcompat/widget/AppCompatDrawableManager$1;
|
|
|
|
.line 89
|
|
.line 90
|
|
invoke-virtual {v3, p0, p1, p2}, Landroidx/appcompat/widget/AppCompatDrawableManager$1;->c(Landroidx/appcompat/widget/ResourceManagerInternal;Landroid/content/Context;I)Landroid/graphics/drawable/LayerDrawable;
|
|
|
|
.line 91
|
|
.line 92
|
|
.line 93
|
|
move-result-object v3
|
|
|
|
.line 94
|
|
:goto_2
|
|
if-eqz v3, :cond_3
|
|
|
|
.line 95
|
|
.line 96
|
|
iget v0, v0, Landroid/util/TypedValue;->changingConfigurations:I
|
|
|
|
.line 97
|
|
.line 98
|
|
invoke-virtual {v3, v0}, Landroid/graphics/drawable/Drawable;->setChangingConfigurations(I)V
|
|
|
|
.line 99
|
|
.line 100
|
|
.line 101
|
|
invoke-virtual {p0, p1, v1, v2, v3}, Landroidx/appcompat/widget/ResourceManagerInternal;->b(Landroid/content/Context;JLandroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 102
|
|
.line 103
|
|
.line 104
|
|
goto :goto_1
|
|
|
|
.line 105
|
|
:cond_6
|
|
:goto_3
|
|
if-nez v0, :cond_7
|
|
|
|
.line 106
|
|
.line 107
|
|
invoke-virtual {p1, p2}, Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 108
|
|
.line 109
|
|
.line 110
|
|
move-result-object v0
|
|
|
|
.line 111
|
|
goto :goto_4
|
|
|
|
.line 112
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 113
|
|
goto :goto_5
|
|
|
|
.line 114
|
|
:cond_7
|
|
:goto_4
|
|
if-eqz v0, :cond_8
|
|
|
|
.line 115
|
|
.line 116
|
|
invoke-virtual {p0, p1, p2, p3, v0}, Landroidx/appcompat/widget/ResourceManagerInternal;->m(Landroid/content/Context;IZLandroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 117
|
|
.line 118
|
|
.line 119
|
|
move-result-object v0
|
|
|
|
.line 120
|
|
:cond_8
|
|
if-eqz v0, :cond_9
|
|
|
|
.line 121
|
|
.line 122
|
|
invoke-static {v0}, Landroidx/appcompat/widget/DrawableUtils;->a(Landroid/graphics/drawable/Drawable;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 123
|
|
.line 124
|
|
.line 125
|
|
:cond_9
|
|
monitor-exit p0
|
|
|
|
.line 126
|
|
return-object v0
|
|
|
|
.line 127
|
|
:cond_a
|
|
const/4 p1, 0x0
|
|
|
|
.line 128
|
|
:try_start_1
|
|
iput-boolean p1, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->f:Z
|
|
|
|
.line 129
|
|
.line 130
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
.line 131
|
|
.line 132
|
|
const-string p2, "This app has been built with an incorrect configuration. Please configure your build for VectorDrawableCompat."
|
|
|
|
.line 133
|
|
.line 134
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 135
|
|
.line 136
|
|
.line 137
|
|
throw p1
|
|
|
|
.line 138
|
|
:goto_5
|
|
monitor-exit p0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 139
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final declared-synchronized h(Landroid/content/Context;I)Landroid/content/res/ColorStateList;
|
|
.locals 3
|
|
|
|
.line 1
|
|
monitor-enter p0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->a:Ljava/util/WeakHashMap;
|
|
|
|
.line 3
|
|
.line 4
|
|
const/4 v1, 0x0
|
|
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v0, p1}, Ljava/util/WeakHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result-object v0
|
|
|
|
.line 11
|
|
check-cast v0, Landroidx/collection/SparseArrayCompat;
|
|
|
|
.line 12
|
|
.line 13
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {v0, p2}, Landroidx/collection/SparseArrayCompat;->c(I)Ljava/lang/Object;
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result-object v0
|
|
|
|
.line 19
|
|
check-cast v0, Landroid/content/res/ColorStateList;
|
|
|
|
.line 20
|
|
.line 21
|
|
goto :goto_0
|
|
|
|
.line 22
|
|
:cond_0
|
|
move-object v0, v1
|
|
|
|
.line 23
|
|
:goto_0
|
|
if-nez v0, :cond_5
|
|
|
|
.line 24
|
|
.line 25
|
|
iget-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->g:Landroidx/appcompat/widget/ResourceManagerInternal$ResourceManagerHooks;
|
|
|
|
.line 26
|
|
.line 27
|
|
if-nez v0, :cond_1
|
|
|
|
.line 28
|
|
.line 29
|
|
goto :goto_1
|
|
|
|
.line 30
|
|
:cond_1
|
|
check-cast v0, Landroidx/appcompat/widget/AppCompatDrawableManager$1;
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-virtual {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatDrawableManager$1;->e(Landroid/content/Context;I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
move-result-object v1
|
|
|
|
.line 36
|
|
:goto_1
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 37
|
|
.line 38
|
|
iget-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->a:Ljava/util/WeakHashMap;
|
|
|
|
.line 39
|
|
.line 40
|
|
if-nez v0, :cond_2
|
|
|
|
.line 41
|
|
.line 42
|
|
new-instance v0, Ljava/util/WeakHashMap;
|
|
|
|
.line 43
|
|
.line 44
|
|
invoke-direct {v0}, Ljava/util/WeakHashMap;-><init>()V
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
iput-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->a:Ljava/util/WeakHashMap;
|
|
|
|
.line 48
|
|
.line 49
|
|
:cond_2
|
|
iget-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->a:Ljava/util/WeakHashMap;
|
|
|
|
.line 50
|
|
.line 51
|
|
invoke-virtual {v0, p1}, Ljava/util/WeakHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
move-result-object v0
|
|
|
|
.line 55
|
|
check-cast v0, Landroidx/collection/SparseArrayCompat;
|
|
|
|
.line 56
|
|
.line 57
|
|
if-nez v0, :cond_3
|
|
|
|
.line 58
|
|
.line 59
|
|
new-instance v0, Landroidx/collection/SparseArrayCompat;
|
|
|
|
.line 60
|
|
.line 61
|
|
invoke-direct {v0}, Landroidx/collection/SparseArrayCompat;-><init>()V
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
iget-object v2, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->a:Ljava/util/WeakHashMap;
|
|
|
|
.line 65
|
|
.line 66
|
|
invoke-virtual {v2, p1, v0}, Ljava/util/WeakHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
:cond_3
|
|
invoke-virtual {v0, p2, v1}, Landroidx/collection/SparseArrayCompat;->a(ILjava/lang/Object;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 70
|
|
.line 71
|
|
.line 72
|
|
:cond_4
|
|
move-object v0, v1
|
|
|
|
.line 73
|
|
goto :goto_2
|
|
|
|
.line 74
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 75
|
|
goto :goto_3
|
|
|
|
.line 76
|
|
:cond_5
|
|
:goto_2
|
|
monitor-exit p0
|
|
|
|
.line 77
|
|
return-object v0
|
|
|
|
.line 78
|
|
:goto_3
|
|
:try_start_1
|
|
monitor-exit p0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 79
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final j(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
.locals 10
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->b:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_9
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroidx/collection/SimpleArrayMap;->isEmpty()Z
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v0
|
|
|
|
.line 9
|
|
if-nez v0, :cond_9
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->c:Landroidx/collection/SparseArrayCompat;
|
|
|
|
.line 12
|
|
.line 13
|
|
const-string v1, "appcompat_skip_skip"
|
|
|
|
.line 14
|
|
.line 15
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-virtual {v0, p2}, Landroidx/collection/SparseArrayCompat;->c(I)Ljava/lang/Object;
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result-object v0
|
|
|
|
.line 21
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result v2
|
|
|
|
.line 27
|
|
if-nez v2, :cond_9
|
|
|
|
.line 28
|
|
.line 29
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 30
|
|
.line 31
|
|
iget-object v2, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->b:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 32
|
|
.line 33
|
|
invoke-virtual {v2, v0}, Landroidx/collection/SimpleArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result-object v0
|
|
|
|
.line 37
|
|
if-nez v0, :cond_1
|
|
|
|
.line 38
|
|
.line 39
|
|
goto/16 :goto_4
|
|
|
|
.line 40
|
|
.line 41
|
|
:cond_0
|
|
new-instance v0, Landroidx/collection/SparseArrayCompat;
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-direct {v0}, Landroidx/collection/SparseArrayCompat;-><init>()V
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
iput-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->c:Landroidx/collection/SparseArrayCompat;
|
|
|
|
.line 47
|
|
.line 48
|
|
:cond_1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->e:Landroid/util/TypedValue;
|
|
|
|
.line 49
|
|
.line 50
|
|
if-nez v0, :cond_2
|
|
|
|
.line 51
|
|
.line 52
|
|
new-instance v0, Landroid/util/TypedValue;
|
|
|
|
.line 53
|
|
.line 54
|
|
invoke-direct {v0}, Landroid/util/TypedValue;-><init>()V
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
iput-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->e:Landroid/util/TypedValue;
|
|
|
|
.line 58
|
|
.line 59
|
|
:cond_2
|
|
iget-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->e:Landroid/util/TypedValue;
|
|
|
|
.line 60
|
|
.line 61
|
|
invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
move-result-object v2
|
|
|
|
.line 65
|
|
const/4 v3, 0x1
|
|
|
|
.line 66
|
|
invoke-virtual {v2, p2, v0, v3}, Landroid/content/res/Resources;->getValue(ILandroid/util/TypedValue;Z)V
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
iget v4, v0, Landroid/util/TypedValue;->assetCookie:I
|
|
|
|
.line 70
|
|
.line 71
|
|
int-to-long v4, v4
|
|
|
|
.line 72
|
|
const/16 v6, 0x20
|
|
|
|
.line 73
|
|
.line 74
|
|
shl-long/2addr v4, v6
|
|
|
|
.line 75
|
|
iget v6, v0, Landroid/util/TypedValue;->data:I
|
|
|
|
.line 76
|
|
.line 77
|
|
int-to-long v6, v6
|
|
|
|
.line 78
|
|
or-long/2addr v4, v6
|
|
|
|
.line 79
|
|
invoke-virtual {p0, p1, v4, v5}, Landroidx/appcompat/widget/ResourceManagerInternal;->d(Landroid/content/Context;J)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 80
|
|
.line 81
|
|
.line 82
|
|
move-result-object v6
|
|
|
|
.line 83
|
|
if-eqz v6, :cond_3
|
|
|
|
.line 84
|
|
.line 85
|
|
return-object v6
|
|
|
|
.line 86
|
|
:cond_3
|
|
iget-object v7, v0, Landroid/util/TypedValue;->string:Ljava/lang/CharSequence;
|
|
|
|
.line 87
|
|
.line 88
|
|
if-eqz v7, :cond_7
|
|
|
|
.line 89
|
|
.line 90
|
|
invoke-interface {v7}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;
|
|
|
|
.line 91
|
|
.line 92
|
|
.line 93
|
|
move-result-object v7
|
|
|
|
.line 94
|
|
const-string v8, ".xml"
|
|
|
|
.line 95
|
|
.line 96
|
|
invoke-virtual {v7, v8}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
|
|
|
|
.line 97
|
|
.line 98
|
|
.line 99
|
|
move-result v7
|
|
|
|
.line 100
|
|
if-eqz v7, :cond_7
|
|
|
|
.line 101
|
|
.line 102
|
|
:try_start_0
|
|
invoke-virtual {v2, p2}, Landroid/content/res/Resources;->getXml(I)Landroid/content/res/XmlResourceParser;
|
|
|
|
.line 103
|
|
.line 104
|
|
.line 105
|
|
move-result-object v2
|
|
|
|
.line 106
|
|
invoke-static {v2}, Landroid/util/Xml;->asAttributeSet(Lorg/xmlpull/v1/XmlPullParser;)Landroid/util/AttributeSet;
|
|
|
|
.line 107
|
|
.line 108
|
|
.line 109
|
|
move-result-object v7
|
|
|
|
.line 110
|
|
:goto_0
|
|
invoke-interface {v2}, Lorg/xmlpull/v1/XmlPullParser;->next()I
|
|
|
|
.line 111
|
|
.line 112
|
|
.line 113
|
|
move-result v8
|
|
|
|
.line 114
|
|
const/4 v9, 0x2
|
|
|
|
.line 115
|
|
if-eq v8, v9, :cond_4
|
|
|
|
.line 116
|
|
.line 117
|
|
if-eq v8, v3, :cond_4
|
|
|
|
.line 118
|
|
.line 119
|
|
goto :goto_0
|
|
|
|
.line 120
|
|
:cond_4
|
|
if-ne v8, v9, :cond_6
|
|
|
|
.line 121
|
|
.line 122
|
|
invoke-interface {v2}, Lorg/xmlpull/v1/XmlPullParser;->getName()Ljava/lang/String;
|
|
|
|
.line 123
|
|
.line 124
|
|
.line 125
|
|
move-result-object v3
|
|
|
|
.line 126
|
|
iget-object v8, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->c:Landroidx/collection/SparseArrayCompat;
|
|
|
|
.line 127
|
|
.line 128
|
|
invoke-virtual {v8, p2, v3}, Landroidx/collection/SparseArrayCompat;->a(ILjava/lang/Object;)V
|
|
|
|
.line 129
|
|
.line 130
|
|
.line 131
|
|
iget-object v8, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->b:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 132
|
|
.line 133
|
|
invoke-virtual {v8, v3}, Landroidx/collection/SimpleArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 134
|
|
.line 135
|
|
.line 136
|
|
move-result-object v3
|
|
|
|
.line 137
|
|
check-cast v3, Landroidx/appcompat/widget/ResourceManagerInternal$InflateDelegate;
|
|
|
|
.line 138
|
|
.line 139
|
|
if-eqz v3, :cond_5
|
|
|
|
.line 140
|
|
.line 141
|
|
invoke-virtual {p1}, Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme;
|
|
|
|
.line 142
|
|
.line 143
|
|
.line 144
|
|
move-result-object v8
|
|
|
|
.line 145
|
|
invoke-interface {v3, p1, v2, v7, v8}, Landroidx/appcompat/widget/ResourceManagerInternal$InflateDelegate;->a(Landroid/content/Context;Landroid/content/res/XmlResourceParser;Landroid/util/AttributeSet;Landroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 146
|
|
.line 147
|
|
.line 148
|
|
move-result-object v6
|
|
|
|
.line 149
|
|
goto :goto_1
|
|
|
|
.line 150
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 151
|
|
goto :goto_2
|
|
|
|
.line 152
|
|
:cond_5
|
|
:goto_1
|
|
if-eqz v6, :cond_7
|
|
|
|
.line 153
|
|
.line 154
|
|
iget v0, v0, Landroid/util/TypedValue;->changingConfigurations:I
|
|
|
|
.line 155
|
|
.line 156
|
|
invoke-virtual {v6, v0}, Landroid/graphics/drawable/Drawable;->setChangingConfigurations(I)V
|
|
|
|
.line 157
|
|
.line 158
|
|
.line 159
|
|
invoke-virtual {p0, p1, v4, v5, v6}, Landroidx/appcompat/widget/ResourceManagerInternal;->b(Landroid/content/Context;JLandroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 160
|
|
.line 161
|
|
.line 162
|
|
goto :goto_3
|
|
|
|
.line 163
|
|
:cond_6
|
|
new-instance p1, Lorg/xmlpull/v1/XmlPullParserException;
|
|
|
|
.line 164
|
|
.line 165
|
|
const-string v0, "No start tag found"
|
|
|
|
.line 166
|
|
.line 167
|
|
invoke-direct {p1, v0}, Lorg/xmlpull/v1/XmlPullParserException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 168
|
|
.line 169
|
|
.line 170
|
|
throw p1
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 171
|
|
:goto_2
|
|
const-string v0, "ResourceManagerInternal"
|
|
|
|
.line 172
|
|
.line 173
|
|
const-string v2, "Exception while inflating drawable"
|
|
|
|
.line 174
|
|
.line 175
|
|
invoke-static {v0, v2, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
.line 176
|
|
.line 177
|
|
.line 178
|
|
:cond_7
|
|
:goto_3
|
|
if-nez v6, :cond_8
|
|
|
|
.line 179
|
|
.line 180
|
|
iget-object p1, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->c:Landroidx/collection/SparseArrayCompat;
|
|
|
|
.line 181
|
|
.line 182
|
|
invoke-virtual {p1, p2, v1}, Landroidx/collection/SparseArrayCompat;->a(ILjava/lang/Object;)V
|
|
|
|
.line 183
|
|
.line 184
|
|
.line 185
|
|
:cond_8
|
|
return-object v6
|
|
|
|
.line 186
|
|
:cond_9
|
|
:goto_4
|
|
const/4 p1, 0x0
|
|
|
|
.line 187
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final declared-synchronized k(Landroid/content/Context;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
monitor-enter p0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->d:Ljava/util/WeakHashMap;
|
|
|
|
.line 3
|
|
.line 4
|
|
invoke-virtual {v0, p1}, Ljava/util/WeakHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result-object p1
|
|
|
|
.line 8
|
|
check-cast p1, Landroidx/collection/LongSparseArray;
|
|
|
|
.line 9
|
|
.line 10
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-virtual {p1}, Landroidx/collection/LongSparseArray;->b()V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
goto :goto_0
|
|
|
|
.line 16
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 17
|
|
goto :goto_1
|
|
|
|
.line 18
|
|
:cond_0
|
|
:goto_0
|
|
monitor-exit p0
|
|
|
|
.line 19
|
|
return-void
|
|
|
|
.line 20
|
|
:goto_1
|
|
:try_start_1
|
|
monitor-exit p0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 21
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final declared-synchronized l(Landroidx/appcompat/widget/ResourceManagerInternal$ResourceManagerHooks;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
monitor-enter p0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iput-object p1, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->g:Landroidx/appcompat/widget/ResourceManagerInternal$ResourceManagerHooks;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 3
|
|
.line 4
|
|
monitor-exit p0
|
|
|
|
.line 5
|
|
return-void
|
|
|
|
.line 6
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 7
|
|
:try_start_1
|
|
monitor-exit p0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 8
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final m(Landroid/content/Context;IZLandroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
|
|
.locals 7
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1, p2}, Landroidx/appcompat/widget/ResourceManagerInternal;->h(Landroid/content/Context;I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
const/4 v1, 0x0
|
|
|
|
.line 6
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p4}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result-object p1
|
|
|
|
.line 12
|
|
invoke-virtual {p1, v0}, Landroid/graphics/drawable/Drawable;->setTintList(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
iget-object p3, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->g:Landroidx/appcompat/widget/ResourceManagerInternal$ResourceManagerHooks;
|
|
|
|
.line 16
|
|
.line 17
|
|
if-nez p3, :cond_0
|
|
|
|
.line 18
|
|
.line 19
|
|
goto :goto_0
|
|
|
|
.line 20
|
|
:cond_0
|
|
sget p3, Landroidx/appcompat/R$drawable;->abc_switch_thumb_material:I
|
|
|
|
.line 21
|
|
.line 22
|
|
if-ne p2, p3, :cond_1
|
|
|
|
.line 23
|
|
.line 24
|
|
sget-object v1, Landroid/graphics/PorterDuff$Mode;->MULTIPLY:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 25
|
|
.line 26
|
|
:cond_1
|
|
:goto_0
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-virtual {p1, v1}, Landroid/graphics/drawable/Drawable;->setTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
:cond_2
|
|
return-object p1
|
|
|
|
.line 32
|
|
:cond_3
|
|
iget-object v0, p0, Landroidx/appcompat/widget/ResourceManagerInternal;->g:Landroidx/appcompat/widget/ResourceManagerInternal$ResourceManagerHooks;
|
|
|
|
.line 33
|
|
.line 34
|
|
if-eqz v0, :cond_6
|
|
|
|
.line 35
|
|
.line 36
|
|
sget v2, Landroidx/appcompat/R$drawable;->abc_seekbar_track_material:I
|
|
|
|
.line 37
|
|
.line 38
|
|
const v3, 0x102000d
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
const v4, 0x102000f
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
const/high16 v5, 0x1020000
|
|
|
|
.line 45
|
|
.line 46
|
|
if-ne p2, v2, :cond_4
|
|
|
|
.line 47
|
|
.line 48
|
|
move-object p2, p4
|
|
|
|
.line 49
|
|
check-cast p2, Landroid/graphics/drawable/LayerDrawable;
|
|
|
|
.line 50
|
|
.line 51
|
|
invoke-virtual {p2, v5}, Landroid/graphics/drawable/LayerDrawable;->findDrawableByLayerId(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
move-result-object p3
|
|
|
|
.line 55
|
|
sget v0, Landroidx/appcompat/R$attr;->colorControlNormal:I
|
|
|
|
.line 56
|
|
.line 57
|
|
invoke-static {p1, v0}, Landroidx/appcompat/widget/ThemeUtils;->c(Landroid/content/Context;I)I
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
move-result v0
|
|
|
|
.line 61
|
|
sget-object v1, Landroidx/appcompat/widget/AppCompatDrawableManager;->b:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 62
|
|
.line 63
|
|
invoke-static {p3, v0, v1}, Landroidx/appcompat/widget/AppCompatDrawableManager$1;->f(Landroid/graphics/drawable/Drawable;ILandroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 64
|
|
.line 65
|
|
.line 66
|
|
invoke-virtual {p2, v4}, Landroid/graphics/drawable/LayerDrawable;->findDrawableByLayerId(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
move-result-object p3
|
|
|
|
.line 70
|
|
sget v0, Landroidx/appcompat/R$attr;->colorControlNormal:I
|
|
|
|
.line 71
|
|
.line 72
|
|
invoke-static {p1, v0}, Landroidx/appcompat/widget/ThemeUtils;->c(Landroid/content/Context;I)I
|
|
|
|
.line 73
|
|
.line 74
|
|
.line 75
|
|
move-result v0
|
|
|
|
.line 76
|
|
invoke-static {p3, v0, v1}, Landroidx/appcompat/widget/AppCompatDrawableManager$1;->f(Landroid/graphics/drawable/Drawable;ILandroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 77
|
|
.line 78
|
|
.line 79
|
|
invoke-virtual {p2, v3}, Landroid/graphics/drawable/LayerDrawable;->findDrawableByLayerId(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 80
|
|
.line 81
|
|
.line 82
|
|
move-result-object p2
|
|
|
|
.line 83
|
|
sget p3, Landroidx/appcompat/R$attr;->colorControlActivated:I
|
|
|
|
.line 84
|
|
.line 85
|
|
invoke-static {p1, p3}, Landroidx/appcompat/widget/ThemeUtils;->c(Landroid/content/Context;I)I
|
|
|
|
.line 86
|
|
.line 87
|
|
.line 88
|
|
move-result p1
|
|
|
|
.line 89
|
|
invoke-static {p2, p1, v1}, Landroidx/appcompat/widget/AppCompatDrawableManager$1;->f(Landroid/graphics/drawable/Drawable;ILandroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 90
|
|
.line 91
|
|
.line 92
|
|
return-object p4
|
|
|
|
.line 93
|
|
:cond_4
|
|
sget v2, Landroidx/appcompat/R$drawable;->abc_ratingbar_material:I
|
|
|
|
.line 94
|
|
.line 95
|
|
if-eq p2, v2, :cond_5
|
|
|
|
.line 96
|
|
.line 97
|
|
sget v2, Landroidx/appcompat/R$drawable;->abc_ratingbar_indicator_material:I
|
|
|
|
.line 98
|
|
.line 99
|
|
if-eq p2, v2, :cond_5
|
|
|
|
.line 100
|
|
.line 101
|
|
sget v2, Landroidx/appcompat/R$drawable;->abc_ratingbar_small_material:I
|
|
|
|
.line 102
|
|
.line 103
|
|
if-ne p2, v2, :cond_6
|
|
|
|
.line 104
|
|
.line 105
|
|
:cond_5
|
|
move-object p2, p4
|
|
|
|
.line 106
|
|
check-cast p2, Landroid/graphics/drawable/LayerDrawable;
|
|
|
|
.line 107
|
|
.line 108
|
|
invoke-virtual {p2, v5}, Landroid/graphics/drawable/LayerDrawable;->findDrawableByLayerId(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 109
|
|
.line 110
|
|
.line 111
|
|
move-result-object p3
|
|
|
|
.line 112
|
|
sget v0, Landroidx/appcompat/R$attr;->colorControlNormal:I
|
|
|
|
.line 113
|
|
.line 114
|
|
invoke-static {p1, v0}, Landroidx/appcompat/widget/ThemeUtils;->b(Landroid/content/Context;I)I
|
|
|
|
.line 115
|
|
.line 116
|
|
.line 117
|
|
move-result v0
|
|
|
|
.line 118
|
|
sget-object v1, Landroidx/appcompat/widget/AppCompatDrawableManager;->b:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 119
|
|
.line 120
|
|
invoke-static {p3, v0, v1}, Landroidx/appcompat/widget/AppCompatDrawableManager$1;->f(Landroid/graphics/drawable/Drawable;ILandroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 121
|
|
.line 122
|
|
.line 123
|
|
invoke-virtual {p2, v4}, Landroid/graphics/drawable/LayerDrawable;->findDrawableByLayerId(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 124
|
|
.line 125
|
|
.line 126
|
|
move-result-object p3
|
|
|
|
.line 127
|
|
sget v0, Landroidx/appcompat/R$attr;->colorControlActivated:I
|
|
|
|
.line 128
|
|
.line 129
|
|
invoke-static {p1, v0}, Landroidx/appcompat/widget/ThemeUtils;->c(Landroid/content/Context;I)I
|
|
|
|
.line 130
|
|
.line 131
|
|
.line 132
|
|
move-result v0
|
|
|
|
.line 133
|
|
invoke-static {p3, v0, v1}, Landroidx/appcompat/widget/AppCompatDrawableManager$1;->f(Landroid/graphics/drawable/Drawable;ILandroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 134
|
|
.line 135
|
|
.line 136
|
|
invoke-virtual {p2, v3}, Landroid/graphics/drawable/LayerDrawable;->findDrawableByLayerId(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 137
|
|
.line 138
|
|
.line 139
|
|
move-result-object p2
|
|
|
|
.line 140
|
|
sget p3, Landroidx/appcompat/R$attr;->colorControlActivated:I
|
|
|
|
.line 141
|
|
.line 142
|
|
invoke-static {p1, p3}, Landroidx/appcompat/widget/ThemeUtils;->c(Landroid/content/Context;I)I
|
|
|
|
.line 143
|
|
.line 144
|
|
.line 145
|
|
move-result p1
|
|
|
|
.line 146
|
|
invoke-static {p2, p1, v1}, Landroidx/appcompat/widget/AppCompatDrawableManager$1;->f(Landroid/graphics/drawable/Drawable;ILandroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 147
|
|
.line 148
|
|
.line 149
|
|
return-object p4
|
|
|
|
.line 150
|
|
:cond_6
|
|
if-eqz v0, :cond_c
|
|
|
|
.line 151
|
|
.line 152
|
|
check-cast v0, Landroidx/appcompat/widget/AppCompatDrawableManager$1;
|
|
|
|
.line 153
|
|
.line 154
|
|
sget-object v2, Landroidx/appcompat/widget/AppCompatDrawableManager;->b:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 155
|
|
.line 156
|
|
iget-object v3, v0, Landroidx/appcompat/widget/AppCompatDrawableManager$1;->a:[I
|
|
|
|
.line 157
|
|
.line 158
|
|
invoke-static {p2, v3}, Landroidx/appcompat/widget/AppCompatDrawableManager$1;->a(I[I)Z
|
|
|
|
.line 159
|
|
.line 160
|
|
.line 161
|
|
move-result v3
|
|
|
|
.line 162
|
|
const/4 v4, 0x1
|
|
|
|
.line 163
|
|
const/4 v5, -0x1
|
|
|
|
.line 164
|
|
if-eqz v3, :cond_7
|
|
|
|
.line 165
|
|
.line 166
|
|
sget p2, Landroidx/appcompat/R$attr;->colorControlNormal:I
|
|
|
|
.line 167
|
|
.line 168
|
|
:goto_1
|
|
move v0, v5
|
|
|
|
.line 169
|
|
goto :goto_3
|
|
|
|
.line 170
|
|
:cond_7
|
|
iget-object v3, v0, Landroidx/appcompat/widget/AppCompatDrawableManager$1;->c:[I
|
|
|
|
.line 171
|
|
.line 172
|
|
invoke-static {p2, v3}, Landroidx/appcompat/widget/AppCompatDrawableManager$1;->a(I[I)Z
|
|
|
|
.line 173
|
|
.line 174
|
|
.line 175
|
|
move-result v3
|
|
|
|
.line 176
|
|
if-eqz v3, :cond_8
|
|
|
|
.line 177
|
|
.line 178
|
|
sget p2, Landroidx/appcompat/R$attr;->colorControlActivated:I
|
|
|
|
.line 179
|
|
.line 180
|
|
goto :goto_1
|
|
|
|
.line 181
|
|
:cond_8
|
|
iget-object v0, v0, Landroidx/appcompat/widget/AppCompatDrawableManager$1;->d:[I
|
|
|
|
.line 182
|
|
.line 183
|
|
invoke-static {p2, v0}, Landroidx/appcompat/widget/AppCompatDrawableManager$1;->a(I[I)Z
|
|
|
|
.line 184
|
|
.line 185
|
|
.line 186
|
|
move-result v0
|
|
|
|
.line 187
|
|
const v3, 0x1010031
|
|
|
|
.line 188
|
|
.line 189
|
|
.line 190
|
|
if-eqz v0, :cond_9
|
|
|
|
.line 191
|
|
.line 192
|
|
sget-object v2, Landroid/graphics/PorterDuff$Mode;->MULTIPLY:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 193
|
|
.line 194
|
|
:goto_2
|
|
move p2, v3
|
|
|
|
.line 195
|
|
goto :goto_1
|
|
|
|
.line 196
|
|
:cond_9
|
|
sget v0, Landroidx/appcompat/R$drawable;->abc_list_divider_mtrl_alpha:I
|
|
|
|
.line 197
|
|
.line 198
|
|
if-ne p2, v0, :cond_a
|
|
|
|
.line 199
|
|
.line 200
|
|
const p2, 0x42233333 # 40.8f
|
|
|
|
.line 201
|
|
.line 202
|
|
.line 203
|
|
invoke-static {p2}, Ljava/lang/Math;->round(F)I
|
|
|
|
.line 204
|
|
.line 205
|
|
.line 206
|
|
move-result p2
|
|
|
|
.line 207
|
|
const v0, 0x1010030
|
|
|
|
.line 208
|
|
.line 209
|
|
.line 210
|
|
move v6, v0
|
|
|
|
.line 211
|
|
move v0, p2
|
|
|
|
.line 212
|
|
move p2, v6
|
|
|
|
.line 213
|
|
goto :goto_3
|
|
|
|
.line 214
|
|
:cond_a
|
|
sget v0, Landroidx/appcompat/R$drawable;->abc_dialog_material_background:I
|
|
|
|
.line 215
|
|
.line 216
|
|
if-ne p2, v0, :cond_b
|
|
|
|
.line 217
|
|
.line 218
|
|
goto :goto_2
|
|
|
|
.line 219
|
|
:cond_b
|
|
const/4 v4, 0x0
|
|
|
|
.line 220
|
|
move p2, v4
|
|
|
|
.line 221
|
|
goto :goto_1
|
|
|
|
.line 222
|
|
:goto_3
|
|
if-eqz v4, :cond_c
|
|
|
|
.line 223
|
|
.line 224
|
|
invoke-virtual {p4}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 225
|
|
.line 226
|
|
.line 227
|
|
move-result-object p3
|
|
|
|
.line 228
|
|
invoke-static {p1, p2}, Landroidx/appcompat/widget/ThemeUtils;->c(Landroid/content/Context;I)I
|
|
|
|
.line 229
|
|
.line 230
|
|
.line 231
|
|
move-result p1
|
|
|
|
.line 232
|
|
invoke-static {p1, v2}, Landroidx/appcompat/widget/AppCompatDrawableManager;->c(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuffColorFilter;
|
|
|
|
.line 233
|
|
.line 234
|
|
.line 235
|
|
move-result-object p1
|
|
|
|
.line 236
|
|
invoke-virtual {p3, p1}, Landroid/graphics/drawable/Drawable;->setColorFilter(Landroid/graphics/ColorFilter;)V
|
|
|
|
.line 237
|
|
.line 238
|
|
.line 239
|
|
if-eq v0, v5, :cond_d
|
|
|
|
.line 240
|
|
.line 241
|
|
invoke-virtual {p3, v0}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V
|
|
|
|
.line 242
|
|
.line 243
|
|
.line 244
|
|
return-object p4
|
|
|
|
.line 245
|
|
:cond_c
|
|
if-eqz p3, :cond_d
|
|
|
|
.line 246
|
|
.line 247
|
|
return-object v1
|
|
|
|
.line 248
|
|
:cond_d
|
|
return-object p4
|
|
.end method
|