1301 lines
		
	
	
		
			31 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			1301 lines
		
	
	
		
			31 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Landroidx/appcompat/widget/ActionBarContainer;
 | |
| .super Landroid/widget/FrameLayout;
 | |
| .source "ActionBarContainer.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation build Landroidx/annotation/RestrictTo;
 | |
|     value = {
 | |
|         .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public a:Z
 | |
| 
 | |
| .field public b:Landroid/view/View;
 | |
| 
 | |
| .field public c:Landroid/view/View;
 | |
| 
 | |
| .field public d:Landroid/view/View;
 | |
| 
 | |
| .field public e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
| .field public f:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
| .field public g:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
| .field public h:Z
 | |
| 
 | |
| .field public i:Z
 | |
| 
 | |
| .field public j:I
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Landroid/content/Context;)V
 | |
|     .locals 1
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 1
 | |
|     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
 | |
|     .locals 2
 | |
| 
 | |
|     .line 2
 | |
|     invoke-direct {p0, p1, p2}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
 | |
| 
 | |
|     .line 3
 | |
|     new-instance v0, Landroidx/appcompat/widget/b;
 | |
| 
 | |
|     invoke-direct {v0, p0}, Landroidx/appcompat/widget/b;-><init>(Landroidx/appcompat/widget/ActionBarContainer;)V
 | |
| 
 | |
|     .line 4
 | |
|     invoke-static {p0, v0}, Landroidx/core/view/ViewCompat;->I1(Landroid/view/View;Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     .line 5
 | |
|     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 6
 | |
|     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;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     .line 7
 | |
|     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;->f:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     .line 8
 | |
|     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;->j:I
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->getId()I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     sget v0, Landroidx/appcompat/R$id;->split_action_bar:I
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     if-ne p2, v0, :cond_0
 | |
| 
 | |
|     .line 10
 | |
|     iput-boolean v1, p0, Landroidx/appcompat/widget/ActionBarContainer;->h:Z
 | |
| 
 | |
|     .line 11
 | |
|     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;->g:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     .line 12
 | |
|     :cond_0
 | |
|     invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
 | |
| 
 | |
|     .line 13
 | |
|     iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->h:Z
 | |
| 
 | |
|     const/4 p2, 0x0
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->g:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-nez p1, :cond_2
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 14
 | |
|     :cond_1
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-nez p1, :cond_2
 | |
| 
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->f:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-nez p1, :cond_2
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_2
 | |
|     move v1, p2
 | |
| 
 | |
|     .line 15
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, v1}, Landroid/widget/FrameLayout;->setWillNotDraw(Z)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public final a(Landroid/view/View;)I
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroid/widget/FrameLayout$LayoutParams;
 | |
| 
 | |
|     .line 2
 | |
|     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 public final b(Landroid/view/View;)Z
 | |
|     .locals 2
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/16 v1, 0x8
 | |
| 
 | |
|     if-eq v0, v1, :cond_1
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-nez p1, :cond_0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_1
 | |
|     :goto_0
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     :goto_1
 | |
|     return p1
 | |
| .end method
 | |
| 
 | |
| .method public drawableStateChanged()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0}, Landroid/widget/FrameLayout;->drawableStateChanged()V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->isStateful()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->getDrawableState()[I
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->f:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->isStateful()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->f:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->getDrawableState()[I
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z
 | |
| 
 | |
|     .line 6
 | |
|     :cond_1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->g:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->isStateful()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     .line 7
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->g:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->getDrawableState()[I
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z
 | |
| 
 | |
|     :cond_2
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public getTabContainer()Landroid/view/View;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->b:Landroid/view/View;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public jumpDrawablesToCurrentState()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0}, Landroid/widget/FrameLayout;->jumpDrawablesToCurrentState()V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->jumpToCurrentState()V
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->f:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->jumpToCurrentState()V
 | |
| 
 | |
|     .line 6
 | |
|     :cond_1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->g:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->jumpToCurrentState()V
 | |
| 
 | |
|     :cond_2
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onFinishInflate()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0}, Landroid/widget/FrameLayout;->onFinishInflate()V
 | |
| 
 | |
|     .line 2
 | |
|     sget v0, Landroidx/appcompat/R$id;->action_bar:I
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->c:Landroid/view/View;
 | |
| 
 | |
|     .line 3
 | |
|     sget v0, Landroidx/appcompat/R$id;->action_context_bar:I
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->d:Landroid/view/View;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onHoverEvent(Landroid/view/MotionEvent;)Z
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     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
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->a:Z
 | |
| 
 | |
|     if-nez v0, :cond_1
 | |
| 
 | |
|     invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_1
 | |
|     :goto_0
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     :goto_1
 | |
|     return p1
 | |
| .end method
 | |
| 
 | |
| .method public onLayout(ZIIII)V
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super/range {p0 .. p5}, Landroid/widget/FrameLayout;->onLayout(ZIIII)V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->b:Landroid/view/View;
 | |
| 
 | |
|     const/16 p3, 0x8
 | |
| 
 | |
|     const/4 p5, 0x1
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eq v1, p3, :cond_0
 | |
| 
 | |
|     move v1, p5
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     move v1, v0
 | |
| 
 | |
|     :goto_0
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     if-eq v2, p3, :cond_1
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->getMeasuredHeight()I
 | |
| 
 | |
|     move-result p3
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     check-cast v2, Landroid/widget/FrameLayout$LayoutParams;
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     sub-int v3, p3, v3
 | |
| 
 | |
|     .line 8
 | |
|     iget v2, v2, Landroid/widget/FrameLayout$LayoutParams;->bottomMargin:I
 | |
| 
 | |
|     sub-int/2addr v3, v2
 | |
| 
 | |
|     sub-int/2addr p3, v2
 | |
| 
 | |
|     invoke-virtual {p1, p2, v3, p4, p3}, Landroid/view/View;->layout(IIII)V
 | |
| 
 | |
|     .line 9
 | |
|     :cond_1
 | |
|     iget-boolean p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->h:Z
 | |
| 
 | |
|     if-eqz p2, :cond_3
 | |
| 
 | |
|     .line 10
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->g:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz p1, :cond_2
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->getMeasuredHeight()I
 | |
| 
 | |
|     move-result p3
 | |
| 
 | |
|     invoke-virtual {p1, v0, v0, p2, p3}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
 | |
| 
 | |
|     goto/16 :goto_2
 | |
| 
 | |
|     :cond_2
 | |
|     move p5, v0
 | |
| 
 | |
|     goto/16 :goto_2
 | |
| 
 | |
|     .line 12
 | |
|     :cond_3
 | |
|     iget-object p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz p2, :cond_6
 | |
| 
 | |
|     .line 13
 | |
|     iget-object p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->c:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {p2}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     if-nez p2, :cond_4
 | |
| 
 | |
|     .line 14
 | |
|     iget-object p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     iget-object p3, p0, Landroidx/appcompat/widget/ActionBarContainer;->c:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {p3}, Landroid/view/View;->getLeft()I
 | |
| 
 | |
|     move-result p3
 | |
| 
 | |
|     iget-object p4, p0, Landroidx/appcompat/widget/ActionBarContainer;->c:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {p4}, Landroid/view/View;->getTop()I
 | |
| 
 | |
|     move-result p4
 | |
| 
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->c:Landroid/view/View;
 | |
| 
 | |
|     .line 15
 | |
|     invoke-virtual {v0}, Landroid/view/View;->getRight()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     iget-object v2, p0, Landroidx/appcompat/widget/ActionBarContainer;->c:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {v2}, Landroid/view/View;->getBottom()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     .line 16
 | |
|     invoke-virtual {p2, p3, p4, v0, v2}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 17
 | |
|     :cond_4
 | |
|     iget-object p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->d:Landroid/view/View;
 | |
| 
 | |
|     if-eqz p2, :cond_5
 | |
| 
 | |
|     .line 18
 | |
|     invoke-virtual {p2}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     if-nez p2, :cond_5
 | |
| 
 | |
|     .line 19
 | |
|     iget-object p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     iget-object p3, p0, Landroidx/appcompat/widget/ActionBarContainer;->d:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {p3}, Landroid/view/View;->getLeft()I
 | |
| 
 | |
|     move-result p3
 | |
| 
 | |
|     iget-object p4, p0, Landroidx/appcompat/widget/ActionBarContainer;->d:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {p4}, Landroid/view/View;->getTop()I
 | |
| 
 | |
|     move-result p4
 | |
| 
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->d:Landroid/view/View;
 | |
| 
 | |
|     .line 20
 | |
|     invoke-virtual {v0}, Landroid/view/View;->getRight()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     iget-object v2, p0, Landroidx/appcompat/widget/ActionBarContainer;->d:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {v2}, Landroid/view/View;->getBottom()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     .line 21
 | |
|     invoke-virtual {p2, p3, p4, v0, v2}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 22
 | |
|     :cond_5
 | |
|     iget-object p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     invoke-virtual {p2, v0, v0, v0, v0}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
 | |
| 
 | |
|     :goto_1
 | |
|     move v0, p5
 | |
| 
 | |
|     .line 23
 | |
|     :cond_6
 | |
|     iput-boolean v1, p0, Landroidx/appcompat/widget/ActionBarContainer;->i:Z
 | |
| 
 | |
|     if-eqz v1, :cond_2
 | |
| 
 | |
|     .line 24
 | |
|     iget-object p2, p0, Landroidx/appcompat/widget/ActionBarContainer;->f:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz p2, :cond_2
 | |
| 
 | |
|     .line 25
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLeft()I
 | |
| 
 | |
|     move-result p3
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getTop()I
 | |
| 
 | |
|     move-result p4
 | |
| 
 | |
|     .line 26
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getRight()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getBottom()I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     .line 27
 | |
|     invoke-virtual {p2, p3, p4, v0, p1}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
 | |
| 
 | |
|     :goto_2
 | |
|     if-eqz p5, :cond_7
 | |
| 
 | |
|     .line 28
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->invalidate()V
 | |
| 
 | |
|     :cond_7
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onMeasure(II)V
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->c:Landroid/view/View;
 | |
| 
 | |
|     const/high16 v1, -0x80000000
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-static {p2}, Landroid/view/View$MeasureSpec;->getMode(I)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-ne v0, v1, :cond_0
 | |
| 
 | |
|     iget v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->j:I
 | |
| 
 | |
|     if-ltz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     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 4
 | |
|     invoke-static {p2, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     .line 5
 | |
|     :cond_0
 | |
|     invoke-super {p0, p1, p2}, Landroid/widget/FrameLayout;->onMeasure(II)V
 | |
| 
 | |
|     .line 6
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->c:Landroid/view/View;
 | |
| 
 | |
|     if-nez p1, :cond_1
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 7
 | |
|     :cond_1
 | |
|     invoke-static {p2}, Landroid/view/View$MeasureSpec;->getMode(I)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     .line 8
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->b:Landroid/view/View;
 | |
| 
 | |
|     if-eqz v0, :cond_5
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/16 v2, 0x8
 | |
| 
 | |
|     if-eq v0, v2, :cond_5
 | |
| 
 | |
|     const/high16 v0, 0x40000000    # 2.0f
 | |
| 
 | |
|     if-eq p1, v0, :cond_5
 | |
| 
 | |
|     .line 9
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->c:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarContainer;->b(Landroid/view/View;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_2
 | |
| 
 | |
|     .line 10
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->c:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarContainer;->a(Landroid/view/View;)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 11
 | |
|     :cond_2
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->d:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarContainer;->b(Landroid/view/View;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_3
 | |
| 
 | |
|     .line 12
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->d:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Landroidx/appcompat/widget/ActionBarContainer;->a(Landroid/view/View;)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_3
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     if-ne p1, v1, :cond_4
 | |
| 
 | |
|     .line 13
 | |
|     invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_4
 | |
|     const p1, 0x7fffffff
 | |
| 
 | |
|     .line 14
 | |
|     :goto_1
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     iget-object v1, p0, Landroidx/appcompat/widget/ActionBarContainer;->b:Landroid/view/View;
 | |
| 
 | |
|     .line 15
 | |
|     invoke-virtual {p0, v1}, Landroidx/appcompat/widget/ActionBarContainer;->a(Landroid/view/View;)I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     add-int/2addr v1, v0
 | |
| 
 | |
|     invoke-static {v1, p1}, Ljava/lang/Math;->min(II)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     .line 16
 | |
|     invoke-virtual {p0, p2, p1}, Landroid/widget/FrameLayout;->setMeasuredDimension(II)V
 | |
| 
 | |
|     :cond_5
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onTouchEvent(Landroid/view/MotionEvent;)Z
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     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
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->unscheduleDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iput-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p1, p0}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
 | |
| 
 | |
|     .line 6
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->c:Landroid/view/View;
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 7
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLeft()I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     iget-object v1, p0, Landroidx/appcompat/widget/ActionBarContainer;->c:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {v1}, Landroid/view/View;->getTop()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     iget-object v2, p0, Landroidx/appcompat/widget/ActionBarContainer;->c:Landroid/view/View;
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v2}, Landroid/view/View;->getRight()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iget-object v3, p0, Landroidx/appcompat/widget/ActionBarContainer;->c:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {v3}, Landroid/view/View;->getBottom()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {v0, p1, v1, v2, v3}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
 | |
| 
 | |
|     .line 10
 | |
|     :cond_1
 | |
|     iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->h:Z
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     if-eqz p1, :cond_2
 | |
| 
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->g:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-nez p1, :cond_3
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 11
 | |
|     :cond_2
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-nez p1, :cond_3
 | |
| 
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->f:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-nez p1, :cond_3
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_3
 | |
|     move v0, v1
 | |
| 
 | |
|     .line 12
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->setWillNotDraw(Z)V
 | |
| 
 | |
|     .line 13
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->invalidate()V
 | |
| 
 | |
|     .line 14
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->invalidateOutline()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setSplitBackground(Landroid/graphics/drawable/Drawable;)V
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->g:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->g:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->unscheduleDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iput-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->g:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p1, p0}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
 | |
| 
 | |
|     .line 6
 | |
|     iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->h:Z
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->g:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->getMeasuredHeight()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     invoke-virtual {p1, v0, v0, v1, v2}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
 | |
| 
 | |
|     .line 8
 | |
|     :cond_1
 | |
|     iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->h:Z
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     if-eqz p1, :cond_2
 | |
| 
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->g:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-nez p1, :cond_3
 | |
| 
 | |
|     :goto_0
 | |
|     move v0, v1
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 9
 | |
|     :cond_2
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-nez p1, :cond_3
 | |
| 
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->f:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-nez p1, :cond_3
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 10
 | |
|     :cond_3
 | |
|     :goto_1
 | |
|     invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->setWillNotDraw(Z)V
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->invalidate()V
 | |
| 
 | |
|     .line 12
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->invalidateOutline()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setStackedBackground(Landroid/graphics/drawable/Drawable;)V
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->f:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->f:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->unscheduleDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iput-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->f:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p1, p0}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
 | |
| 
 | |
|     .line 6
 | |
|     iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->i:Z
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->f:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 7
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->b:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/view/View;->getLeft()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     iget-object v1, p0, Landroidx/appcompat/widget/ActionBarContainer;->b:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {v1}, Landroid/view/View;->getTop()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     iget-object v2, p0, Landroidx/appcompat/widget/ActionBarContainer;->b:Landroid/view/View;
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v2}, Landroid/view/View;->getRight()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iget-object v3, p0, Landroidx/appcompat/widget/ActionBarContainer;->b:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {v3}, Landroid/view/View;->getBottom()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {p1, v0, v1, v2, v3}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
 | |
| 
 | |
|     .line 10
 | |
|     :cond_1
 | |
|     iget-boolean p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->h:Z
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     if-eqz p1, :cond_2
 | |
| 
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->g:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-nez p1, :cond_3
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 11
 | |
|     :cond_2
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-nez p1, :cond_3
 | |
| 
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->f:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-nez p1, :cond_3
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_3
 | |
|     move v0, v1
 | |
| 
 | |
|     .line 12
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->setWillNotDraw(Z)V
 | |
| 
 | |
|     .line 13
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->invalidate()V
 | |
| 
 | |
|     .line 14
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->invalidateOutline()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setTabContainer(Landroidx/appcompat/widget/z;)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->b:Landroid/view/View;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->removeView(Landroid/view/View;)V
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     iput-object p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->b:Landroid/view/View;
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p1}, Landroid/widget/HorizontalScrollView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     const/4 v1, -0x1
 | |
| 
 | |
|     .line 6
 | |
|     iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I
 | |
| 
 | |
|     const/4 v1, -0x2
 | |
| 
 | |
|     .line 7
 | |
|     iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {p1, v0}, Landroidx/appcompat/widget/z;->setAllowCollapse(Z)V
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setTransitioning(Z)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput-boolean p1, p0, Landroidx/appcompat/widget/ActionBarContainer;->a:Z
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     const/high16 p1, 0x60000
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/high16 p1, 0x40000
 | |
| 
 | |
|     .line 2
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->setDescendantFocusability(I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setVisibility(I)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setVisibility(I)V
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     if-nez p1, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     move p1, v0
 | |
| 
 | |
|     .line 2
 | |
|     :goto_0
 | |
|     iget-object v1, p0, Landroidx/appcompat/widget/ActionBarContainer;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v1, :cond_1
 | |
| 
 | |
|     invoke-virtual {v1, p1, v0}, Landroid/graphics/drawable/Drawable;->setVisible(ZZ)Z
 | |
| 
 | |
|     .line 3
 | |
|     :cond_1
 | |
|     iget-object v1, p0, Landroidx/appcompat/widget/ActionBarContainer;->f:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v1, :cond_2
 | |
| 
 | |
|     invoke-virtual {v1, p1, v0}, Landroid/graphics/drawable/Drawable;->setVisible(ZZ)Z
 | |
| 
 | |
|     .line 4
 | |
|     :cond_2
 | |
|     iget-object v1, p0, Landroidx/appcompat/widget/ActionBarContainer;->g:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v1, :cond_3
 | |
| 
 | |
|     invoke-virtual {v1, p1, v0}, Landroid/graphics/drawable/Drawable;->setVisible(ZZ)Z
 | |
| 
 | |
|     :cond_3
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public startActionModeForChild(Landroid/view/View;Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;
 | |
|     .locals 0
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public startActionModeForChild(Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
 | |
|     .locals 0
 | |
| 
 | |
|     if-eqz p3, :cond_0
 | |
| 
 | |
|     .line 1
 | |
|     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_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public verifyDrawable(Landroid/graphics/drawable/Drawable;)Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->e:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-ne p1, v0, :cond_0
 | |
| 
 | |
|     iget-boolean v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->h:Z
 | |
| 
 | |
|     if-eqz v0, :cond_3
 | |
| 
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->f:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-ne p1, v0, :cond_1
 | |
| 
 | |
|     iget-boolean v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->i:Z
 | |
| 
 | |
|     if-nez v0, :cond_3
 | |
| 
 | |
|     :cond_1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->g:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-ne p1, v0, :cond_2
 | |
| 
 | |
|     iget-boolean v0, p0, Landroidx/appcompat/widget/ActionBarContainer;->h:Z
 | |
| 
 | |
|     if-nez v0, :cond_3
 | |
| 
 | |
|     .line 2
 | |
|     :cond_2
 | |
|     invoke-super {p0, p1}, Landroid/widget/FrameLayout;->verifyDrawable(Landroid/graphics/drawable/Drawable;)Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-eqz p1, :cond_4
 | |
| 
 | |
|     :cond_3
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_4
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return p1
 | |
| .end method
 |