BottomAppBar.smali
.class public Lcom/google/android/material/bottomappbar/BottomAppBar;
.super Landroidx/appcompat/widget/Toolbar;
.source "BottomAppBar.java"
# interfaces
.implements Landroidx/coordinatorlayout/widget/CoordinatorLayout$AttachedBehavior;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;,
Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;,
Lcom/google/android/material/bottomappbar/BottomAppBar$AnimationListener;,
Lcom/google/android/material/bottomappbar/BottomAppBar$FabAnimationMode;,
Lcom/google/android/material/bottomappbar/BottomAppBar$FabAlignmentMode;
}
.end annotation
# static fields
.field private static final ANIMATION_DURATION:J = 0x12cL
.field private static final DEF_STYLE_RES:I
.field public static final FAB_ALIGNMENT_MODE_CENTER:I = 0x0
.field public static final FAB_ALIGNMENT_MODE_END:I = 0x1
.field public static final FAB_ANIMATION_MODE_SCALE:I = 0x0
.field public static final FAB_ANIMATION_MODE_SLIDE:I = 0x1
.field private static final NO_MENU_RES_ID:I
# instance fields
.field private animatingModeChangeCounter:I
.field private animationListeners:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Lcom/google/android/material/bottomappbar/BottomAppBar$AnimationListener;",
">;"
}
.end annotation
.end field
.field private behavior:Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;
.field private bottomInset:I
.field private fabAlignmentMode:I
.field fabAnimationListener:Landroid/animation/AnimatorListenerAdapter;
.field private fabAnimationMode:I
.field private fabAttached:Z
.field private final fabOffsetEndMode:I
.field fabTransformationCallback:Lcom/google/android/material/animation/TransformationCallback;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/android/material/animation/TransformationCallback<",
"Lcom/google/android/material/floatingactionbutton/FloatingActionButton;",
">;"
}
.end annotation
.end field
.field private hideOnScroll:Z
.field private leftInset:I
.field private final materialShapeDrawable:Lcom/google/android/material/shape/MaterialShapeDrawable;
.field private menuAnimatingWithFabAlignmentMode:Z
.field private menuAnimator:Landroid/animation/Animator;
.field private modeAnimator:Landroid/animation/Animator;
.field private final paddingBottomSystemWindowInsets:Z
.field private final paddingLeftSystemWindowInsets:Z
.field private final paddingRightSystemWindowInsets:Z
.field private pendingMenuResId:I
.field private rightInset:I
# direct methods
.method static constructor <clinit>()V
.registers 1
.line 110
sget v0, Lcom/google/android/material/R$style;->Widget_MaterialComponents_BottomAppBar:I
sput v0, Lcom/google/android/material/bottomappbar/BottomAppBar;->DEF_STYLE_RES:I
return-void
.end method
.method public constructor <init>(Landroid/content/Context;)V
.registers 4
const/4 v0, 0x0
const/4 v1, 0x0
.line 235
invoke-direct {p0, p1, v0, v1}, Lcom/google/android/material/bottomappbar/BottomAppBar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.registers 4
.line 239
sget v0, Lcom/google/android/material/R$attr;->bottomAppBarStyle:I
invoke-direct {p0, p1, p2, v0}, Lcom/google/android/material/bottomappbar/BottomAppBar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.registers 14
.line 243
sget v6, Lcom/google/android/material/bottomappbar/BottomAppBar;->DEF_STYLE_RES:I
invoke-static {p1, p2, p3, v6}, Lcom/google/android/material/theme/overlay/MaterialThemeOverlay;->wrap(Landroid/content/Context;Landroid/util/AttributeSet;II)Landroid/content/Context;
move-result-object p1
invoke-direct {p0, p1, p2, p3}, Landroidx/appcompat/widget/Toolbar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.line 139
new-instance p1, Lcom/google/android/material/shape/MaterialShapeDrawable;
invoke-direct {p1}, Lcom/google/android/material/shape/MaterialShapeDrawable;-><init>()V
iput-object p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->materialShapeDrawable:Lcom/google/android/material/shape/MaterialShapeDrawable;
const/4 v7, 0x0
.line 151
iput v7, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->animatingModeChangeCounter:I
.line 162
iput v7, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->pendingMenuResId:I
.line 163
iput-boolean v7, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->menuAnimatingWithFabAlignmentMode:Z
const/4 v0, 0x1
.line 178
iput-boolean v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAttached:Z
.line 190
new-instance v0, Lcom/google/android/material/bottomappbar/BottomAppBar$1;
invoke-direct {v0, p0}, Lcom/google/android/material/bottomappbar/BottomAppBar$1;-><init>(Lcom/google/android/material/bottomappbar/BottomAppBar;)V
iput-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAnimationListener:Landroid/animation/AnimatorListenerAdapter;
.line 206
new-instance v0, Lcom/google/android/material/bottomappbar/BottomAppBar$2;
invoke-direct {v0, p0}, Lcom/google/android/material/bottomappbar/BottomAppBar$2;-><init>(Lcom/google/android/material/bottomappbar/BottomAppBar;)V
iput-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabTransformationCallback:Lcom/google/android/material/animation/TransformationCallback;
.line 245
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getContext()Landroid/content/Context;
move-result-object v8
.line 247
sget-object v2, Lcom/google/android/material/R$styleable;->BottomAppBar:[I
new-array v5, v7, [I
move-object v0, v8
move-object v1, p2
move v3, p3
move v4, v6
.line 248
invoke-static/range {v0 .. v5}, Lcom/google/android/material/internal/ThemeEnforcement;->obtainStyledAttributes(Landroid/content/Context;Landroid/util/AttributeSet;[III[I)Landroid/content/res/TypedArray;
move-result-object v0
.line 251
sget v1, Lcom/google/android/material/R$styleable;->BottomAppBar_backgroundTint:I
.line 252
invoke-static {v8, v0, v1}, Lcom/google/android/material/resources/MaterialResources;->getColorStateList(Landroid/content/Context;Landroid/content/res/TypedArray;I)Landroid/content/res/ColorStateList;
move-result-object v1
.line 254
sget v2, Lcom/google/android/material/R$styleable;->BottomAppBar_elevation:I
invoke-virtual {v0, v2, v7}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
move-result v2
.line 255
sget v3, Lcom/google/android/material/R$styleable;->BottomAppBar_fabCradleMargin:I
invoke-virtual {v0, v3, v7}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I
move-result v3
int-to-float v3, v3
.line 256
sget v4, Lcom/google/android/material/R$styleable;->BottomAppBar_fabCradleRoundedCornerRadius:I
.line 257
invoke-virtual {v0, v4, v7}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I
move-result v4
int-to-float v4, v4
.line 258
sget v5, Lcom/google/android/material/R$styleable;->BottomAppBar_fabCradleVerticalOffset:I
.line 259
invoke-virtual {v0, v5, v7}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I
move-result v5
int-to-float v5, v5
.line 260
sget v9, Lcom/google/android/material/R$styleable;->BottomAppBar_fabAlignmentMode:I
.line 261
invoke-virtual {v0, v9, v7}, Landroid/content/res/TypedArray;->getInt(II)I
move-result v9
iput v9, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAlignmentMode:I
.line 262
sget v9, Lcom/google/android/material/R$styleable;->BottomAppBar_fabAnimationMode:I
.line 263
invoke-virtual {v0, v9, v7}, Landroid/content/res/TypedArray;->getInt(II)I
move-result v9
iput v9, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAnimationMode:I
.line 264
sget v9, Lcom/google/android/material/R$styleable;->BottomAppBar_hideOnScroll:I
invoke-virtual {v0, v9, v7}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v9
iput-boolean v9, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->hideOnScroll:Z
.line 266
sget v9, Lcom/google/android/material/R$styleable;->BottomAppBar_paddingBottomSystemWindowInsets:I
.line 267
invoke-virtual {v0, v9, v7}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v9
iput-boolean v9, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->paddingBottomSystemWindowInsets:Z
.line 268
sget v9, Lcom/google/android/material/R$styleable;->BottomAppBar_paddingLeftSystemWindowInsets:I
.line 269
invoke-virtual {v0, v9, v7}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v9
iput-boolean v9, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->paddingLeftSystemWindowInsets:Z
.line 270
sget v9, Lcom/google/android/material/R$styleable;->BottomAppBar_paddingRightSystemWindowInsets:I
.line 271
invoke-virtual {v0, v9, v7}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v7
iput-boolean v7, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->paddingRightSystemWindowInsets:Z
.line 273
invoke-virtual {v0}, Landroid/content/res/TypedArray;->recycle()V
.line 276
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getResources()Landroid/content/res/Resources;
move-result-object v0
sget v7, Lcom/google/android/material/R$dimen;->mtrl_bottomappbar_fabOffsetEndMode:I
invoke-virtual {v0, v7}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I
move-result v0
iput v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabOffsetEndMode:I
.line 278
new-instance v0, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
invoke-direct {v0, v3, v4, v5}, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;-><init>(FFF)V
.line 281
invoke-static {}, Lcom/google/android/material/shape/ShapeAppearanceModel;->builder()Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
move-result-object v3
invoke-virtual {v3, v0}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->setTopEdge(Lcom/google/android/material/shape/EdgeTreatment;)Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
move-result-object v0
invoke-virtual {v0}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->build()Lcom/google/android/material/shape/ShapeAppearanceModel;
move-result-object v0
.line 282
invoke-virtual {p1, v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->setShapeAppearanceModel(Lcom/google/android/material/shape/ShapeAppearanceModel;)V
const/4 v0, 0x2
.line 283
invoke-virtual {p1, v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->setShadowCompatibilityMode(I)V
.line 284
sget-object v0, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;
invoke-virtual {p1, v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->setPaintStyle(Landroid/graphics/Paint$Style;)V
.line 285
invoke-virtual {p1, v8}, Lcom/google/android/material/shape/MaterialShapeDrawable;->initializeElevationOverlay(Landroid/content/Context;)V
int-to-float v0, v2
.line 286
invoke-virtual {p0, v0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->setElevation(F)V
.line 287
invoke-static {p1, v1}, Landroidx/core/graphics/drawable/DrawableCompat;->setTintList(Landroid/graphics/drawable/Drawable;Landroid/content/res/ColorStateList;)V
.line 288
invoke-static {p0, p1}, Landroidx/core/view/ViewCompat;->setBackground(Landroid/view/View;Landroid/graphics/drawable/Drawable;)V
.line 290
new-instance p1, Lcom/google/android/material/bottomappbar/BottomAppBar$3;
invoke-direct {p1, p0}, Lcom/google/android/material/bottomappbar/BottomAppBar$3;-><init>(Lcom/google/android/material/bottomappbar/BottomAppBar;)V
invoke-static {p0, p2, p3, v6, p1}, Lcom/google/android/material/internal/ViewUtils;->doOnApplyWindowInsets(Landroid/view/View;Landroid/util/AttributeSet;IILcom/google/android/material/internal/ViewUtils$OnApplyWindowInsetsListener;)V
return-void
.end method
.method static synthetic access$000(Lcom/google/android/material/bottomappbar/BottomAppBar;)Z
.registers 1
.line 108
iget-boolean p0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->menuAnimatingWithFabAlignmentMode:Z
return p0
.end method
.method static synthetic access$002(Lcom/google/android/material/bottomappbar/BottomAppBar;Z)Z
.registers 2
.line 108
iput-boolean p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->menuAnimatingWithFabAlignmentMode:Z
return p1
.end method
.method static synthetic access$100(Lcom/google/android/material/bottomappbar/BottomAppBar;)I
.registers 1
.line 108
iget p0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAlignmentMode:I
return p0
.end method
.method static synthetic access$1000(Lcom/google/android/material/bottomappbar/BottomAppBar;)Z
.registers 1
.line 108
iget-boolean p0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->paddingRightSystemWindowInsets:Z
return p0
.end method
.method static synthetic access$1100(Lcom/google/android/material/bottomappbar/BottomAppBar;)I
.registers 1
.line 108
iget p0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->rightInset:I
return p0
.end method
.method static synthetic access$1102(Lcom/google/android/material/bottomappbar/BottomAppBar;I)I
.registers 2
.line 108
iput p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->rightInset:I
return p1
.end method
.method static synthetic access$1200(Lcom/google/android/material/bottomappbar/BottomAppBar;)V
.registers 1
.line 108
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->cancelAnimations()V
return-void
.end method
.method static synthetic access$1300(Lcom/google/android/material/bottomappbar/BottomAppBar;)V
.registers 1
.line 108
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->setCutoutState()V
return-void
.end method
.method static synthetic access$1400(Lcom/google/android/material/bottomappbar/BottomAppBar;)V
.registers 1
.line 108
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->setActionMenuViewPosition()V
return-void
.end method
.method static synthetic access$1500(Lcom/google/android/material/bottomappbar/BottomAppBar;)V
.registers 1
.line 108
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->dispatchAnimationStart()V
return-void
.end method
.method static synthetic access$1600(Lcom/google/android/material/bottomappbar/BottomAppBar;)V
.registers 1
.line 108
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->dispatchAnimationEnd()V
return-void
.end method
.method static synthetic access$1702(Lcom/google/android/material/bottomappbar/BottomAppBar;Landroid/animation/Animator;)Landroid/animation/Animator;
.registers 2
.line 108
iput-object p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->modeAnimator:Landroid/animation/Animator;
return-object p1
.end method
.method static synthetic access$1800(Lcom/google/android/material/bottomappbar/BottomAppBar;I)F
.registers 2
.line 108
invoke-direct {p0, p1}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getFabTranslationX(I)F
move-result p0
return p0
.end method
.method static synthetic access$1902(Lcom/google/android/material/bottomappbar/BottomAppBar;Landroid/animation/Animator;)Landroid/animation/Animator;
.registers 2
.line 108
iput-object p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->menuAnimator:Landroid/animation/Animator;
return-object p1
.end method
.method static synthetic access$200(Lcom/google/android/material/bottomappbar/BottomAppBar;)Z
.registers 1
.line 108
iget-boolean p0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAttached:Z
return p0
.end method
.method static synthetic access$2000(Lcom/google/android/material/bottomappbar/BottomAppBar;)I
.registers 1
.line 108
iget p0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->pendingMenuResId:I
return p0
.end method
.method static synthetic access$2100(Lcom/google/android/material/bottomappbar/BottomAppBar;Landroidx/appcompat/widget/ActionMenuView;IZZ)V
.registers 5
.line 108
invoke-direct {p0, p1, p2, p3, p4}, Lcom/google/android/material/bottomappbar/BottomAppBar;->translateActionMenuView(Landroidx/appcompat/widget/ActionMenuView;IZZ)V
return-void
.end method
.method static synthetic access$2200(Lcom/google/android/material/bottomappbar/BottomAppBar;)Lcom/google/android/material/floatingactionbutton/FloatingActionButton;
.registers 1
.line 108
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->findDependentFab()Lcom/google/android/material/floatingactionbutton/FloatingActionButton;
move-result-object p0
return-object p0
.end method
.method static synthetic access$2300(Lcom/google/android/material/bottomappbar/BottomAppBar;)F
.registers 1
.line 108
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getFabTranslationX()F
move-result p0
return p0
.end method
.method static synthetic access$2700(Lcom/google/android/material/bottomappbar/BottomAppBar;)I
.registers 1
.line 108
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getBottomInset()I
move-result p0
return p0
.end method
.method static synthetic access$2800(Lcom/google/android/material/bottomappbar/BottomAppBar;)I
.registers 1
.line 108
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getLeftInset()I
move-result p0
return p0
.end method
.method static synthetic access$2900(Lcom/google/android/material/bottomappbar/BottomAppBar;)I
.registers 1
.line 108
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getRightInset()I
move-result p0
return p0
.end method
.method static synthetic access$300(Lcom/google/android/material/bottomappbar/BottomAppBar;IZ)V
.registers 3
.line 108
invoke-direct {p0, p1, p2}, Lcom/google/android/material/bottomappbar/BottomAppBar;->maybeAnimateMenuView(IZ)V
return-void
.end method
.method static synthetic access$3000(Lcom/google/android/material/bottomappbar/BottomAppBar;)I
.registers 1
.line 108
iget p0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabOffsetEndMode:I
return p0
.end method
.method static synthetic access$3100(Lcom/google/android/material/bottomappbar/BottomAppBar;)Landroid/view/View;
.registers 1
.line 108
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->findDependentView()Landroid/view/View;
move-result-object p0
return-object p0
.end method
.method static synthetic access$3200(Lcom/google/android/material/bottomappbar/BottomAppBar;Lcom/google/android/material/floatingactionbutton/FloatingActionButton;)V
.registers 2
.line 108
invoke-direct {p0, p1}, Lcom/google/android/material/bottomappbar/BottomAppBar;->addFabAnimationListeners(Lcom/google/android/material/floatingactionbutton/FloatingActionButton;)V
return-void
.end method
.method static synthetic access$400(Lcom/google/android/material/bottomappbar/BottomAppBar;)Lcom/google/android/material/shape/MaterialShapeDrawable;
.registers 1
.line 108
iget-object p0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->materialShapeDrawable:Lcom/google/android/material/shape/MaterialShapeDrawable;
return-object p0
.end method
.method static synthetic access$500(Lcom/google/android/material/bottomappbar/BottomAppBar;)Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
.registers 1
.line 108
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
move-result-object p0
return-object p0
.end method
.method static synthetic access$600(Lcom/google/android/material/bottomappbar/BottomAppBar;)Z
.registers 1
.line 108
iget-boolean p0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->paddingBottomSystemWindowInsets:Z
return p0
.end method
.method static synthetic access$702(Lcom/google/android/material/bottomappbar/BottomAppBar;I)I
.registers 2
.line 108
iput p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->bottomInset:I
return p1
.end method
.method static synthetic access$800(Lcom/google/android/material/bottomappbar/BottomAppBar;)Z
.registers 1
.line 108
iget-boolean p0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->paddingLeftSystemWindowInsets:Z
return p0
.end method
.method static synthetic access$900(Lcom/google/android/material/bottomappbar/BottomAppBar;)I
.registers 1
.line 108
iget p0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->leftInset:I
return p0
.end method
.method static synthetic access$902(Lcom/google/android/material/bottomappbar/BottomAppBar;I)I
.registers 2
.line 108
iput p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->leftInset:I
return p1
.end method
.method private addFabAnimationListeners(Lcom/google/android/material/floatingactionbutton/FloatingActionButton;)V
.registers 3
.line 928
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAnimationListener:Landroid/animation/AnimatorListenerAdapter;
invoke-virtual {p1, v0}, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;->addOnHideAnimationListener(Landroid/animation/Animator$AnimatorListener;)V
.line 929
new-instance v0, Lcom/google/android/material/bottomappbar/BottomAppBar$9;
invoke-direct {v0, p0}, Lcom/google/android/material/bottomappbar/BottomAppBar$9;-><init>(Lcom/google/android/material/bottomappbar/BottomAppBar;)V
invoke-virtual {p1, v0}, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;->addOnShowAnimationListener(Landroid/animation/Animator$AnimatorListener;)V
.line 942
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabTransformationCallback:Lcom/google/android/material/animation/TransformationCallback;
invoke-virtual {p1, v0}, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;->addTransformationCallback(Lcom/google/android/material/animation/TransformationCallback;)V
return-void
.end method
.method private cancelAnimations()V
.registers 2
.line 864
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->menuAnimator:Landroid/animation/Animator;
if-eqz v0, :cond_7
.line 865
invoke-virtual {v0}, Landroid/animation/Animator;->cancel()V
.line 867
:cond_7
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->modeAnimator:Landroid/animation/Animator;
if-eqz v0, :cond_e
.line 868
invoke-virtual {v0}, Landroid/animation/Animator;->cancel()V
:cond_e
return-void
.end method
.method private createFabTranslationXAnimation(ILjava/util/List;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/List<",
"Landroid/animation/Animator;",
">;)V"
}
.end annotation
.line 653
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->findDependentFab()Lcom/google/android/material/floatingactionbutton/FloatingActionButton;
move-result-object v0
const/4 v1, 0x1
new-array v1, v1, [F
invoke-direct {p0, p1}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getFabTranslationX(I)F
move-result p1
const/4 v2, 0x0
aput p1, v1, v2
const-string p1, "translationX"
invoke-static {v0, p1, v1}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;
move-result-object p1
const-wide/16 v0, 0x12c
.line 654
invoke-virtual {p1, v0, v1}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;
.line 655
invoke-interface {p2, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
return-void
.end method
.method private createMenuViewTranslationAnimation(IZLjava/util/List;)V
.registers 12
.annotation system Ldalvik/annotation/Signature;
value = {
"(IZ",
"Ljava/util/List<",
"Landroid/animation/Animator;",
">;)V"
}
.end annotation
.line 706
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getActionMenuView()Landroidx/appcompat/widget/ActionMenuView;
move-result-object v0
if-nez v0, :cond_7
return-void
:cond_7
const/4 v1, 0x1
new-array v2, v1, [F
const/4 v3, 0x0
const/high16 v4, 0x3f800000 # 1.0f
aput v4, v2, v3
const-string v5, "alpha"
.line 713
invoke-static {v0, v5, v2}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;
move-result-object v2
.line 716
invoke-virtual {v0}, Landroidx/appcompat/widget/ActionMenuView;->getTranslationX()F
move-result v6
.line 717
invoke-virtual {p0, v0, p1, p2}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getActionMenuViewTranslationX(Landroidx/appcompat/widget/ActionMenuView;IZ)I
move-result v7
int-to-float v7, v7
sub-float/2addr v6, v7
.line 720
invoke-static {v6}, Ljava/lang/Math;->abs(F)F
move-result v6
cmpl-float v6, v6, v4
if-lez v6, :cond_50
new-array v4, v1, [F
const/4 v6, 0x0
aput v6, v4, v3
.line 722
invoke-static {v0, v5, v4}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;
move-result-object v4
.line 724
new-instance v5, Lcom/google/android/material/bottomappbar/BottomAppBar$7;
invoke-direct {v5, p0, v0, p1, p2}, Lcom/google/android/material/bottomappbar/BottomAppBar$7;-><init>(Lcom/google/android/material/bottomappbar/BottomAppBar;Landroidx/appcompat/widget/ActionMenuView;IZ)V
invoke-virtual {v4, v5}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
.line 743
new-instance p1, Landroid/animation/AnimatorSet;
invoke-direct {p1}, Landroid/animation/AnimatorSet;-><init>()V
const-wide/16 v5, 0x96
.line 744
invoke-virtual {p1, v5, v6}, Landroid/animation/AnimatorSet;->setDuration(J)Landroid/animation/AnimatorSet;
const/4 p2, 0x2
new-array p2, p2, [Landroid/animation/Animator;
aput-object v4, p2, v3
aput-object v2, p2, v1
.line 745
invoke-virtual {p1, p2}, Landroid/animation/AnimatorSet;->playSequentially([Landroid/animation/Animator;)V
.line 746
invoke-interface {p3, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_5b
.line 747
:cond_50
invoke-virtual {v0}, Landroidx/appcompat/widget/ActionMenuView;->getAlpha()F
move-result p1
cmpg-float p1, p1, v4
if-gez p1, :cond_5b
.line 750
invoke-interface {p3, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
:cond_5b
:goto_5b
return-void
.end method
.method private dispatchAnimationEnd()V
.registers 3
.line 531
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->animatingModeChangeCounter:I
add-int/lit8 v0, v0, -0x1
iput v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->animatingModeChangeCounter:I
if-nez v0, :cond_20
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->animationListeners:Ljava/util/ArrayList;
if-eqz v0, :cond_20
.line 533
invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_10
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_20
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/google/android/material/bottomappbar/BottomAppBar$AnimationListener;
.line 534
invoke-interface {v1, p0}, Lcom/google/android/material/bottomappbar/BottomAppBar$AnimationListener;->onAnimationEnd(Lcom/google/android/material/bottomappbar/BottomAppBar;)V
goto :goto_10
:cond_20
return-void
.end method
.method private dispatchAnimationStart()V
.registers 3
.line 522
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->animatingModeChangeCounter:I
add-int/lit8 v1, v0, 0x1
iput v1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->animatingModeChangeCounter:I
if-nez v0, :cond_20
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->animationListeners:Ljava/util/ArrayList;
if-eqz v0, :cond_20
.line 524
invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_10
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_20
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/google/android/material/bottomappbar/BottomAppBar$AnimationListener;
.line 525
invoke-interface {v1, p0}, Lcom/google/android/material/bottomappbar/BottomAppBar$AnimationListener;->onAnimationStart(Lcom/google/android/material/bottomappbar/BottomAppBar;)V
goto :goto_10
:cond_20
return-void
.end method
.method private findDependentFab()Lcom/google/android/material/floatingactionbutton/FloatingActionButton;
.registers 3
.line 591
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->findDependentView()Landroid/view/View;
move-result-object v0
.line 592
instance-of v1, v0, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;
if-eqz v1, :cond_b
check-cast v0, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;
goto :goto_c
:cond_b
const/4 v0, 0x0
:goto_c
return-object v0
.end method
.method private findDependentView()Landroid/view/View;
.registers 5
.line 597
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getParent()Landroid/view/ViewParent;
move-result-object v0
instance-of v0, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;
const/4 v1, 0x0
if-nez v0, :cond_a
return-object v1
.line 602
:cond_a
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getParent()Landroid/view/ViewParent;
move-result-object v0
check-cast v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;
invoke-virtual {v0, p0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getDependents(Landroid/view/View;)Ljava/util/List;
move-result-object v0
.line 603
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:cond_18
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_2d
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/view/View;
.line 604
instance-of v3, v2, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;
if-nez v3, :cond_2c
instance-of v3, v2, Lcom/google/android/material/floatingactionbutton/ExtendedFloatingActionButton;
if-eqz v3, :cond_18
:cond_2c
return-object v2
:cond_2d
return-object v1
.end method
.method private getActionMenuView()Landroidx/appcompat/widget/ActionMenuView;
.registers 4
const/4 v0, 0x0
.line 775
:goto_1
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getChildCount()I
move-result v1
if-ge v0, v1, :cond_15
.line 776
invoke-virtual {p0, v0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getChildAt(I)Landroid/view/View;
move-result-object v1
.line 777
instance-of v2, v1, Landroidx/appcompat/widget/ActionMenuView;
if-eqz v2, :cond_12
.line 778
check-cast v1, Landroidx/appcompat/widget/ActionMenuView;
return-object v1
:cond_12
add-int/lit8 v0, v0, 0x1
goto :goto_1
:cond_15
const/4 v0, 0x0
return-object v0
.end method
.method private getBottomInset()I
.registers 2
.line 946
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->bottomInset:I
return v0
.end method
.method private getFabTranslationX()F
.registers 2
.line 770
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAlignmentMode:I
invoke-direct {p0, v0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getFabTranslationX(I)F
move-result v0
return v0
.end method
.method private getFabTranslationX(I)F
.registers 5
.line 759
invoke-static {p0}, Lcom/google/android/material/internal/ViewUtils;->isLayoutRtl(Landroid/view/View;)Z
move-result v0
const/4 v1, 0x1
if-ne p1, v1, :cond_1e
if-eqz v0, :cond_c
.line 761
iget p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->leftInset:I
goto :goto_e
:cond_c
iget p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->rightInset:I
.line 762
:goto_e
iget v2, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabOffsetEndMode:I
add-int/2addr v2, p1
.line 763
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getMeasuredWidth()I
move-result p1
div-int/lit8 p1, p1, 0x2
sub-int/2addr p1, v2
if-eqz v0, :cond_1b
const/4 v1, -0x1
:cond_1b
mul-int/2addr p1, v1
int-to-float p1, p1
return p1
:cond_1e
const/4 p1, 0x0
return p1
.end method
.method private getFabTranslationY()F
.registers 2
.line 755
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
move-result-object v0
invoke-virtual {v0}, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->getCradleVerticalOffset()F
move-result v0
neg-float v0, v0
return v0
.end method
.method private getLeftInset()I
.registers 2
.line 954
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->leftInset:I
return v0
.end method
.method private getRightInset()I
.registers 2
.line 950
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->rightInset:I
return v0
.end method
.method private getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
.registers 2
.line 892
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->materialShapeDrawable:Lcom/google/android/material/shape/MaterialShapeDrawable;
.line 893
invoke-virtual {v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->getShapeAppearanceModel()Lcom/google/android/material/shape/ShapeAppearanceModel;
move-result-object v0
invoke-virtual {v0}, Lcom/google/android/material/shape/ShapeAppearanceModel;->getTopEdge()Lcom/google/android/material/shape/EdgeTreatment;
move-result-object v0
check-cast v0, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
return-object v0
.end method
.method private isFabVisibleOrWillBeShown()Z
.registers 2
.line 613
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->findDependentFab()Lcom/google/android/material/floatingactionbutton/FloatingActionButton;
move-result-object v0
if-eqz v0, :cond_e
.line 614
invoke-virtual {v0}, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;->isOrWillBeShown()Z
move-result v0
if-eqz v0, :cond_e
const/4 v0, 0x1
goto :goto_f
:cond_e
const/4 v0, 0x0
:goto_f
return v0
.end method
.method private maybeAnimateMenuView(IZ)V
.registers 6
.line 659
invoke-static {p0}, Landroidx/core/view/ViewCompat;->isLaidOut(Landroid/view/View;)Z
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_f
.line 660
iput-boolean v1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->menuAnimatingWithFabAlignmentMode:Z
.line 663
iget p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->pendingMenuResId:I
invoke-virtual {p0, p1}, Lcom/google/android/material/bottomappbar/BottomAppBar;->replaceMenu(I)V
return-void
.line 667
:cond_f
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->menuAnimator:Landroid/animation/Animator;
if-eqz v0, :cond_16
.line 668
invoke-virtual {v0}, Landroid/animation/Animator;->cancel()V
.line 671
:cond_16
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
.line 674
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->isFabVisibleOrWillBeShown()Z
move-result v2
if-nez v2, :cond_23
move p1, v1
move p2, p1
.line 679
:cond_23
invoke-direct {p0, p1, p2, v0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->createMenuViewTranslationAnimation(IZLjava/util/List;)V
.line 681
new-instance p1, Landroid/animation/AnimatorSet;
invoke-direct {p1}, Landroid/animation/AnimatorSet;-><init>()V
.line 682
invoke-virtual {p1, v0}, Landroid/animation/AnimatorSet;->playTogether(Ljava/util/Collection;)V
.line 683
iput-object p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->menuAnimator:Landroid/animation/Animator;
.line 684
new-instance p2, Lcom/google/android/material/bottomappbar/BottomAppBar$6;
invoke-direct {p2, p0}, Lcom/google/android/material/bottomappbar/BottomAppBar$6;-><init>(Lcom/google/android/material/bottomappbar/BottomAppBar;)V
invoke-virtual {p1, p2}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
.line 698
iget-object p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->menuAnimator:Landroid/animation/Animator;
invoke-virtual {p1}, Landroid/animation/Animator;->start()V
return-void
.end method
.method private maybeAnimateModeChange(I)V
.registers 5
.line 554
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAlignmentMode:I
if-eq v0, p1, :cond_3a
invoke-static {p0}, Landroidx/core/view/ViewCompat;->isLaidOut(Landroid/view/View;)Z
move-result v0
if-nez v0, :cond_b
goto :goto_3a
.line 558
:cond_b
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->modeAnimator:Landroid/animation/Animator;
if-eqz v0, :cond_12
.line 559
invoke-virtual {v0}, Landroid/animation/Animator;->cancel()V
.line 562
:cond_12
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
.line 564
iget v1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAnimationMode:I
const/4 v2, 0x1
if-ne v1, v2, :cond_20
.line 565
invoke-direct {p0, p1, v0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->createFabTranslationXAnimation(ILjava/util/List;)V
goto :goto_23
.line 567
:cond_20
invoke-virtual {p0, p1, v0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->createFabDefaultXAnimation(ILjava/util/List;)V
.line 570
:goto_23
new-instance p1, Landroid/animation/AnimatorSet;
invoke-direct {p1}, Landroid/animation/AnimatorSet;-><init>()V
.line 571
invoke-virtual {p1, v0}, Landroid/animation/AnimatorSet;->playTogether(Ljava/util/Collection;)V
.line 572
iput-object p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->modeAnimator:Landroid/animation/Animator;
.line 573
new-instance v0, Lcom/google/android/material/bottomappbar/BottomAppBar$4;
invoke-direct {v0, p0}, Lcom/google/android/material/bottomappbar/BottomAppBar$4;-><init>(Lcom/google/android/material/bottomappbar/BottomAppBar;)V
invoke-virtual {p1, v0}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
.line 586
iget-object p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->modeAnimator:Landroid/animation/Animator;
invoke-virtual {p1}, Landroid/animation/Animator;->start()V
:cond_3a
:goto_3a
return-void
.end method
.method private setActionMenuViewPosition()V
.registers 4
.line 908
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getActionMenuView()Landroidx/appcompat/widget/ActionMenuView;
move-result-object v0
if-eqz v0, :cond_21
.line 911
iget-object v1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->menuAnimator:Landroid/animation/Animator;
if-nez v1, :cond_21
const/high16 v1, 0x3f800000 # 1.0f
.line 912
invoke-virtual {v0, v1}, Landroidx/appcompat/widget/ActionMenuView;->setAlpha(F)V
.line 913
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->isFabVisibleOrWillBeShown()Z
move-result v1
if-nez v1, :cond_1a
const/4 v1, 0x0
.line 914
invoke-direct {p0, v0, v1, v1}, Lcom/google/android/material/bottomappbar/BottomAppBar;->translateActionMenuView(Landroidx/appcompat/widget/ActionMenuView;IZ)V
goto :goto_21
.line 916
:cond_1a
iget v1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAlignmentMode:I
iget-boolean v2, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAttached:Z
invoke-direct {p0, v0, v1, v2}, Lcom/google/android/material/bottomappbar/BottomAppBar;->translateActionMenuView(Landroidx/appcompat/widget/ActionMenuView;IZ)V
:cond_21
:goto_21
return-void
.end method
.method private setCutoutState()V
.registers 4
.line 898
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
move-result-object v0
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getFabTranslationX()F
move-result v1
invoke-virtual {v0, v1}, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->setHorizontalOffset(F)V
.line 899
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->findDependentView()Landroid/view/View;
move-result-object v0
.line 900
iget-object v1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->materialShapeDrawable:Lcom/google/android/material/shape/MaterialShapeDrawable;
iget-boolean v2, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAttached:Z
if-eqz v2, :cond_1e
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->isFabVisibleOrWillBeShown()Z
move-result v2
if-eqz v2, :cond_1e
const/high16 v2, 0x3f800000 # 1.0f
goto :goto_1f
:cond_1e
const/4 v2, 0x0
:goto_1f
invoke-virtual {v1, v2}, Lcom/google/android/material/shape/MaterialShapeDrawable;->setInterpolation(F)V
if-eqz v0, :cond_32
.line 902
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getFabTranslationY()F
move-result v1
invoke-virtual {v0, v1}, Landroid/view/View;->setTranslationY(F)V
.line 903
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getFabTranslationX()F
move-result v1
invoke-virtual {v0, v1}, Landroid/view/View;->setTranslationX(F)V
:cond_32
return-void
.end method
.method private translateActionMenuView(Landroidx/appcompat/widget/ActionMenuView;IZ)V
.registers 5
const/4 v0, 0x0
.line 789
invoke-direct {p0, p1, p2, p3, v0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->translateActionMenuView(Landroidx/appcompat/widget/ActionMenuView;IZZ)V
return-void
.end method
.method private translateActionMenuView(Landroidx/appcompat/widget/ActionMenuView;IZZ)V
.registers 6
.line 807
new-instance v0, Lcom/google/android/material/bottomappbar/BottomAppBar$8;
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
if-eqz p4, :cond_b
.line 817
invoke-virtual {p1, v0}, Landroidx/appcompat/widget/ActionMenuView;->post(Ljava/lang/Runnable;)Z
goto :goto_e
.line 819
:cond_b
invoke-interface {v0}, Ljava/lang/Runnable;->run()V
:goto_e
return-void
.end method
# virtual methods
.method addAnimationListener(Lcom/google/android/material/bottomappbar/BottomAppBar$AnimationListener;)V
.registers 3
.line 508
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->animationListeners:Ljava/util/ArrayList;
if-nez v0, :cond_b
.line 509
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->animationListeners:Ljava/util/ArrayList;
.line 511
:cond_b
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->animationListeners:Ljava/util/ArrayList;
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
.end method
.method protected createFabDefaultXAnimation(ILjava/util/List;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/List<",
"Landroid/animation/Animator;",
">;)V"
}
.end annotation
.line 626
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->findDependentFab()Lcom/google/android/material/floatingactionbutton/FloatingActionButton;
move-result-object p2
if-eqz p2, :cond_18
.line 628
invoke-virtual {p2}, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;->isOrWillBeHidden()Z
move-result v0
if-eqz v0, :cond_d
goto :goto_18
.line 632
:cond_d
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->dispatchAnimationStart()V
.line 634
new-instance v0, Lcom/google/android/material/bottomappbar/BottomAppBar$5;
invoke-direct {v0, p0, p1}, Lcom/google/android/material/bottomappbar/BottomAppBar$5;-><init>(Lcom/google/android/material/bottomappbar/BottomAppBar;I)V
invoke-virtual {p2, v0}, Lcom/google/android/material/floatingactionbutton/FloatingActionButton;->hide(Lcom/google/android/material/floatingactionbutton/FloatingActionButton$OnVisibilityChangedListener;)V
:cond_18
:goto_18
return-void
.end method
.method protected getActionMenuViewTranslationX(Landroidx/appcompat/widget/ActionMenuView;IZ)I
.registers 10
const/4 v0, 0x1
const/4 v1, 0x0
if-ne p2, v0, :cond_69
if-nez p3, :cond_8
goto/16 :goto_69
.line 837
:cond_8
invoke-static {p0}, Lcom/google/android/material/internal/ViewUtils;->isLayoutRtl(Landroid/view/View;)Z
move-result p2
if-eqz p2, :cond_13
.line 838
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getMeasuredWidth()I
move-result p3
goto :goto_14
:cond_13
move p3, v1
:goto_14
move v2, v1
.line 841
:goto_15
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getChildCount()I
move-result v3
if-ge v2, v3, :cond_53
.line 842
invoke-virtual {p0, v2}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getChildAt(I)Landroid/view/View;
move-result-object v3
.line 844
invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v4
instance-of v4, v4, Landroidx/appcompat/widget/Toolbar$LayoutParams;
if-eqz v4, :cond_3a
.line 845
invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v4
check-cast v4, Landroidx/appcompat/widget/Toolbar$LayoutParams;
iget v4, v4, Landroidx/appcompat/widget/Toolbar$LayoutParams;->gravity:I
const v5, 0x800007
and-int/2addr v4, v5
const v5, 0x800003
if-ne v4, v5, :cond_3a
move v4, v0
goto :goto_3b
:cond_3a
move v4, v1
:goto_3b
if-eqz v4, :cond_50
if-eqz p2, :cond_48
.line 851
invoke-virtual {v3}, Landroid/view/View;->getLeft()I
move-result v3
invoke-static {p3, v3}, Ljava/lang/Math;->min(II)I
move-result p3
goto :goto_50
.line 852
:cond_48
invoke-virtual {v3}, Landroid/view/View;->getRight()I
move-result v3
invoke-static {p3, v3}, Ljava/lang/Math;->max(II)I
move-result p3
:cond_50
:goto_50
add-int/lit8 v2, v2, 0x1
goto :goto_15
:cond_53
if-eqz p2, :cond_5a
.line 856
invoke-virtual {p1}, Landroidx/appcompat/widget/ActionMenuView;->getRight()I
move-result p1
goto :goto_5e
:cond_5a
invoke-virtual {p1}, Landroidx/appcompat/widget/ActionMenuView;->getLeft()I
move-result p1
:goto_5e
if-eqz p2, :cond_63
.line 857
iget p2, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->rightInset:I
goto :goto_66
:cond_63
iget p2, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->leftInset:I
neg-int p2, p2
:goto_66
add-int/2addr p1, p2
sub-int/2addr p3, p1
return p3
:cond_69
:goto_69
return v1
.end method
.method public getBackgroundTint()Landroid/content/res/ColorStateList;
.registers 2
.line 399
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->materialShapeDrawable:Lcom/google/android/material/shape/MaterialShapeDrawable;
invoke-virtual {v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->getTintList()Landroid/content/res/ColorStateList;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getBehavior()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
.registers 2
.line 108
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;
.registers 2
.line 970
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->behavior:Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;
if-nez v0, :cond_b
.line 971
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;->behavior:Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;
.line 973
:cond_b
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->behavior:Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;
return-object v0
.end method
.method public getCradleVerticalOffset()F
.registers 2
.line 439
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
move-result-object v0
invoke-virtual {v0}, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->getCradleVerticalOffset()F
move-result v0
return v0
.end method
.method public getFabAlignmentMode()I
.registers 2
.line 338
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAlignmentMode:I
return v0
.end method
.method public getFabAnimationMode()I
.registers 2
.line 379
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAnimationMode:I
return v0
.end method
.method public getFabCradleMargin()F
.registers 2
.line 406
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
move-result-object v0
invoke-virtual {v0}, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->getFabCradleMargin()F
move-result v0
return v0
.end method
.method public getFabCradleRoundedCornerRadius()F
.registers 2
.line 422
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
move-result-object v0
invoke-virtual {v0}, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->getFabCradleRoundedCornerRadius()F
move-result v0
return v0
.end method
.method public getHideOnScroll()Z
.registers 2
.line 461
iget-boolean v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->hideOnScroll:Z
return v0
.end method
.method protected onAttachedToWindow()V
.registers 3
.line 978
invoke-super {p0}, Landroidx/appcompat/widget/Toolbar;->onAttachedToWindow()V
.line 980
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->materialShapeDrawable:Lcom/google/android/material/shape/MaterialShapeDrawable;
invoke-static {p0, v0}, Lcom/google/android/material/shape/MaterialShapeUtils;->setParentAbsoluteElevation(Landroid/view/View;Lcom/google/android/material/shape/MaterialShapeDrawable;)V
.line 984
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getParent()Landroid/view/ViewParent;
move-result-object v0
instance-of v0, v0, Landroid/view/ViewGroup;
if-eqz v0, :cond_1a
.line 985
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getParent()Landroid/view/ViewParent;
move-result-object v0
check-cast v0, Landroid/view/ViewGroup;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setClipChildren(Z)V
:cond_1a
return-void
.end method
.method protected onLayout(ZIIII)V
.registers 6
.line 874
invoke-super/range {p0 .. p5}, Landroidx/appcompat/widget/Toolbar;->onLayout(ZIIII)V
if-eqz p1, :cond_b
.line 881
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->cancelAnimations()V
.line 883
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->setCutoutState()V
.line 887
:cond_b
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->setActionMenuViewPosition()V
return-void
.end method
.method protected onRestoreInstanceState(Landroid/os/Parcelable;)V
.registers 3
.line 1130
instance-of v0, p1, Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;
if-nez v0, :cond_8
.line 1131
invoke-super {p0, p1}, Landroidx/appcompat/widget/Toolbar;->onRestoreInstanceState(Landroid/os/Parcelable;)V
return-void
.line 1134
:cond_8
check-cast p1, Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;
.line 1135
invoke-virtual {p1}, Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;->getSuperState()Landroid/os/Parcelable;
move-result-object v0
invoke-super {p0, v0}, Landroidx/appcompat/widget/Toolbar;->onRestoreInstanceState(Landroid/os/Parcelable;)V
.line 1136
iget v0, p1, Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;->fabAlignmentMode:I
iput v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAlignmentMode:I
.line 1137
iget-boolean p1, p1, Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;->fabAttached:Z
iput-boolean p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAttached:Z
return-void
.end method
.method protected onSaveInstanceState()Landroid/os/Parcelable;
.registers 3
.line 1121
invoke-super {p0}, Landroidx/appcompat/widget/Toolbar;->onSaveInstanceState()Landroid/os/Parcelable;
move-result-object v0
.line 1122
new-instance v1, Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;
invoke-direct {v1, v0}, Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;-><init>(Landroid/os/Parcelable;)V
.line 1123
iget v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAlignmentMode:I
iput v0, v1, Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;->fabAlignmentMode:I
.line 1124
iget-boolean v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAttached:Z
iput-boolean v0, v1, Lcom/google/android/material/bottomappbar/BottomAppBar$SavedState;->fabAttached:Z
return-object v1
.end method
.method public performHide()V
.registers 2
.line 475
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getBehavior()Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;->slideDown(Landroid/view/View;)V
return-void
.end method
.method public performShow()V
.registers 2
.line 480
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getBehavior()Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;->slideUp(Landroid/view/View;)V
return-void
.end method
.method removeAnimationListener(Lcom/google/android/material/bottomappbar/BottomAppBar$AnimationListener;)V
.registers 3
.line 515
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->animationListeners:Ljava/util/ArrayList;
if-nez v0, :cond_5
return-void
.line 518
:cond_5
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
return-void
.end method
.method public replaceMenu(I)V
.registers 3
if-eqz p1, :cond_f
const/4 v0, 0x0
.line 500
iput v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->pendingMenuResId:I
.line 501
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getMenu()Landroid/view/Menu;
move-result-object v0
invoke-interface {v0}, Landroid/view/Menu;->clear()V
.line 502
invoke-virtual {p0, p1}, Lcom/google/android/material/bottomappbar/BottomAppBar;->inflateMenu(I)V
:cond_f
return-void
.end method
.method public setBackgroundTint(Landroid/content/res/ColorStateList;)V
.registers 3
.line 394
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->materialShapeDrawable:Lcom/google/android/material/shape/MaterialShapeDrawable;
invoke-static {v0, p1}, Landroidx/core/graphics/drawable/DrawableCompat;->setTintList(Landroid/graphics/drawable/Drawable;Landroid/content/res/ColorStateList;)V
return-void
.end method
.method public setCradleVerticalOffset(F)V
.registers 3
.line 448
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getCradleVerticalOffset()F
move-result v0
cmpl-float v0, p1, v0
if-eqz v0, :cond_17
.line 449
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->setCradleVerticalOffset(F)V
.line 450
iget-object p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->materialShapeDrawable:Lcom/google/android/material/shape/MaterialShapeDrawable;
invoke-virtual {p1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->invalidateSelf()V
.line 451
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->setCutoutState()V
:cond_17
return-void
.end method
.method public setElevation(F)V
.registers 3
.line 485
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->materialShapeDrawable:Lcom/google/android/material/shape/MaterialShapeDrawable;
invoke-virtual {v0, p1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->setElevation(F)V
.line 487
iget-object p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->materialShapeDrawable:Lcom/google/android/material/shape/MaterialShapeDrawable;
.line 488
invoke-virtual {p1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->getShadowRadius()I
move-result p1
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->materialShapeDrawable:Lcom/google/android/material/shape/MaterialShapeDrawable;
invoke-virtual {v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->getShadowOffsetY()I
move-result v0
sub-int/2addr p1, v0
.line 489
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getBehavior()Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;
move-result-object v0
invoke-virtual {v0, p0, p1}, Lcom/google/android/material/bottomappbar/BottomAppBar$Behavior;->setAdditionalHiddenOffsetY(Landroid/view/View;I)V
return-void
.end method
.method public setFabAlignmentMode(I)V
.registers 3
const/4 v0, 0x0
.line 349
invoke-virtual {p0, p1, v0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->setFabAlignmentModeAndReplaceMenu(II)V
return-void
.end method
.method public setFabAlignmentModeAndReplaceMenu(II)V
.registers 3
.line 366
iput p2, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->pendingMenuResId:I
const/4 p2, 0x1
.line 367
iput-boolean p2, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->menuAnimatingWithFabAlignmentMode:Z
.line 368
iget-boolean p2, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAttached:Z
invoke-direct {p0, p1, p2}, Lcom/google/android/material/bottomappbar/BottomAppBar;->maybeAnimateMenuView(IZ)V
.line 369
invoke-direct {p0, p1}, Lcom/google/android/material/bottomappbar/BottomAppBar;->maybeAnimateModeChange(I)V
.line 370
iput p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAlignmentMode:I
return-void
.end method
.method public setFabAnimationMode(I)V
.registers 2
.line 390
iput p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->fabAnimationMode:I
return-void
.end method
.method public setFabCradleMargin(F)V
.registers 3
.line 413
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getFabCradleMargin()F
move-result v0
cmpl-float v0, p1, v0
if-eqz v0, :cond_14
.line 414
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->setFabCradleMargin(F)V
.line 415
iget-object p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->materialShapeDrawable:Lcom/google/android/material/shape/MaterialShapeDrawable;
invoke-virtual {p1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->invalidateSelf()V
:cond_14
return-void
.end method
.method public setFabCradleRoundedCornerRadius(F)V
.registers 3
.line 427
invoke-virtual {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getFabCradleRoundedCornerRadius()F
move-result v0
cmpl-float v0, p1, v0
if-eqz v0, :cond_14
.line 428
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->setFabCradleRoundedCornerRadius(F)V
.line 429
iget-object p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->materialShapeDrawable:Lcom/google/android/material/shape/MaterialShapeDrawable;
invoke-virtual {p1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->invalidateSelf()V
:cond_14
return-void
.end method
.method setFabDiameter(I)Z
.registers 3
int-to-float p1, p1
.line 544
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
move-result-object v0
invoke-virtual {v0}, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->getFabDiameter()F
move-result v0
cmpl-float v0, p1, v0
if-eqz v0, :cond_1b
.line 545
invoke-direct {p0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->getTopEdgeTreatment()Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->setFabDiameter(F)V
.line 546
iget-object p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->materialShapeDrawable:Lcom/google/android/material/shape/MaterialShapeDrawable;
invoke-virtual {p1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->invalidateSelf()V
const/4 p1, 0x1
return p1
:cond_1b
const/4 p1, 0x0
return p1
.end method
.method public setHideOnScroll(Z)V
.registers 2
.line 470
iput-boolean p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar;->hideOnScroll:Z
return-void
.end method
.method public setSubtitle(Ljava/lang/CharSequence;)V
.registers 2
return-void
.end method
.method public setTitle(Ljava/lang/CharSequence;)V
.registers 2
return-void
.end method