* 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>
4346 lines
85 KiB
Smali
4346 lines
85 KiB
Smali
.class public Lcom/google/android/material/appbar/AppBarLayout;
|
|
.super Landroid/widget/LinearLayout;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroidx/coordinatorlayout/widget/CoordinatorLayout$AttachedBehavior;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/google/android/material/appbar/AppBarLayout$BaseOnOffsetChangedListener;,
|
|
Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;,
|
|
Lcom/google/android/material/appbar/AppBarLayout$Behavior;,
|
|
Lcom/google/android/material/appbar/AppBarLayout$BaseBehavior;,
|
|
Lcom/google/android/material/appbar/AppBarLayout$LiftOnScrollListener;,
|
|
Lcom/google/android/material/appbar/AppBarLayout$LiftOnScrollProgressListener;,
|
|
Lcom/google/android/material/appbar/AppBarLayout$CompressChildScrollEffect;,
|
|
Lcom/google/android/material/appbar/AppBarLayout$ChildScrollEffect;,
|
|
Lcom/google/android/material/appbar/AppBarLayout$ScrollingViewBehavior;,
|
|
Lcom/google/android/material/appbar/AppBarLayout$OnOffsetChangedListener;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final F:I
|
|
|
|
|
|
# instance fields
|
|
.field public A:I
|
|
|
|
.field public B:Landroid/graphics/drawable/Drawable;
|
|
|
|
.field public C:Ljava/lang/Integer;
|
|
|
|
.field public final D:F
|
|
|
|
.field public E:Lcom/google/android/material/appbar/AppBarLayout$Behavior;
|
|
|
|
.field public c:I
|
|
|
|
.field public f:I
|
|
|
|
.field public g:I
|
|
|
|
.field public h:I
|
|
|
|
.field public i:Z
|
|
|
|
.field public j:I
|
|
|
|
.field public k:Landroidx/core/view/WindowInsetsCompat;
|
|
|
|
.field public l:Ljava/util/ArrayList;
|
|
|
|
.field public m:Z
|
|
|
|
.field public n:Z
|
|
|
|
.field public o:Z
|
|
|
|
.field public p:Z
|
|
|
|
.field public q:Landroid/content/res/ColorStateList;
|
|
|
|
.field public r:I
|
|
|
|
.field public s:Ljava/lang/ref/WeakReference;
|
|
|
|
.field public t:Landroid/animation/ValueAnimator;
|
|
|
|
.field public u:Landroid/animation/ValueAnimator$AnimatorUpdateListener;
|
|
|
|
.field public final v:Ljava/util/ArrayList;
|
|
|
|
.field public final w:Ljava/util/LinkedHashSet;
|
|
|
|
.field public final x:J
|
|
|
|
.field public final y:Landroid/animation/TimeInterpolator;
|
|
|
|
.field public z:[I
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget v0, Lcom/google/android/material/R$style;->Widget_Design_AppBarLayout:I
|
|
|
|
.line 2
|
|
.line 3
|
|
sput v0, Lcom/google/android/material/appbar/AppBarLayout;->F:I
|
|
|
|
.line 4
|
|
.line 5
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lcom/mycompany/app/web/WebViewActivity;)V
|
|
.locals 8
|
|
|
|
.line 1
|
|
sget v3, Lcom/google/android/material/R$attr;->appBarLayoutStyle:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x0
|
|
|
|
.line 4
|
|
sget v4, Lcom/google/android/material/appbar/AppBarLayout;->F:I
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-static {p1, v1, v3, v4}, Lcom/google/android/material/theme/overlay/MaterialThemeOverlay;->a(Landroid/content/Context;Landroid/util/AttributeSet;II)Landroid/content/Context;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object p1
|
|
|
|
.line 10
|
|
invoke-direct {p0, p1, v1, v3}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
const/4 p1, -0x1
|
|
|
|
.line 14
|
|
iput p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->f:I
|
|
|
|
.line 15
|
|
.line 16
|
|
iput p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->g:I
|
|
|
|
.line 17
|
|
.line 18
|
|
iput p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->h:I
|
|
|
|
.line 19
|
|
.line 20
|
|
const/4 v6, 0x0
|
|
|
|
.line 21
|
|
iput v6, p0, Lcom/google/android/material/appbar/AppBarLayout;->j:I
|
|
|
|
.line 22
|
|
.line 23
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
.line 24
|
|
.line 25
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
iput-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->v:Ljava/util/ArrayList;
|
|
|
|
.line 29
|
|
.line 30
|
|
new-instance v0, Ljava/util/LinkedHashSet;
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
iput-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->w:Ljava/util/LinkedHashSet;
|
|
|
|
.line 36
|
|
.line 37
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
move-result-object v7
|
|
|
|
.line 41
|
|
const/4 v0, 0x1
|
|
|
|
.line 42
|
|
invoke-virtual {p0, v0}, Lcom/google/android/material/appbar/AppBarLayout;->setOrientation(I)V
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
invoke-virtual {p0}, Landroid/view/View;->getOutlineProvider()Landroid/view/ViewOutlineProvider;
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
move-result-object v0
|
|
|
|
.line 49
|
|
sget-object v2, Landroid/view/ViewOutlineProvider;->BACKGROUND:Landroid/view/ViewOutlineProvider;
|
|
|
|
.line 50
|
|
.line 51
|
|
if-ne v0, v2, :cond_0
|
|
|
|
.line 52
|
|
.line 53
|
|
sget-object v0, Landroid/view/ViewOutlineProvider;->BOUNDS:Landroid/view/ViewOutlineProvider;
|
|
|
|
.line 54
|
|
.line 55
|
|
invoke-virtual {p0, v0}, Landroid/view/View;->setOutlineProvider(Landroid/view/ViewOutlineProvider;)V
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 59
|
|
.line 60
|
|
.line 61
|
|
move-result-object v0
|
|
|
|
.line 62
|
|
sget-object v2, Lcom/google/android/material/appbar/ViewUtilsLollipop;->a:[I
|
|
|
|
.line 63
|
|
.line 64
|
|
new-array v5, v6, [I
|
|
|
|
.line 65
|
|
.line 66
|
|
invoke-static/range {v0 .. v5}, Lcom/google/android/material/internal/ThemeEnforcement;->d(Landroid/content/Context;Landroid/util/AttributeSet;[III[I)Landroid/content/res/TypedArray;
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
move-result-object v2
|
|
|
|
.line 70
|
|
:try_start_0
|
|
invoke-virtual {v2, v6}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 71
|
|
.line 72
|
|
.line 73
|
|
move-result v5
|
|
|
|
.line 74
|
|
if-eqz v5, :cond_1
|
|
|
|
.line 75
|
|
.line 76
|
|
invoke-virtual {v2, v6, v6}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
.line 77
|
|
.line 78
|
|
.line 79
|
|
move-result v5
|
|
|
|
.line 80
|
|
invoke-static {v0, v5}, Landroid/animation/AnimatorInflater;->loadStateListAnimator(Landroid/content/Context;I)Landroid/animation/StateListAnimator;
|
|
|
|
.line 81
|
|
.line 82
|
|
.line 83
|
|
move-result-object v0
|
|
|
|
.line 84
|
|
invoke-virtual {p0, v0}, Landroid/view/View;->setStateListAnimator(Landroid/animation/StateListAnimator;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 85
|
|
.line 86
|
|
.line 87
|
|
goto :goto_0
|
|
|
|
.line 88
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
.line 89
|
|
move-object p1, v0
|
|
|
|
.line 90
|
|
goto/16 :goto_1
|
|
|
|
.line 91
|
|
.line 92
|
|
:cond_1
|
|
:goto_0
|
|
invoke-virtual {v2}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
.line 93
|
|
.line 94
|
|
.line 95
|
|
sget-object v2, Lcom/google/android/material/R$styleable;->AppBarLayout:[I
|
|
|
|
.line 96
|
|
.line 97
|
|
new-array v5, v6, [I
|
|
|
|
.line 98
|
|
.line 99
|
|
move-object v0, v7
|
|
|
|
.line 100
|
|
invoke-static/range {v0 .. v5}, Lcom/google/android/material/internal/ThemeEnforcement;->d(Landroid/content/Context;Landroid/util/AttributeSet;[III[I)Landroid/content/res/TypedArray;
|
|
|
|
.line 101
|
|
.line 102
|
|
.line 103
|
|
move-result-object v1
|
|
|
|
.line 104
|
|
sget v2, Lcom/google/android/material/R$styleable;->AppBarLayout_liftOnScrollColor:I
|
|
|
|
.line 105
|
|
.line 106
|
|
invoke-static {v0, v1, v2}, Lcom/google/android/material/resources/MaterialResources;->a(Landroid/content/Context;Landroid/content/res/TypedArray;I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 107
|
|
.line 108
|
|
.line 109
|
|
move-result-object v2
|
|
|
|
.line 110
|
|
iput-object v2, p0, Lcom/google/android/material/appbar/AppBarLayout;->q:Landroid/content/res/ColorStateList;
|
|
|
|
.line 111
|
|
.line 112
|
|
sget v2, Lcom/google/android/material/R$attr;->motionDurationMedium2:I
|
|
|
|
.line 113
|
|
.line 114
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 115
|
|
.line 116
|
|
.line 117
|
|
move-result-object v3
|
|
|
|
.line 118
|
|
sget v4, Lcom/google/android/material/R$integer;->app_bar_elevation_anim_duration:I
|
|
|
|
.line 119
|
|
.line 120
|
|
invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getInteger(I)I
|
|
|
|
.line 121
|
|
.line 122
|
|
.line 123
|
|
move-result v3
|
|
|
|
.line 124
|
|
invoke-static {v0, v2, v3}, Lcom/google/android/material/motion/MotionUtils;->c(Landroid/content/Context;II)I
|
|
|
|
.line 125
|
|
.line 126
|
|
.line 127
|
|
move-result v2
|
|
|
|
.line 128
|
|
int-to-long v2, v2
|
|
|
|
.line 129
|
|
iput-wide v2, p0, Lcom/google/android/material/appbar/AppBarLayout;->x:J
|
|
|
|
.line 130
|
|
.line 131
|
|
sget v2, Lcom/google/android/material/R$attr;->motionEasingStandardInterpolator:I
|
|
|
|
.line 132
|
|
.line 133
|
|
sget-object v3, Lcom/google/android/material/animation/AnimationUtils;->a:Landroid/view/animation/LinearInterpolator;
|
|
|
|
.line 134
|
|
.line 135
|
|
invoke-static {v0, v2, v3}, Lcom/google/android/material/motion/MotionUtils;->d(Landroid/content/Context;ILandroid/animation/TimeInterpolator;)Landroid/animation/TimeInterpolator;
|
|
|
|
.line 136
|
|
.line 137
|
|
.line 138
|
|
move-result-object v0
|
|
|
|
.line 139
|
|
iput-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->y:Landroid/animation/TimeInterpolator;
|
|
|
|
.line 140
|
|
.line 141
|
|
sget v0, Lcom/google/android/material/R$styleable;->AppBarLayout_expanded:I
|
|
|
|
.line 142
|
|
.line 143
|
|
invoke-virtual {v1, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 144
|
|
.line 145
|
|
.line 146
|
|
move-result v0
|
|
|
|
.line 147
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 148
|
|
.line 149
|
|
sget v0, Lcom/google/android/material/R$styleable;->AppBarLayout_expanded:I
|
|
|
|
.line 150
|
|
.line 151
|
|
invoke-virtual {v1, v0, v6}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
.line 152
|
|
.line 153
|
|
.line 154
|
|
move-result v0
|
|
|
|
.line 155
|
|
invoke-virtual {p0, v0, v6, v6}, Lcom/google/android/material/appbar/AppBarLayout;->f(ZZZ)V
|
|
|
|
.line 156
|
|
.line 157
|
|
.line 158
|
|
:cond_2
|
|
sget v0, Lcom/google/android/material/R$styleable;->AppBarLayout_elevation:I
|
|
|
|
.line 159
|
|
.line 160
|
|
invoke-virtual {v1, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 161
|
|
.line 162
|
|
.line 163
|
|
move-result v0
|
|
|
|
.line 164
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 165
|
|
.line 166
|
|
sget v0, Lcom/google/android/material/R$styleable;->AppBarLayout_elevation:I
|
|
|
|
.line 167
|
|
.line 168
|
|
invoke-virtual {v1, v0, v6}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
.line 169
|
|
.line 170
|
|
.line 171
|
|
move-result v0
|
|
|
|
.line 172
|
|
int-to-float v0, v0
|
|
|
|
.line 173
|
|
invoke-static {p0, v0}, Lcom/google/android/material/appbar/ViewUtilsLollipop;->a(Lcom/google/android/material/appbar/AppBarLayout;F)V
|
|
|
|
.line 174
|
|
.line 175
|
|
.line 176
|
|
:cond_3
|
|
sget v0, Lcom/google/android/material/R$styleable;->AppBarLayout_android_background:I
|
|
|
|
.line 177
|
|
.line 178
|
|
invoke-virtual {v1, v0}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 179
|
|
.line 180
|
|
.line 181
|
|
move-result-object v0
|
|
|
|
.line 182
|
|
invoke-virtual {p0, v0}, Lcom/google/android/material/appbar/AppBarLayout;->setBackground(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 183
|
|
.line 184
|
|
.line 185
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
.line 186
|
|
.line 187
|
|
const/16 v2, 0x1a
|
|
|
|
.line 188
|
|
.line 189
|
|
if-lt v0, v2, :cond_5
|
|
|
|
.line 190
|
|
.line 191
|
|
sget v0, Lcom/google/android/material/R$styleable;->AppBarLayout_android_keyboardNavigationCluster:I
|
|
|
|
.line 192
|
|
.line 193
|
|
invoke-virtual {v1, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 194
|
|
.line 195
|
|
.line 196
|
|
move-result v0
|
|
|
|
.line 197
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 198
|
|
.line 199
|
|
sget v0, Lcom/google/android/material/R$styleable;->AppBarLayout_android_keyboardNavigationCluster:I
|
|
|
|
.line 200
|
|
.line 201
|
|
invoke-virtual {v1, v0, v6}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
.line 202
|
|
.line 203
|
|
.line 204
|
|
move-result v0
|
|
|
|
.line 205
|
|
invoke-virtual {p0, v0}, Landroid/widget/LinearLayout;->setKeyboardNavigationCluster(Z)V
|
|
|
|
.line 206
|
|
.line 207
|
|
.line 208
|
|
:cond_4
|
|
sget v0, Lcom/google/android/material/R$styleable;->AppBarLayout_android_touchscreenBlocksFocus:I
|
|
|
|
.line 209
|
|
.line 210
|
|
invoke-virtual {v1, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 211
|
|
.line 212
|
|
.line 213
|
|
move-result v0
|
|
|
|
.line 214
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 215
|
|
.line 216
|
|
sget v0, Lcom/google/android/material/R$styleable;->AppBarLayout_android_touchscreenBlocksFocus:I
|
|
|
|
.line 217
|
|
.line 218
|
|
invoke-virtual {v1, v0, v6}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
.line 219
|
|
.line 220
|
|
.line 221
|
|
move-result v0
|
|
|
|
.line 222
|
|
invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->setTouchscreenBlocksFocus(Z)V
|
|
|
|
.line 223
|
|
.line 224
|
|
.line 225
|
|
:cond_5
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 226
|
|
.line 227
|
|
.line 228
|
|
move-result-object v0
|
|
|
|
.line 229
|
|
sget v2, Lcom/google/android/material/R$dimen;->design_appbar_elevation:I
|
|
|
|
.line 230
|
|
.line 231
|
|
invoke-virtual {v0, v2}, Landroid/content/res/Resources;->getDimension(I)F
|
|
|
|
.line 232
|
|
.line 233
|
|
.line 234
|
|
move-result v0
|
|
|
|
.line 235
|
|
iput v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->D:F
|
|
|
|
.line 236
|
|
.line 237
|
|
sget v0, Lcom/google/android/material/R$styleable;->AppBarLayout_liftOnScroll:I
|
|
|
|
.line 238
|
|
.line 239
|
|
invoke-virtual {v1, v0, v6}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
.line 240
|
|
.line 241
|
|
.line 242
|
|
move-result v0
|
|
|
|
.line 243
|
|
iput-boolean v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->p:Z
|
|
|
|
.line 244
|
|
.line 245
|
|
sget v0, Lcom/google/android/material/R$styleable;->AppBarLayout_liftOnScrollTargetViewId:I
|
|
|
|
.line 246
|
|
.line 247
|
|
invoke-virtual {v1, v0, p1}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
.line 248
|
|
.line 249
|
|
.line 250
|
|
move-result p1
|
|
|
|
.line 251
|
|
iput p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->r:I
|
|
|
|
.line 252
|
|
.line 253
|
|
sget p1, Lcom/google/android/material/R$styleable;->AppBarLayout_statusBarForeground:I
|
|
|
|
.line 254
|
|
.line 255
|
|
invoke-virtual {v1, p1}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 256
|
|
.line 257
|
|
.line 258
|
|
move-result-object p1
|
|
|
|
.line 259
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/appbar/AppBarLayout;->setStatusBarForeground(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 260
|
|
.line 261
|
|
.line 262
|
|
invoke-virtual {v1}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
.line 263
|
|
.line 264
|
|
.line 265
|
|
new-instance p1, Lcom/google/android/material/appbar/AppBarLayout$1;
|
|
|
|
.line 266
|
|
.line 267
|
|
invoke-direct {p1, p0}, Lcom/google/android/material/appbar/AppBarLayout$1;-><init>(Lcom/google/android/material/appbar/AppBarLayout;)V
|
|
|
|
.line 268
|
|
.line 269
|
|
.line 270
|
|
invoke-static {p0, p1}, Landroidx/core/view/ViewCompat;->G(Landroid/view/View;Landroidx/core/view/OnApplyWindowInsetsListener;)V
|
|
|
|
.line 271
|
|
.line 272
|
|
.line 273
|
|
return-void
|
|
|
|
.line 274
|
|
:goto_1
|
|
invoke-virtual {v2}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
.line 275
|
|
.line 276
|
|
.line 277
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static c(Landroid/view/ViewGroup$LayoutParams;)Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
.locals 2
|
|
|
|
.line 1
|
|
instance-of v0, p0, Landroid/widget/LinearLayout$LayoutParams;
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x1
|
|
|
|
.line 4
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
new-instance v0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
|
|
.line 7
|
|
.line 8
|
|
check-cast p0, Landroid/widget/LinearLayout$LayoutParams;
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-direct {v0, p0}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/widget/LinearLayout$LayoutParams;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
iput v1, v0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->a:I
|
|
|
|
.line 14
|
|
.line 15
|
|
return-object v0
|
|
|
|
.line 16
|
|
:cond_0
|
|
instance-of v0, p0, Landroid/view/ViewGroup$MarginLayoutParams;
|
|
|
|
.line 17
|
|
.line 18
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 19
|
|
.line 20
|
|
new-instance v0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
|
|
.line 21
|
|
.line 22
|
|
check-cast p0, Landroid/view/ViewGroup$MarginLayoutParams;
|
|
|
|
.line 23
|
|
.line 24
|
|
invoke-direct {v0, p0}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/view/ViewGroup$MarginLayoutParams;)V
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
iput v1, v0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->a:I
|
|
|
|
.line 28
|
|
.line 29
|
|
return-object v0
|
|
|
|
.line 30
|
|
:cond_1
|
|
new-instance v0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-direct {v0, p0}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
iput v1, v0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->a:I
|
|
|
|
.line 36
|
|
.line 37
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lcom/google/android/material/appbar/AppBarLayout$OnOffsetChangedListener;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->l:Ljava/util/ArrayList;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
iput-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->l:Ljava/util/ArrayList;
|
|
|
|
.line 11
|
|
.line 12
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->l:Ljava/util/ArrayList;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result v0
|
|
|
|
.line 18
|
|
if-nez v0, :cond_1
|
|
|
|
.line 19
|
|
.line 20
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->l:Ljava/util/ArrayList;
|
|
|
|
.line 21
|
|
.line 22
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public final b(Landroid/util/AttributeSet;)Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
.locals 5
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v1
|
|
|
|
.line 7
|
|
invoke-direct {v0, v1, p1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
const/4 v2, 0x1
|
|
|
|
.line 11
|
|
iput v2, v0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->a:I
|
|
|
|
.line 12
|
|
.line 13
|
|
sget-object v3, Lcom/google/android/material/R$styleable;->AppBarLayout_Layout:[I
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {v1, p1, v3}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result-object p1
|
|
|
|
.line 19
|
|
sget v3, Lcom/google/android/material/R$styleable;->AppBarLayout_Layout_layout_scrollFlags:I
|
|
|
|
.line 20
|
|
.line 21
|
|
const/4 v4, 0x0
|
|
|
|
.line 22
|
|
invoke-virtual {p1, v3, v4}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result v3
|
|
|
|
.line 26
|
|
iput v3, v0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->a:I
|
|
|
|
.line 27
|
|
.line 28
|
|
sget v3, Lcom/google/android/material/R$styleable;->AppBarLayout_Layout_layout_scrollEffect:I
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-virtual {p1, v3, v4}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
move-result v3
|
|
|
|
.line 34
|
|
if-eq v3, v2, :cond_0
|
|
|
|
.line 35
|
|
.line 36
|
|
const/4 v2, 0x0
|
|
|
|
.line 37
|
|
goto :goto_0
|
|
|
|
.line 38
|
|
:cond_0
|
|
new-instance v2, Lcom/google/android/material/appbar/AppBarLayout$CompressChildScrollEffect;
|
|
|
|
.line 39
|
|
.line 40
|
|
invoke-direct {v2}, Lcom/google/android/material/appbar/AppBarLayout$CompressChildScrollEffect;-><init>()V
|
|
|
|
.line 41
|
|
.line 42
|
|
.line 43
|
|
:goto_0
|
|
iput-object v2, v0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->b:Lcom/google/android/material/appbar/AppBarLayout$CompressChildScrollEffect;
|
|
|
|
.line 44
|
|
.line 45
|
|
sget v2, Lcom/google/android/material/R$styleable;->AppBarLayout_Layout_layout_scrollInterpolator:I
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-virtual {p1, v2}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
move-result v2
|
|
|
|
.line 51
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 52
|
|
.line 53
|
|
sget v2, Lcom/google/android/material/R$styleable;->AppBarLayout_Layout_layout_scrollInterpolator:I
|
|
|
|
.line 54
|
|
.line 55
|
|
invoke-virtual {p1, v2, v4}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
move-result v2
|
|
|
|
.line 59
|
|
invoke-static {v1, v2}, Landroid/view/animation/AnimationUtils;->loadInterpolator(Landroid/content/Context;I)Landroid/view/animation/Interpolator;
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
move-result-object v1
|
|
|
|
.line 63
|
|
iput-object v1, v0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->c:Landroid/view/animation/Interpolator;
|
|
|
|
.line 64
|
|
.line 65
|
|
:cond_1
|
|
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final checkLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Z
|
|
.locals 0
|
|
|
|
.line 1
|
|
instance-of p1, p1, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
|
|
.line 2
|
|
.line 3
|
|
return p1
|
|
.end method
|
|
|
|
.method public final d()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->E:Lcom/google/android/material/appbar/AppBarLayout$Behavior;
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, -0x1
|
|
|
|
.line 4
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 5
|
|
.line 6
|
|
iget v2, p0, Lcom/google/android/material/appbar/AppBarLayout;->f:I
|
|
|
|
.line 7
|
|
.line 8
|
|
if-eq v2, v1, :cond_1
|
|
|
|
.line 9
|
|
.line 10
|
|
iget v2, p0, Lcom/google/android/material/appbar/AppBarLayout;->j:I
|
|
|
|
.line 11
|
|
.line 12
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
goto :goto_0
|
|
|
|
.line 15
|
|
:cond_0
|
|
sget-object v2, Landroidx/customview/view/AbsSavedState;->f:Landroidx/customview/view/AbsSavedState;
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-virtual {v0, v2, p0}, Lcom/google/android/material/appbar/AppBarLayout$BaseBehavior;->M(Landroid/os/Parcelable;Lcom/google/android/material/appbar/AppBarLayout;)Lcom/google/android/material/appbar/AppBarLayout$BaseBehavior$SavedState;
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result-object v0
|
|
|
|
.line 21
|
|
goto :goto_1
|
|
|
|
.line 22
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 23
|
|
:goto_1
|
|
iput v1, p0, Lcom/google/android/material/appbar/AppBarLayout;->f:I
|
|
|
|
.line 24
|
|
.line 25
|
|
iput v1, p0, Lcom/google/android/material/appbar/AppBarLayout;->g:I
|
|
|
|
.line 26
|
|
.line 27
|
|
iput v1, p0, Lcom/google/android/material/appbar/AppBarLayout;->h:I
|
|
|
|
.line 28
|
|
.line 29
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 30
|
|
.line 31
|
|
iget-object v1, p0, Lcom/google/android/material/appbar/AppBarLayout;->E:Lcom/google/android/material/appbar/AppBarLayout$Behavior;
|
|
|
|
.line 32
|
|
.line 33
|
|
iget-object v2, v1, Lcom/google/android/material/appbar/AppBarLayout$BaseBehavior;->q:Lcom/google/android/material/appbar/AppBarLayout$BaseBehavior$SavedState;
|
|
|
|
.line 34
|
|
.line 35
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 36
|
|
.line 37
|
|
goto :goto_2
|
|
|
|
.line 38
|
|
:cond_2
|
|
iput-object v0, v1, Lcom/google/android/material/appbar/AppBarLayout$BaseBehavior;->q:Lcom/google/android/material/appbar/AppBarLayout$BaseBehavior$SavedState;
|
|
|
|
.line 39
|
|
.line 40
|
|
:cond_3
|
|
:goto_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public final draw(Landroid/graphics/Canvas;)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/LinearLayout;->draw(Landroid/graphics/Canvas;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->B:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p0}, Lcom/google/android/material/appbar/AppBarLayout;->getTopInset()I
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result v0
|
|
|
|
.line 12
|
|
if-lez v0, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result v0
|
|
|
|
.line 18
|
|
iget v1, p0, Lcom/google/android/material/appbar/AppBarLayout;->c:I
|
|
|
|
.line 19
|
|
.line 20
|
|
neg-int v1, v1
|
|
|
|
.line 21
|
|
int-to-float v1, v1
|
|
|
|
.line 22
|
|
const/4 v2, 0x0
|
|
|
|
.line 23
|
|
invoke-virtual {p1, v2, v1}, Landroid/graphics/Canvas;->translate(FF)V
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
iget-object v1, p0, Lcom/google/android/material/appbar/AppBarLayout;->B:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-virtual {v1, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final drawableStateChanged()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/widget/LinearLayout;->drawableStateChanged()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-virtual {p0}, Landroid/view/View;->getDrawableState()[I
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result-object v0
|
|
|
|
.line 8
|
|
iget-object v1, p0, Lcom/google/android/material/appbar/AppBarLayout;->B:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 9
|
|
.line 10
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-virtual {v1}, Landroid/graphics/drawable/Drawable;->isStateful()Z
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result v2
|
|
|
|
.line 16
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {v1, v0}, Landroid/graphics/drawable/Drawable;->setState([I)Z
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
move-result v0
|
|
|
|
.line 22
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 23
|
|
.line 24
|
|
invoke-virtual {p0, v1}, Landroid/view/View;->invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final e(I)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
iput p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->c:I
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/view/View;->willNotDraw()Z
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v0
|
|
|
|
.line 7
|
|
if-nez v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {p0}, Landroid/view/View;->postInvalidateOnAnimation()V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->l:Ljava/util/ArrayList;
|
|
|
|
.line 13
|
|
.line 14
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result v0
|
|
|
|
.line 20
|
|
const/4 v1, 0x0
|
|
|
|
.line 21
|
|
:goto_0
|
|
if-ge v1, v0, :cond_2
|
|
|
|
.line 22
|
|
.line 23
|
|
iget-object v2, p0, Lcom/google/android/material/appbar/AppBarLayout;->l:Ljava/util/ArrayList;
|
|
|
|
.line 24
|
|
.line 25
|
|
invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result-object v2
|
|
|
|
.line 29
|
|
check-cast v2, Lcom/google/android/material/appbar/AppBarLayout$BaseOnOffsetChangedListener;
|
|
|
|
.line 30
|
|
.line 31
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 32
|
|
.line 33
|
|
invoke-interface {v2, p1}, Lcom/google/android/material/appbar/AppBarLayout$BaseOnOffsetChangedListener;->a(I)V
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
:cond_1
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
.line 37
|
|
.line 38
|
|
goto :goto_0
|
|
|
|
.line 39
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public final f(ZZZ)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 p1, 0x1
|
|
|
|
.line 4
|
|
goto :goto_0
|
|
|
|
.line 5
|
|
:cond_0
|
|
const/4 p1, 0x2
|
|
|
|
.line 6
|
|
:goto_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 7
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 8
|
|
.line 9
|
|
const/4 p2, 0x4
|
|
|
|
.line 10
|
|
goto :goto_1
|
|
|
|
.line 11
|
|
:cond_1
|
|
move p2, v0
|
|
|
|
.line 12
|
|
:goto_1
|
|
or-int/2addr p1, p2
|
|
|
|
.line 13
|
|
if-eqz p3, :cond_2
|
|
|
|
.line 14
|
|
.line 15
|
|
const/16 v0, 0x8
|
|
|
|
.line 16
|
|
.line 17
|
|
:cond_2
|
|
or-int/2addr p1, v0
|
|
|
|
.line 18
|
|
iput p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->j:I
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-virtual {p0}, Landroid/view/View;->requestLayout()V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
return-void
|
|
.end method
|
|
|
|
.method public final g(Z)Z
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->m:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_6
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-boolean v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->o:Z
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eq v0, p1, :cond_6
|
|
|
|
.line 8
|
|
.line 9
|
|
iput-boolean p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->o:Z
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {p0}, Landroid/view/View;->refreshDrawableState()V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
invoke-virtual {p0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object v0
|
|
|
|
.line 18
|
|
instance-of v0, v0, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 19
|
|
.line 20
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 21
|
|
.line 22
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->q:Landroid/content/res/ColorStateList;
|
|
|
|
.line 23
|
|
.line 24
|
|
const/4 v1, 0x0
|
|
|
|
.line 25
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 26
|
|
.line 27
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
.line 28
|
|
.line 29
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 30
|
|
.line 31
|
|
move v2, v1
|
|
|
|
.line 32
|
|
goto :goto_0
|
|
|
|
.line 33
|
|
:cond_0
|
|
move v2, v0
|
|
|
|
.line 34
|
|
:goto_0
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 35
|
|
.line 36
|
|
move v1, v0
|
|
|
|
.line 37
|
|
:cond_1
|
|
invoke-virtual {p0, v2, v1}, Lcom/google/android/material/appbar/AppBarLayout;->i(FF)V
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
goto :goto_2
|
|
|
|
.line 41
|
|
:cond_2
|
|
iget-boolean v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->p:Z
|
|
|
|
.line 42
|
|
.line 43
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 44
|
|
.line 45
|
|
iget v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->D:F
|
|
|
|
.line 46
|
|
.line 47
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 48
|
|
.line 49
|
|
move v2, v1
|
|
|
|
.line 50
|
|
goto :goto_1
|
|
|
|
.line 51
|
|
:cond_3
|
|
move v2, v0
|
|
|
|
.line 52
|
|
:goto_1
|
|
if-eqz p1, :cond_4
|
|
|
|
.line 53
|
|
.line 54
|
|
move v1, v0
|
|
|
|
.line 55
|
|
:cond_4
|
|
invoke-virtual {p0, v2, v1}, Lcom/google/android/material/appbar/AppBarLayout;->i(FF)V
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
:cond_5
|
|
:goto_2
|
|
const/4 p1, 0x1
|
|
|
|
.line 59
|
|
return p1
|
|
|
|
.line 60
|
|
:cond_6
|
|
const/4 p1, 0x0
|
|
|
|
.line 61
|
|
return p1
|
|
.end method
|
|
|
|
.method public final generateDefaultLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
.locals 2
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
|
|
const/4 v1, -0x2
|
|
|
|
invoke-direct {v0, v1}, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;-><init>(I)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final generateDefaultLayoutParams()Landroid/widget/LinearLayout$LayoutParams;
|
|
.locals 2
|
|
|
|
.line 2
|
|
new-instance v0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
|
|
const/4 v1, -0x2
|
|
|
|
invoke-direct {v0, v1}, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;-><init>(I)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final bridge synthetic generateLayoutParams(Landroid/util/AttributeSet;)Landroid/view/ViewGroup$LayoutParams;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/appbar/AppBarLayout;->b(Landroid/util/AttributeSet;)Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final bridge synthetic generateLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Landroid/view/ViewGroup$LayoutParams;
|
|
.locals 0
|
|
|
|
.line 2
|
|
invoke-static {p1}, Lcom/google/android/material/appbar/AppBarLayout;->c(Landroid/view/ViewGroup$LayoutParams;)Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final bridge synthetic generateLayoutParams(Landroid/util/AttributeSet;)Landroid/widget/LinearLayout$LayoutParams;
|
|
.locals 0
|
|
|
|
.line 3
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/appbar/AppBarLayout;->b(Landroid/util/AttributeSet;)Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final bridge synthetic generateLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Landroid/widget/LinearLayout$LayoutParams;
|
|
.locals 0
|
|
|
|
.line 4
|
|
invoke-static {p1}, Lcom/google/android/material/appbar/AppBarLayout;->c(Landroid/view/ViewGroup$LayoutParams;)Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public getBehavior()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior<",
|
|
"Lcom/google/android/material/appbar/AppBarLayout;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/android/material/appbar/AppBarLayout$Behavior;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0}, Lcom/google/android/material/appbar/AppBarLayout$Behavior;-><init>()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iput-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->E:Lcom/google/android/material/appbar/AppBarLayout$Behavior;
|
|
|
|
.line 7
|
|
.line 8
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getDownNestedPreScrollRange()I
|
|
.locals 9
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->g:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, -0x1
|
|
|
|
.line 4
|
|
if-eq v0, v1, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
return v0
|
|
|
|
.line 7
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result v0
|
|
|
|
.line 11
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
.line 12
|
|
.line 13
|
|
const/4 v1, 0x0
|
|
|
|
.line 14
|
|
move v2, v1
|
|
|
|
.line 15
|
|
:goto_0
|
|
if-ltz v0, :cond_7
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result-object v3
|
|
|
|
.line 21
|
|
invoke-virtual {v3}, Landroid/view/View;->getVisibility()I
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result v4
|
|
|
|
.line 25
|
|
const/16 v5, 0x8
|
|
|
|
.line 26
|
|
.line 27
|
|
if-ne v4, v5, :cond_1
|
|
|
|
.line 28
|
|
.line 29
|
|
goto :goto_3
|
|
|
|
.line 30
|
|
:cond_1
|
|
invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
move-result-object v4
|
|
|
|
.line 34
|
|
check-cast v4, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
|
|
.line 35
|
|
.line 36
|
|
invoke-virtual {v3}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
move-result v5
|
|
|
|
.line 40
|
|
iget v6, v4, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->a:I
|
|
|
|
.line 41
|
|
.line 42
|
|
and-int/lit8 v7, v6, 0x5
|
|
|
|
.line 43
|
|
.line 44
|
|
const/4 v8, 0x5
|
|
|
|
.line 45
|
|
if-ne v7, v8, :cond_5
|
|
|
|
.line 46
|
|
.line 47
|
|
iget v7, v4, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I
|
|
|
|
.line 48
|
|
.line 49
|
|
iget v4, v4, Landroid/widget/LinearLayout$LayoutParams;->bottomMargin:I
|
|
|
|
.line 50
|
|
.line 51
|
|
add-int/2addr v7, v4
|
|
|
|
.line 52
|
|
and-int/lit8 v4, v6, 0x8
|
|
|
|
.line 53
|
|
.line 54
|
|
if-eqz v4, :cond_2
|
|
|
|
.line 55
|
|
.line 56
|
|
invoke-virtual {v3}, Landroid/view/View;->getMinimumHeight()I
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
move-result v4
|
|
|
|
.line 60
|
|
:goto_1
|
|
add-int/2addr v4, v7
|
|
|
|
.line 61
|
|
goto :goto_2
|
|
|
|
.line 62
|
|
:cond_2
|
|
and-int/lit8 v4, v6, 0x2
|
|
|
|
.line 63
|
|
.line 64
|
|
if-eqz v4, :cond_3
|
|
|
|
.line 65
|
|
.line 66
|
|
invoke-virtual {v3}, Landroid/view/View;->getMinimumHeight()I
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
move-result v4
|
|
|
|
.line 70
|
|
sub-int v4, v5, v4
|
|
|
|
.line 71
|
|
.line 72
|
|
goto :goto_1
|
|
|
|
.line 73
|
|
:cond_3
|
|
add-int v4, v7, v5
|
|
|
|
.line 74
|
|
.line 75
|
|
:goto_2
|
|
if-nez v0, :cond_4
|
|
|
|
.line 76
|
|
.line 77
|
|
invoke-virtual {v3}, Landroid/view/View;->getFitsSystemWindows()Z
|
|
|
|
.line 78
|
|
.line 79
|
|
.line 80
|
|
move-result v3
|
|
|
|
.line 81
|
|
if-eqz v3, :cond_4
|
|
|
|
.line 82
|
|
.line 83
|
|
invoke-virtual {p0}, Lcom/google/android/material/appbar/AppBarLayout;->getTopInset()I
|
|
|
|
.line 84
|
|
.line 85
|
|
.line 86
|
|
move-result v3
|
|
|
|
.line 87
|
|
sub-int/2addr v5, v3
|
|
|
|
.line 88
|
|
invoke-static {v4, v5}, Ljava/lang/Math;->min(II)I
|
|
|
|
.line 89
|
|
.line 90
|
|
.line 91
|
|
move-result v4
|
|
|
|
.line 92
|
|
:cond_4
|
|
add-int/2addr v2, v4
|
|
|
|
.line 93
|
|
goto :goto_3
|
|
|
|
.line 94
|
|
:cond_5
|
|
if-lez v2, :cond_6
|
|
|
|
.line 95
|
|
.line 96
|
|
goto :goto_4
|
|
|
|
.line 97
|
|
:cond_6
|
|
:goto_3
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
.line 98
|
|
.line 99
|
|
goto :goto_0
|
|
|
|
.line 100
|
|
:cond_7
|
|
:goto_4
|
|
invoke-static {v1, v2}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 101
|
|
.line 102
|
|
.line 103
|
|
move-result v0
|
|
|
|
.line 104
|
|
iput v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->g:I
|
|
|
|
.line 105
|
|
.line 106
|
|
return v0
|
|
.end method
|
|
|
|
.method public getDownNestedScrollRange()I
|
|
.locals 9
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->h:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, -0x1
|
|
|
|
.line 4
|
|
if-eq v0, v1, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
return v0
|
|
|
|
.line 7
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result v0
|
|
|
|
.line 11
|
|
const/4 v1, 0x0
|
|
|
|
.line 12
|
|
move v2, v1
|
|
|
|
.line 13
|
|
move v3, v2
|
|
|
|
.line 14
|
|
:goto_0
|
|
if-ge v2, v0, :cond_3
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-virtual {p0, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result-object v4
|
|
|
|
.line 20
|
|
invoke-virtual {v4}, Landroid/view/View;->getVisibility()I
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result v5
|
|
|
|
.line 24
|
|
const/16 v6, 0x8
|
|
|
|
.line 25
|
|
.line 26
|
|
if-ne v5, v6, :cond_1
|
|
|
|
.line 27
|
|
.line 28
|
|
goto :goto_1
|
|
|
|
.line 29
|
|
:cond_1
|
|
invoke-virtual {v4}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object v5
|
|
|
|
.line 33
|
|
check-cast v5, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-virtual {v4}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result v6
|
|
|
|
.line 39
|
|
iget v7, v5, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I
|
|
|
|
.line 40
|
|
.line 41
|
|
iget v8, v5, Landroid/widget/LinearLayout$LayoutParams;->bottomMargin:I
|
|
|
|
.line 42
|
|
.line 43
|
|
add-int/2addr v7, v8
|
|
|
|
.line 44
|
|
add-int/2addr v7, v6
|
|
|
|
.line 45
|
|
iget v5, v5, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->a:I
|
|
|
|
.line 46
|
|
.line 47
|
|
and-int/lit8 v6, v5, 0x1
|
|
|
|
.line 48
|
|
.line 49
|
|
if-eqz v6, :cond_3
|
|
|
|
.line 50
|
|
.line 51
|
|
add-int/2addr v3, v7
|
|
|
|
.line 52
|
|
and-int/lit8 v5, v5, 0x2
|
|
|
|
.line 53
|
|
.line 54
|
|
if-eqz v5, :cond_2
|
|
|
|
.line 55
|
|
.line 56
|
|
invoke-virtual {v4}, Landroid/view/View;->getMinimumHeight()I
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
move-result v0
|
|
|
|
.line 60
|
|
sub-int/2addr v3, v0
|
|
|
|
.line 61
|
|
goto :goto_2
|
|
|
|
.line 62
|
|
:cond_2
|
|
:goto_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
.line 63
|
|
.line 64
|
|
goto :goto_0
|
|
|
|
.line 65
|
|
:cond_3
|
|
:goto_2
|
|
invoke-static {v1, v3}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
move-result v0
|
|
|
|
.line 69
|
|
iput v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->h:I
|
|
|
|
.line 70
|
|
.line 71
|
|
return v0
|
|
.end method
|
|
|
|
.method public getLiftOnScrollTargetViewId()I
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/IdRes;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->r:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getMaterialShapeBackground()Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
instance-of v1, v0, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
check-cast v0, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 10
|
|
.line 11
|
|
return-object v0
|
|
|
|
.line 12
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 13
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getMinimumHeightForVisibleOverlappingContent()I
|
|
.locals 4
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lcom/google/android/material/appbar/AppBarLayout;->getTopInset()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
invoke-virtual {p0}, Landroid/view/View;->getMinimumHeight()I
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v1
|
|
|
|
.line 9
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 10
|
|
.line 11
|
|
mul-int/lit8 v2, v1, 0x2
|
|
|
|
.line 12
|
|
.line 13
|
|
add-int/2addr v2, v0
|
|
|
|
.line 14
|
|
invoke-virtual {p0}, Landroid/view/View;->getHeight()I
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result v3
|
|
|
|
.line 18
|
|
if-ge v2, v3, :cond_0
|
|
|
|
.line 19
|
|
.line 20
|
|
return v2
|
|
|
|
.line 21
|
|
:cond_0
|
|
add-int/2addr v1, v0
|
|
|
|
.line 22
|
|
return v1
|
|
|
|
.line 23
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result v1
|
|
|
|
.line 27
|
|
const/4 v2, 0x1
|
|
|
|
.line 28
|
|
if-lt v1, v2, :cond_2
|
|
|
|
.line 29
|
|
.line 30
|
|
sub-int/2addr v1, v2
|
|
|
|
.line 31
|
|
invoke-virtual {p0, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result-object v1
|
|
|
|
.line 35
|
|
invoke-virtual {v1}, Landroid/view/View;->getMinimumHeight()I
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result v1
|
|
|
|
.line 39
|
|
goto :goto_0
|
|
|
|
.line 40
|
|
:cond_2
|
|
const/4 v1, 0x0
|
|
|
|
.line 41
|
|
:goto_0
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 42
|
|
.line 43
|
|
mul-int/lit8 v2, v1, 0x2
|
|
|
|
.line 44
|
|
.line 45
|
|
add-int/2addr v2, v0
|
|
|
|
.line 46
|
|
invoke-virtual {p0}, Landroid/view/View;->getHeight()I
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
move-result v3
|
|
|
|
.line 50
|
|
if-ge v2, v3, :cond_3
|
|
|
|
.line 51
|
|
.line 52
|
|
return v2
|
|
|
|
.line 53
|
|
:cond_3
|
|
add-int/2addr v1, v0
|
|
|
|
.line 54
|
|
return v1
|
|
|
|
.line 55
|
|
:cond_4
|
|
invoke-virtual {p0}, Landroid/view/View;->getHeight()I
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
move-result v0
|
|
|
|
.line 59
|
|
div-int/lit8 v0, v0, 0x3
|
|
|
|
.line 60
|
|
.line 61
|
|
return v0
|
|
.end method
|
|
|
|
.method public getPendingAction()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->j:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getStatusBarForeground()Landroid/graphics/drawable/Drawable;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->B:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getTargetElevation()F
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getTopInset()I
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/VisibleForTesting;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->k:Landroidx/core/view/WindowInsetsCompat;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat;->i()I
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v0
|
|
|
|
.line 9
|
|
return v0
|
|
|
|
.line 10
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 11
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getTotalScrollRange()I
|
|
.locals 9
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->f:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, -0x1
|
|
|
|
.line 4
|
|
if-eq v0, v1, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
return v0
|
|
|
|
.line 7
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result v0
|
|
|
|
.line 11
|
|
const/4 v1, 0x0
|
|
|
|
.line 12
|
|
move v2, v1
|
|
|
|
.line 13
|
|
move v3, v2
|
|
|
|
.line 14
|
|
:goto_0
|
|
if-ge v2, v0, :cond_4
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-virtual {p0, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result-object v4
|
|
|
|
.line 20
|
|
invoke-virtual {v4}, Landroid/view/View;->getVisibility()I
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result v5
|
|
|
|
.line 24
|
|
const/16 v6, 0x8
|
|
|
|
.line 25
|
|
.line 26
|
|
if-ne v5, v6, :cond_1
|
|
|
|
.line 27
|
|
.line 28
|
|
goto :goto_1
|
|
|
|
.line 29
|
|
:cond_1
|
|
invoke-virtual {v4}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object v5
|
|
|
|
.line 33
|
|
check-cast v5, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-virtual {v4}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result v6
|
|
|
|
.line 39
|
|
iget v7, v5, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->a:I
|
|
|
|
.line 40
|
|
.line 41
|
|
and-int/lit8 v8, v7, 0x1
|
|
|
|
.line 42
|
|
.line 43
|
|
if-eqz v8, :cond_4
|
|
|
|
.line 44
|
|
.line 45
|
|
iget v8, v5, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I
|
|
|
|
.line 46
|
|
.line 47
|
|
add-int/2addr v6, v8
|
|
|
|
.line 48
|
|
iget v5, v5, Landroid/widget/LinearLayout$LayoutParams;->bottomMargin:I
|
|
|
|
.line 49
|
|
.line 50
|
|
add-int/2addr v6, v5
|
|
|
|
.line 51
|
|
add-int/2addr v6, v3
|
|
|
|
.line 52
|
|
if-nez v2, :cond_2
|
|
|
|
.line 53
|
|
.line 54
|
|
invoke-virtual {v4}, Landroid/view/View;->getFitsSystemWindows()Z
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
move-result v3
|
|
|
|
.line 58
|
|
if-eqz v3, :cond_2
|
|
|
|
.line 59
|
|
.line 60
|
|
invoke-virtual {p0}, Lcom/google/android/material/appbar/AppBarLayout;->getTopInset()I
|
|
|
|
.line 61
|
|
.line 62
|
|
.line 63
|
|
move-result v3
|
|
|
|
.line 64
|
|
sub-int/2addr v6, v3
|
|
|
|
.line 65
|
|
:cond_2
|
|
move v3, v6
|
|
|
|
.line 66
|
|
and-int/lit8 v5, v7, 0x2
|
|
|
|
.line 67
|
|
.line 68
|
|
if-eqz v5, :cond_3
|
|
|
|
.line 69
|
|
.line 70
|
|
invoke-virtual {v4}, Landroid/view/View;->getMinimumHeight()I
|
|
|
|
.line 71
|
|
.line 72
|
|
.line 73
|
|
move-result v0
|
|
|
|
.line 74
|
|
sub-int/2addr v3, v0
|
|
|
|
.line 75
|
|
goto :goto_2
|
|
|
|
.line 76
|
|
:cond_3
|
|
:goto_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
.line 77
|
|
.line 78
|
|
goto :goto_0
|
|
|
|
.line 79
|
|
:cond_4
|
|
:goto_2
|
|
invoke-static {v1, v3}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 80
|
|
.line 81
|
|
.line 82
|
|
move-result v0
|
|
|
|
.line 83
|
|
iput v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->f:I
|
|
|
|
.line 84
|
|
.line 85
|
|
return v0
|
|
.end method
|
|
|
|
.method public getUpNestedPreScrollRange()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lcom/google/android/material/appbar/AppBarLayout;->getTotalScrollRange()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
return v0
|
|
.end method
|
|
|
|
.method public final h(Landroid/view/View;)Z
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->s:Ljava/lang/ref/WeakReference;
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, -0x1
|
|
|
|
.line 4
|
|
const/4 v2, 0x0
|
|
|
|
.line 5
|
|
if-nez v0, :cond_2
|
|
|
|
.line 6
|
|
.line 7
|
|
iget v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->r:I
|
|
|
|
.line 8
|
|
.line 9
|
|
if-eq v0, v1, :cond_2
|
|
|
|
.line 10
|
|
.line 11
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-object v0
|
|
|
|
.line 17
|
|
goto :goto_0
|
|
|
|
.line 18
|
|
:cond_0
|
|
move-object v0, v2
|
|
|
|
.line 19
|
|
:goto_0
|
|
if-nez v0, :cond_1
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-virtual {p0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result-object v3
|
|
|
|
.line 25
|
|
instance-of v3, v3, Landroid/view/ViewGroup;
|
|
|
|
.line 26
|
|
.line 27
|
|
if-eqz v3, :cond_1
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-virtual {p0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object v0
|
|
|
|
.line 33
|
|
check-cast v0, Landroid/view/ViewGroup;
|
|
|
|
.line 34
|
|
.line 35
|
|
iget v3, p0, Lcom/google/android/material/appbar/AppBarLayout;->r:I
|
|
|
|
.line 36
|
|
.line 37
|
|
invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
move-result-object v0
|
|
|
|
.line 41
|
|
:cond_1
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 42
|
|
.line 43
|
|
new-instance v3, Ljava/lang/ref/WeakReference;
|
|
|
|
.line 44
|
|
.line 45
|
|
invoke-direct {v3, v0}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
iput-object v3, p0, Lcom/google/android/material/appbar/AppBarLayout;->s:Ljava/lang/ref/WeakReference;
|
|
|
|
.line 49
|
|
.line 50
|
|
:cond_2
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->s:Ljava/lang/ref/WeakReference;
|
|
|
|
.line 51
|
|
.line 52
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 53
|
|
.line 54
|
|
invoke-virtual {v0}, Ljava/lang/ref/Reference;->get()Ljava/lang/Object;
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
move-result-object v0
|
|
|
|
.line 58
|
|
move-object v2, v0
|
|
|
|
.line 59
|
|
check-cast v2, Landroid/view/View;
|
|
|
|
.line 60
|
|
.line 61
|
|
:cond_3
|
|
if-nez v2, :cond_4
|
|
|
|
.line 62
|
|
.line 63
|
|
goto :goto_1
|
|
|
|
.line 64
|
|
:cond_4
|
|
move-object p1, v2
|
|
|
|
.line 65
|
|
:goto_1
|
|
if-eqz p1, :cond_6
|
|
|
|
.line 66
|
|
.line 67
|
|
invoke-virtual {p1, v1}, Landroid/view/View;->canScrollVertically(I)Z
|
|
|
|
.line 68
|
|
.line 69
|
|
.line 70
|
|
move-result v0
|
|
|
|
.line 71
|
|
if-nez v0, :cond_5
|
|
|
|
.line 72
|
|
.line 73
|
|
invoke-virtual {p1}, Landroid/view/View;->getScrollY()I
|
|
|
|
.line 74
|
|
.line 75
|
|
.line 76
|
|
move-result p1
|
|
|
|
.line 77
|
|
if-lez p1, :cond_6
|
|
|
|
.line 78
|
|
.line 79
|
|
:cond_5
|
|
const/4 p1, 0x1
|
|
|
|
.line 80
|
|
return p1
|
|
|
|
.line 81
|
|
:cond_6
|
|
const/4 p1, 0x0
|
|
|
|
.line 82
|
|
return p1
|
|
.end method
|
|
|
|
.method public final i(FF)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->t:Landroid/animation/ValueAnimator;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/animation/ValueAnimator;->cancel()V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
:cond_0
|
|
const/4 v0, 0x2
|
|
|
|
.line 9
|
|
new-array v0, v0, [F
|
|
|
|
.line 10
|
|
.line 11
|
|
const/4 v1, 0x0
|
|
|
|
.line 12
|
|
aput p1, v0, v1
|
|
|
|
.line 13
|
|
.line 14
|
|
const/4 p1, 0x1
|
|
|
|
.line 15
|
|
aput p2, v0, p1
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-static {v0}, Landroid/animation/ValueAnimator;->ofFloat([F)Landroid/animation/ValueAnimator;
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result-object p1
|
|
|
|
.line 21
|
|
iput-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->t:Landroid/animation/ValueAnimator;
|
|
|
|
.line 22
|
|
.line 23
|
|
iget-wide v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->x:J
|
|
|
|
.line 24
|
|
.line 25
|
|
invoke-virtual {p1, v0, v1}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
iget-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->t:Landroid/animation/ValueAnimator;
|
|
|
|
.line 29
|
|
.line 30
|
|
iget-object p2, p0, Lcom/google/android/material/appbar/AppBarLayout;->y:Landroid/animation/TimeInterpolator;
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-virtual {p1, p2}, Landroid/animation/ValueAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
iget-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->u:Landroid/animation/ValueAnimator$AnimatorUpdateListener;
|
|
|
|
.line 36
|
|
.line 37
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 38
|
|
.line 39
|
|
iget-object p2, p0, Lcom/google/android/material/appbar/AppBarLayout;->t:Landroid/animation/ValueAnimator;
|
|
|
|
.line 40
|
|
.line 41
|
|
invoke-virtual {p2, p1}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
:cond_1
|
|
iget-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->t:Landroid/animation/ValueAnimator;
|
|
|
|
.line 45
|
|
.line 46
|
|
invoke-virtual {p1}, Landroid/animation/ValueAnimator;->start()V
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onAttachedToWindow()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/widget/LinearLayout;->onAttachedToWindow()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-static {p0}, Lcom/google/android/material/shape/MaterialShapeUtils;->d(Landroid/view/ViewGroup;)V
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onCreateDrawableState(I)[I
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->z:[I
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v0, 0x4
|
|
|
|
.line 6
|
|
new-array v0, v0, [I
|
|
|
|
.line 7
|
|
.line 8
|
|
iput-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->z:[I
|
|
|
|
.line 9
|
|
.line 10
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->z:[I
|
|
|
|
.line 11
|
|
.line 12
|
|
array-length v1, v0
|
|
|
|
.line 13
|
|
add-int/2addr p1, v1
|
|
|
|
.line 14
|
|
invoke-super {p0, p1}, Landroid/widget/LinearLayout;->onCreateDrawableState(I)[I
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object p1
|
|
|
|
.line 18
|
|
iget-boolean v1, p0, Lcom/google/android/material/appbar/AppBarLayout;->n:Z
|
|
|
|
.line 19
|
|
.line 20
|
|
sget v2, Lcom/google/android/material/R$attr;->state_liftable:I
|
|
|
|
.line 21
|
|
.line 22
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 23
|
|
.line 24
|
|
goto :goto_0
|
|
|
|
.line 25
|
|
:cond_1
|
|
neg-int v2, v2
|
|
|
|
.line 26
|
|
:goto_0
|
|
const/4 v3, 0x0
|
|
|
|
.line 27
|
|
aput v2, v0, v3
|
|
|
|
.line 28
|
|
.line 29
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 30
|
|
.line 31
|
|
iget-boolean v2, p0, Lcom/google/android/material/appbar/AppBarLayout;->o:Z
|
|
|
|
.line 32
|
|
.line 33
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 34
|
|
.line 35
|
|
sget v2, Lcom/google/android/material/R$attr;->state_lifted:I
|
|
|
|
.line 36
|
|
.line 37
|
|
goto :goto_1
|
|
|
|
.line 38
|
|
:cond_2
|
|
sget v2, Lcom/google/android/material/R$attr;->state_lifted:I
|
|
|
|
.line 39
|
|
.line 40
|
|
neg-int v2, v2
|
|
|
|
.line 41
|
|
:goto_1
|
|
const/4 v3, 0x1
|
|
|
|
.line 42
|
|
aput v2, v0, v3
|
|
|
|
.line 43
|
|
.line 44
|
|
sget v2, Lcom/google/android/material/R$attr;->state_collapsible:I
|
|
|
|
.line 45
|
|
.line 46
|
|
if-eqz v1, :cond_3
|
|
|
|
.line 47
|
|
.line 48
|
|
goto :goto_2
|
|
|
|
.line 49
|
|
:cond_3
|
|
neg-int v2, v2
|
|
|
|
.line 50
|
|
:goto_2
|
|
const/4 v3, 0x2
|
|
|
|
.line 51
|
|
aput v2, v0, v3
|
|
|
|
.line 52
|
|
.line 53
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 54
|
|
.line 55
|
|
iget-boolean v1, p0, Lcom/google/android/material/appbar/AppBarLayout;->o:Z
|
|
|
|
.line 56
|
|
.line 57
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 58
|
|
.line 59
|
|
sget v1, Lcom/google/android/material/R$attr;->state_collapsed:I
|
|
|
|
.line 60
|
|
.line 61
|
|
goto :goto_3
|
|
|
|
.line 62
|
|
:cond_4
|
|
sget v1, Lcom/google/android/material/R$attr;->state_collapsed:I
|
|
|
|
.line 63
|
|
.line 64
|
|
neg-int v1, v1
|
|
|
|
.line 65
|
|
:goto_3
|
|
const/4 v2, 0x3
|
|
|
|
.line 66
|
|
aput v1, v0, v2
|
|
|
|
.line 67
|
|
.line 68
|
|
invoke-static {p1, v0}, Landroid/view/View;->mergeDrawableStates([I[I)[I
|
|
|
|
.line 69
|
|
.line 70
|
|
.line 71
|
|
move-result-object p1
|
|
|
|
.line 72
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final onDetachedFromWindow()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/widget/LinearLayout;->onDetachedFromWindow()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->s:Ljava/lang/ref/WeakReference;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {v0}, Ljava/lang/ref/Reference;->clear()V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 12
|
|
iput-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->s:Ljava/lang/ref/WeakReference;
|
|
|
|
.line 13
|
|
.line 14
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onLayout(ZIIII)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-super/range {p0 .. p5}, Landroid/widget/LinearLayout;->onLayout(ZIIII)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-object p1, p0
|
|
|
|
.line 5
|
|
invoke-virtual {p0}, Landroid/view/View;->getFitsSystemWindows()Z
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result p2
|
|
|
|
.line 9
|
|
const/4 p3, 0x1
|
|
|
|
.line 10
|
|
const/4 p4, 0x0
|
|
|
|
.line 11
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result p2
|
|
|
|
.line 17
|
|
if-lez p2, :cond_0
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-virtual {p0, p4}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result-object p2
|
|
|
|
.line 23
|
|
invoke-virtual {p2}, Landroid/view/View;->getVisibility()I
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result p5
|
|
|
|
.line 27
|
|
const/16 v0, 0x8
|
|
|
|
.line 28
|
|
.line 29
|
|
if-eq p5, v0, :cond_0
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-virtual {p2}, Landroid/view/View;->getFitsSystemWindows()Z
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result p2
|
|
|
|
.line 35
|
|
if-nez p2, :cond_0
|
|
|
|
.line 36
|
|
.line 37
|
|
invoke-virtual {p0}, Lcom/google/android/material/appbar/AppBarLayout;->getTopInset()I
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
move-result p2
|
|
|
|
.line 41
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
move-result p5
|
|
|
|
.line 45
|
|
sub-int/2addr p5, p3
|
|
|
|
.line 46
|
|
:goto_0
|
|
if-ltz p5, :cond_0
|
|
|
|
.line 47
|
|
.line 48
|
|
invoke-virtual {p0, p5}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
.line 49
|
|
.line 50
|
|
.line 51
|
|
move-result-object v0
|
|
|
|
.line 52
|
|
sget-object v1, Landroidx/core/view/ViewCompat;->a:Ljava/util/WeakHashMap;
|
|
|
|
.line 53
|
|
.line 54
|
|
invoke-virtual {v0, p2}, Landroid/view/View;->offsetTopAndBottom(I)V
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
add-int/lit8 p5, p5, -0x1
|
|
|
|
.line 58
|
|
.line 59
|
|
goto :goto_0
|
|
|
|
.line 60
|
|
:cond_0
|
|
invoke-virtual {p0}, Lcom/google/android/material/appbar/AppBarLayout;->d()V
|
|
|
|
.line 61
|
|
.line 62
|
|
.line 63
|
|
iput-boolean p4, p1, Lcom/google/android/material/appbar/AppBarLayout;->i:Z
|
|
|
|
.line 64
|
|
.line 65
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
move-result p2
|
|
|
|
.line 69
|
|
move p5, p4
|
|
|
|
.line 70
|
|
:goto_1
|
|
if-ge p5, p2, :cond_2
|
|
|
|
.line 71
|
|
.line 72
|
|
invoke-virtual {p0, p5}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
.line 73
|
|
.line 74
|
|
.line 75
|
|
move-result-object v0
|
|
|
|
.line 76
|
|
invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 77
|
|
.line 78
|
|
.line 79
|
|
move-result-object v0
|
|
|
|
.line 80
|
|
check-cast v0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
|
|
.line 81
|
|
.line 82
|
|
iget-object v0, v0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->c:Landroid/view/animation/Interpolator;
|
|
|
|
.line 83
|
|
.line 84
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 85
|
|
.line 86
|
|
iput-boolean p3, p1, Lcom/google/android/material/appbar/AppBarLayout;->i:Z
|
|
|
|
.line 87
|
|
.line 88
|
|
goto :goto_2
|
|
|
|
.line 89
|
|
:cond_1
|
|
add-int/lit8 p5, p5, 0x1
|
|
|
|
.line 90
|
|
.line 91
|
|
goto :goto_1
|
|
|
|
.line 92
|
|
:cond_2
|
|
:goto_2
|
|
iget-object p2, p1, Lcom/google/android/material/appbar/AppBarLayout;->B:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 93
|
|
.line 94
|
|
if-eqz p2, :cond_3
|
|
|
|
.line 95
|
|
.line 96
|
|
invoke-virtual {p0}, Landroid/view/View;->getWidth()I
|
|
|
|
.line 97
|
|
.line 98
|
|
.line 99
|
|
move-result p5
|
|
|
|
.line 100
|
|
invoke-virtual {p0}, Lcom/google/android/material/appbar/AppBarLayout;->getTopInset()I
|
|
|
|
.line 101
|
|
.line 102
|
|
.line 103
|
|
move-result v0
|
|
|
|
.line 104
|
|
invoke-virtual {p2, p4, p4, p5, v0}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
|
|
|
|
.line 105
|
|
.line 106
|
|
.line 107
|
|
:cond_3
|
|
iget-boolean p2, p1, Lcom/google/android/material/appbar/AppBarLayout;->m:Z
|
|
|
|
.line 108
|
|
.line 109
|
|
if-nez p2, :cond_7
|
|
|
|
.line 110
|
|
.line 111
|
|
iget-boolean p2, p1, Lcom/google/android/material/appbar/AppBarLayout;->p:Z
|
|
|
|
.line 112
|
|
.line 113
|
|
if-nez p2, :cond_6
|
|
|
|
.line 114
|
|
.line 115
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 116
|
|
.line 117
|
|
.line 118
|
|
move-result p2
|
|
|
|
.line 119
|
|
move p5, p4
|
|
|
|
.line 120
|
|
:goto_3
|
|
if-ge p5, p2, :cond_5
|
|
|
|
.line 121
|
|
.line 122
|
|
invoke-virtual {p0, p5}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
.line 123
|
|
.line 124
|
|
.line 125
|
|
move-result-object v0
|
|
|
|
.line 126
|
|
invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 127
|
|
.line 128
|
|
.line 129
|
|
move-result-object v0
|
|
|
|
.line 130
|
|
check-cast v0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
|
|
|
|
.line 131
|
|
.line 132
|
|
iget v0, v0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->a:I
|
|
|
|
.line 133
|
|
.line 134
|
|
and-int/lit8 v1, v0, 0x1
|
|
|
|
.line 135
|
|
.line 136
|
|
if-ne v1, p3, :cond_4
|
|
|
|
.line 137
|
|
.line 138
|
|
and-int/lit8 v0, v0, 0xa
|
|
|
|
.line 139
|
|
.line 140
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 141
|
|
.line 142
|
|
goto :goto_4
|
|
|
|
.line 143
|
|
:cond_4
|
|
add-int/lit8 p5, p5, 0x1
|
|
|
|
.line 144
|
|
.line 145
|
|
goto :goto_3
|
|
|
|
.line 146
|
|
:cond_5
|
|
move p3, p4
|
|
|
|
.line 147
|
|
:cond_6
|
|
:goto_4
|
|
iget-boolean p2, p1, Lcom/google/android/material/appbar/AppBarLayout;->n:Z
|
|
|
|
.line 148
|
|
.line 149
|
|
if-eq p2, p3, :cond_7
|
|
|
|
.line 150
|
|
.line 151
|
|
iput-boolean p3, p1, Lcom/google/android/material/appbar/AppBarLayout;->n:Z
|
|
|
|
.line 152
|
|
.line 153
|
|
invoke-virtual {p0}, Landroid/view/View;->refreshDrawableState()V
|
|
|
|
.line 154
|
|
.line 155
|
|
.line 156
|
|
:cond_7
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onMeasure(II)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
invoke-super {p0, p1, p2}, Landroid/widget/LinearLayout;->onMeasure(II)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getMode(I)I
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result p1
|
|
|
|
.line 8
|
|
const/high16 v0, 0x40000000 # 2.0f
|
|
|
|
.line 9
|
|
.line 10
|
|
if-eq p1, v0, :cond_2
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-virtual {p0}, Landroid/view/View;->getFitsSystemWindows()Z
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result v0
|
|
|
|
.line 16
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
move-result v0
|
|
|
|
.line 22
|
|
if-lez v0, :cond_2
|
|
|
|
.line 23
|
|
.line 24
|
|
const/4 v0, 0x0
|
|
|
|
.line 25
|
|
invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result-object v1
|
|
|
|
.line 29
|
|
invoke-virtual {v1}, Landroid/view/View;->getVisibility()I
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result v2
|
|
|
|
.line 33
|
|
const/16 v3, 0x8
|
|
|
|
.line 34
|
|
.line 35
|
|
if-eq v2, v3, :cond_2
|
|
|
|
.line 36
|
|
.line 37
|
|
invoke-virtual {v1}, Landroid/view/View;->getFitsSystemWindows()Z
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
move-result v1
|
|
|
|
.line 41
|
|
if-nez v1, :cond_2
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-virtual {p0}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
move-result v1
|
|
|
|
.line 47
|
|
const/high16 v2, -0x80000000
|
|
|
|
.line 48
|
|
.line 49
|
|
if-eq p1, v2, :cond_1
|
|
|
|
.line 50
|
|
.line 51
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 52
|
|
.line 53
|
|
goto :goto_0
|
|
|
|
.line 54
|
|
:cond_0
|
|
invoke-virtual {p0}, Lcom/google/android/material/appbar/AppBarLayout;->getTopInset()I
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
move-result p1
|
|
|
|
.line 58
|
|
add-int/2addr v1, p1
|
|
|
|
.line 59
|
|
goto :goto_0
|
|
|
|
.line 60
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
.line 61
|
|
.line 62
|
|
.line 63
|
|
move-result p1
|
|
|
|
.line 64
|
|
invoke-virtual {p0}, Lcom/google/android/material/appbar/AppBarLayout;->getTopInset()I
|
|
|
|
.line 65
|
|
.line 66
|
|
.line 67
|
|
move-result v1
|
|
|
|
.line 68
|
|
add-int/2addr v1, p1
|
|
|
|
.line 69
|
|
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I
|
|
|
|
.line 70
|
|
.line 71
|
|
.line 72
|
|
move-result p1
|
|
|
|
.line 73
|
|
invoke-static {v1, v0, p1}, Landroidx/core/math/MathUtils;->b(III)I
|
|
|
|
.line 74
|
|
.line 75
|
|
.line 76
|
|
move-result v1
|
|
|
|
.line 77
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
.line 78
|
|
.line 79
|
|
.line 80
|
|
move-result p1
|
|
|
|
.line 81
|
|
invoke-virtual {p0, p1, v1}, Landroid/view/View;->setMeasuredDimension(II)V
|
|
|
|
.line 82
|
|
.line 83
|
|
.line 84
|
|
:cond_2
|
|
invoke-virtual {p0}, Lcom/google/android/material/appbar/AppBarLayout;->d()V
|
|
|
|
.line 85
|
|
.line 86
|
|
.line 87
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBackground(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
instance-of v1, p1, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
move-object v1, p1
|
|
|
|
.line 10
|
|
check-cast v1, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 11
|
|
.line 12
|
|
goto :goto_0
|
|
|
|
.line 13
|
|
:cond_0
|
|
invoke-static {p1}, Lcom/google/android/material/drawable/DrawableUtils;->d(Landroid/graphics/drawable/Drawable;)Landroid/content/res/ColorStateList;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-object v1
|
|
|
|
.line 17
|
|
if-nez v1, :cond_1
|
|
|
|
.line 18
|
|
.line 19
|
|
const/4 v1, 0x0
|
|
|
|
.line 20
|
|
goto :goto_0
|
|
|
|
.line 21
|
|
:cond_1
|
|
new-instance v2, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-direct {v2}, Lcom/google/android/material/shape/MaterialShapeDrawable;-><init>()V
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
invoke-virtual {v2, v1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->o(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
move-object v1, v2
|
|
|
|
.line 30
|
|
:goto_0
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 31
|
|
.line 32
|
|
iget-object v2, v1, Lcom/google/android/material/shape/MaterialShapeDrawable;->f:Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;
|
|
|
|
.line 33
|
|
.line 34
|
|
iget-object v2, v2, Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;->d:Landroid/content/res/ColorStateList;
|
|
|
|
.line 35
|
|
.line 36
|
|
if-nez v2, :cond_2
|
|
|
|
.line 37
|
|
.line 38
|
|
goto :goto_2
|
|
|
|
.line 39
|
|
:cond_2
|
|
invoke-virtual {v2}, Landroid/content/res/ColorStateList;->getDefaultColor()I
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
move-result p1
|
|
|
|
.line 43
|
|
iput p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->A:I
|
|
|
|
.line 44
|
|
.line 45
|
|
iget-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->q:Landroid/content/res/ColorStateList;
|
|
|
|
.line 46
|
|
.line 47
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 48
|
|
.line 49
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 50
|
|
.line 51
|
|
.line 52
|
|
move-result-object v0
|
|
|
|
.line 53
|
|
sget v2, Lcom/google/android/material/R$attr;->colorSurface:I
|
|
|
|
.line 54
|
|
.line 55
|
|
invoke-static {v0, v2}, Lcom/google/android/material/color/MaterialColors;->d(Landroid/content/Context;I)Ljava/lang/Integer;
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
move-result-object v0
|
|
|
|
.line 59
|
|
new-instance v2, Lcom/google/android/material/appbar/a;
|
|
|
|
.line 60
|
|
.line 61
|
|
invoke-direct {v2, p0, p1, v1, v0}, Lcom/google/android/material/appbar/a;-><init>(Lcom/google/android/material/appbar/AppBarLayout;Landroid/content/res/ColorStateList;Lcom/google/android/material/shape/MaterialShapeDrawable;Ljava/lang/Integer;)V
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
iput-object v2, p0, Lcom/google/android/material/appbar/AppBarLayout;->u:Landroid/animation/ValueAnimator$AnimatorUpdateListener;
|
|
|
|
.line 65
|
|
.line 66
|
|
:goto_1
|
|
move-object p1, v1
|
|
|
|
.line 67
|
|
goto :goto_2
|
|
|
|
.line 68
|
|
:cond_3
|
|
invoke-virtual {v1, v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->l(Landroid/content/Context;)V
|
|
|
|
.line 69
|
|
.line 70
|
|
.line 71
|
|
new-instance p1, Landroidx/core/view/f;
|
|
|
|
.line 72
|
|
.line 73
|
|
const/4 v0, 0x1
|
|
|
|
.line 74
|
|
invoke-direct {p1, v0, p0, v1}, Landroidx/core/view/f;-><init>(ILjava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
.line 75
|
|
.line 76
|
|
.line 77
|
|
iput-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->u:Landroid/animation/ValueAnimator$AnimatorUpdateListener;
|
|
|
|
.line 78
|
|
.line 79
|
|
goto :goto_1
|
|
|
|
.line 80
|
|
:cond_4
|
|
:goto_2
|
|
invoke-super {p0, p1}, Landroid/widget/LinearLayout;->setBackground(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 81
|
|
.line 82
|
|
.line 83
|
|
return-void
|
|
.end method
|
|
|
|
.method public setElevation(F)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/LinearLayout;->setElevation(F)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-static {p0, p1}, Lcom/google/android/material/shape/MaterialShapeUtils;->b(Landroid/view/ViewGroup;F)V
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
return-void
|
|
.end method
|
|
|
|
.method public setExpanded(Z)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->isLaidOut()Z
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
const/4 v1, 0x1
|
|
|
|
.line 6
|
|
invoke-virtual {p0, p1, v0, v1}, Lcom/google/android/material/appbar/AppBarLayout;->f(ZZZ)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
return-void
|
|
.end method
|
|
|
|
.method public setLiftOnScroll(Z)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-boolean p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->p:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return-void
|
|
.end method
|
|
|
|
.method public setLiftOnScrollColor(Landroid/content/res/ColorStateList;)V
|
|
.locals 1
|
|
.param p1 # Landroid/content/res/ColorStateList;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->q:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iput-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->q:Landroid/content/res/ColorStateList;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result-object p1
|
|
|
|
.line 11
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/appbar/AppBarLayout;->setBackground(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setLiftOnScrollTargetView(Landroid/view/View;)V
|
|
.locals 1
|
|
.param p1 # Landroid/view/View;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
const/4 v0, -0x1
|
|
|
|
.line 2
|
|
iput v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->r:I
|
|
|
|
.line 3
|
|
.line 4
|
|
if-nez p1, :cond_1
|
|
|
|
.line 5
|
|
.line 6
|
|
iget-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->s:Ljava/lang/ref/WeakReference;
|
|
|
|
.line 7
|
|
.line 8
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {p1}, Ljava/lang/ref/Reference;->clear()V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
.line 14
|
|
iput-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->s:Ljava/lang/ref/WeakReference;
|
|
|
|
.line 15
|
|
.line 16
|
|
return-void
|
|
|
|
.line 17
|
|
:cond_1
|
|
new-instance v0, Ljava/lang/ref/WeakReference;
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
iput-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->s:Ljava/lang/ref/WeakReference;
|
|
|
|
.line 23
|
|
.line 24
|
|
return-void
|
|
.end method
|
|
|
|
.method public setLiftOnScrollTargetViewId(I)V
|
|
.locals 0
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/IdRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iput p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->r:I
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->s:Ljava/lang/ref/WeakReference;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p1}, Ljava/lang/ref/Reference;->clear()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
.line 11
|
|
iput-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->s:Ljava/lang/ref/WeakReference;
|
|
|
|
.line 12
|
|
.line 13
|
|
return-void
|
|
.end method
|
|
|
|
.method public setLiftableOverrideEnabled(Z)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-boolean p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->m:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return-void
|
|
.end method
|
|
|
|
.method public setOrientation(I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
const/4 v0, 0x1
|
|
|
|
.line 2
|
|
if-ne p1, v0, :cond_0
|
|
|
|
.line 3
|
|
.line 4
|
|
invoke-super {p0, p1}, Landroid/widget/LinearLayout;->setOrientation(I)V
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
return-void
|
|
|
|
.line 8
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 9
|
|
.line 10
|
|
const-string v0, "AppBarLayout is always vertical and does not support horizontal orientation"
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setPendingAction(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->j:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return-void
|
|
.end method
|
|
|
|
.method public setStatusBarForeground(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 3
|
|
.param p1 # Landroid/graphics/drawable/Drawable;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->B:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_8
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v1, 0x0
|
|
|
|
.line 6
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
:cond_0
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-object p1
|
|
|
|
.line 17
|
|
goto :goto_0
|
|
|
|
.line 18
|
|
:cond_1
|
|
move-object p1, v1
|
|
|
|
.line 19
|
|
:goto_0
|
|
iput-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->B:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 20
|
|
.line 21
|
|
instance-of v0, p1, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 22
|
|
.line 23
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 24
|
|
.line 25
|
|
check-cast p1, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 26
|
|
.line 27
|
|
iget p1, p1, Lcom/google/android/material/shape/MaterialShapeDrawable;->z:I
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object v1
|
|
|
|
.line 33
|
|
goto :goto_1
|
|
|
|
.line 34
|
|
:cond_2
|
|
invoke-static {p1}, Lcom/google/android/material/drawable/DrawableUtils;->d(Landroid/graphics/drawable/Drawable;)Landroid/content/res/ColorStateList;
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
move-result-object p1
|
|
|
|
.line 38
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 39
|
|
.line 40
|
|
invoke-virtual {p1}, Landroid/content/res/ColorStateList;->getDefaultColor()I
|
|
|
|
.line 41
|
|
.line 42
|
|
.line 43
|
|
move-result p1
|
|
|
|
.line 44
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
move-result-object v1
|
|
|
|
.line 48
|
|
:cond_3
|
|
:goto_1
|
|
iput-object v1, p0, Lcom/google/android/material/appbar/AppBarLayout;->C:Ljava/lang/Integer;
|
|
|
|
.line 49
|
|
.line 50
|
|
iget-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->B:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 51
|
|
.line 52
|
|
const/4 v0, 0x1
|
|
|
|
.line 53
|
|
const/4 v1, 0x0
|
|
|
|
.line 54
|
|
if-eqz p1, :cond_6
|
|
|
|
.line 55
|
|
.line 56
|
|
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->isStateful()Z
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
move-result p1
|
|
|
|
.line 60
|
|
if-eqz p1, :cond_4
|
|
|
|
.line 61
|
|
.line 62
|
|
iget-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->B:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 63
|
|
.line 64
|
|
invoke-virtual {p0}, Landroid/view/View;->getDrawableState()[I
|
|
|
|
.line 65
|
|
.line 66
|
|
.line 67
|
|
move-result-object v2
|
|
|
|
.line 68
|
|
invoke-virtual {p1, v2}, Landroid/graphics/drawable/Drawable;->setState([I)Z
|
|
|
|
.line 69
|
|
.line 70
|
|
.line 71
|
|
:cond_4
|
|
iget-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->B:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 72
|
|
.line 73
|
|
invoke-virtual {p0}, Landroid/view/View;->getLayoutDirection()I
|
|
|
|
.line 74
|
|
.line 75
|
|
.line 76
|
|
move-result v2
|
|
|
|
.line 77
|
|
invoke-virtual {p1, v2}, Landroid/graphics/drawable/Drawable;->setLayoutDirection(I)Z
|
|
|
|
.line 78
|
|
.line 79
|
|
.line 80
|
|
iget-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->B:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 81
|
|
.line 82
|
|
invoke-virtual {p0}, Landroid/view/View;->getVisibility()I
|
|
|
|
.line 83
|
|
.line 84
|
|
.line 85
|
|
move-result v2
|
|
|
|
.line 86
|
|
if-nez v2, :cond_5
|
|
|
|
.line 87
|
|
.line 88
|
|
move v2, v0
|
|
|
|
.line 89
|
|
goto :goto_2
|
|
|
|
.line 90
|
|
:cond_5
|
|
move v2, v1
|
|
|
|
.line 91
|
|
:goto_2
|
|
invoke-virtual {p1, v2, v1}, Landroid/graphics/drawable/Drawable;->setVisible(ZZ)Z
|
|
|
|
.line 92
|
|
.line 93
|
|
.line 94
|
|
iget-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->B:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 95
|
|
.line 96
|
|
invoke-virtual {p1, p0}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
|
|
|
|
.line 97
|
|
.line 98
|
|
.line 99
|
|
:cond_6
|
|
iget-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout;->B:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 100
|
|
.line 101
|
|
if-eqz p1, :cond_7
|
|
|
|
.line 102
|
|
.line 103
|
|
invoke-virtual {p0}, Lcom/google/android/material/appbar/AppBarLayout;->getTopInset()I
|
|
|
|
.line 104
|
|
.line 105
|
|
.line 106
|
|
move-result p1
|
|
|
|
.line 107
|
|
if-lez p1, :cond_7
|
|
|
|
.line 108
|
|
.line 109
|
|
move v1, v0
|
|
|
|
.line 110
|
|
:cond_7
|
|
xor-int/lit8 p1, v1, 0x1
|
|
|
|
.line 111
|
|
.line 112
|
|
invoke-virtual {p0, p1}, Landroid/view/View;->setWillNotDraw(Z)V
|
|
|
|
.line 113
|
|
.line 114
|
|
.line 115
|
|
invoke-virtual {p0}, Landroid/view/View;->postInvalidateOnAnimation()V
|
|
|
|
.line 116
|
|
.line 117
|
|
.line 118
|
|
:cond_8
|
|
return-void
|
|
.end method
|
|
|
|
.method public setStatusBarForegroundColor(I)V
|
|
.locals 1
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
new-instance v0, Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0, p1}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {p0, v0}, Lcom/google/android/material/appbar/AppBarLayout;->setStatusBarForeground(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
return-void
|
|
.end method
|
|
|
|
.method public setStatusBarForegroundResource(I)V
|
|
.locals 1
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/DrawableRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
invoke-static {v0, p1}, Landroidx/appcompat/content/res/AppCompatResources;->a(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object p1
|
|
|
|
.line 9
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/appbar/AppBarLayout;->setStatusBarForeground(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTargetElevation(F)V
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lcom/google/android/material/appbar/ViewUtilsLollipop;->a(Lcom/google/android/material/appbar/AppBarLayout;F)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
return-void
|
|
.end method
|
|
|
|
.method public setVisibility(I)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/LinearLayout;->setVisibility(I)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
const/4 v0, 0x0
|
|
|
|
.line 5
|
|
if-nez p1, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 p1, 0x1
|
|
|
|
.line 8
|
|
goto :goto_0
|
|
|
|
.line 9
|
|
:cond_0
|
|
move p1, v0
|
|
|
|
.line 10
|
|
:goto_0
|
|
iget-object v1, p0, Lcom/google/android/material/appbar/AppBarLayout;->B:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 11
|
|
.line 12
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-virtual {v1, p1, v0}, Landroid/graphics/drawable/Drawable;->setVisible(ZZ)Z
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public final verifyDrawable(Landroid/graphics/drawable/Drawable;)Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/LinearLayout;->verifyDrawable(Landroid/graphics/drawable/Drawable;)Z
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
if-nez v0, :cond_1
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout;->B:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 8
|
|
.line 9
|
|
if-ne p1, v0, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
goto :goto_0
|
|
|
|
.line 12
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
.line 13
|
|
return p1
|
|
|
|
.line 14
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
.line 15
|
|
return p1
|
|
.end method
|