apkfuckery/com.discord/smali/androidx/appcompat/widget/ActionBarOverlayLayout.smali

2062 lines
59 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public Landroidx/appcompat/widget/ActionBarOverlayLayout;
.super Landroid/view/ViewGroup;
.source "ActionBarOverlayLayout.java"
# interfaces
.implements Landroidx/appcompat/widget/DecorContentParent;
.implements Landroidx/core/view/NestedScrollingParent;
2019-11-15 02:21:15 +00:00
.implements Landroidx/core/view/NestedScrollingParent2;
.implements Landroidx/core/view/NestedScrollingParent3;
2019-07-24 11:27:29 +00:00
# annotations
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;,
Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
}
.end annotation
# static fields
2019-12-06 03:29:40 +00:00
.field public static final ACTION_BAR_ANIMATE_DELAY:I = 0x258
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public static final ATTRS:[I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public static final TAG:Ljava/lang/String; = "ActionBarOverlayLayout"
2019-07-24 11:27:29 +00:00
# instance fields
2019-12-06 03:29:40 +00:00
.field public mActionBarHeight:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final mAddActionBarHideOffset:Ljava/lang/Runnable;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mAnimatingForFling:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final mBaseContentInsets:Landroid/graphics/Rect;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final mBaseInnerInsets:Landroid/graphics/Rect;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mContent:Landroidx/appcompat/widget/ContentFrameLayout;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final mContentInsets:Landroid/graphics/Rect;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mCurrentActionBarTopAnimator:Landroid/view/ViewPropertyAnimator;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mFlingEstimator:Landroid/widget/OverScroller;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mHasNonEmbeddedTabs:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mHideOnContentScroll:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mHideOnContentScrollReference:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mIgnoreWindowContentOverlay:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final mInnerInsets:Landroid/graphics/Rect;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final mLastBaseContentInsets:Landroid/graphics/Rect;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final mLastBaseInnerInsets:Landroid/graphics/Rect;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final mLastInnerInsets:Landroid/graphics/Rect;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mLastSystemUiVisibility:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mOverlayMode:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final mParentHelper:Landroidx/core/view/NestedScrollingParentHelper;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final mRemoveActionBarHideOffset:Ljava/lang/Runnable;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final mTopAnimatorListener:Landroid/animation/AnimatorListenerAdapter;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mWindowContentOverlay:Landroid/graphics/drawable/Drawable;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mWindowVisibility:I
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public static constructor <clinit>()V
2019-07-24 11:27:29 +00:00
.locals 3
const/4 v0, 0x2
new-array v0, v0, [I
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
.locals 1
const/4 v0, 0x0
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
.locals 0
invoke-direct {p0, p1, p2}, Landroid/view/ViewGroup;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
const/4 p2, 0x0
iput p2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mWindowVisibility:I
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
invoke-direct {p0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->init(Landroid/content/Context;)V
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
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->haltActionBarHideOffsetAnimations()V
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
.locals 2
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_0
2019-12-06 03:29:40 +00:00
iget p3, p1, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
2019-07-24 11:27:29 +00:00
iget v1, p2, Landroid/graphics/Rect;->left:I
if-eq p3, v1, :cond_0
2019-12-06 03:29:40 +00:00
iput v1, p1, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
2019-07-24 11:27:29 +00:00
const/4 p3, 0x1
goto :goto_0
:cond_0
const/4 p3, 0x0
:goto_0
if-eqz p4, :cond_1
2019-12-06 03:29:40 +00:00
iget p4, p1, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
2019-07-24 11:27:29 +00:00
iget v1, p2, Landroid/graphics/Rect;->top:I
if-eq p4, v1, :cond_1
2019-12-06 03:29:40 +00:00
iput v1, p1, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
2019-07-24 11:27:29 +00:00
const/4 p3, 0x1
:cond_1
if-eqz p6, :cond_2
2019-12-06 03:29:40 +00:00
iget p4, p1, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
2019-07-24 11:27:29 +00:00
iget p6, p2, Landroid/graphics/Rect;->right:I
if-eq p4, p6, :cond_2
2019-12-06 03:29:40 +00:00
iput p6, p1, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
2019-07-24 11:27:29 +00:00
const/4 p3, 0x1
:cond_2
if-eqz p5, :cond_3
2019-12-06 03:29:40 +00:00
iget p4, p1, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
2019-07-24 11:27:29 +00:00
iget p2, p2, Landroid/graphics/Rect;->bottom:I
2019-12-06 03:29:40 +00:00
if-eq p4, p2, :cond_3
iput p2, p1, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
2019-07-24 11:27:29 +00:00
const/4 p3, 0x1
:cond_3
return p3
.end method
.method private getDecorToolbar(Landroid/view/View;)Landroidx/appcompat/widget/DecorToolbar;
2019-12-06 03:29:40 +00:00
.locals 2
2019-07-24 11:27:29 +00:00
instance-of v0, p1, Landroidx/appcompat/widget/DecorToolbar;
if-eqz v0, :cond_0
check-cast p1, Landroidx/appcompat/widget/DecorToolbar;
return-object p1
:cond_0
instance-of v0, p1, Landroidx/appcompat/widget/Toolbar;
if-eqz v0, :cond_1
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
:cond_1
new-instance v0, Ljava/lang/IllegalStateException;
2019-12-06 03:29:40 +00:00
const-string v1, "Can\'t make a decor toolbar out of "
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v1}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v1
2019-07-24 11:27:29 +00:00
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
.locals 4
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
2019-07-24 11:27:29 +00:00
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
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
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;
iget-object v3, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mWindowContentOverlay:Landroid/graphics/drawable/Drawable;
if-nez v3, :cond_0
const/4 v3, 0x1
goto :goto_0
:cond_0
const/4 v3, 0x0
:goto_0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, v3}, Landroid/view/ViewGroup;->setWillNotDraw(Z)V
2019-07-24 11:27:29 +00:00
invoke-virtual {v0}, Landroid/content/res/TypedArray;->recycle()V
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_1
const/4 v1, 0x1
:cond_1
iput-boolean v1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mIgnoreWindowContentOverlay:Z
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
.locals 3
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->haltActionBarHideOffsetAnimations()V
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mAddActionBarHideOffset:Ljava/lang/Runnable;
const-wide/16 v1, 0x258
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, v0, v1, v2}, Landroid/view/ViewGroup;->postDelayed(Ljava/lang/Runnable;J)Z
2019-07-24 11:27:29 +00:00
return-void
.end method
.method private postRemoveActionBarHideOffset()V
.locals 3
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->haltActionBarHideOffsetAnimations()V
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mRemoveActionBarHideOffset:Ljava/lang/Runnable;
const-wide/16 v1, 0x258
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, v0, v1, v2}, Landroid/view/ViewGroup;->postDelayed(Ljava/lang/Runnable;J)Z
2019-07-24 11:27:29 +00:00
return-void
.end method
.method private removeActionBarHideOffset()V
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->haltActionBarHideOffsetAnimations()V
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
.locals 9
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
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mFlingEstimator:Landroid/widget/OverScroller;
invoke-virtual {p1}, Landroid/widget/OverScroller;->getFinalY()I
move-result p1
iget-object p2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
2019-12-06 03:29:40 +00:00
invoke-virtual {p2}, Landroid/widget/FrameLayout;->getHeight()I
2019-07-24 11:27:29 +00:00
move-result p2
if-le p1, p2, :cond_0
const/4 p1, 0x1
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
const/4 p1, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return p1
.end method
# virtual methods
.method public canShowOverflowMenu()Z
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
2019-12-06 03:29:40 +00:00
.method public checkLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Z
2019-07-24 11:27:29 +00:00
.locals 0
instance-of p1, p1, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
return p1
.end method
.method public dismissPopups()V
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
.locals 5
invoke-super {p0, p1}, Landroid/view/ViewGroup;->draw(Landroid/graphics/Canvas;)V
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mWindowContentOverlay:Landroid/graphics/drawable/Drawable;
if-eqz v0, :cond_1
iget-boolean v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mIgnoreWindowContentOverlay:Z
if-nez v0, :cond_1
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroid/widget/FrameLayout;->getVisibility()I
2019-07-24 11:27:29 +00:00
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_0
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroid/widget/FrameLayout;->getBottom()I
2019-07-24 11:27:29 +00:00
move-result v0
int-to-float v0, v0
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
2019-12-06 03:29:40 +00:00
invoke-virtual {v2}, Landroid/widget/FrameLayout;->getTranslationY()F
2019-07-24 11:27:29 +00:00
move-result v2
2019-12-06 03:29:40 +00:00
add-float/2addr v2, v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/high16 v0, 0x3f000000 # 0.5f
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
add-float/2addr v2, v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
float-to-int v0, v2
2019-07-24 11:27:29 +00:00
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mWindowContentOverlay:Landroid/graphics/drawable/Drawable;
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getWidth()I
2019-07-24 11:27:29 +00:00
move-result v3
iget-object v4, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mWindowContentOverlay:Landroid/graphics/drawable/Drawable;
invoke-virtual {v4}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I
move-result v4
add-int/2addr v4, v0
invoke-virtual {v2, v1, v0, v3, v4}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
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_1
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public fitSystemWindows(Landroid/graphics/Rect;)Z
.locals 8
2019-07-24 11:27:29 +00:00
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
invoke-static {p0}, Landroidx/core/view/ViewCompat;->getWindowSystemUiVisibility(Landroid/view/View;)I
2019-12-06 03:29:40 +00:00
move-result v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
and-int/lit16 v0, v0, 0x100
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
2019-07-24 11:27:29 +00:00
const/4 v4, 0x1
2019-12-06 03:29:40 +00:00
const/4 v5, 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v6, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v7, 0x1
move-object v1, p0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-object v3, p1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct/range {v1 .. v7}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->applyInsets(Landroid/view/View;Landroid/graphics/Rect;ZZZZ)Z
2019-07-24 11:27:29 +00:00
move-result v0
iget-object v1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mBaseInnerInsets:Landroid/graphics/Rect;
invoke-virtual {v1, p1}, Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V
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
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_0
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
:cond_0
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_1
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_1
if-eqz v0, :cond_2
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->requestLayout()V
2019-07-24 11:27:29 +00:00
:cond_2
return v1
.end method
2019-12-06 03:29:40 +00:00
.method public bridge synthetic generateDefaultLayoutParams()Landroid/view/ViewGroup$LayoutParams;
2019-07-24 11:27:29 +00:00
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->generateDefaultLayoutParams()Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
move-result-object v0
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public generateDefaultLayoutParams()Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
2019-07-24 11:27:29 +00:00
.locals 2
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;
.locals 0
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
2019-12-06 03:29:40 +00:00
.method public generateLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Landroid/view/ViewGroup$LayoutParams;
2019-07-24 11:27:29 +00:00
.locals 1
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;
.locals 2
new-instance v0, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
2019-07-24 11:27:29 +00:00
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
.locals 1
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
if-eqz v0, :cond_0
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroid/widget/FrameLayout;->getTranslationY()F
2019-07-24 11:27:29 +00:00
move-result v0
float-to-int v0, v0
neg-int v0, v0
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return v0
.end method
.method public getNestedScrollAxes()I
.locals 1
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;
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
2019-12-06 03:29:40 +00:00
.method public haltActionBarHideOffsetAnimations()V
2019-07-24 11:27:29 +00:00
.locals 1
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mRemoveActionBarHideOffset:Ljava/lang/Runnable;
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->removeCallbacks(Ljava/lang/Runnable;)Z
2019-07-24 11:27:29 +00:00
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mAddActionBarHideOffset:Ljava/lang/Runnable;
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->removeCallbacks(Ljava/lang/Runnable;)Z
2019-07-24 11:27:29 +00:00
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mCurrentActionBarTopAnimator:Landroid/view/ViewPropertyAnimator;
if-eqz v0, :cond_0
invoke-virtual {v0}, Landroid/view/ViewPropertyAnimator;->cancel()V
:cond_0
return-void
.end method
.method public hasIcon()Z
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
const/4 v0, 0x2
if-eq p1, v0, :cond_2
const/4 v0, 0x5
if-eq p1, v0, :cond_1
const/16 v0, 0x6d
if-eq p1, v0, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x1
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->setOverlayMode(Z)V
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_1
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {p1}, Landroidx/appcompat/widget/DecorToolbar;->initIndeterminateProgress()V
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_2
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
invoke-interface {p1}, Landroidx/appcompat/widget/DecorToolbar;->initProgress()V
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public isHideOnContentScrollEnabled()Z
.locals 1
iget-boolean v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScroll:Z
return v0
.end method
.method public isInOverlayMode()Z
.locals 1
iget-boolean v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mOverlayMode:Z
return v0
.end method
.method public isOverflowMenuShowPending()Z
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
2019-12-06 03:29:40 +00:00
.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-super {p0, p1}, Landroid/view/ViewGroup;->onConfigurationChanged(Landroid/content/res/Configuration;)V
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
2019-07-24 11:27:29 +00:00
move-result-object p1
invoke-direct {p0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->init(Landroid/content/Context;)V
invoke-static {p0}, Landroidx/core/view/ViewCompat;->requestApplyInsets(Landroid/view/View;)V
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public onDetachedFromWindow()V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-super {p0}, Landroid/view/ViewGroup;->onDetachedFromWindow()V
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->haltActionBarHideOffsetAnimations()V
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public onLayout(ZIIII)V
2019-07-24 11:27:29 +00:00
.locals 4
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
2019-07-24 11:27:29 +00:00
move-result p1
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingLeft()I
2019-07-24 11:27:29 +00:00
move-result p2
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingRight()I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingTop()I
2019-07-24 11:27:29 +00:00
move-result p3
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingBottom()I
2019-07-24 11:27:29 +00:00
const/4 p4, 0x0
:goto_0
if-ge p4, p1, :cond_1
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, p4}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
2019-07-24 11:27:29 +00:00
move-result-object p5
invoke-virtual {p5}, Landroid/view/View;->getVisibility()I
move-result v0
const/16 v1, 0x8
if-eq v0, v1, :cond_0
invoke-virtual {p5}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
check-cast v0, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
invoke-virtual {p5}, Landroid/view/View;->getMeasuredWidth()I
move-result v1
invoke-virtual {p5}, Landroid/view/View;->getMeasuredHeight()I
move-result v2
2019-12-06 03:29:40 +00:00
iget v3, v0, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
2019-07-24 11:27:29 +00:00
add-int/2addr v3, p2
2019-12-06 03:29:40 +00:00
iget v0, v0, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
2019-07-24 11:27:29 +00:00
add-int/2addr v0, p3
add-int/2addr v1, v3
add-int/2addr v2, v0
invoke-virtual {p5, v3, v0, v1, v2}, Landroid/view/View;->layout(IIII)V
:cond_0
add-int/lit8 p4, p4, 0x1
goto :goto_0
:cond_1
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public onMeasure(II)V
2019-07-24 11:27:29 +00:00
.locals 13
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
2019-12-06 03:29:40 +00:00
invoke-virtual/range {v0 .. v5}, Landroid/view/ViewGroup;->measureChildWithMargins(Landroid/view/View;IIII)V
2019-07-24 11:27:29 +00:00
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroid/widget/FrameLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
2019-07-24 11:27:29 +00:00
move-result-object v0
check-cast v0, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
iget-object v1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
2019-12-06 03:29:40 +00:00
invoke-virtual {v1}, Landroid/widget/FrameLayout;->getMeasuredWidth()I
2019-07-24 11:27:29 +00:00
move-result v1
2019-12-06 03:29:40 +00:00
iget v2, v0, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
2019-07-24 11:27:29 +00:00
add-int/2addr v1, v2
2019-12-06 03:29:40 +00:00
iget v2, v0, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
2019-07-24 11:27:29 +00:00
add-int/2addr v1, v2
const/4 v2, 0x0
invoke-static {v2, v1}, Ljava/lang/Math;->max(II)I
move-result v1
iget-object v3, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
2019-12-06 03:29:40 +00:00
invoke-virtual {v3}, Landroid/widget/FrameLayout;->getMeasuredHeight()I
2019-07-24 11:27:29 +00:00
move-result v3
2019-12-06 03:29:40 +00:00
iget v4, v0, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
2019-07-24 11:27:29 +00:00
add-int/2addr v3, v4
2019-12-06 03:29:40 +00:00
iget v0, v0, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
2019-07-24 11:27:29 +00:00
add-int/2addr v3, v0
invoke-static {v2, v3}, Ljava/lang/Math;->max(II)I
move-result v0
iget-object v3, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
2019-12-06 03:29:40 +00:00
invoke-virtual {v3}, Landroid/widget/FrameLayout;->getMeasuredState()I
2019-07-24 11:27:29 +00:00
move-result v3
invoke-static {v2, v3}, Landroid/view/View;->combineMeasuredStates(II)I
move-result v3
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_0
const/4 v4, 0x1
goto :goto_0
:cond_0
const/4 v4, 0x0
:goto_0
if-eqz v4, :cond_1
iget v5, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarHeight:I
iget-boolean v6, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHasNonEmbeddedTabs:Z
if-eqz v6, :cond_3
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_3
iget v6, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarHeight:I
add-int/2addr v5, v6
goto :goto_1
:cond_1
iget-object v5, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
2019-12-06 03:29:40 +00:00
invoke-virtual {v5}, Landroid/widget/FrameLayout;->getVisibility()I
2019-07-24 11:27:29 +00:00
move-result v5
const/16 v6, 0x8
if-eq v5, v6, :cond_2
iget-object v5, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
2019-12-06 03:29:40 +00:00
invoke-virtual {v5}, Landroid/widget/FrameLayout;->getMeasuredHeight()I
2019-07-24 11:27:29 +00:00
move-result v5
goto :goto_1
:cond_2
const/4 v5, 0x0
:cond_3
:goto_1
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
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
iget-boolean v6, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mOverlayMode:Z
if-nez v6, :cond_4
if-nez v4, :cond_4
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
iget v5, v4, Landroid/graphics/Rect;->bottom:I
add-int/2addr v5, v2
iput v5, v4, Landroid/graphics/Rect;->bottom:I
goto :goto_2
:cond_4
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
iget v5, v4, Landroid/graphics/Rect;->bottom:I
add-int/2addr v5, v2
iput v5, v4, Landroid/graphics/Rect;->bottom:I
:goto_2
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
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_5
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
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
:cond_5
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
2019-12-06 03:29:40 +00:00
invoke-virtual/range {v5 .. v10}, Landroid/view/ViewGroup;->measureChildWithMargins(Landroid/view/View;IIII)V
2019-07-24 11:27:29 +00:00
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContent:Landroidx/appcompat/widget/ContentFrameLayout;
2019-12-06 03:29:40 +00:00
invoke-virtual {v2}, Landroid/widget/FrameLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
2019-07-24 11:27:29 +00:00
move-result-object v2
check-cast v2, Landroidx/appcompat/widget/ActionBarOverlayLayout$LayoutParams;
iget-object v4, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContent:Landroidx/appcompat/widget/ContentFrameLayout;
2019-12-06 03:29:40 +00:00
invoke-virtual {v4}, Landroid/widget/FrameLayout;->getMeasuredWidth()I
2019-07-24 11:27:29 +00:00
move-result v4
2019-12-06 03:29:40 +00:00
iget v5, v2, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
2019-07-24 11:27:29 +00:00
add-int/2addr v4, v5
2019-12-06 03:29:40 +00:00
iget v5, v2, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
2019-07-24 11:27:29 +00:00
add-int/2addr v4, v5
invoke-static {v1, v4}, Ljava/lang/Math;->max(II)I
move-result v1
iget-object v4, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContent:Landroidx/appcompat/widget/ContentFrameLayout;
2019-12-06 03:29:40 +00:00
invoke-virtual {v4}, Landroid/widget/FrameLayout;->getMeasuredHeight()I
2019-07-24 11:27:29 +00:00
move-result v4
2019-12-06 03:29:40 +00:00
iget v5, v2, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
2019-07-24 11:27:29 +00:00
add-int/2addr v4, v5
2019-12-06 03:29:40 +00:00
iget v2, v2, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
2019-07-24 11:27:29 +00:00
add-int/2addr v4, v2
invoke-static {v0, v4}, Ljava/lang/Math;->max(II)I
move-result v0
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContent:Landroidx/appcompat/widget/ContentFrameLayout;
2019-12-06 03:29:40 +00:00
invoke-virtual {v2}, Landroid/widget/FrameLayout;->getMeasuredState()I
2019-07-24 11:27:29 +00:00
move-result v2
invoke-static {v3, v2}, Landroid/view/View;->combineMeasuredStates(II)I
move-result v2
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingLeft()I
2019-07-24 11:27:29 +00:00
move-result v3
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingRight()I
2019-07-24 11:27:29 +00:00
move-result v4
2019-12-06 03:29:40 +00:00
add-int/2addr v4, v3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
add-int/2addr v4, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingTop()I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingBottom()I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
add-int/2addr v3, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
add-int/2addr v3, v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getSuggestedMinimumHeight()I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v3, v0}, Ljava/lang/Math;->max(II)I
2019-07-24 11:27:29 +00:00
move-result v0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getSuggestedMinimumWidth()I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v4, v1}, Ljava/lang/Math;->max(II)I
2019-07-24 11:27:29 +00:00
move-result v1
invoke-static {v1, p1, v2}, Landroid/view/View;->resolveSizeAndState(III)I
move-result p1
shl-int/lit8 v1, v2, 0x10
invoke-static {v0, p2, v1}, Landroid/view/View;->resolveSizeAndState(III)I
move-result p2
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, p1, p2}, Landroid/view/ViewGroup;->setMeasuredDimension(II)V
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public onNestedFling(Landroid/view/View;FFZ)Z
.locals 0
iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScroll:Z
if-eqz p1, :cond_2
if-nez p4, :cond_0
goto :goto_1
:cond_0
invoke-direct {p0, p2, p3}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->shouldHideActionBarOnFling(FF)Z
move-result p1
if-eqz p1, :cond_1
invoke-direct {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->addActionBarHideOffset()V
goto :goto_0
:cond_1
invoke-direct {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->removeActionBarHideOffset()V
:goto_0
const/4 p1, 0x1
iput-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mAnimatingForFling:Z
return p1
:cond_2
:goto_1
const/4 p1, 0x0
return p1
.end method
.method public onNestedPreFling(Landroid/view/View;FF)Z
.locals 0
const/4 p1, 0x0
return p1
.end method
.method public onNestedPreScroll(Landroid/view/View;II[I)V
.locals 0
return-void
.end method
2019-11-15 02:21:15 +00:00
.method public onNestedPreScroll(Landroid/view/View;II[II)V
.locals 0
if-nez p5, :cond_0
invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->onNestedPreScroll(Landroid/view/View;II[I)V
:cond_0
return-void
.end method
2019-07-24 11:27:29 +00:00
.method public onNestedScroll(Landroid/view/View;IIII)V
.locals 0
iget p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScrollReference:I
add-int/2addr p1, p3
iput p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScrollReference:I
iget p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScrollReference:I
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->setActionBarHideOffset(I)V
return-void
.end method
2019-11-15 02:21:15 +00:00
.method public onNestedScroll(Landroid/view/View;IIIII)V
.locals 0
if-nez p6, :cond_0
invoke-virtual/range {p0 .. p5}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->onNestedScroll(Landroid/view/View;IIII)V
:cond_0
return-void
.end method
.method public onNestedScroll(Landroid/view/View;IIIII[I)V
.locals 0
invoke-virtual/range {p0 .. p6}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->onNestedScroll(Landroid/view/View;IIIII)V
return-void
.end method
2019-07-24 11:27:29 +00:00
.method public onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;I)V
.locals 1
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
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->getActionBarHideOffset()I
move-result p1
iput p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScrollReference:I
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->haltActionBarHideOffsetAnimations()V
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
if-eqz p1, :cond_0
invoke-interface {p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;->onContentScrollStarted()V
:cond_0
return-void
.end method
2019-11-15 02:21:15 +00:00
.method public onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;II)V
.locals 0
if-nez p4, :cond_0
invoke-virtual {p0, p1, p2, p3}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;I)V
:cond_0
return-void
.end method
2019-07-24 11:27:29 +00:00
.method public onStartNestedScroll(Landroid/view/View;Landroid/view/View;I)Z
.locals 0
and-int/lit8 p1, p3, 0x2
if-eqz p1, :cond_1
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
2019-12-06 03:29:40 +00:00
invoke-virtual {p1}, Landroid/widget/FrameLayout;->getVisibility()I
2019-07-24 11:27:29 +00:00
move-result p1
if-eqz p1, :cond_0
goto :goto_0
:cond_0
iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScroll:Z
return p1
:cond_1
:goto_0
const/4 p1, 0x0
return p1
.end method
2019-11-15 02:21:15 +00:00
.method public onStartNestedScroll(Landroid/view/View;Landroid/view/View;II)Z
.locals 0
if-nez p4, :cond_0
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_0
const/4 p1, 0x1
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-11-15 02:21:15 +00:00
:cond_0
const/4 p1, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2019-11-15 02:21:15 +00:00
return p1
.end method
2019-07-24 11:27:29 +00:00
.method public onStopNestedScroll(Landroid/view/View;)V
.locals 1
iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScroll:Z
if-eqz p1, :cond_1
iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mAnimatingForFling:Z
if-nez p1, :cond_1
iget p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScrollReference:I
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroid/widget/FrameLayout;->getHeight()I
2019-07-24 11:27:29 +00:00
move-result v0
if-gt p1, v0, :cond_0
invoke-direct {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->postRemoveActionBarHideOffset()V
goto :goto_0
:cond_0
invoke-direct {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->postAddActionBarHideOffset()V
:cond_1
:goto_0
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
if-eqz p1, :cond_2
invoke-interface {p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;->onContentScrollStopped()V
:cond_2
return-void
.end method
2019-11-15 02:21:15 +00:00
.method public onStopNestedScroll(Landroid/view/View;I)V
.locals 0
if-nez p2, :cond_0
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->onStopNestedScroll(Landroid/view/View;)V
:cond_0
return-void
.end method
2019-07-24 11:27:29 +00:00
.method public onWindowSystemUiVisibilityChanged(I)V
.locals 4
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
invoke-super {p0, p1}, Landroid/view/ViewGroup;->onWindowSystemUiVisibilityChanged(I)V
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
iget v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mLastSystemUiVisibility:I
xor-int/2addr v0, p1
iput p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mLastSystemUiVisibility:I
and-int/lit8 v1, p1, 0x4
const/4 v2, 0x0
const/4 v3, 0x1
2019-12-06 03:29:40 +00:00
if-nez v1, :cond_0
2019-07-24 11:27:29 +00:00
const/4 v1, 0x1
goto :goto_0
2019-12-06 03:29:40 +00:00
:cond_0
2019-07-24 11:27:29 +00:00
const/4 v1, 0x0
:goto_0
and-int/lit16 p1, p1, 0x100
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_1
2019-07-24 11:27:29 +00:00
const/4 v2, 0x1
2019-12-06 03:29:40 +00:00
:cond_1
2019-07-24 11:27:29 +00:00
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_4
2019-07-24 11:27:29 +00:00
xor-int/lit8 v3, v2, 0x1
invoke-interface {p1, v3}, Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;->enableContentAnimations(Z)V
2019-12-06 03:29:40 +00:00
if-nez v1, :cond_3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-nez v2, :cond_2
2019-07-24 11:27:29 +00:00
goto :goto_1
2019-12-06 03:29:40 +00:00
:cond_2
2019-07-24 11:27:29 +00:00
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_2
2019-12-06 03:29:40 +00:00
:cond_3
2019-07-24 11:27:29 +00:00
:goto_1
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
invoke-interface {p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;->showForSystem()V
2019-12-06 03:29:40 +00:00
:cond_4
2019-07-24 11:27:29 +00:00
:goto_2
and-int/lit16 p1, v0, 0x100
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_5
2019-07-24 11:27:29 +00:00
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_5
2019-07-24 11:27:29 +00:00
invoke-static {p0}, Landroidx/core/view/ViewCompat;->requestApplyInsets(Landroid/view/View;)V
2019-12-06 03:29:40 +00:00
:cond_5
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public onWindowVisibilityChanged(I)V
2019-07-24 11:27:29 +00:00
.locals 1
invoke-super {p0, p1}, Landroid/view/ViewGroup;->onWindowVisibilityChanged(I)V
iput p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mWindowVisibility:I
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
if-eqz v0, :cond_0
invoke-interface {v0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;->onWindowVisibilityChanged(I)V
:cond_0
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public pullChildren()V
2019-07-24 11:27:29 +00:00
.locals 1
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContent:Landroidx/appcompat/widget/ContentFrameLayout;
if-nez v0, :cond_0
sget v0, Landroidx/appcompat/R$id;->action_bar_activity_content:I
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
2019-07-24 11:27:29 +00:00
move-result-object v0
check-cast v0, Landroidx/appcompat/widget/ContentFrameLayout;
iput-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mContent:Landroidx/appcompat/widget/ContentFrameLayout;
sget v0, Landroidx/appcompat/R$id;->action_bar_container:I
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
2019-07-24 11:27:29 +00:00
move-result-object v0
check-cast v0, Landroidx/appcompat/widget/ActionBarContainer;
iput-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
sget v0, Landroidx/appcompat/R$id;->action_bar:I
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
2019-07-24 11:27:29 +00:00
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_0
return-void
.end method
.method public restoreToolbarHierarchyState(Landroid/util/SparseArray;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/util/SparseArray<",
"Landroid/os/Parcelable;",
">;)V"
}
.end annotation
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/util/SparseArray<",
"Landroid/os/Parcelable;",
">;)V"
}
.end annotation
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->haltActionBarHideOffsetAnimations()V
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroid/widget/FrameLayout;->getHeight()I
2019-07-24 11:27:29 +00:00
move-result v0
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
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarTop:Landroidx/appcompat/widget/ActionBarContainer;
neg-int p1, p1
int-to-float p1, p1
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Landroid/widget/FrameLayout;->setTranslationY(F)V
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setActionBarVisibilityCallback(Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;)V
.locals 1
iput-object p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mActionBarVisibilityCallback:Landroidx/appcompat/widget/ActionBarOverlayLayout$ActionBarVisibilityCallback;
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getWindowToken()Landroid/os/IBinder;
2019-07-24 11:27:29 +00:00
move-result-object p1
if-eqz p1, :cond_0
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
iget p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mLastSystemUiVisibility:I
if-eqz p1, :cond_0
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->onWindowSystemUiVisibilityChanged(I)V
invoke-static {p0}, Landroidx/core/view/ViewCompat;->requestApplyInsets(Landroid/view/View;)V
:cond_0
return-void
.end method
.method public setHasNonEmbeddedTabs(Z)V
.locals 0
iput-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHasNonEmbeddedTabs:Z
return-void
.end method
.method public setHideOnContentScrollEnabled(Z)V
.locals 1
iget-boolean v0, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScroll:Z
if-eq p1, v0, :cond_0
iput-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mHideOnContentScroll:Z
if-nez p1, :cond_0
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->haltActionBarHideOffsetAnimations()V
const/4 p1, 0x0
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->setActionBarHideOffset(I)V
:cond_0
return-void
.end method
.method public setIcon(I)V
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
.locals 1
iput-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mOverlayMode:Z
if-eqz p1, :cond_0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
2019-07-24 11:27:29 +00:00
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_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
iput-boolean p1, p0, Landroidx/appcompat/widget/ActionBarOverlayLayout;->mIgnoreWindowContentOverlay:Z
return-void
.end method
.method public setShowingForActionMode(Z)V
.locals 0
return-void
.end method
.method public setUiOptions(I)V
.locals 0
return-void
.end method
.method public setWindowCallback(Landroid/view/Window$Callback;)V
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public showOverflowMenu()Z
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->pullChildren()V
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