ActionBarContainer.smali
.class public Landroidx/appcompat/widget/ActionBarContainer;
.super Landroid/widget/FrameLayout;
.source "ActionBarContainer.java"
# instance fields
.field private mActionBarView:Landroid/view/View;
.field mBackground:Landroid/graphics/drawable/Drawable;
.field private mContextView:Landroid/view/View;
.field private mHeight:I
.field mIsSplit:Z
.field mIsStacked:Z
.field private mIsTransitioning:Z
.field mSplitBackground:Landroid/graphics/drawable/Drawable;
.field mStackedBackground:Landroid/graphics/drawable/Drawable;
.field private mTabContainer:Landroid/view/View;
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.registers 3
const/4 v0, 0x0
.line 55
invoke-direct {p0, p1, v0}, Landroidx/appcompat/widget/ActionBarContainer;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.registers 5
.line 59
invoke-direct {p0, p1, p2}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.line 62
new-instance v0, Landroidx/appcompat/widget/ActionBarBackgroundDrawable;
invoke-direct {v0, p0}, Landroidx/appcompat/widget/ActionBarBackgroundDrawable;-><init>(Landroidx/appcompat/widget/ActionBarContainer;)V
.line 63
invoke-static {p0, v0}, Landroidx/core/view/ViewCompat;->setBackground(Landroid/view/View;Landroid/graphics/drawable/Drawable;)V
.line 65
sget-object v0, Landroidx/appcompat/R$styleable;->ActionBar:[I
invoke-virtual {p1, p2, v0}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
move-result-object p1
.line 67
sget p2, Landroidx/appcompat/R$styleable;->ActionBar_background:I
invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;
move-result-object p2
iput-object p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
.line 68
sget p2, Landroidx/appcompat/R$styleable;->ActionBar_backgroundStacked:I
invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;
move-result-object p2
iput-object p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->mStackedBackground:Landroid/graphics/drawable/Drawable;
.line 70
sget p2, Landroidx/appcompat/R$styleable;->ActionBar_height:I
const/4 v0, -0x1
invoke-virtual {p1, p2, v0}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
move-result p2
iput p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->mHeight:I
.line 72
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarContainer;->getId()I
move-result p2
sget v0, Landroidx/appcompat/R$id;->split_action_bar:I
const/4 v1, 0x1
if-ne p2, v0, :cond_3d
.line 73
iput-boolean v1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mIsSplit:Z
.line 74
sget p2, Landroidx/appcompat/R$styleable;->ActionBar_backgroundSplit:I
invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;
move-result-object p2
iput-object p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->mSplitBackground:Landroid/graphics/drawable/Drawable;
.line 76
:cond_3d
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
.line 78
iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mIsSplit:Z
const/4 p2, 0x0
if-eqz p1, :cond_4a
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mSplitBackground:Landroid/graphics/drawable/Drawable;
if-nez p1, :cond_53
goto :goto_54
:cond_4a
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
if-nez p1, :cond_53
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mStackedBackground:Landroid/graphics/drawable/Drawable;
if-nez p1, :cond_53
goto :goto_54
:cond_53
const/4 v1, 0x0
:goto_54
invoke-virtual {p0, v1}, Landroidx/appcompat/widget/ActionBarContainer;->setWillNotDraw(Z)V
return-void
.end method
.method private getMeasuredHeightWithMargins(Landroid/view/View;)I
.registers 4
.line 267
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
check-cast v0, Landroid/widget/FrameLayout$LayoutParams;
.line 268
invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I
move-result p1
iget v1, v0, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I
add-int/2addr p1, v1
iget v0, v0, Landroid/widget/FrameLayout$LayoutParams;->bottomMargin:I
add-int/2addr p1, v0
return p1
.end method
.method private isCollapsed(Landroid/view/View;)Z
.registers 4
if-eqz p1, :cond_13
.line 263
invoke-virtual {p1}, Landroid/view/View;->getVisibility()I
move-result v0
const/16 v1, 0x8
if-eq v0, v1, :cond_13
invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I
move-result p1
if-nez p1, :cond_11
goto :goto_13
:cond_11
const/4 p1, 0x0
goto :goto_14
:cond_13
:goto_13
const/4 p1, 0x1
:goto_14
return p1
.end method
# virtual methods
.method protected drawableStateChanged()V
.registers 3
.line 168
invoke-super {p0}, Landroid/widget/FrameLayout;->drawableStateChanged()V
.line 169
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
if-eqz v0, :cond_16
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->isStateful()Z
move-result v0
if-eqz v0, :cond_16
.line 170
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarContainer;->getDrawableState()[I
move-result-object v1
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z
.line 172
:cond_16
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mStackedBackground:Landroid/graphics/drawable/Drawable;
if-eqz v0, :cond_29
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->isStateful()Z
move-result v0
if-eqz v0, :cond_29
.line 173
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mStackedBackground:Landroid/graphics/drawable/Drawable;
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarContainer;->getDrawableState()[I
move-result-object v1
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z
.line 175
:cond_29
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mSplitBackground:Landroid/graphics/drawable/Drawable;
if-eqz v0, :cond_3c
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->isStateful()Z
move-result v0
if-eqz v0, :cond_3c
.line 176
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mSplitBackground:Landroid/graphics/drawable/Drawable;
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarContainer;->getDrawableState()[I
move-result-object v1
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z
:cond_3c
return-void
.end method
.method public getTabContainer()Landroid/view/View;
.registers 2
.line 243
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mTabContainer:Landroid/view/View;
return-object v0
.end method
.method public jumpDrawablesToCurrentState()V
.registers 2
.line 182
invoke-super {p0}, Landroid/widget/FrameLayout;->jumpDrawablesToCurrentState()V
.line 183
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
if-eqz v0, :cond_a
.line 184
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->jumpToCurrentState()V
.line 186
:cond_a
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mStackedBackground:Landroid/graphics/drawable/Drawable;
if-eqz v0, :cond_11
.line 187
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->jumpToCurrentState()V
.line 189
:cond_11
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mSplitBackground:Landroid/graphics/drawable/Drawable;
if-eqz v0, :cond_18
.line 190
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->jumpToCurrentState()V
:cond_18
return-void
.end method
.method public onFinishInflate()V
.registers 2
.line 84
invoke-super {p0}, Landroid/widget/FrameLayout;->onFinishInflate()V
.line 85
sget v0, Landroidx/appcompat/R$id;->action_bar:I
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarContainer;->findViewById(I)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mActionBarView:Landroid/view/View;
.line 86
sget v0, Landroidx/appcompat/R$id;->action_context_bar:I
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarContainer;->findViewById(I)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mContextView:Landroid/view/View;
return-void
.end method
.method public onHoverEvent(Landroid/view/MotionEvent;)Z
.registers 2
.line 222
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onHoverEvent(Landroid/view/MotionEvent;)Z
const/4 p1, 0x1
return p1
.end method
.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
.registers 3
.line 209
iget-boolean v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mIsTransitioning:Z
if-nez v0, :cond_d
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
move-result p1
if-eqz p1, :cond_b
goto :goto_d
:cond_b
const/4 p1, 0x0
goto :goto_e
:cond_d
:goto_d
const/4 p1, 0x1
:goto_e
return p1
.end method
.method public onLayout(ZIIII)V
.registers 11
.line 303
invoke-super/range {p0 .. p5}, Landroid/widget/FrameLayout;->onLayout(ZIIII)V
.line 305
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mTabContainer:Landroid/view/View;
const/16 p3, 0x8
const/4 p5, 0x1
const/4 v0, 0x0
if-eqz p1, :cond_13
.line 306
invoke-virtual {p1}, Landroid/view/View;->getVisibility()I
move-result v1
if-eq v1, p3, :cond_13
const/4 v1, 0x1
goto :goto_14
:cond_13
const/4 v1, 0x0
:goto_14
if-eqz p1, :cond_35
.line 308
invoke-virtual {p1}, Landroid/view/View;->getVisibility()I
move-result v2
if-eq v2, p3, :cond_35
.line 309
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarContainer;->getMeasuredHeight()I
move-result p3
.line 310
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v2
check-cast v2, Landroid/widget/FrameLayout$LayoutParams;
.line 311
invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I
move-result v3
sub-int v3, p3, v3
.line 312
iget v4, v2, Landroid/widget/FrameLayout$LayoutParams;->bottomMargin:I
sub-int/2addr v3, v4
iget v2, v2, Landroid/widget/FrameLayout$LayoutParams;->bottomMargin:I
sub-int/2addr p3, v2
invoke-virtual {p1, p2, v3, p4, p3}, Landroid/view/View;->layout(IIII)V
.line 317
:cond_35
iget-boolean p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->mIsSplit:Z
if-eqz p2, :cond_4d
.line 318
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mSplitBackground:Landroid/graphics/drawable/Drawable;
if-eqz p1, :cond_4a
.line 319
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarContainer;->getMeasuredWidth()I
move-result p2
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarContainer;->getMeasuredHeight()I
move-result p3
invoke-virtual {p1, v0, v0, p2, p3}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
goto/16 :goto_c2
:cond_4a
const/4 p5, 0x0
goto/16 :goto_c2
.line 323
:cond_4d
iget-object p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
if-eqz p2, :cond_a5
.line 324
iget-object p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->mActionBarView:Landroid/view/View;
invoke-virtual {p2}, Landroid/view/View;->getVisibility()I
move-result p2
if-nez p2, :cond_77
.line 325
iget-object p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
iget-object p3, p0, Landroidx/appcompat/widget/ActionBarContainer;->mActionBarView:Landroid/view/View;
invoke-virtual {p3}, Landroid/view/View;->getLeft()I
move-result p3
iget-object p4, p0, Landroidx/appcompat/widget/ActionBarContainer;->mActionBarView:Landroid/view/View;
invoke-virtual {p4}, Landroid/view/View;->getTop()I
move-result p4
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mActionBarView:Landroid/view/View;
.line 326
invoke-virtual {v0}, Landroid/view/View;->getRight()I
move-result v0
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarContainer;->mActionBarView:Landroid/view/View;
invoke-virtual {v2}, Landroid/view/View;->getBottom()I
move-result v2
.line 325
invoke-virtual {p2, p3, p4, v0, v2}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
goto :goto_a4
.line 327
:cond_77
iget-object p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->mContextView:Landroid/view/View;
if-eqz p2, :cond_9f
.line 328
invoke-virtual {p2}, Landroid/view/View;->getVisibility()I
move-result p2
if-nez p2, :cond_9f
.line 329
iget-object p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
iget-object p3, p0, Landroidx/appcompat/widget/ActionBarContainer;->mContextView:Landroid/view/View;
invoke-virtual {p3}, Landroid/view/View;->getLeft()I
move-result p3
iget-object p4, p0, Landroidx/appcompat/widget/ActionBarContainer;->mContextView:Landroid/view/View;
invoke-virtual {p4}, Landroid/view/View;->getTop()I
move-result p4
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mContextView:Landroid/view/View;
.line 330
invoke-virtual {v0}, Landroid/view/View;->getRight()I
move-result v0
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarContainer;->mContextView:Landroid/view/View;
invoke-virtual {v2}, Landroid/view/View;->getBottom()I
move-result v2
.line 329
invoke-virtual {p2, p3, p4, v0, v2}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
goto :goto_a4
.line 332
:cond_9f
iget-object p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
invoke-virtual {p2, v0, v0, v0, v0}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
:goto_a4
const/4 v0, 0x1
.line 336
:cond_a5
iput-boolean v1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mIsStacked:Z
if-eqz v1, :cond_c1
.line 337
iget-object p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->mStackedBackground:Landroid/graphics/drawable/Drawable;
if-eqz p2, :cond_c1
.line 338
invoke-virtual {p1}, Landroid/view/View;->getLeft()I
move-result p3
invoke-virtual {p1}, Landroid/view/View;->getTop()I
move-result p4
.line 339
invoke-virtual {p1}, Landroid/view/View;->getRight()I
move-result v0
invoke-virtual {p1}, Landroid/view/View;->getBottom()I
move-result p1
.line 338
invoke-virtual {p2, p3, p4, v0, p1}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
goto :goto_c2
:cond_c1
move p5, v0
:goto_c2
if-eqz p5, :cond_c7
.line 345
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarContainer;->invalidate()V
:cond_c7
return-void
.end method
.method public onMeasure(II)V
.registers 6
.line 273
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mActionBarView:Landroid/view/View;
const/high16 v1, -0x80000000
if-nez v0, :cond_1c
.line 274
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getMode(I)I
move-result v0
if-ne v0, v1, :cond_1c
iget v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mHeight:I
if-ltz v0, :cond_1c
.line 276
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I
move-result p2
invoke-static {v0, p2}, Ljava/lang/Math;->min(II)I
move-result p2
.line 275
invoke-static {p2, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result p2
.line 278
:cond_1c
invoke-super {p0, p1, p2}, Landroid/widget/FrameLayout;->onMeasure(II)V
.line 280
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mActionBarView:Landroid/view/View;
if-nez p1, :cond_24
return-void
.line 282
:cond_24
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getMode(I)I
move-result p1
.line 283
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mTabContainer:Landroid/view/View;
if-eqz v0, :cond_73
invoke-virtual {v0}, Landroid/view/View;->getVisibility()I
move-result v0
const/16 v2, 0x8
if-eq v0, v2, :cond_73
const/high16 v0, 0x40000000 # 2.0f
if-eq p1, v0, :cond_73
.line 286
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mActionBarView:Landroid/view/View;
invoke-direct {p0, v0}, Landroidx/appcompat/widget/ActionBarContainer;->isCollapsed(Landroid/view/View;)Z
move-result v0
if-nez v0, :cond_47
.line 287
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mActionBarView:Landroid/view/View;
invoke-direct {p0, v0}, Landroidx/appcompat/widget/ActionBarContainer;->getMeasuredHeightWithMargins(Landroid/view/View;)I
move-result v0
goto :goto_57
.line 288
:cond_47
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mContextView:Landroid/view/View;
invoke-direct {p0, v0}, Landroidx/appcompat/widget/ActionBarContainer;->isCollapsed(Landroid/view/View;)Z
move-result v0
if-nez v0, :cond_56
.line 289
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mContextView:Landroid/view/View;
invoke-direct {p0, v0}, Landroidx/appcompat/widget/ActionBarContainer;->getMeasuredHeightWithMargins(Landroid/view/View;)I
move-result v0
goto :goto_57
:cond_56
const/4 v0, 0x0
:goto_57
if-ne p1, v1, :cond_5e
.line 294
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I
move-result p1
goto :goto_61
:cond_5e
const p1, 0x7fffffff
.line 295
:goto_61
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarContainer;->getMeasuredWidth()I
move-result p2
iget-object v1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mTabContainer:Landroid/view/View;
.line 296
invoke-direct {p0, v1}, Landroidx/appcompat/widget/ActionBarContainer;->getMeasuredHeightWithMargins(Landroid/view/View;)I
move-result v1
add-int/2addr v0, v1
invoke-static {v0, p1}, Ljava/lang/Math;->min(II)I
move-result p1
.line 295
invoke-virtual {p0, p2, p1}, Landroidx/appcompat/widget/ActionBarContainer;->setMeasuredDimension(II)V
:cond_73
return-void
.end method
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
.registers 2
.line 214
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onTouchEvent(Landroid/view/MotionEvent;)Z
const/4 p1, 0x1
return p1
.end method
.method public setPrimaryBackground(Landroid/graphics/drawable/Drawable;)V
.registers 6
.line 90
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
if-eqz v0, :cond_d
const/4 v1, 0x0
.line 91
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
.line 92
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarContainer;->unscheduleDrawable(Landroid/graphics/drawable/Drawable;)V
.line 94
:cond_d
iput-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
if-eqz p1, :cond_33
.line 96
invoke-virtual {p1, p0}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
.line 97
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mActionBarView:Landroid/view/View;
if-eqz p1, :cond_33
.line 98
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
invoke-virtual {p1}, Landroid/view/View;->getLeft()I
move-result p1
iget-object v1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mActionBarView:Landroid/view/View;
invoke-virtual {v1}, Landroid/view/View;->getTop()I
move-result v1
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarContainer;->mActionBarView:Landroid/view/View;
.line 99
invoke-virtual {v2}, Landroid/view/View;->getRight()I
move-result v2
iget-object v3, p0, Landroidx/appcompat/widget/ActionBarContainer;->mActionBarView:Landroid/view/View;
invoke-virtual {v3}, Landroid/view/View;->getBottom()I
move-result v3
.line 98
invoke-virtual {v0, p1, v1, v2, v3}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
.line 102
:cond_33
iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mIsSplit:Z
const/4 v0, 0x1
const/4 v1, 0x0
if-eqz p1, :cond_3e
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mSplitBackground:Landroid/graphics/drawable/Drawable;
if-nez p1, :cond_47
goto :goto_48
:cond_3e
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
if-nez p1, :cond_47
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mStackedBackground:Landroid/graphics/drawable/Drawable;
if-nez p1, :cond_47
goto :goto_48
:cond_47
const/4 v0, 0x0
:goto_48
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarContainer;->setWillNotDraw(Z)V
.line 104
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarContainer;->invalidate()V
.line 105
sget p1, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v0, 0x15
if-lt p1, v0, :cond_57
.line 106
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarContainer;->invalidateOutline()V
:cond_57
return-void
.end method
.method public setSplitBackground(Landroid/graphics/drawable/Drawable;)V
.registers 5
.line 132
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mSplitBackground:Landroid/graphics/drawable/Drawable;
if-eqz v0, :cond_d
const/4 v1, 0x0
.line 133
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
.line 134
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mSplitBackground:Landroid/graphics/drawable/Drawable;
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarContainer;->unscheduleDrawable(Landroid/graphics/drawable/Drawable;)V
.line 136
:cond_d
iput-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mSplitBackground:Landroid/graphics/drawable/Drawable;
const/4 v0, 0x0
if-eqz p1, :cond_28
.line 138
invoke-virtual {p1, p0}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
.line 139
iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mIsSplit:Z
if-eqz p1, :cond_28
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mSplitBackground:Landroid/graphics/drawable/Drawable;
if-eqz p1, :cond_28
.line 140
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarContainer;->getMeasuredWidth()I
move-result v1
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarContainer;->getMeasuredHeight()I
move-result v2
invoke-virtual {p1, v0, v0, v1, v2}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
.line 143
:cond_28
iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mIsSplit:Z
const/4 v1, 0x1
if-eqz p1, :cond_33
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mSplitBackground:Landroid/graphics/drawable/Drawable;
if-nez p1, :cond_3c
:goto_31
const/4 v0, 0x1
goto :goto_3c
:cond_33
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
if-nez p1, :cond_3c
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mStackedBackground:Landroid/graphics/drawable/Drawable;
if-nez p1, :cond_3c
goto :goto_31
:cond_3c
:goto_3c
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarContainer;->setWillNotDraw(Z)V
.line 145
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarContainer;->invalidate()V
.line 146
sget p1, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v0, 0x15
if-lt p1, v0, :cond_4b
.line 147
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarContainer;->invalidateOutline()V
:cond_4b
return-void
.end method
.method public setStackedBackground(Landroid/graphics/drawable/Drawable;)V
.registers 6
.line 111
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mStackedBackground:Landroid/graphics/drawable/Drawable;
if-eqz v0, :cond_d
const/4 v1, 0x0
.line 112
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
.line 113
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mStackedBackground:Landroid/graphics/drawable/Drawable;
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarContainer;->unscheduleDrawable(Landroid/graphics/drawable/Drawable;)V
.line 115
:cond_d
iput-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mStackedBackground:Landroid/graphics/drawable/Drawable;
if-eqz p1, :cond_37
.line 117
invoke-virtual {p1, p0}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
.line 118
iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mIsStacked:Z
if-eqz p1, :cond_37
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mStackedBackground:Landroid/graphics/drawable/Drawable;
if-eqz p1, :cond_37
.line 119
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mTabContainer:Landroid/view/View;
invoke-virtual {v0}, Landroid/view/View;->getLeft()I
move-result v0
iget-object v1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mTabContainer:Landroid/view/View;
invoke-virtual {v1}, Landroid/view/View;->getTop()I
move-result v1
iget-object v2, p0, Landroidx/appcompat/widget/ActionBarContainer;->mTabContainer:Landroid/view/View;
.line 120
invoke-virtual {v2}, Landroid/view/View;->getRight()I
move-result v2
iget-object v3, p0, Landroidx/appcompat/widget/ActionBarContainer;->mTabContainer:Landroid/view/View;
invoke-virtual {v3}, Landroid/view/View;->getBottom()I
move-result v3
.line 119
invoke-virtual {p1, v0, v1, v2, v3}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
.line 123
:cond_37
iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mIsSplit:Z
const/4 v0, 0x1
const/4 v1, 0x0
if-eqz p1, :cond_42
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mSplitBackground:Landroid/graphics/drawable/Drawable;
if-nez p1, :cond_4b
goto :goto_4c
:cond_42
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
if-nez p1, :cond_4b
iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mStackedBackground:Landroid/graphics/drawable/Drawable;
if-nez p1, :cond_4b
goto :goto_4c
:cond_4b
const/4 v0, 0x0
:goto_4c
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarContainer;->setWillNotDraw(Z)V
.line 125
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarContainer;->invalidate()V
.line 126
sget p1, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v0, 0x15
if-lt p1, v0, :cond_5b
.line 127
invoke-virtual {p0}, Landroidx/appcompat/widget/ActionBarContainer;->invalidateOutline()V
:cond_5b
return-void
.end method
.method public setTabContainer(Landroidx/appcompat/widget/ScrollingTabContainerView;)V
.registers 4
.line 229
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mTabContainer:Landroid/view/View;
if-eqz v0, :cond_7
.line 230
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarContainer;->removeView(Landroid/view/View;)V
.line 232
:cond_7
iput-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mTabContainer:Landroid/view/View;
if-eqz p1, :cond_1c
.line 234
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/ActionBarContainer;->addView(Landroid/view/View;)V
.line 235
invoke-virtual {p1}, Landroidx/appcompat/widget/ScrollingTabContainerView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
const/4 v1, -0x1
.line 236
iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I
const/4 v1, -0x2
.line 237
iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I
const/4 v0, 0x0
.line 238
invoke-virtual {p1, v0}, Landroidx/appcompat/widget/ScrollingTabContainerView;->setAllowCollapse(Z)V
:cond_1c
return-void
.end method
.method public setTransitioning(Z)V
.registers 2
.line 202
iput-boolean p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mIsTransitioning:Z
if-eqz p1, :cond_7
const/high16 p1, 0x60000
goto :goto_9
:cond_7
const/high16 p1, 0x40000
.line 203
:goto_9
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/ActionBarContainer;->setDescendantFocusability(I)V
return-void
.end method
.method public setVisibility(I)V
.registers 4
.line 153
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setVisibility(I)V
const/4 v0, 0x0
if-nez p1, :cond_8
const/4 p1, 0x1
goto :goto_9
:cond_8
const/4 p1, 0x0
.line 155
:goto_9
iget-object v1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
if-eqz v1, :cond_10
invoke-virtual {v1, p1, v0}, Landroid/graphics/drawable/Drawable;->setVisible(ZZ)Z
.line 156
:cond_10
iget-object v1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mStackedBackground:Landroid/graphics/drawable/Drawable;
if-eqz v1, :cond_17
invoke-virtual {v1, p1, v0}, Landroid/graphics/drawable/Drawable;->setVisible(ZZ)Z
.line 157
:cond_17
iget-object v1, p0, Landroidx/appcompat/widget/ActionBarContainer;->mSplitBackground:Landroid/graphics/drawable/Drawable;
if-eqz v1, :cond_1e
invoke-virtual {v1, p1, v0}, Landroid/graphics/drawable/Drawable;->setVisible(ZZ)Z
:cond_1e
return-void
.end method
.method public startActionModeForChild(Landroid/view/View;Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;
.registers 3
const/4 p1, 0x0
return-object p1
.end method
.method public startActionModeForChild(Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
.registers 4
if-eqz p3, :cond_7
.line 257
invoke-super {p0, p1, p2, p3}, Landroid/widget/FrameLayout;->startActionModeForChild(Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
move-result-object p1
return-object p1
:cond_7
const/4 p1, 0x0
return-object p1
.end method
.method protected verifyDrawable(Landroid/graphics/drawable/Drawable;)Z
.registers 3
.line 162
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mBackground:Landroid/graphics/drawable/Drawable;
if-ne p1, v0, :cond_8
iget-boolean v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mIsSplit:Z
if-eqz v0, :cond_1e
:cond_8
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mStackedBackground:Landroid/graphics/drawable/Drawable;
if-ne p1, v0, :cond_10
iget-boolean v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mIsStacked:Z
if-nez v0, :cond_1e
:cond_10
iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mSplitBackground:Landroid/graphics/drawable/Drawable;
if-ne p1, v0, :cond_18
iget-boolean v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->mIsSplit:Z
if-nez v0, :cond_1e
.line 163
:cond_18
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->verifyDrawable(Landroid/graphics/drawable/Drawable;)Z
move-result p1
if-eqz p1, :cond_20
:cond_1e
const/4 p1, 0x1
goto :goto_21
:cond_20
const/4 p1, 0x0
:goto_21
return p1
.end method