* 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>
1088 lines
26 KiB
Smali
1088 lines
26 KiB
Smali
.class public Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;
|
|
.super Landroid/widget/FrameLayout;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/google/android/material/snackbar/BaseTransientBottomBar;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "SnackbarBaseLayout"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final n:Landroid/view/View$OnTouchListener;
|
|
|
|
|
|
# instance fields
|
|
.field public c:Lcom/google/android/material/snackbar/BaseTransientBottomBar;
|
|
|
|
.field public final f:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.field public g:I
|
|
|
|
.field public final h:F
|
|
|
|
.field public final i:F
|
|
|
|
.field public final j:I
|
|
|
|
.field public final k:I
|
|
|
|
.field public l:Landroid/content/res/ColorStateList;
|
|
|
|
.field public m:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout$1;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
sput-object v0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->n:Landroid/view/View$OnTouchListener;
|
|
|
|
.line 7
|
|
.line 8
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
invoke-static {p1, p2, v0, v0}, Lcom/google/android/material/theme/overlay/MaterialThemeOverlay;->a(Landroid/content/Context;Landroid/util/AttributeSet;II)Landroid/content/Context;
|
|
|
|
.line 3
|
|
.line 4
|
|
.line 5
|
|
move-result-object p1
|
|
|
|
.line 6
|
|
invoke-direct {p0, p1, p2}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result-object p1
|
|
|
|
.line 13
|
|
sget-object v1, Lcom/google/android/material/R$styleable;->SnackbarLayout:[I
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {p1, p2, v1}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result-object v1
|
|
|
|
.line 19
|
|
sget v2, Lcom/google/android/material/R$styleable;->SnackbarLayout_elevation:I
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-virtual {v1, v2}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result v2
|
|
|
|
.line 25
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 26
|
|
.line 27
|
|
sget v2, Lcom/google/android/material/R$styleable;->SnackbarLayout_elevation:I
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-virtual {v1, v2, v0}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result v2
|
|
|
|
.line 33
|
|
int-to-float v2, v2
|
|
|
|
.line 34
|
|
invoke-virtual {p0, v2}, Landroid/view/View;->setElevation(F)V
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
:cond_0
|
|
sget v2, Lcom/google/android/material/R$styleable;->SnackbarLayout_animationMode:I
|
|
|
|
.line 38
|
|
.line 39
|
|
invoke-virtual {v1, v2, v0}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
move-result v2
|
|
|
|
.line 43
|
|
iput v2, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->g:I
|
|
|
|
.line 44
|
|
.line 45
|
|
sget v2, Lcom/google/android/material/R$styleable;->SnackbarLayout_shapeAppearance:I
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-virtual {v1, v2}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
move-result v2
|
|
|
|
.line 51
|
|
if-nez v2, :cond_1
|
|
|
|
.line 52
|
|
.line 53
|
|
sget v2, Lcom/google/android/material/R$styleable;->SnackbarLayout_shapeAppearanceOverlay:I
|
|
|
|
.line 54
|
|
.line 55
|
|
invoke-virtual {v1, v2}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
move-result v2
|
|
|
|
.line 59
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 60
|
|
.line 61
|
|
:cond_1
|
|
invoke-static {p1, p2, v0, v0}, Lcom/google/android/material/shape/ShapeAppearanceModel;->c(Landroid/content/Context;Landroid/util/AttributeSet;II)Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
move-result-object p2
|
|
|
|
.line 65
|
|
invoke-virtual {p2}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->a()Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
move-result-object p2
|
|
|
|
.line 69
|
|
iput-object p2, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->f:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 70
|
|
.line 71
|
|
:cond_2
|
|
sget p2, Lcom/google/android/material/R$styleable;->SnackbarLayout_backgroundOverlayColorAlpha:I
|
|
|
|
.line 72
|
|
.line 73
|
|
const/high16 v2, 0x3f800000 # 1.0f
|
|
|
|
.line 74
|
|
.line 75
|
|
invoke-virtual {v1, p2, v2}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
.line 76
|
|
.line 77
|
|
.line 78
|
|
move-result p2
|
|
|
|
.line 79
|
|
iput p2, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->h:F
|
|
|
|
.line 80
|
|
.line 81
|
|
sget p2, Lcom/google/android/material/R$styleable;->SnackbarLayout_backgroundTint:I
|
|
|
|
.line 82
|
|
.line 83
|
|
invoke-static {p1, v1, p2}, Lcom/google/android/material/resources/MaterialResources;->a(Landroid/content/Context;Landroid/content/res/TypedArray;I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 84
|
|
.line 85
|
|
.line 86
|
|
move-result-object p1
|
|
|
|
.line 87
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->setBackgroundTintList(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 88
|
|
.line 89
|
|
.line 90
|
|
sget p1, Lcom/google/android/material/R$styleable;->SnackbarLayout_backgroundTintMode:I
|
|
|
|
.line 91
|
|
.line 92
|
|
const/4 p2, -0x1
|
|
|
|
.line 93
|
|
invoke-virtual {v1, p1, p2}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
.line 94
|
|
.line 95
|
|
.line 96
|
|
move-result p1
|
|
|
|
.line 97
|
|
sget-object v3, Landroid/graphics/PorterDuff$Mode;->SRC_IN:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 98
|
|
.line 99
|
|
invoke-static {p1, v3}, Lcom/google/android/material/internal/ViewUtils;->c(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 100
|
|
.line 101
|
|
.line 102
|
|
move-result-object p1
|
|
|
|
.line 103
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->setBackgroundTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 104
|
|
.line 105
|
|
.line 106
|
|
sget p1, Lcom/google/android/material/R$styleable;->SnackbarLayout_actionTextColorAlpha:I
|
|
|
|
.line 107
|
|
.line 108
|
|
invoke-virtual {v1, p1, v2}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
.line 109
|
|
.line 110
|
|
.line 111
|
|
move-result p1
|
|
|
|
.line 112
|
|
iput p1, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->i:F
|
|
|
|
.line 113
|
|
.line 114
|
|
sget p1, Lcom/google/android/material/R$styleable;->SnackbarLayout_android_maxWidth:I
|
|
|
|
.line 115
|
|
.line 116
|
|
invoke-virtual {v1, p1, p2}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
.line 117
|
|
.line 118
|
|
.line 119
|
|
move-result p1
|
|
|
|
.line 120
|
|
iput p1, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->j:I
|
|
|
|
.line 121
|
|
.line 122
|
|
sget p1, Lcom/google/android/material/R$styleable;->SnackbarLayout_maxActionInlineWidth:I
|
|
|
|
.line 123
|
|
.line 124
|
|
invoke-virtual {v1, p1, p2}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
.line 125
|
|
.line 126
|
|
.line 127
|
|
move-result p1
|
|
|
|
.line 128
|
|
iput p1, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->k:I
|
|
|
|
.line 129
|
|
.line 130
|
|
invoke-virtual {v1}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
.line 131
|
|
.line 132
|
|
.line 133
|
|
sget-object p1, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->n:Landroid/view/View$OnTouchListener;
|
|
|
|
.line 134
|
|
.line 135
|
|
invoke-virtual {p0, p1}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V
|
|
|
|
.line 136
|
|
.line 137
|
|
.line 138
|
|
const/4 p1, 0x1
|
|
|
|
.line 139
|
|
invoke-virtual {p0, p1}, Landroid/view/View;->setFocusable(Z)V
|
|
|
|
.line 140
|
|
.line 141
|
|
.line 142
|
|
invoke-virtual {p0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 143
|
|
.line 144
|
|
.line 145
|
|
move-result-object p1
|
|
|
|
.line 146
|
|
if-nez p1, :cond_5
|
|
|
|
.line 147
|
|
.line 148
|
|
sget p1, Lcom/google/android/material/R$attr;->colorSurface:I
|
|
|
|
.line 149
|
|
.line 150
|
|
sget p2, Lcom/google/android/material/R$attr;->colorOnSurface:I
|
|
|
|
.line 151
|
|
.line 152
|
|
invoke-virtual {p0}, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->getBackgroundOverlayColorAlpha()F
|
|
|
|
.line 153
|
|
.line 154
|
|
.line 155
|
|
move-result v1
|
|
|
|
.line 156
|
|
invoke-static {p0, p1}, Lcom/google/android/material/color/MaterialColors;->c(Landroid/view/View;I)I
|
|
|
|
.line 157
|
|
.line 158
|
|
.line 159
|
|
move-result p1
|
|
|
|
.line 160
|
|
invoke-static {p0, p2}, Lcom/google/android/material/color/MaterialColors;->c(Landroid/view/View;I)I
|
|
|
|
.line 161
|
|
.line 162
|
|
.line 163
|
|
move-result p2
|
|
|
|
.line 164
|
|
invoke-static {v1, p1, p2}, Lcom/google/android/material/color/MaterialColors;->g(FII)I
|
|
|
|
.line 165
|
|
.line 166
|
|
.line 167
|
|
move-result p1
|
|
|
|
.line 168
|
|
iget-object p2, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->f:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 169
|
|
.line 170
|
|
if-eqz p2, :cond_3
|
|
|
|
.line 171
|
|
.line 172
|
|
sget v0, Lcom/google/android/material/snackbar/BaseTransientBottomBar;->a:I
|
|
|
|
.line 173
|
|
.line 174
|
|
new-instance v0, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 175
|
|
.line 176
|
|
invoke-direct {v0, p2}, Lcom/google/android/material/shape/MaterialShapeDrawable;-><init>(Lcom/google/android/material/shape/ShapeAppearanceModel;)V
|
|
|
|
.line 177
|
|
.line 178
|
|
.line 179
|
|
invoke-static {p1}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 180
|
|
.line 181
|
|
.line 182
|
|
move-result-object p1
|
|
|
|
.line 183
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->o(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 184
|
|
.line 185
|
|
.line 186
|
|
goto :goto_0
|
|
|
|
.line 187
|
|
:cond_3
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 188
|
|
.line 189
|
|
.line 190
|
|
move-result-object p2
|
|
|
|
.line 191
|
|
sget v1, Lcom/google/android/material/snackbar/BaseTransientBottomBar;->a:I
|
|
|
|
.line 192
|
|
.line 193
|
|
sget v1, Lcom/google/android/material/R$dimen;->mtrl_snackbar_background_corner_radius:I
|
|
|
|
.line 194
|
|
.line 195
|
|
invoke-virtual {p2, v1}, Landroid/content/res/Resources;->getDimension(I)F
|
|
|
|
.line 196
|
|
.line 197
|
|
.line 198
|
|
move-result p2
|
|
|
|
.line 199
|
|
new-instance v1, Landroid/graphics/drawable/GradientDrawable;
|
|
|
|
.line 200
|
|
.line 201
|
|
invoke-direct {v1}, Landroid/graphics/drawable/GradientDrawable;-><init>()V
|
|
|
|
.line 202
|
|
.line 203
|
|
.line 204
|
|
invoke-virtual {v1, v0}, Landroid/graphics/drawable/GradientDrawable;->setShape(I)V
|
|
|
|
.line 205
|
|
.line 206
|
|
.line 207
|
|
invoke-virtual {v1, p2}, Landroid/graphics/drawable/GradientDrawable;->setCornerRadius(F)V
|
|
|
|
.line 208
|
|
.line 209
|
|
.line 210
|
|
invoke-virtual {v1, p1}, Landroid/graphics/drawable/GradientDrawable;->setColor(I)V
|
|
|
|
.line 211
|
|
.line 212
|
|
.line 213
|
|
move-object v0, v1
|
|
|
|
.line 214
|
|
:goto_0
|
|
iget-object p1, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->l:Landroid/content/res/ColorStateList;
|
|
|
|
.line 215
|
|
.line 216
|
|
if-eqz p1, :cond_4
|
|
|
|
.line 217
|
|
.line 218
|
|
invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->setTintList(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 219
|
|
.line 220
|
|
.line 221
|
|
:cond_4
|
|
invoke-virtual {p0, v0}, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->setBackground(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 222
|
|
.line 223
|
|
.line 224
|
|
:cond_5
|
|
return-void
|
|
.end method
|
|
|
|
.method private setBaseTransientBottomBar(Lcom/google/android/material/snackbar/BaseTransientBottomBar;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/google/android/material/snackbar/BaseTransientBottomBar<",
|
|
"*>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->c:Lcom/google/android/material/snackbar/BaseTransientBottomBar;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getActionTextColorAlpha()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->i:F
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getAnimationMode()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->g:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getBackgroundOverlayColorAlpha()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->h:F
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getMaxInlineActionWidth()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->k:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getMaxWidth()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->j:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public final onAttachedToWindow()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/widget/FrameLayout;->onAttachedToWindow()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object v0, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->c:Lcom/google/android/material/snackbar/BaseTransientBottomBar;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {}, Lcom/google/android/material/snackbar/BaseTransientBottomBar;->a()V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/view/View;->requestApplyInsets()V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onDetachedFromWindow()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/widget/FrameLayout;->onDetachedFromWindow()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object v0, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->c:Lcom/google/android/material/snackbar/BaseTransientBottomBar;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {}, Lcom/google/android/material/snackbar/SnackbarManager;->a()Lcom/google/android/material/snackbar/SnackbarManager;
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result-object v0
|
|
|
|
.line 12
|
|
iget-object v0, v0, Lcom/google/android/material/snackbar/SnackbarManager;->a:Ljava/lang/Object;
|
|
|
|
.line 13
|
|
.line 14
|
|
monitor-enter v0
|
|
|
|
.line 15
|
|
:try_start_0
|
|
monitor-exit v0
|
|
|
|
.line 16
|
|
return-void
|
|
|
|
.line 17
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 18
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 19
|
|
throw v1
|
|
|
|
.line 20
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onLayout(ZIIII)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-super/range {p0 .. p5}, Landroid/widget/FrameLayout;->onLayout(ZIIII)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-object p1, p0
|
|
|
|
.line 5
|
|
iget-object p2, p1, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->c:Lcom/google/android/material/snackbar/BaseTransientBottomBar;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-nez p2, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
return-void
|
|
|
|
.line 10
|
|
:cond_0
|
|
const/4 p2, 0x0
|
|
|
|
.line 11
|
|
throw p2
|
|
.end method
|
|
|
|
.method public onMeasure(II)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0, p1, p2}, Landroid/widget/FrameLayout;->onMeasure(II)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget p1, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->j:I
|
|
|
|
.line 5
|
|
.line 6
|
|
if-lez p1, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p0}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result v0
|
|
|
|
.line 12
|
|
if-le v0, p1, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
const/high16 v0, 0x40000000 # 2.0f
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-static {p1, v0}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result p1
|
|
|
|
.line 20
|
|
invoke-super {p0, p1, p2}, Landroid/widget/FrameLayout;->onMeasure(II)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setAnimationMode(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->g:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBackground(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-virtual {p0, p1}, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 1
|
|
.param p1 # Landroid/graphics/drawable/Drawable;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->l:Landroid/content/res/ColorStateList;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result-object p1
|
|
|
|
.line 11
|
|
iget-object v0, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->l:Landroid/content/res/ColorStateList;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {p1, v0}, Landroid/graphics/drawable/Drawable;->setTintList(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
iget-object v0, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->m:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {p1, v0}, Landroid/graphics/drawable/Drawable;->setTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
:cond_0
|
|
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBackgroundTintList(Landroid/content/res/ColorStateList;)V
|
|
.locals 1
|
|
.param p1 # Landroid/content/res/ColorStateList;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->l:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {p0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result-object v0
|
|
|
|
.line 13
|
|
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-object v0
|
|
|
|
.line 17
|
|
invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->setTintList(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
iget-object p1, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->m:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 21
|
|
.line 22
|
|
invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->setTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
invoke-virtual {p0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result-object p1
|
|
|
|
.line 29
|
|
if-eq v0, p1, :cond_0
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-super {p0, v0}, Landroid/widget/FrameLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBackgroundTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
.locals 1
|
|
.param p1 # Landroid/graphics/PorterDuff$Mode;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->m:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {p0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result-object v0
|
|
|
|
.line 13
|
|
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-object v0
|
|
|
|
.line 17
|
|
invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->setTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
invoke-virtual {p0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result-object p1
|
|
|
|
.line 24
|
|
if-eq v0, p1, :cond_0
|
|
|
|
.line 25
|
|
.line 26
|
|
invoke-super {p0, v0}, Landroid/widget/FrameLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
instance-of v0, p1, Landroid/view/ViewGroup$MarginLayoutParams;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 7
|
|
.line 8
|
|
check-cast p1, Landroid/view/ViewGroup$MarginLayoutParams;
|
|
|
|
.line 9
|
|
.line 10
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
.line 11
|
|
.line 12
|
|
iget v1, p1, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
|
|
|
|
.line 13
|
|
.line 14
|
|
iget v2, p1, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
|
|
|
|
.line 15
|
|
.line 16
|
|
iget v3, p1, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
|
|
|
|
.line 17
|
|
.line 18
|
|
iget p1, p1, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-direct {v0, v1, v2, v3, p1}, Landroid/graphics/Rect;-><init>(IIII)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
iget-object p1, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->c:Lcom/google/android/material/snackbar/BaseTransientBottomBar;
|
|
|
|
.line 24
|
|
.line 25
|
|
if-nez p1, :cond_0
|
|
|
|
.line 26
|
|
.line 27
|
|
goto :goto_0
|
|
|
|
.line 28
|
|
:cond_0
|
|
sget p1, Lcom/google/android/material/snackbar/BaseTransientBottomBar;->a:I
|
|
|
|
.line 29
|
|
.line 30
|
|
const/4 p1, 0x0
|
|
|
|
.line 31
|
|
throw p1
|
|
|
|
.line 32
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
.locals 1
|
|
.param p1 # Landroid/view/View$OnClickListener;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v0, 0x0
|
|
|
|
.line 4
|
|
goto :goto_0
|
|
|
|
.line 5
|
|
:cond_0
|
|
sget-object v0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->n:Landroid/view/View$OnTouchListener;
|
|
|
|
.line 6
|
|
.line 7
|
|
:goto_0
|
|
invoke-virtual {p0, v0}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
return-void
|
|
.end method
|