ActionBarOverlayLayout.smali
.class public Landroidx/appcompat/widget/ActionBarOverlayLayout;
.super Landroid/view/ViewGroup;
.source "ActionBarOverlayLayout.java"
# interfaces
.implements Landroidx/appcompat/widget/DecorContentParent;
.implements Landroidx/core/view/NestedScrollingParent;
.implements Landroidx/core/view/NestedScrollingParent2;
.implements Landroidx/core/view/NestedScrollingParent3;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;,
Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
}
.end annotation
# static fields
.field private static final ACTION_BAR_ANIMATE_DELAY:I = 0x258
.field static final ATTRS:[I
.field private static final TAG:Ljava/lang/String; = "ActionBarOverlayLayout"
# instance fields
.field private mActionBarHeight:I
.field mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
.field private mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
.field private final mAddActionBarHideOffset:Ljava/lang/Runnable;
.field mAnimatingForFling:Z
.field private final mBaseContentInsets:Landroid/graphics/Rect;
.field private final mBaseInnerInsets:Landroid/graphics/Rect;
.field private mContent:Landroidx/appcompat/widget/ContentFrameLayout;
.field private final mContentInsets:Landroid/graphics/Rect;
.field mCurrentActionBarTopAnimator:Landroid/view/ViewPropertyAnimator;
.field private mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
.field private mFlingEstimator:Landroid/widget/OverScroller;
.field private mHasNonEmbeddedTabs:Z
.field private mHideOnContentScroll:Z
.field private mHideOnContentScrollReference:I
.field private mIgnoreWindowContentOverlay:Z
.field private final mInnerInsets:Landroid/graphics/Rect;
.field private final mLastBaseContentInsets:Landroid/graphics/Rect;
.field private final mLastBaseInnerInsets:Landroid/graphics/Rect;
.field private final mLastInnerInsets:Landroid/graphics/Rect;
.field private mLastSystemUiVisibility:I
.field private mOverlayMode:Z
.field private final mParentHelper:Landroidx/core/view/NestedScrollingParentHelper;
.field private final mRemoveActionBarHideOffset:Ljava/lang/Runnable;
.field final mTopAnimatorListener:Landroid/animation/AnimatorListenerAdapter;
.field private mWindowContentOverlay:Landroid/graphics/drawable/Drawable;
.field private mWindowVisibility:I
# direct methods
.method static constructor <clinit>()V
.registers 3
const/4 v0, 0x2
new-array v0, v0, [I
.line 131
sget v1, Landroidx/appcompat/R$attr;->actionBarSize:I
const/4 v2, 0x0
aput v1, v0, v2
const/4 v1, 0x1
const v2, 0x1010059
aput v2, v0, v1
sput-object v0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->ATTRS:[I
return-void
.end method
.method public constructor <init>(Landroid/content/Context;)V
.registers 3
const/4 v0, 0x0
.line 139
invoke-direct {p0, p1, v0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.registers 3
.line 143
invoke-direct {p0, p1, p2}, Landroid/view/ViewGroup;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
const/4 p2, 0x0
.line 63
iput p2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mWindowVisibility:I
.line 82
new-instance p2, Landroid/graphics/Rect;
invoke-direct {p2}, Landroid/graphics/Rect;-><init>()V
iput-object p2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mBaseContentInsets:Landroid/graphics/Rect;
.line 83
new-instance p2, Landroid/graphics/Rect;
invoke-direct {p2}, Landroid/graphics/Rect;-><init>()V
iput-object p2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mLastBaseContentInsets:Landroid/graphics/Rect;
.line 84
new-instance p2, Landroid/graphics/Rect;
invoke-direct {p2}, Landroid/graphics/Rect;-><init>()V
iput-object p2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContentInsets:Landroid/graphics/Rect;
.line 85
new-instance p2, Landroid/graphics/Rect;
invoke-direct {p2}, Landroid/graphics/Rect;-><init>()V
iput-object p2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mBaseInnerInsets:Landroid/graphics/Rect;
.line 86
new-instance p2, Landroid/graphics/Rect;
invoke-direct {p2}, Landroid/graphics/Rect;-><init>()V
iput-object p2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mLastBaseInnerInsets:Landroid/graphics/Rect;
.line 87
new-instance p2, Landroid/graphics/Rect;
invoke-direct {p2}, Landroid/graphics/Rect;-><init>()V
iput-object p2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mInnerInsets:Landroid/graphics/Rect;
.line 88
new-instance p2, Landroid/graphics/Rect;
invoke-direct {p2}, Landroid/graphics/Rect;-><init>()V
iput-object p2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mLastInnerInsets:Landroid/graphics/Rect;
.line 98
new-instance p2, Landroidx/appcompat/widget/ActionBarOverlayLayout$1;
invoke-direct {p2, p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout$1;-><init>(Landroidx/appcompat/widget/ActionBarOverlayLayout;)V
iput-object p2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mTopAnimatorListener:Landroid/animation/AnimatorListenerAdapter;
.line 112
new-instance p2, Landroidx/appcompat/widget/ActionBarOverlayLayout$2;
invoke-direct {p2, p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout$2;-><init>(Landroidx/appcompat/widget/ActionBarOverlayLayout;)V
iput-object p2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mRemoveActionBarHideOffset:Ljava/lang/Runnable;
.line 121
new-instance p2, Landroidx/appcompat/widget/ActionBarOverlayLayout$3;
invoke-direct {p2, p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout$3;-><init>(Landroidx/appcompat/widget/ActionBarOverlayLayout;)V
iput-object p2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mAddActionBarHideOffset:Ljava/lang/Runnable;
.line 144
invoke-direct {p0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->init(Landroid/content/Context;)V
.line 146
new-instance p1, Landroidx/core/view/NestedScrollingParentHelper;
invoke-direct {p1, p0}, Landroidx/core/view/NestedScrollingParentHelper;-><init>(Landroid/view/ViewGroup;)V
iput-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mParentHelper:Landroidx/core/view/NestedScrollingParentHelper;
return-void
.end method
.method private addActionBarHideOffset()V
.registers 2
.line 651
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->haltActionBarHideOffsetAnimations()V
.line 652
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mAddActionBarHideOffset:Ljava/lang/Runnable;
invoke-interface {v0}, Ljava/lang/Runnable;->run()V
return-void
.end method
.method private applyInsets(Landroid/view/View;Landroid/graphics/Rect;ZZZZ)Z
.registers 9
.line 267
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object p1
check-cast p1, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
const/4 v0, 0x1
if-eqz p3, :cond_15
.line 268
iget p3, p1, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->leftMargin:I
iget v1, p2, Landroid/graphics/Rect;->left:I
if-eq p3, v1, :cond_15
.line 270
iget p3, p2, Landroid/graphics/Rect;->left:I
iput p3, p1, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->leftMargin:I
const/4 p3, 0x1
goto :goto_16
:cond_15
const/4 p3, 0x0
:goto_16
if-eqz p4, :cond_23
.line 272
iget p4, p1, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->topMargin:I
iget v1, p2, Landroid/graphics/Rect;->top:I
if-eq p4, v1, :cond_23
.line 274
iget p3, p2, Landroid/graphics/Rect;->top:I
iput p3, p1, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->topMargin:I
const/4 p3, 0x1
:cond_23
if-eqz p6, :cond_30
.line 276
iget p4, p1, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->rightMargin:I
iget p6, p2, Landroid/graphics/Rect;->right:I
if-eq p4, p6, :cond_30
.line 278
iget p3, p2, Landroid/graphics/Rect;->right:I
iput p3, p1, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->rightMargin:I
const/4 p3, 0x1
:cond_30
if-eqz p5, :cond_3d
.line 280
iget p4, p1, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->bottomMargin:I
iget p5, p2, Landroid/graphics/Rect;->bottom:I
if-eq p4, p5, :cond_3d
.line 282
iget p2, p2, Landroid/graphics/Rect;->bottom:I
iput p2, p1, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->bottomMargin:I
goto :goto_3e
:cond_3d
move v0, p3
:goto_3e
return v0
.end method
.method private getDecorToolbar(Landroid/view/View;)Landroidx/appcompat/widget/DecorToolbar;
.registers 5
.line 592
instance-of v0, p1, Landroidx/appcompat/widget/DecorToolbar;
if-eqz v0, :cond_7
.line 593
check-cast p1, Landroidx/appcompat/widget/DecorToolbar;
return-object p1
.line 594
:cond_7
instance-of v0, p1, Landroidx/appcompat/widget/Toolbar;
if-eqz v0, :cond_12
.line 595
check-cast p1, Landroidx/appcompat/widget/Toolbar;
invoke-virtual {p1}, Landroidx/appcompat/widget/Toolbar;->getWrapper()Landroidx/appcompat/widget/DecorToolbar;
move-result-object p1
return-object p1
.line 597
:cond_12
new-instance v0, Ljava/lang/IllegalStateException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Can\'t make a decor toolbar out of "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 598
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p1
invoke-virtual {p1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object p1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method private init(Landroid/content/Context;)V
.registers 6
.line 150
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getContext()Landroid/content/Context;
move-result-object v0
invoke-virtual {v0}, Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme;
move-result-object v0
sget-object v1, Landroidx/appcompat/widget/ActionBarOverlayLayout;->ATTRS:[I
invoke-virtual {v0, v1}, Landroid/content/res/Resources$Theme;->obtainStyledAttributes([I)Landroid/content/res/TypedArray;
move-result-object v0
const/4 v1, 0x0
.line 151
invoke-virtual {v0, v1, v1}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
move-result v2
iput v2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarHeight:I
const/4 v2, 0x1
.line 152
invoke-virtual {v0, v2}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;
move-result-object v3
iput-object v3, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mWindowContentOverlay:Landroid/graphics/drawable/Drawable;
if-nez v3, :cond_20
const/4 v3, 0x1
goto :goto_21
:cond_20
const/4 v3, 0x0
.line 153
:goto_21
invoke-virtual {p0, v3}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->setWillNotDraw(Z)V
.line 154
invoke-virtual {v0}, Landroid/content/res/TypedArray;->recycle()V
.line 156
invoke-virtual {p1}, Landroid/content/Context;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;
move-result-object v0
iget v0, v0, Landroid/content/pm/ApplicationInfo;->targetSdkVersion:I
const/16 v3, 0x13
if-ge v0, v3, :cond_32
const/4 v1, 0x1
:cond_32
iput-boolean v1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mIgnoreWindowContentOverlay:Z
.line 159
new-instance v0, Landroid/widget/OverScroller;
invoke-direct {v0, p1}, Landroid/widget/OverScroller;-><init>(Landroid/content/Context;)V
iput-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mFlingEstimator:Landroid/widget/OverScroller;
return-void
.end method
.method private postAddActionBarHideOffset()V
.registers 4
.line 641
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->haltActionBarHideOffsetAnimations()V
.line 642
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mAddActionBarHideOffset:Ljava/lang/Runnable;
const-wide/16 v1, 0x258
invoke-virtual {p0, v0, v1, v2}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->postDelayed(Ljava/lang/Runnable;J)Z
return-void
.end method
.method private postRemoveActionBarHideOffset()V
.registers 4
.line 636
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->haltActionBarHideOffsetAnimations()V
.line 637
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mRemoveActionBarHideOffset:Ljava/lang/Runnable;
const-wide/16 v1, 0x258
invoke-virtual {p0, v0, v1, v2}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->postDelayed(Ljava/lang/Runnable;J)Z
return-void
.end method
.method private removeActionBarHideOffset()V
.registers 2
.line 646
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->haltActionBarHideOffsetAnimations()V
.line 647
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mRemoveActionBarHideOffset:Ljava/lang/Runnable;
invoke-interface {v0}, Ljava/lang/Runnable;->run()V
return-void
.end method
.method private shouldHideActionBarOnFling(FF)Z
.registers 12
.line 656
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mFlingEstimator:Landroid/widget/OverScroller;
float-to-int v4, p2
const/4 v1, 0x0
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v5, 0x0
const/4 v6, 0x0
const/high16 v7, -0x80000000
const v8, 0x7fffffff
invoke-virtual/range {v0 .. v8}, Landroid/widget/OverScroller;->fling(IIIIIIII)V
.line 657
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mFlingEstimator:Landroid/widget/OverScroller;
invoke-virtual {p1}, Landroid/widget/OverScroller;->getFinalY()I
move-result p1
.line 658
iget-object p2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
invoke-virtual {p2}, Landroidx/appcompat/widget/ActionBarContainer;->getHeight()I
move-result p2
if-le p1, p2, :cond_20
const/4 p1, 0x1
goto :goto_21
:cond_20
const/4 p1, 0x0
:goto_21
return p1
.end method
# virtual methods
.method public canShowOverflowMenu()Z
.registers 2
.line 732
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 733
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0}, Landroidx/appcompat/widget/DecorToolbar;->canShowOverflowMenu()Z
move-result v0
return v0
.end method
.method protected checkLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Z
.registers 2
.line 337
instance-of p1, p1, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
return p1
.end method
.method public dismissPopups()V
.registers 2
.line 786
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 787
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0}, Landroidx/appcompat/widget/DecorToolbar;->dismissPopupMenus()V
return-void
.end method
.method public draw(Landroid/graphics/Canvas;)V
.registers 7
.line 453
invoke-super {p0, p1}, Landroid/view/ViewGroup;->draw(Landroid/graphics/Canvas;)V
.line 454
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mWindowContentOverlay:Landroid/graphics/drawable/Drawable;
if-eqz v0, :cond_3d
iget-boolean v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mIgnoreWindowContentOverlay:Z
if-nez v0, :cond_3d
.line 455
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
invoke-virtual {v0}, Landroidx/appcompat/widget/ActionBarContainer;->getVisibility()I
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_27
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
.line 456
invoke-virtual {v0}, Landroidx/appcompat/widget/ActionBarContainer;->getBottom()I
move-result v0
int-to-float v0, v0
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
invoke-virtual {v2}, Landroidx/appcompat/widget/ActionBarContainer;->getTranslationY()F
move-result v2
add-float/2addr v0, v2
const/high16 v2, 0x3f000000 # 0.5f
add-float/2addr v0, v2
float-to-int v0, v0
goto :goto_28
:cond_27
const/4 v0, 0x0
.line 458
:goto_28
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mWindowContentOverlay:Landroid/graphics/drawable/Drawable;
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getWidth()I
move-result v3
iget-object v4, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mWindowContentOverlay:Landroid/graphics/drawable/Drawable;
.line 459
invoke-virtual {v4}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I
move-result v4
add-int/2addr v4, v0
.line 458
invoke-virtual {v2, v1, v0, v3, v4}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
.line 460
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mWindowContentOverlay:Landroid/graphics/drawable/Drawable;
invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
:cond_3d
return-void
.end method
.method protected fitSystemWindows(Landroid/graphics/Rect;)Z
.registers 10
.line 289
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 291
invoke-static {p0}, Landroidx/core/view/ViewCompat;->getWindowSystemUiVisibility(Landroid/view/View;)I
move-result v0
and-int/lit16 v0, v0, 0x100
.line 296
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
const/4 v4, 0x1
const/4 v5, 0x1
const/4 v6, 0x0
const/4 v7, 0x1
move-object v1, p0
move-object v3, p1
invoke-direct/range {v1 .. v7}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->applyInsets(Landroid/view/View;Landroid/graphics/Rect;ZZZZ)Z
move-result v0
.line 298
iget-object v1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mBaseInnerInsets:Landroid/graphics/Rect;
invoke-virtual {v1, p1}, Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V
.line 299
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mBaseInnerInsets:Landroid/graphics/Rect;
iget-object v1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mBaseContentInsets:Landroid/graphics/Rect;
invoke-static {p0, p1, v1}, Landroidx/appcompat/widget/ViewUtils;->computeFitSystemWindows(Landroid/view/View;Landroid/graphics/Rect;Landroid/graphics/Rect;)V
.line 300
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mLastBaseInnerInsets:Landroid/graphics/Rect;
iget-object v1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mBaseInnerInsets:Landroid/graphics/Rect;
invoke-virtual {p1, v1}, Landroid/graphics/Rect;->equals(Ljava/lang/Object;)Z
move-result p1
const/4 v1, 0x1
if-nez p1, :cond_34
.line 302
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mLastBaseInnerInsets:Landroid/graphics/Rect;
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mBaseInnerInsets:Landroid/graphics/Rect;
invoke-virtual {p1, v0}, Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V
const/4 v0, 0x1
.line 304
:cond_34
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mLastBaseContentInsets:Landroid/graphics/Rect;
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mBaseContentInsets:Landroid/graphics/Rect;
invoke-virtual {p1, v2}, Landroid/graphics/Rect;->equals(Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_46
.line 306
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mLastBaseContentInsets:Landroid/graphics/Rect;
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mBaseContentInsets:Landroid/graphics/Rect;
invoke-virtual {p1, v0}, Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V
const/4 v0, 0x1
:cond_46
if-eqz v0, :cond_4b
.line 310
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->requestLayout()V
:cond_4b
return v1
.end method
.method protected bridge synthetic generateDefaultLayoutParams()Landroid/view/ViewGroup$LayoutParams;
.registers 2
.line 56
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->generateDefaultLayoutParams()Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
move-result-object v0
return-object v0
.end method
.method protected generateDefaultLayoutParams()Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
.registers 3
.line 322
new-instance v0, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
const/4 v1, -0x1
invoke-direct {v0, v1, v1}, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;-><init>(II)V
return-object v0
.end method
.method public bridge synthetic generateLayoutParams(Landroid/util/AttributeSet;)Landroid/view/ViewGroup$LayoutParams;
.registers 2
.line 56
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->generateLayoutParams(Landroid/util/AttributeSet;)Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
move-result-object p1
return-object p1
.end method
.method protected generateLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Landroid/view/ViewGroup$LayoutParams;
.registers 3
.line 332
new-instance v0, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
invoke-direct {v0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
return-object v0
.end method
.method public generateLayoutParams(Landroid/util/AttributeSet;)Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
.registers 4
.line 327
new-instance v0, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getContext()Landroid/content/Context;
move-result-object v1
invoke-direct {v0, v1, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method public getActionBarHideOffset()I
.registers 2
.line 617
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
if-eqz v0, :cond_b
invoke-virtual {v0}, Landroidx/appcompat/widget/ActionBarContainer;->getTranslationY()F
move-result v0
float-to-int v0, v0
neg-int v0, v0
goto :goto_c
:cond_b
const/4 v0, 0x0
:goto_c
return v0
.end method
.method public getNestedScrollAxes()I
.registers 2
.line 580
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mParentHelper:Landroidx/core/view/NestedScrollingParentHelper;
invoke-virtual {v0}, Landroidx/core/view/NestedScrollingParentHelper;->getNestedScrollAxes()I
move-result v0
return v0
.end method
.method public getTitle()Ljava/lang/CharSequence;
.registers 2
.line 675
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 676
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0}, Landroidx/appcompat/widget/DecorToolbar;->getTitle()Ljava/lang/CharSequence;
move-result-object v0
return-object v0
.end method
.method haltActionBarHideOffsetAnimations()V
.registers 2
.line 628
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mRemoveActionBarHideOffset:Ljava/lang/Runnable;
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->removeCallbacks(Ljava/lang/Runnable;)Z
.line 629
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mAddActionBarHideOffset:Ljava/lang/Runnable;
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->removeCallbacks(Ljava/lang/Runnable;)Z
.line 630
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mCurrentActionBarTopAnimator:Landroid/view/ViewPropertyAnimator;
if-eqz v0, :cond_11
.line 631
invoke-virtual {v0}, Landroid/view/ViewPropertyAnimator;->cancel()V
:cond_11
return-void
.end method
.method public hasIcon()Z
.registers 2
.line 702
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 703
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0}, Landroidx/appcompat/widget/DecorToolbar;->hasIcon()Z
move-result v0
return v0
.end method
.method public hasLogo()Z
.registers 2
.line 708
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 709
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0}, Landroidx/appcompat/widget/DecorToolbar;->hasLogo()Z
move-result v0
return v0
.end method
.method public hideOverflowMenu()Z
.registers 2
.line 756
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 757
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0}, Landroidx/appcompat/widget/DecorToolbar;->hideOverflowMenu()Z
move-result v0
return v0
.end method
.method public initFeature(I)V
.registers 3
.line 681
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
const/4 v0, 0x2
if-eq p1, v0, :cond_19
const/4 v0, 0x5
if-eq p1, v0, :cond_13
const/16 v0, 0x6d
if-eq p1, v0, :cond_e
goto :goto_1e
:cond_e
const/4 p1, 0x1
.line 690
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->setOverlayMode(Z)V
goto :goto_1e
.line 687
:cond_13
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {p1}, Landroidx/appcompat/widget/DecorToolbar;->initIndeterminateProgress()V
goto :goto_1e
.line 684
:cond_19
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {p1}, Landroidx/appcompat/widget/DecorToolbar;->initProgress()V
:goto_1e
return-void
.end method
.method public isHideOnContentScrollEnabled()Z
.registers 2
.line 613
iget-boolean v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScroll:Z
return v0
.end method
.method public isInOverlayMode()Z
.registers 2
.line 195
iget-boolean v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mOverlayMode:Z
return v0
.end method
.method public isOverflowMenuShowPending()Z
.registers 2
.line 744
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 745
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0}, Landroidx/appcompat/widget/DecorToolbar;->isOverflowMenuShowPending()Z
move-result v0
return v0
.end method
.method public isOverflowMenuShowing()Z
.registers 2
.line 738
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 739
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0}, Landroidx/appcompat/widget/DecorToolbar;->isOverflowMenuShowing()Z
move-result v0
return v0
.end method
.method protected onConfigurationChanged(Landroid/content/res/Configuration;)V
.registers 2
.line 225
invoke-super {p0, p1}, Landroid/view/ViewGroup;->onConfigurationChanged(Landroid/content/res/Configuration;)V
.line 226
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getContext()Landroid/content/Context;
move-result-object p1
invoke-direct {p0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->init(Landroid/content/Context;)V
.line 227
invoke-static {p0}, Landroidx/core/view/ViewCompat;->requestApplyInsets(Landroid/view/View;)V
return-void
.end method
.method protected onDetachedFromWindow()V
.registers 1
.line 164
invoke-super {p0}, Landroid/view/ViewGroup;->onDetachedFromWindow()V
.line 165
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->haltActionBarHideOffsetAnimations()V
return-void
.end method
.method protected onLayout(ZIIII)V
.registers 10
.line 427
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getChildCount()I
move-result p1
.line 429
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getPaddingLeft()I
move-result p2
.line 430
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getPaddingRight()I
.line 432
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getPaddingTop()I
move-result p3
.line 433
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getPaddingBottom()I
const/4 p4, 0x0
:goto_13
if-ge p4, p1, :cond_3d
.line 436
invoke-virtual {p0, p4}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getChildAt(I)Landroid/view/View;
move-result-object p5
.line 437
invoke-virtual {p5}, Landroid/view/View;->getVisibility()I
move-result v0
const/16 v1, 0x8
if-eq v0, v1, :cond_3a
.line 438
invoke-virtual {p5}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
check-cast v0, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
.line 440
invoke-virtual {p5}, Landroid/view/View;->getMeasuredWidth()I
move-result v1
.line 441
invoke-virtual {p5}, Landroid/view/View;->getMeasuredHeight()I
move-result v2
.line 443
iget v3, v0, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->leftMargin:I
add-int/2addr v3, p2
.line 444
iget v0, v0, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->topMargin:I
add-int/2addr v0, p3
add-int/2addr v1, v3
add-int/2addr v2, v0
.line 446
invoke-virtual {p5, v3, v0, v1, v2}, Landroid/view/View;->layout(IIII)V
:cond_3a
add-int/lit8 p4, p4, 0x1
goto :goto_13
:cond_3d
return-void
.end method
.method protected onMeasure(II)V
.registers 16
.line 342
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 351
iget-object v1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
const/4 v3, 0x0
const/4 v5, 0x0
move-object v0, p0
move v2, p1
move v4, p2
invoke-virtual/range {v0 .. v5}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->measureChildWithMargins(Landroid/view/View;IIII)V
.line 352
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
invoke-virtual {v0}, Landroidx/appcompat/widget/ActionBarContainer;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
check-cast v0, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
.line 353
iget-object v1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
.line 354
invoke-virtual {v1}, Landroidx/appcompat/widget/ActionBarContainer;->getMeasuredWidth()I
move-result v1
iget v2, v0, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->leftMargin:I
add-int/2addr v1, v2
iget v2, v0, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->rightMargin:I
add-int/2addr v1, v2
const/4 v2, 0x0
.line 353
invoke-static {v2, v1}, Ljava/lang/Math;->max(II)I
move-result v1
.line 355
iget-object v3, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
.line 356
invoke-virtual {v3}, Landroidx/appcompat/widget/ActionBarContainer;->getMeasuredHeight()I
move-result v3
iget v4, v0, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->topMargin:I
add-int/2addr v3, v4
iget v0, v0, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->bottomMargin:I
add-int/2addr v3, v0
.line 355
invoke-static {v2, v3}, Ljava/lang/Math;->max(II)I
move-result v0
.line 357
iget-object v3, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
invoke-virtual {v3}, Landroidx/appcompat/widget/ActionBarContainer;->getMeasuredState()I
move-result v3
invoke-static {v2, v3}, Landroid/view/View;->combineMeasuredStates(II)I
move-result v3
.line 359
invoke-static {p0}, Landroidx/core/view/ViewCompat;->getWindowSystemUiVisibility(Landroid/view/View;)I
move-result v4
and-int/lit16 v4, v4, 0x100
if-eqz v4, :cond_4a
const/4 v4, 0x1
goto :goto_4b
:cond_4a
const/4 v4, 0x0
:goto_4b
if-eqz v4, :cond_5f
.line 365
iget v5, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarHeight:I
.line 366
iget-boolean v6, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHasNonEmbeddedTabs:Z
if-eqz v6, :cond_71
.line 367
iget-object v6, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
invoke-virtual {v6}, Landroidx/appcompat/widget/ActionBarContainer;->getTabContainer()Landroid/view/View;
move-result-object v6
if-eqz v6, :cond_71
.line 370
iget v6, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarHeight:I
add-int/2addr v5, v6
goto :goto_71
.line 373
:cond_5f
iget-object v5, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
invoke-virtual {v5}, Landroidx/appcompat/widget/ActionBarContainer;->getVisibility()I
move-result v5
const/16 v6, 0x8
if-eq v5, v6, :cond_70
.line 376
iget-object v5, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
invoke-virtual {v5}, Landroidx/appcompat/widget/ActionBarContainer;->getMeasuredHeight()I
move-result v5
goto :goto_71
:cond_70
const/4 v5, 0x0
.line 383
:cond_71
:goto_71
iget-object v6, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContentInsets:Landroid/graphics/Rect;
iget-object v7, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mBaseContentInsets:Landroid/graphics/Rect;
invoke-virtual {v6, v7}, Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V
.line 384
iget-object v6, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mInnerInsets:Landroid/graphics/Rect;
iget-object v7, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mBaseInnerInsets:Landroid/graphics/Rect;
invoke-virtual {v6, v7}, Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V
.line 385
iget-boolean v6, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mOverlayMode:Z
if-nez v6, :cond_94
if-nez v4, :cond_94
.line 386
iget-object v4, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContentInsets:Landroid/graphics/Rect;
iget v6, v4, Landroid/graphics/Rect;->top:I
add-int/2addr v6, v5
iput v6, v4, Landroid/graphics/Rect;->top:I
.line 387
iget-object v4, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContentInsets:Landroid/graphics/Rect;
iget v5, v4, Landroid/graphics/Rect;->bottom:I
add-int/2addr v5, v2
iput v5, v4, Landroid/graphics/Rect;->bottom:I
goto :goto_a2
.line 389
:cond_94
iget-object v4, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mInnerInsets:Landroid/graphics/Rect;
iget v6, v4, Landroid/graphics/Rect;->top:I
add-int/2addr v6, v5
iput v6, v4, Landroid/graphics/Rect;->top:I
.line 390
iget-object v4, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mInnerInsets:Landroid/graphics/Rect;
iget v5, v4, Landroid/graphics/Rect;->bottom:I
add-int/2addr v5, v2
iput v5, v4, Landroid/graphics/Rect;->bottom:I
.line 392
:goto_a2
iget-object v7, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContent:Landroidx/appcompat/widget/ContentFrameLayout;
iget-object v8, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContentInsets:Landroid/graphics/Rect;
const/4 v9, 0x1
const/4 v10, 0x1
const/4 v11, 0x1
const/4 v12, 0x1
move-object v6, p0
invoke-direct/range {v6 .. v12}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->applyInsets(Landroid/view/View;Landroid/graphics/Rect;ZZZZ)Z
.line 394
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mLastInnerInsets:Landroid/graphics/Rect;
iget-object v4, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mInnerInsets:Landroid/graphics/Rect;
invoke-virtual {v2, v4}, Landroid/graphics/Rect;->equals(Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_c6
.line 398
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mLastInnerInsets:Landroid/graphics/Rect;
iget-object v4, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mInnerInsets:Landroid/graphics/Rect;
invoke-virtual {v2, v4}, Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V
.line 400
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContent:Landroidx/appcompat/widget/ContentFrameLayout;
iget-object v4, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mInnerInsets:Landroid/graphics/Rect;
invoke-virtual {v2, v4}, Landroidx/appcompat/widget/ContentFrameLayout;->dispatchFitSystemWindows(Landroid/graphics/Rect;)V
.line 403
:cond_c6
iget-object v6, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContent:Landroidx/appcompat/widget/ContentFrameLayout;
const/4 v8, 0x0
const/4 v10, 0x0
move-object v5, p0
move v7, p1
move v9, p2
invoke-virtual/range {v5 .. v10}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->measureChildWithMargins(Landroid/view/View;IIII)V
.line 404
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContent:Landroidx/appcompat/widget/ContentFrameLayout;
invoke-virtual {v2}, Landroidx/appcompat/widget/ContentFrameLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v2
check-cast v2, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
.line 405
iget-object v4, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContent:Landroidx/appcompat/widget/ContentFrameLayout;
.line 406
invoke-virtual {v4}, Landroidx/appcompat/widget/ContentFrameLayout;->getMeasuredWidth()I
move-result v4
iget v5, v2, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->leftMargin:I
add-int/2addr v4, v5
iget v5, v2, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->rightMargin:I
add-int/2addr v4, v5
.line 405
invoke-static {v1, v4}, Ljava/lang/Math;->max(II)I
move-result v1
.line 407
iget-object v4, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContent:Landroidx/appcompat/widget/ContentFrameLayout;
.line 408
invoke-virtual {v4}, Landroidx/appcompat/widget/ContentFrameLayout;->getMeasuredHeight()I
move-result v4
iget v5, v2, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->topMargin:I
add-int/2addr v4, v5
iget v2, v2, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;->bottomMargin:I
add-int/2addr v4, v2
.line 407
invoke-static {v0, v4}, Ljava/lang/Math;->max(II)I
move-result v0
.line 409
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContent:Landroidx/appcompat/widget/ContentFrameLayout;
invoke-virtual {v2}, Landroidx/appcompat/widget/ContentFrameLayout;->getMeasuredState()I
move-result v2
invoke-static {v3, v2}, Landroid/view/View;->combineMeasuredStates(II)I
move-result v2
.line 412
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getPaddingLeft()I
move-result v3
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getPaddingRight()I
move-result v4
add-int/2addr v3, v4
add-int/2addr v1, v3
.line 413
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getPaddingTop()I
move-result v3
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getPaddingBottom()I
move-result v4
add-int/2addr v3, v4
add-int/2addr v0, v3
.line 416
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getSuggestedMinimumHeight()I
move-result v3
invoke-static {v0, v3}, Ljava/lang/Math;->max(II)I
move-result v0
.line 417
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getSuggestedMinimumWidth()I
move-result v3
invoke-static {v1, v3}, Ljava/lang/Math;->max(II)I
move-result v1
.line 420
invoke-static {v1, p1, v2}, Landroid/view/View;->resolveSizeAndState(III)I
move-result p1
shl-int/lit8 v1, v2, 0x10
.line 421
invoke-static {v0, p2, v1}, Landroid/view/View;->resolveSizeAndState(III)I
move-result p2
.line 419
invoke-virtual {p0, p1, p2}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->setMeasuredDimension(II)V
return-void
.end method
.method public onNestedFling(Landroid/view/View;FFZ)Z
.registers 5
.line 556
iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScroll:Z
if-eqz p1, :cond_18
if-nez p4, :cond_7
goto :goto_18
.line 559
:cond_7
invoke-direct {p0, p2, p3}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->shouldHideActionBarOnFling(FF)Z
move-result p1
if-eqz p1, :cond_11
.line 560
invoke-direct {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->addActionBarHideOffset()V
goto :goto_14
.line 562
:cond_11
invoke-direct {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->removeActionBarHideOffset()V
:goto_14
const/4 p1, 0x1
.line 564
iput-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mAnimatingForFling:Z
return p1
:cond_18
:goto_18
const/4 p1, 0x0
return p1
.end method
.method public onNestedPreFling(Landroid/view/View;FF)Z
.registers 4
const/4 p1, 0x0
return p1
.end method
.method public onNestedPreScroll(Landroid/view/View;II[I)V
.registers 5
return-void
.end method
.method public onNestedPreScroll(Landroid/view/View;II[II)V
.registers 6
if-nez p5, :cond_5
.line 509
invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->onNestedPreScroll(Landroid/view/View;II[I)V
:cond_5
return-void
.end method
.method public onNestedScroll(Landroid/view/View;IIII)V
.registers 6
.line 536
iget p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScrollReference:I
add-int/2addr p1, p3
iput p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScrollReference:I
.line 537
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->setActionBarHideOffset(I)V
return-void
.end method
.method public onNestedScroll(Landroid/view/View;IIIII)V
.registers 7
if-nez p6, :cond_5
.line 502
invoke-virtual/range {p0 .. p5}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->onNestedScroll(Landroid/view/View;IIII)V
:cond_5
return-void
.end method
.method public onNestedScroll(Landroid/view/View;IIIII[I)V
.registers 8
.line 474
invoke-virtual/range {p0 .. p6}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->onNestedScroll(Landroid/view/View;IIIII)V
return-void
.end method
.method public onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;I)V
.registers 5
.line 525
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mParentHelper:Landroidx/core/view/NestedScrollingParentHelper;
invoke-virtual {v0, p1, p2, p3}, Landroidx/core/view/NestedScrollingParentHelper;->onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;I)V
.line 526
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getActionBarHideOffset()I
move-result p1
iput p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScrollReference:I
.line 527
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->haltActionBarHideOffsetAnimations()V
.line 528
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
if-eqz p1, :cond_15
.line 529
invoke-interface {p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;->onContentScrollStarted()V
:cond_15
return-void
.end method
.method public onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;II)V
.registers 5
if-nez p4, :cond_5
.line 487
invoke-virtual {p0, p1, p2, p3}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;I)V
:cond_5
return-void
.end method
.method public onStartNestedScroll(Landroid/view/View;Landroid/view/View;I)Z
.registers 4
and-int/lit8 p1, p3, 0x2
if-eqz p1, :cond_10
.line 517
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
invoke-virtual {p1}, Landroidx/appcompat/widget/ActionBarContainer;->getVisibility()I
move-result p1
if-eqz p1, :cond_d
goto :goto_10
.line 520
:cond_d
iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScroll:Z
return p1
:cond_10
:goto_10
const/4 p1, 0x0
return p1
.end method
.method public onStartNestedScroll(Landroid/view/View;Landroid/view/View;II)Z
.registers 5
if-nez p4, :cond_a
.line 481
invoke-virtual {p0, p1, p2, p3}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->onStartNestedScroll(Landroid/view/View;Landroid/view/View;I)Z
move-result p1
if-eqz p1, :cond_a
const/4 p1, 0x1
goto :goto_b
:cond_a
const/4 p1, 0x0
:goto_b
return p1
.end method
.method public onStopNestedScroll(Landroid/view/View;)V
.registers 3
.line 542
iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScroll:Z
if-eqz p1, :cond_19
iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mAnimatingForFling:Z
if-nez p1, :cond_19
.line 543
iget p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScrollReference:I
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
invoke-virtual {v0}, Landroidx/appcompat/widget/ActionBarContainer;->getHeight()I
move-result v0
if-gt p1, v0, :cond_16
.line 544
invoke-direct {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->postRemoveActionBarHideOffset()V
goto :goto_19
.line 546
:cond_16
invoke-direct {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->postAddActionBarHideOffset()V
.line 549
:cond_19
:goto_19
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
if-eqz p1, :cond_20
.line 550
invoke-interface {p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;->onContentScrollStopped()V
:cond_20
return-void
.end method
.method public onStopNestedScroll(Landroid/view/View;I)V
.registers 3
if-nez p2, :cond_5
.line 494
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->onStopNestedScroll(Landroid/view/View;)V
:cond_5
return-void
.end method
.method public onWindowSystemUiVisibilityChanged(I)V
.registers 6
.line 232
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x10
if-lt v0, v1, :cond_9
.line 233
invoke-super {p0, p1}, Landroid/view/ViewGroup;->onWindowSystemUiVisibilityChanged(I)V
.line 235
:cond_9
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 236
iget v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mLastSystemUiVisibility:I
xor-int/2addr v0, p1
.line 237
iput p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mLastSystemUiVisibility:I
and-int/lit8 v1, p1, 0x4
const/4 v2, 0x0
const/4 v3, 0x1
if-nez v1, :cond_19
const/4 v1, 0x1
goto :goto_1a
:cond_19
const/4 v1, 0x0
:goto_1a
and-int/lit16 p1, p1, 0x100
if-eqz p1, :cond_1f
const/4 v2, 0x1
.line 240
:cond_1f
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
if-eqz p1, :cond_38
xor-int/lit8 v3, v2, 0x1
.line 244
invoke-interface {p1, v3}, Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;->enableContentAnimations(Z)V
if-nez v1, :cond_33
if-nez v2, :cond_2d
goto :goto_33
.line 246
:cond_2d
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
invoke-interface {p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;->hideForSystem()V
goto :goto_38
.line 245
:cond_33
:goto_33
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
invoke-interface {p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;->showForSystem()V
:cond_38
:goto_38
and-int/lit16 p1, v0, 0x100
if-eqz p1, :cond_43
.line 249
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
if-eqz p1, :cond_43
.line 250
invoke-static {p0}, Landroidx/core/view/ViewCompat;->requestApplyInsets(Landroid/view/View;)V
:cond_43
return-void
.end method
.method protected onWindowVisibilityChanged(I)V
.registers 3
.line 257
invoke-super {p0, p1}, Landroid/view/ViewGroup;->onWindowVisibilityChanged(I)V
.line 258
iput p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mWindowVisibility:I
.line 259
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
if-eqz v0, :cond_c
.line 260
invoke-interface {v0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;->onWindowVisibilityChanged(I)V
:cond_c
return-void
.end method
.method pullChildren()V
.registers 2
.line 584
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContent:Landroidx/appcompat/widget/ContentFrameLayout;
if-nez v0, :cond_24
.line 585
sget v0, Landroidx/appcompat/R$id;->action_bar_activity_content:I
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroidx/appcompat/widget/ContentFrameLayout;
iput-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContent:Landroidx/appcompat/widget/ContentFrameLayout;
.line 586
sget v0, Landroidx/appcompat/R$id;->action_bar_container:I
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroidx/appcompat/widget/ActionBarContainer;
iput-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
.line 587
sget v0, Landroidx/appcompat/R$id;->action_bar:I
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->findViewById(I)Landroid/view/View;
move-result-object v0
invoke-direct {p0, v0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getDecorToolbar(Landroid/view/View;)Landroidx/appcompat/widget/DecorToolbar;
move-result-object v0
iput-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
:cond_24
return-void
.end method
.method public restoreToolbarHierarchyState(Landroid/util/SparseArray;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/util/SparseArray<",
"Landroid/os/Parcelable;",
">;)V"
}
.end annotation
.line 780
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 781
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0, p1}, Landroidx/appcompat/widget/DecorToolbar;->restoreHierarchyState(Landroid/util/SparseArray;)V
return-void
.end method
.method public saveToolbarHierarchyState(Landroid/util/SparseArray;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/util/SparseArray<",
"Landroid/os/Parcelable;",
">;)V"
}
.end annotation
.line 774
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 775
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0, p1}, Landroidx/appcompat/widget/DecorToolbar;->saveHierarchyState(Landroid/util/SparseArray;)V
return-void
.end method
.method public setActionBarHideOffset(I)V
.registers 3
.line 621
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->haltActionBarHideOffsetAnimations()V
.line 622
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
invoke-virtual {v0}, Landroidx/appcompat/widget/ActionBarContainer;->getHeight()I
move-result v0
.line 623
invoke-static {p1, v0}, Ljava/lang/Math;->min(II)I
move-result p1
const/4 v0, 0x0
invoke-static {v0, p1}, Ljava/lang/Math;->max(II)I
move-result p1
.line 624
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
neg-int p1, p1
int-to-float p1, p1
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/ActionBarContainer;->setTranslationY(F)V
return-void
.end method
.method public setActionBarVisibilityCallback(Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;)V
.registers 3
.line 169
iput-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
.line 170
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getWindowToken()Landroid/os/IBinder;
move-result-object p1
if-eqz p1, :cond_19
.line 173
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
iget v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mWindowVisibility:I
invoke-interface {p1, v0}, Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;->onWindowVisibilityChanged(I)V
.line 174
iget p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mLastSystemUiVisibility:I
if-eqz p1, :cond_19
.line 176
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->onWindowSystemUiVisibilityChanged(I)V
.line 177
invoke-static {p0}, Landroidx/core/view/ViewCompat;->requestApplyInsets(Landroid/view/View;)V
:cond_19
return-void
.end method
.method public setHasNonEmbeddedTabs(Z)V
.registers 2
.line 199
iput-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHasNonEmbeddedTabs:Z
return-void
.end method
.method public setHideOnContentScrollEnabled(Z)V
.registers 3
.line 603
iget-boolean v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScroll:Z
if-eq p1, v0, :cond_f
.line 604
iput-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScroll:Z
if-nez p1, :cond_f
.line 606
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->haltActionBarHideOffsetAnimations()V
const/4 p1, 0x0
.line 607
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->setActionBarHideOffset(I)V
:cond_f
return-void
.end method
.method public setIcon(I)V
.registers 3
.line 714
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 715
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0, p1}, Landroidx/appcompat/widget/DecorToolbar;->setIcon(I)V
return-void
.end method
.method public setIcon(Landroid/graphics/drawable/Drawable;)V
.registers 3
.line 720
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 721
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0, p1}, Landroidx/appcompat/widget/DecorToolbar;->setIcon(Landroid/graphics/drawable/Drawable;)V
return-void
.end method
.method public setLogo(I)V
.registers 3
.line 726
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 727
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0, p1}, Landroidx/appcompat/widget/DecorToolbar;->setLogo(I)V
return-void
.end method
.method public setMenu(Landroid/view/Menu;Landroidx/appcompat/view/menu/MenuPresenter$Callback;)V
.registers 4
.line 768
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 769
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0, p1, p2}, Landroidx/appcompat/widget/DecorToolbar;->setMenu(Landroid/view/Menu;Landroidx/appcompat/view/menu/MenuPresenter$Callback;)V
return-void
.end method
.method public setMenuPrepared()V
.registers 2
.line 762
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 763
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0}, Landroidx/appcompat/widget/DecorToolbar;->setMenuPrepared()V
return-void
.end method
.method public setOverlayMode(Z)V
.registers 3
.line 183
iput-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mOverlayMode:Z
if-eqz p1, :cond_14
.line 190
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getContext()Landroid/content/Context;
move-result-object p1
invoke-virtual {p1}, Landroid/content/Context;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;
move-result-object p1
iget p1, p1, Landroid/content/pm/ApplicationInfo;->targetSdkVersion:I
const/16 v0, 0x13
if-ge p1, v0, :cond_14
const/4 p1, 0x1
goto :goto_15
:cond_14
const/4 p1, 0x0
:goto_15
iput-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mIgnoreWindowContentOverlay:Z
return-void
.end method
.method public setShowingForActionMode(Z)V
.registers 2
return-void
.end method
.method public setUiOptions(I)V
.registers 2
return-void
.end method
.method public setWindowCallback(Landroid/view/Window$Callback;)V
.registers 3
.line 663
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 664
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0, p1}, Landroidx/appcompat/widget/DecorToolbar;->setWindowCallback(Landroid/view/Window$Callback;)V
return-void
.end method
.method public setWindowTitle(Ljava/lang/CharSequence;)V
.registers 3
.line 669
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 670
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0, p1}, Landroidx/appcompat/widget/DecorToolbar;->setWindowTitle(Ljava/lang/CharSequence;)V
return-void
.end method
.method public shouldDelayChildPressedState()Z
.registers 2
const/4 v0, 0x0
return v0
.end method
.method public showOverflowMenu()Z
.registers 2
.line 750
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
.line 751
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {v0}, Landroidx/appcompat/widget/DecorToolbar;->showOverflowMenu()Z
move-result v0
return v0
.end method