* 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>
2433 lines
49 KiB
Smali
2433 lines
49 KiB
Smali
.class public Lcom/google/android/material/bottomappbar/BottomAppBar;
|
|
.super Landroidx/appcompat/widget/Toolbar;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroidx/coordinatorlayout/widget/CoordinatorLayout$AttachedBehavior;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;,
|
|
Lcom/google/android/material/bottomappbar/BottomAppBar$AnimationListener;,
|
|
Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;,
|
|
Lcom/google/android/material/bottomappbar/BottomAppBar$MenuAlignmentMode;,
|
|
Lcom/google/android/material/bottomappbar/BottomAppBar$FabAnimationMode;,
|
|
Lcom/google/android/material/bottomappbar/BottomAppBar$FabAnchorMode;,
|
|
Lcom/google/android/material/bottomappbar/BottomAppBar$FabAlignmentMode;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final m0:I
|
|
|
|
.field public static final n0:I
|
|
|
|
|
|
# instance fields
|
|
.field public b0:Ljava/lang/Integer;
|
|
|
|
.field public c0:Landroid/animation/AnimatorSet;
|
|
|
|
.field public d0:Landroid/animation/AnimatorSet;
|
|
|
|
.field public e0:I
|
|
|
|
.field public f0:I
|
|
|
|
.field public g0:I
|
|
|
|
.field public h0:I
|
|
|
|
.field public i0:I
|
|
|
|
.field public j0:Z
|
|
|
|
.field public k0:Z
|
|
|
|
.field public l0:Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget v0, Lcom/google/android/material/R$attr;->motionDurationLong2:I
|
|
|
|
.line 2
|
|
.line 3
|
|
sput v0, Lcom/google/android/material/bottomappbar/BottomAppBar;->m0:I
|
|
|
|
.line 4
|
|
.line 5
|
|
sget v0, Lcom/google/android/material/R$attr;->motionEasingEmphasizedInterpolator:I
|
|
|
|
.line 6
|
|
.line 7
|
|
sput v0, Lcom/google/android/material/bottomappbar/BottomAppBar;->n0:I
|
|
|
|
.line 8
|
|
.line 9
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic A(Lcom/google/android/material/bottomappbar/BottomAppBar;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getLeftInset()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result p0
|
|
|
|
.line 5
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic B(Lcom/google/android/material/bottomappbar/BottomAppBar;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getRightInset()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result p0
|
|
|
|
.line 5
|
|
return p0
|
|
.end method
|
|
|
|
.method private getActionMenuView()Landroidx/appcompat/widget/ActionMenuView;
|
|
.locals 3
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 3
|
|
.line 4
|
|
.line 5
|
|
move-result v1
|
|
|
|
.line 6
|
|
if-ge v0, v1, :cond_1
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result-object v1
|
|
|
|
.line 12
|
|
instance-of v2, v1, Landroidx/appcompat/widget/ActionMenuView;
|
|
|
|
.line 13
|
|
.line 14
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 15
|
|
.line 16
|
|
check-cast v1, Landroidx/appcompat/widget/ActionMenuView;
|
|
|
|
.line 17
|
|
.line 18
|
|
return-object v1
|
|
|
|
.line 19
|
|
:cond_0
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
.line 20
|
|
.line 21
|
|
goto :goto_0
|
|
|
|
.line 22
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
.line 23
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private getBottomInset()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
throw v0
|
|
.end method
|
|
|
|
.method private getFabAlignmentAnimationDuration()I
|
|
.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
|
|
sget v1, Lcom/google/android/material/bottomappbar/BottomAppBar;->m0:I
|
|
|
|
.line 6
|
|
.line 7
|
|
const/16 v2, 0x12c
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-static {v0, v1, v2}, Lcom/google/android/material/motion/MotionUtils;->c(Landroid/content/Context;II)I
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result v0
|
|
|
|
.line 13
|
|
return v0
|
|
.end method
|
|
|
|
.method private getFabTranslationX()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->e0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0, v0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->E(I)F
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v0
|
|
|
|
.line 7
|
|
return v0
|
|
.end method
|
|
|
|
.method private getFabTranslationY()F
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->g0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x1
|
|
|
|
.line 4
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object v0
|
|
|
|
.line 10
|
|
iget v0, v0, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->g:F
|
|
|
|
.line 11
|
|
.line 12
|
|
neg-float v0, v0
|
|
|
|
.line 13
|
|
return v0
|
|
|
|
.line 14
|
|
:cond_0
|
|
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->C()Landroid/view/View;
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object v0
|
|
|
|
.line 18
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-virtual {p0}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result v1
|
|
|
|
.line 24
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getBottomInset()I
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
move-result v2
|
|
|
|
.line 28
|
|
add-int/2addr v1, v2
|
|
|
|
.line 29
|
|
invoke-virtual {v0}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result v0
|
|
|
|
.line 33
|
|
sub-int/2addr v1, v0
|
|
|
|
.line 34
|
|
neg-int v0, v1
|
|
|
|
.line 35
|
|
div-int/lit8 v0, v0, 0x2
|
|
|
|
.line 36
|
|
.line 37
|
|
goto :goto_0
|
|
|
|
.line 38
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
.line 39
|
|
:goto_0
|
|
int-to-float v0, v0
|
|
|
|
.line 40
|
|
return v0
|
|
.end method
|
|
|
|
.method private getLeftInset()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
throw v0
|
|
.end method
|
|
|
|
.method private getRightInset()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
throw v0
|
|
.end method
|
|
|
|
.method private getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static synthetic z(Lcom/google/android/material/bottomappbar/BottomAppBar;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getBottomInset()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result p0
|
|
|
|
.line 5
|
|
return p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final C()Landroid/view/View;
|
|
.locals 5
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
instance-of v0, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-nez v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
goto :goto_0
|
|
|
|
.line 10
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result-object v0
|
|
|
|
.line 14
|
|
check-cast v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;
|
|
|
|
.line 15
|
|
.line 16
|
|
iget-object v1, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->f:Landroidx/coordinatorlayout/widget/DirectedAcyclicGraph;
|
|
|
|
.line 17
|
|
.line 18
|
|
iget-object v1, v1, Landroidx/coordinatorlayout/widget/DirectedAcyclicGraph;->b:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-virtual {v1, p0}, Landroidx/collection/SimpleArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result-object v1
|
|
|
|
.line 24
|
|
check-cast v1, Ljava/util/List;
|
|
|
|
.line 25
|
|
.line 26
|
|
iget-object v0, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->h:Ljava/util/ArrayList;
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 32
|
|
.line 33
|
|
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
:cond_1
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
move-result v1
|
|
|
|
.line 40
|
|
const/4 v2, 0x0
|
|
|
|
.line 41
|
|
:cond_2
|
|
if-ge v2, v1, :cond_4
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
move-result-object v3
|
|
|
|
.line 47
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
.line 48
|
|
.line 49
|
|
check-cast v3, Landroid/view/View;
|
|
|
|
.line 50
|
|
.line 51
|
|
instance-of v4, v3, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;
|
|
|
|
.line 52
|
|
.line 53
|
|
if-nez v4, :cond_3
|
|
|
|
.line 54
|
|
.line 55
|
|
instance-of v4, v3, Lcom/google/android/material/floatingactionbutton/ExtendedFloatingActionButton;
|
|
|
|
.line 56
|
|
.line 57
|
|
if-eqz v4, :cond_2
|
|
|
|
.line 58
|
|
.line 59
|
|
:cond_3
|
|
return-object v3
|
|
|
|
.line 60
|
|
:cond_4
|
|
:goto_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 61
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final D(Landroidx/appcompat/widget/ActionMenuView;IZ)I
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->i0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x0
|
|
|
|
.line 4
|
|
const/4 v2, 0x1
|
|
|
|
.line 5
|
|
if-eq v0, v2, :cond_1
|
|
|
|
.line 6
|
|
.line 7
|
|
if-ne p2, v2, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
if-nez p3, :cond_1
|
|
|
|
.line 10
|
|
.line 11
|
|
:cond_0
|
|
return v1
|
|
|
|
.line 12
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroid/view/View;->getLayoutDirection()I
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result p2
|
|
|
|
.line 16
|
|
if-ne p2, v2, :cond_2
|
|
|
|
.line 17
|
|
.line 18
|
|
goto :goto_0
|
|
|
|
.line 19
|
|
:cond_2
|
|
move v2, v1
|
|
|
|
.line 20
|
|
:goto_0
|
|
if-eqz v2, :cond_3
|
|
|
|
.line 21
|
|
.line 22
|
|
invoke-virtual {p0}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result p2
|
|
|
|
.line 26
|
|
goto :goto_1
|
|
|
|
.line 27
|
|
:cond_3
|
|
move p2, v1
|
|
|
|
.line 28
|
|
:goto_1
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result p3
|
|
|
|
.line 32
|
|
if-ge v1, p3, :cond_6
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-virtual {p0, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
move-result-object p3
|
|
|
|
.line 38
|
|
invoke-virtual {p3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
move-result-object v0
|
|
|
|
.line 42
|
|
instance-of v0, v0, Landroidx/appcompat/widget/Toolbar$LayoutParams;
|
|
|
|
.line 43
|
|
.line 44
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 45
|
|
.line 46
|
|
invoke-virtual {p3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
move-result-object v0
|
|
|
|
.line 50
|
|
check-cast v0, Landroidx/appcompat/widget/Toolbar$LayoutParams;
|
|
|
|
.line 51
|
|
.line 52
|
|
iget v0, v0, Landroidx/appcompat/app/ActionBar$LayoutParams;->a:I
|
|
|
|
.line 53
|
|
.line 54
|
|
const v3, 0x800007
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
and-int/2addr v0, v3
|
|
|
|
.line 58
|
|
const v3, 0x800003
|
|
|
|
.line 59
|
|
.line 60
|
|
.line 61
|
|
if-ne v0, v3, :cond_5
|
|
|
|
.line 62
|
|
.line 63
|
|
if-eqz v2, :cond_4
|
|
|
|
.line 64
|
|
.line 65
|
|
invoke-virtual {p3}, Landroid/view/View;->getLeft()I
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
move-result p3
|
|
|
|
.line 69
|
|
invoke-static {p2, p3}, Ljava/lang/Math;->min(II)I
|
|
|
|
.line 70
|
|
.line 71
|
|
.line 72
|
|
move-result p2
|
|
|
|
.line 73
|
|
goto :goto_2
|
|
|
|
.line 74
|
|
:cond_4
|
|
invoke-virtual {p3}, Landroid/view/View;->getRight()I
|
|
|
|
.line 75
|
|
.line 76
|
|
.line 77
|
|
move-result p3
|
|
|
|
.line 78
|
|
invoke-static {p2, p3}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 79
|
|
.line 80
|
|
.line 81
|
|
move-result p2
|
|
|
|
.line 82
|
|
:cond_5
|
|
:goto_2
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
.line 83
|
|
.line 84
|
|
goto :goto_1
|
|
|
|
.line 85
|
|
:cond_6
|
|
if-eqz v2, :cond_7
|
|
|
|
.line 86
|
|
.line 87
|
|
invoke-virtual {p1}, Landroid/view/View;->getRight()I
|
|
|
|
.line 88
|
|
.line 89
|
|
.line 90
|
|
goto :goto_3
|
|
|
|
.line 91
|
|
:cond_7
|
|
invoke-virtual {p1}, Landroid/view/View;->getLeft()I
|
|
|
|
.line 92
|
|
.line 93
|
|
.line 94
|
|
:goto_3
|
|
const/4 p1, 0x0
|
|
|
|
.line 95
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final E(I)F
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->getLayoutDirection()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
const/4 v1, 0x1
|
|
|
|
.line 6
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
move v0, v1
|
|
|
|
.line 9
|
|
goto :goto_0
|
|
|
|
.line 10
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 11
|
|
:goto_0
|
|
if-ne p1, v1, :cond_1
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->C()Landroid/view/View;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
const/4 p1, 0x0
|
|
|
|
.line 17
|
|
throw p1
|
|
|
|
.line 18
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
.line 19
|
|
return p1
|
|
.end method
|
|
|
|
.method public final F()Z
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->C()Landroid/view/View;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
instance-of v1, v0, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
check-cast v0, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;
|
|
|
|
.line 10
|
|
.line 11
|
|
goto :goto_0
|
|
|
|
.line 12
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 13
|
|
:goto_0
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {v0}, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;->h()Z
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result v0
|
|
|
|
.line 19
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 20
|
|
.line 21
|
|
const/4 v0, 0x1
|
|
|
|
.line 22
|
|
return v0
|
|
|
|
.line 23
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
.line 24
|
|
return v0
|
|
.end method
|
|
|
|
.method public final G()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getFabTranslationX()F
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
iget-boolean v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->k0:Z
|
|
|
|
.line 12
|
|
.line 13
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->F()Z
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result v0
|
|
|
|
.line 19
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 20
|
|
.line 21
|
|
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->g0:I
|
|
|
|
.line 22
|
|
.line 23
|
|
const/4 v1, 0x1
|
|
|
|
.line 24
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 25
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final H(Landroidx/appcompat/widget/ActionMenuView;IZZ)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/android/material/bottomappbar/BottomAppBar$8;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0, p0, p1, p2, p3}, Lcom/google/android/material/bottomappbar/BottomAppBar$8;-><init>(Lcom/google/android/material/bottomappbar/BottomAppBar;Landroidx/appcompat/widget/ActionMenuView;IZ)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
if-eqz p4, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->post(Ljava/lang/Runnable;)Z
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
return-void
|
|
|
|
.line 12
|
|
:cond_0
|
|
invoke-virtual {v0}, Lcom/google/android/material/bottomappbar/BottomAppBar$8;->run()V
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
return-void
|
|
.end method
|
|
|
|
.method public getBackgroundTint()Landroid/content/res/ColorStateList;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
throw v0
|
|
.end method
|
|
|
|
.method public bridge synthetic getBehavior()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getBehavior()Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getBehavior()Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->l0:Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 3
|
|
new-instance v0, Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;
|
|
|
|
invoke-direct {v0}, Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->l0:Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;
|
|
|
|
.line 4
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->l0:Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getCradleVerticalOffset()F
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Dimension;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
iget v0, v0, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->g:F
|
|
|
|
.line 6
|
|
.line 7
|
|
return v0
|
|
.end method
|
|
|
|
.method public getFabAlignmentMode()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->e0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getFabAlignmentModeEndMargin()I
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Px;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->h0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getFabAnchorMode()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->g0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getFabAnimationMode()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->f0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getFabCradleMargin()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
iget v0, v0, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->f:F
|
|
|
|
.line 6
|
|
.line 7
|
|
return v0
|
|
.end method
|
|
|
|
.method public getFabCradleRoundedCornerRadius()F
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Dimension;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
iget v0, v0, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->c:F
|
|
|
|
.line 6
|
|
.line 7
|
|
return v0
|
|
.end method
|
|
|
|
.method public getHideOnScroll()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->j0:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getMenuAlignmentMode()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->i0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public final onAttachedToWindow()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroidx/appcompat/widget/Toolbar;->onAttachedToWindow()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
const/4 v0, 0x0
|
|
|
|
.line 5
|
|
invoke-static {p0, v0}, Lcom/google/android/material/shape/MaterialShapeUtils;->c(Landroid/view/View;Lcom/google/android/material/shape/MaterialShapeDrawable;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final onLayout(ZIIII)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-super/range {p0 .. p5}, Landroidx/appcompat/widget/Toolbar;->onLayout(ZIIII)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move p2, p1
|
|
|
|
.line 5
|
|
move-object p1, p0
|
|
|
|
.line 6
|
|
if-nez p2, :cond_2
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getActionMenuView()Landroidx/appcompat/widget/ActionMenuView;
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result-object p2
|
|
|
|
.line 12
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 13
|
|
.line 14
|
|
iget-object p3, p1, Lcom/google/android/material/bottomappbar/BottomAppBar;->d0:Landroid/animation/AnimatorSet;
|
|
|
|
.line 15
|
|
.line 16
|
|
if-nez p3, :cond_1
|
|
|
|
.line 17
|
|
.line 18
|
|
const/high16 p3, 0x3f800000 # 1.0f
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-virtual {p2, p3}, Landroid/view/View;->setAlpha(F)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->F()Z
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result p3
|
|
|
|
.line 27
|
|
const/4 p4, 0x0
|
|
|
|
.line 28
|
|
if-nez p3, :cond_0
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-virtual {p0, p2, p4, p4, p4}, Lcom/google/android/material/bottomappbar/BottomAppBar;->H(Landroidx/appcompat/widget/ActionMenuView;IZZ)V
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
return-void
|
|
|
|
.line 34
|
|
:cond_0
|
|
iget p3, p1, Lcom/google/android/material/bottomappbar/BottomAppBar;->e0:I
|
|
|
|
.line 35
|
|
.line 36
|
|
iget-boolean p5, p1, Lcom/google/android/material/bottomappbar/BottomAppBar;->k0:Z
|
|
|
|
.line 37
|
|
.line 38
|
|
invoke-virtual {p0, p2, p3, p5, p4}, Lcom/google/android/material/bottomappbar/BottomAppBar;->H(Landroidx/appcompat/widget/ActionMenuView;IZZ)V
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
:cond_1
|
|
return-void
|
|
|
|
.line 42
|
|
:cond_2
|
|
iget-object p2, p1, Lcom/google/android/material/bottomappbar/BottomAppBar;->d0:Landroid/animation/AnimatorSet;
|
|
|
|
.line 43
|
|
.line 44
|
|
if-eqz p2, :cond_3
|
|
|
|
.line 45
|
|
.line 46
|
|
invoke-virtual {p2}, Landroid/animation/Animator;->cancel()V
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
:cond_3
|
|
iget-object p2, p1, Lcom/google/android/material/bottomappbar/BottomAppBar;->c0:Landroid/animation/AnimatorSet;
|
|
|
|
.line 50
|
|
.line 51
|
|
if-eqz p2, :cond_4
|
|
|
|
.line 52
|
|
.line 53
|
|
invoke-virtual {p2}, Landroid/animation/Animator;->cancel()V
|
|
|
|
.line 54
|
|
.line 55
|
|
.line 56
|
|
:cond_4
|
|
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->G()V
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
const/4 p2, 0x0
|
|
|
|
.line 60
|
|
throw p2
|
|
.end method
|
|
|
|
.method public final onRestoreInstanceState(Landroid/os/Parcelable;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
instance-of v0, p1, Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-super {p0, p1}, Landroidx/appcompat/widget/Toolbar;->onRestoreInstanceState(Landroid/os/Parcelable;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
return-void
|
|
|
|
.line 9
|
|
:cond_0
|
|
check-cast p1, Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v0, p1, Landroidx/customview/view/AbsSavedState;->c:Landroid/os/Parcelable;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-super {p0, v0}, Landroidx/appcompat/widget/Toolbar;->onRestoreInstanceState(Landroid/os/Parcelable;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
iget v0, p1, Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;->g:I
|
|
|
|
.line 17
|
|
.line 18
|
|
iput v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->e0:I
|
|
|
|
.line 19
|
|
.line 20
|
|
iget-boolean p1, p1, Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;->h:Z
|
|
|
|
.line 21
|
|
.line 22
|
|
iput-boolean p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->k0:Z
|
|
|
|
.line 23
|
|
.line 24
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onSaveInstanceState()Landroid/os/Parcelable;
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroidx/appcompat/widget/Toolbar;->onSaveInstanceState()Landroid/os/Parcelable;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
new-instance v1, Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-direct {v1, v0}, Landroidx/customview/view/AbsSavedState;-><init>(Landroid/os/Parcelable;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->e0:I
|
|
|
|
.line 11
|
|
.line 12
|
|
iput v0, v1, Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;->g:I
|
|
|
|
.line 13
|
|
.line 14
|
|
iget-boolean v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->k0:Z
|
|
|
|
.line 15
|
|
.line 16
|
|
iput-boolean v0, v1, Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;->h:Z
|
|
|
|
.line 17
|
|
.line 18
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public setBackgroundTint(Landroid/content/res/ColorStateList;)V
|
|
.locals 0
|
|
.param p1 # Landroid/content/res/ColorStateList;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
const/4 p1, 0x0
|
|
|
|
.line 2
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setCradleVerticalOffset(F)V
|
|
.locals 2
|
|
.param p1 # F
|
|
.annotation build Landroidx/annotation/Dimension;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getCradleVerticalOffset()F
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
cmpl-float v0, p1, v0
|
|
|
|
.line 6
|
|
.line 7
|
|
if-nez v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
return-void
|
|
|
|
.line 10
|
|
:cond_0
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result-object v0
|
|
|
|
.line 14
|
|
const/4 v1, 0x0
|
|
|
|
.line 15
|
|
cmpg-float v1, p1, v1
|
|
|
|
.line 16
|
|
.line 17
|
|
if-ltz v1, :cond_1
|
|
|
|
.line 18
|
|
.line 19
|
|
iput p1, v0, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->g:F
|
|
|
|
.line 20
|
|
.line 21
|
|
const/4 p1, 0x0
|
|
|
|
.line 22
|
|
throw p1
|
|
|
|
.line 23
|
|
:cond_1
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 27
|
|
.line 28
|
|
const-string v0, "cradleVerticalOffset must be positive."
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setElevation(F)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
const/4 p1, 0x0
|
|
|
|
.line 2
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setFabAlignmentMode(I)V
|
|
.locals 12
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->k0:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/view/View;->isLaidOut()Z
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v1
|
|
|
|
.line 7
|
|
const/4 v2, 0x1
|
|
|
|
.line 8
|
|
const/4 v3, 0x0
|
|
|
|
.line 9
|
|
if-nez v1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
goto/16 :goto_2
|
|
|
|
.line 12
|
|
.line 13
|
|
:cond_0
|
|
iget-object v1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->d0:Landroid/animation/AnimatorSet;
|
|
|
|
.line 14
|
|
.line 15
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-virtual {v1}, Landroid/animation/Animator;->cancel()V
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
:cond_1
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
.line 21
|
|
.line 22
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->F()Z
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result v4
|
|
|
|
.line 29
|
|
if-nez v4, :cond_2
|
|
|
|
.line 30
|
|
.line 31
|
|
move v0, v3
|
|
|
|
.line 32
|
|
move v4, v0
|
|
|
|
.line 33
|
|
goto :goto_0
|
|
|
|
.line 34
|
|
:cond_2
|
|
move v4, p1
|
|
|
|
.line 35
|
|
:goto_0
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getActionMenuView()Landroidx/appcompat/widget/ActionMenuView;
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result-object v5
|
|
|
|
.line 39
|
|
if-nez v5, :cond_3
|
|
|
|
.line 40
|
|
.line 41
|
|
goto :goto_1
|
|
|
|
.line 42
|
|
:cond_3
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getFabAlignmentAnimationDuration()I
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
move-result v6
|
|
|
|
.line 46
|
|
int-to-float v6, v6
|
|
|
|
.line 47
|
|
new-array v7, v2, [F
|
|
|
|
.line 48
|
|
.line 49
|
|
const/high16 v8, 0x3f800000 # 1.0f
|
|
|
|
.line 50
|
|
.line 51
|
|
aput v8, v7, v3
|
|
|
|
.line 52
|
|
.line 53
|
|
const-string v9, "alpha"
|
|
|
|
.line 54
|
|
.line 55
|
|
invoke-static {v5, v9, v7}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
move-result-object v7
|
|
|
|
.line 59
|
|
const v10, 0x3f4ccccd # 0.8f
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
mul-float/2addr v10, v6
|
|
|
|
.line 63
|
|
float-to-long v10, v10
|
|
|
|
.line 64
|
|
invoke-virtual {v7, v10, v11}, Landroid/animation/Animator;->setDuration(J)Landroid/animation/Animator;
|
|
|
|
.line 65
|
|
.line 66
|
|
.line 67
|
|
invoke-virtual {v5}, Landroid/view/View;->getTranslationX()F
|
|
|
|
.line 68
|
|
.line 69
|
|
.line 70
|
|
move-result v10
|
|
|
|
.line 71
|
|
invoke-virtual {p0, v5, v4, v0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->D(Landroidx/appcompat/widget/ActionMenuView;IZ)I
|
|
|
|
.line 72
|
|
.line 73
|
|
.line 74
|
|
int-to-float v11, v3
|
|
|
|
.line 75
|
|
sub-float/2addr v10, v11
|
|
|
|
.line 76
|
|
invoke-static {v10}, Ljava/lang/Math;->abs(F)F
|
|
|
|
.line 77
|
|
.line 78
|
|
.line 79
|
|
move-result v10
|
|
|
|
.line 80
|
|
cmpl-float v10, v10, v8
|
|
|
|
.line 81
|
|
.line 82
|
|
if-lez v10, :cond_4
|
|
|
|
.line 83
|
|
.line 84
|
|
new-array v8, v2, [F
|
|
|
|
.line 85
|
|
.line 86
|
|
const/4 v10, 0x0
|
|
|
|
.line 87
|
|
aput v10, v8, v3
|
|
|
|
.line 88
|
|
.line 89
|
|
invoke-static {v5, v9, v8}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;
|
|
|
|
.line 90
|
|
.line 91
|
|
.line 92
|
|
move-result-object v8
|
|
|
|
.line 93
|
|
const v9, 0x3e4ccccd # 0.2f
|
|
|
|
.line 94
|
|
.line 95
|
|
.line 96
|
|
mul-float/2addr v6, v9
|
|
|
|
.line 97
|
|
float-to-long v9, v6
|
|
|
|
.line 98
|
|
invoke-virtual {v8, v9, v10}, Landroid/animation/Animator;->setDuration(J)Landroid/animation/Animator;
|
|
|
|
.line 99
|
|
.line 100
|
|
.line 101
|
|
new-instance v6, Lcom/google/android/material/bottomappbar/BottomAppBar$7;
|
|
|
|
.line 102
|
|
.line 103
|
|
invoke-direct {v6, p0, v5, v4, v0}, Lcom/google/android/material/bottomappbar/BottomAppBar$7;-><init>(Lcom/google/android/material/bottomappbar/BottomAppBar;Landroidx/appcompat/widget/ActionMenuView;IZ)V
|
|
|
|
.line 104
|
|
.line 105
|
|
.line 106
|
|
invoke-virtual {v8, v6}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
|
|
|
|
.line 107
|
|
.line 108
|
|
.line 109
|
|
new-instance v0, Landroid/animation/AnimatorSet;
|
|
|
|
.line 110
|
|
.line 111
|
|
invoke-direct {v0}, Landroid/animation/AnimatorSet;-><init>()V
|
|
|
|
.line 112
|
|
.line 113
|
|
.line 114
|
|
const/4 v4, 0x2
|
|
|
|
.line 115
|
|
new-array v4, v4, [Landroid/animation/Animator;
|
|
|
|
.line 116
|
|
.line 117
|
|
aput-object v8, v4, v3
|
|
|
|
.line 118
|
|
.line 119
|
|
aput-object v7, v4, v2
|
|
|
|
.line 120
|
|
.line 121
|
|
invoke-virtual {v0, v4}, Landroid/animation/AnimatorSet;->playSequentially([Landroid/animation/Animator;)V
|
|
|
|
.line 122
|
|
.line 123
|
|
.line 124
|
|
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 125
|
|
.line 126
|
|
.line 127
|
|
goto :goto_1
|
|
|
|
.line 128
|
|
:cond_4
|
|
invoke-virtual {v5}, Landroid/view/View;->getAlpha()F
|
|
|
|
.line 129
|
|
.line 130
|
|
.line 131
|
|
move-result v0
|
|
|
|
.line 132
|
|
cmpg-float v0, v0, v8
|
|
|
|
.line 133
|
|
.line 134
|
|
if-gez v0, :cond_5
|
|
|
|
.line 135
|
|
.line 136
|
|
invoke-virtual {v1, v7}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 137
|
|
.line 138
|
|
.line 139
|
|
:cond_5
|
|
:goto_1
|
|
new-instance v0, Landroid/animation/AnimatorSet;
|
|
|
|
.line 140
|
|
.line 141
|
|
invoke-direct {v0}, Landroid/animation/AnimatorSet;-><init>()V
|
|
|
|
.line 142
|
|
.line 143
|
|
.line 144
|
|
invoke-virtual {v0, v1}, Landroid/animation/AnimatorSet;->playTogether(Ljava/util/Collection;)V
|
|
|
|
.line 145
|
|
.line 146
|
|
.line 147
|
|
iput-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->d0:Landroid/animation/AnimatorSet;
|
|
|
|
.line 148
|
|
.line 149
|
|
new-instance v1, Lcom/google/android/material/bottomappbar/BottomAppBar$6;
|
|
|
|
.line 150
|
|
.line 151
|
|
invoke-direct {v1, p0}, Lcom/google/android/material/bottomappbar/BottomAppBar$6;-><init>(Lcom/google/android/material/bottomappbar/BottomAppBar;)V
|
|
|
|
.line 152
|
|
.line 153
|
|
.line 154
|
|
invoke-virtual {v0, v1}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
|
|
|
|
.line 155
|
|
.line 156
|
|
.line 157
|
|
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->d0:Landroid/animation/AnimatorSet;
|
|
|
|
.line 158
|
|
.line 159
|
|
invoke-virtual {v0}, Landroid/animation/Animator;->start()V
|
|
|
|
.line 160
|
|
.line 161
|
|
.line 162
|
|
:goto_2
|
|
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->e0:I
|
|
|
|
.line 163
|
|
.line 164
|
|
if-eq v0, p1, :cond_d
|
|
|
|
.line 165
|
|
.line 166
|
|
invoke-virtual {p0}, Landroid/view/View;->isLaidOut()Z
|
|
|
|
.line 167
|
|
.line 168
|
|
.line 169
|
|
move-result v0
|
|
|
|
.line 170
|
|
if-nez v0, :cond_6
|
|
|
|
.line 171
|
|
.line 172
|
|
goto/16 :goto_4
|
|
|
|
.line 173
|
|
.line 174
|
|
:cond_6
|
|
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->c0:Landroid/animation/AnimatorSet;
|
|
|
|
.line 175
|
|
.line 176
|
|
if-eqz v0, :cond_7
|
|
|
|
.line 177
|
|
.line 178
|
|
invoke-virtual {v0}, Landroid/animation/Animator;->cancel()V
|
|
|
|
.line 179
|
|
.line 180
|
|
.line 181
|
|
:cond_7
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
.line 182
|
|
.line 183
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 184
|
|
.line 185
|
|
.line 186
|
|
iget v1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->f0:I
|
|
|
|
.line 187
|
|
.line 188
|
|
const/4 v4, 0x0
|
|
|
|
.line 189
|
|
if-ne v1, v2, :cond_9
|
|
|
|
.line 190
|
|
.line 191
|
|
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->C()Landroid/view/View;
|
|
|
|
.line 192
|
|
.line 193
|
|
.line 194
|
|
move-result-object v1
|
|
|
|
.line 195
|
|
instance-of v5, v1, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;
|
|
|
|
.line 196
|
|
.line 197
|
|
if-eqz v5, :cond_8
|
|
|
|
.line 198
|
|
.line 199
|
|
move-object v4, v1
|
|
|
|
.line 200
|
|
check-cast v4, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;
|
|
|
|
.line 201
|
|
.line 202
|
|
:cond_8
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/bottomappbar/BottomAppBar;->E(I)F
|
|
|
|
.line 203
|
|
.line 204
|
|
.line 205
|
|
move-result v1
|
|
|
|
.line 206
|
|
new-array v2, v2, [F
|
|
|
|
.line 207
|
|
.line 208
|
|
aput v1, v2, v3
|
|
|
|
.line 209
|
|
.line 210
|
|
const-string v1, "translationX"
|
|
|
|
.line 211
|
|
.line 212
|
|
invoke-static {v4, v1, v2}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;
|
|
|
|
.line 213
|
|
.line 214
|
|
.line 215
|
|
move-result-object v1
|
|
|
|
.line 216
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getFabAlignmentAnimationDuration()I
|
|
|
|
.line 217
|
|
.line 218
|
|
.line 219
|
|
move-result v2
|
|
|
|
.line 220
|
|
int-to-long v2, v2
|
|
|
|
.line 221
|
|
invoke-virtual {v1, v2, v3}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;
|
|
|
|
.line 222
|
|
.line 223
|
|
.line 224
|
|
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 225
|
|
.line 226
|
|
.line 227
|
|
goto :goto_3
|
|
|
|
.line 228
|
|
:cond_9
|
|
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->C()Landroid/view/View;
|
|
|
|
.line 229
|
|
.line 230
|
|
.line 231
|
|
move-result-object v1
|
|
|
|
.line 232
|
|
instance-of v3, v1, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;
|
|
|
|
.line 233
|
|
.line 234
|
|
if-eqz v3, :cond_a
|
|
|
|
.line 235
|
|
.line 236
|
|
move-object v4, v1
|
|
|
|
.line 237
|
|
check-cast v4, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;
|
|
|
|
.line 238
|
|
.line 239
|
|
:cond_a
|
|
if-eqz v4, :cond_c
|
|
|
|
.line 240
|
|
.line 241
|
|
invoke-virtual {v4}, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;->g()Z
|
|
|
|
.line 242
|
|
.line 243
|
|
.line 244
|
|
move-result v1
|
|
|
|
.line 245
|
|
if-eqz v1, :cond_b
|
|
|
|
.line 246
|
|
.line 247
|
|
goto :goto_3
|
|
|
|
.line 248
|
|
:cond_b
|
|
new-instance v1, Lcom/google/android/material/bottomappbar/BottomAppBar$5;
|
|
|
|
.line 249
|
|
.line 250
|
|
invoke-direct {v1, p0, p1}, Lcom/google/android/material/bottomappbar/BottomAppBar$5;-><init>(Lcom/google/android/material/bottomappbar/BottomAppBar;I)V
|
|
|
|
.line 251
|
|
.line 252
|
|
.line 253
|
|
invoke-virtual {v4, v1, v2}, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;->f(Lcom/google/android/material/floatingactionbutton/FloatingActionButton$OnVisibilityChangedListener;Z)V
|
|
|
|
.line 254
|
|
.line 255
|
|
.line 256
|
|
:cond_c
|
|
:goto_3
|
|
new-instance v1, Landroid/animation/AnimatorSet;
|
|
|
|
.line 257
|
|
.line 258
|
|
invoke-direct {v1}, Landroid/animation/AnimatorSet;-><init>()V
|
|
|
|
.line 259
|
|
.line 260
|
|
.line 261
|
|
invoke-virtual {v1, v0}, Landroid/animation/AnimatorSet;->playTogether(Ljava/util/Collection;)V
|
|
|
|
.line 262
|
|
.line 263
|
|
.line 264
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 265
|
|
.line 266
|
|
.line 267
|
|
move-result-object v0
|
|
|
|
.line 268
|
|
sget v2, Lcom/google/android/material/bottomappbar/BottomAppBar;->n0:I
|
|
|
|
.line 269
|
|
.line 270
|
|
sget-object v3, Lcom/google/android/material/animation/AnimationUtils;->a:Landroid/view/animation/LinearInterpolator;
|
|
|
|
.line 271
|
|
.line 272
|
|
invoke-static {v0, v2, v3}, Lcom/google/android/material/motion/MotionUtils;->d(Landroid/content/Context;ILandroid/animation/TimeInterpolator;)Landroid/animation/TimeInterpolator;
|
|
|
|
.line 273
|
|
.line 274
|
|
.line 275
|
|
move-result-object v0
|
|
|
|
.line 276
|
|
invoke-virtual {v1, v0}, Landroid/animation/AnimatorSet;->setInterpolator(Landroid/animation/TimeInterpolator;)V
|
|
|
|
.line 277
|
|
.line 278
|
|
.line 279
|
|
iput-object v1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->c0:Landroid/animation/AnimatorSet;
|
|
|
|
.line 280
|
|
.line 281
|
|
new-instance v0, Lcom/google/android/material/bottomappbar/BottomAppBar$4;
|
|
|
|
.line 282
|
|
.line 283
|
|
invoke-direct {v0, p0}, Lcom/google/android/material/bottomappbar/BottomAppBar$4;-><init>(Lcom/google/android/material/bottomappbar/BottomAppBar;)V
|
|
|
|
.line 284
|
|
.line 285
|
|
.line 286
|
|
invoke-virtual {v1, v0}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
|
|
|
|
.line 287
|
|
.line 288
|
|
.line 289
|
|
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->c0:Landroid/animation/AnimatorSet;
|
|
|
|
.line 290
|
|
.line 291
|
|
invoke-virtual {v0}, Landroid/animation/Animator;->start()V
|
|
|
|
.line 292
|
|
.line 293
|
|
.line 294
|
|
:cond_d
|
|
:goto_4
|
|
iput p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->e0:I
|
|
|
|
.line 295
|
|
.line 296
|
|
return-void
|
|
.end method
|
|
|
|
.method public setFabAlignmentModeEndMargin(I)V
|
|
.locals 1
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/Px;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->h0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
if-ne v0, p1, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
return-void
|
|
|
|
.line 6
|
|
:cond_0
|
|
iput p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->h0:I
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->G()V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
const/4 p1, 0x0
|
|
|
|
.line 12
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setFabAnchorMode(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->g0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->G()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 p1, 0x0
|
|
|
|
.line 7
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setFabAnimationMode(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->f0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return-void
|
|
.end method
|
|
|
|
.method public setFabCornerSize(F)V
|
|
.locals 1
|
|
.param p1 # F
|
|
.annotation build Landroidx/annotation/Dimension;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
iget v0, v0, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->h:F
|
|
|
|
.line 6
|
|
.line 7
|
|
cmpl-float v0, p1, v0
|
|
|
|
.line 8
|
|
.line 9
|
|
if-nez v0, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
return-void
|
|
|
|
.line 12
|
|
:cond_0
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result-object v0
|
|
|
|
.line 16
|
|
iput p1, v0, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->h:F
|
|
|
|
.line 17
|
|
.line 18
|
|
const/4 p1, 0x0
|
|
|
|
.line 19
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setFabCradleMargin(F)V
|
|
.locals 1
|
|
.param p1 # F
|
|
.annotation build Landroidx/annotation/Dimension;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getFabCradleMargin()F
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
cmpl-float v0, p1, v0
|
|
|
|
.line 6
|
|
.line 7
|
|
if-nez v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
return-void
|
|
|
|
.line 10
|
|
:cond_0
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result-object v0
|
|
|
|
.line 14
|
|
iput p1, v0, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->f:F
|
|
|
|
.line 15
|
|
.line 16
|
|
const/4 p1, 0x0
|
|
|
|
.line 17
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setFabCradleRoundedCornerRadius(F)V
|
|
.locals 1
|
|
.param p1 # F
|
|
.annotation build Landroidx/annotation/Dimension;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getFabCradleRoundedCornerRadius()F
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
cmpl-float v0, p1, v0
|
|
|
|
.line 6
|
|
.line 7
|
|
if-nez v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
return-void
|
|
|
|
.line 10
|
|
:cond_0
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result-object v0
|
|
|
|
.line 14
|
|
iput p1, v0, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->c:F
|
|
|
|
.line 15
|
|
.line 16
|
|
const/4 p1, 0x0
|
|
|
|
.line 17
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setHideOnScroll(Z)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-boolean p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->j0:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return-void
|
|
.end method
|
|
|
|
.method public setMenuAlignmentMode(I)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->i0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iput p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->i0:I
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getActionMenuView()Landroidx/appcompat/widget/ActionMenuView;
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result-object p1
|
|
|
|
.line 11
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->e0:I
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->F()Z
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result v1
|
|
|
|
.line 19
|
|
const/4 v2, 0x0
|
|
|
|
.line 20
|
|
invoke-virtual {p0, p1, v0, v1, v2}, Lcom/google/android/material/bottomappbar/BottomAppBar;->H(Landroidx/appcompat/widget/ActionMenuView;IZZ)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setNavigationIcon(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 1
|
|
.param p1 # Landroid/graphics/drawable/Drawable;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->b0:Ljava/lang/Integer;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result-object p1
|
|
|
|
.line 11
|
|
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->b0:Ljava/lang/Integer;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result v0
|
|
|
|
.line 17
|
|
invoke-virtual {p1, v0}, Landroid/graphics/drawable/Drawable;->setTint(I)V
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
:cond_0
|
|
invoke-super {p0, p1}, Landroidx/appcompat/widget/Toolbar;->setNavigationIcon(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
return-void
|
|
.end method
|
|
|
|
.method public setNavigationIconTint(I)V
|
|
.locals 0
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object p1
|
|
|
|
.line 5
|
|
iput-object p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->b0:Ljava/lang/Integer;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/Toolbar;->getNavigationIcon()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result-object p1
|
|
|
|
.line 11
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/bottomappbar/BottomAppBar;->setNavigationIcon(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSubtitle(Ljava/lang/CharSequence;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTitle(Ljava/lang/CharSequence;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|