6555 lines
		
	
	
		
			154 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			6555 lines
		
	
	
		
			154 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Landroidx/coordinatorlayout/widget/CoordinatorLayout;
 | |
| .super Landroid/view/ViewGroup;
 | |
| .source "CoordinatorLayout.java"
 | |
| 
 | |
| # interfaces
 | |
| .implements Ls1/a0;
 | |
| .implements Ls1/b0;
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/MemberClasses;
 | |
|     value = {
 | |
|         Landroidx/coordinatorlayout/widget/CoordinatorLayout$SavedState;,
 | |
|         Landroidx/coordinatorlayout/widget/CoordinatorLayout$c;,
 | |
|         Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;,
 | |
|         Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;,
 | |
|         Landroidx/coordinatorlayout/widget/CoordinatorLayout$b;,
 | |
|         Landroidx/coordinatorlayout/widget/CoordinatorLayout$DefaultBehavior;,
 | |
|         Landroidx/coordinatorlayout/widget/CoordinatorLayout$f;,
 | |
|         Landroidx/coordinatorlayout/widget/CoordinatorLayout$e;,
 | |
|         Landroidx/coordinatorlayout/widget/CoordinatorLayout$DispatchChangeEvent;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # static fields
 | |
| .field public static final CONSTRUCTOR_PARAMS:[Ljava/lang/Class;
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "[",
 | |
|             "Ljava/lang/Class<",
 | |
|             "*>;"
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public static final EVENT_NESTED_SCROLL:I = 0x1
 | |
| 
 | |
| .field public static final EVENT_PRE_DRAW:I = 0x0
 | |
| 
 | |
| .field public static final EVENT_VIEW_REMOVED:I = 0x2
 | |
| 
 | |
| .field public static final TAG:Ljava/lang/String; = "CoordinatorLayout"
 | |
| 
 | |
| .field public static final TOP_SORTED_CHILDREN_COMPARATOR:Ljava/util/Comparator;
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "Ljava/util/Comparator<",
 | |
|             "Landroid/view/View;",
 | |
|             ">;"
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private static final TYPE_ON_INTERCEPT:I = 0x0
 | |
| 
 | |
| .field private static final TYPE_ON_TOUCH:I = 0x1
 | |
| 
 | |
| .field public static final WIDGET_PACKAGE_NAME:Ljava/lang/String;
 | |
| 
 | |
| .field public static final sConstructors:Ljava/lang/ThreadLocal;
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "Ljava/lang/ThreadLocal<",
 | |
|             "Ljava/util/Map<",
 | |
|             "Ljava/lang/String;",
 | |
|             "Ljava/lang/reflect/Constructor<",
 | |
|             "Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;",
 | |
|             ">;>;>;"
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private static final sRectPool:Lr1/n$a;
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "Lr1/n$a<",
 | |
|             "Landroid/graphics/Rect;",
 | |
|             ">;"
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field private mApplyWindowInsetsListener:Ls1/e0;
 | |
| 
 | |
| .field private final mBehaviorConsumed:[I
 | |
| 
 | |
| .field private mBehaviorTouchView:Landroid/view/View;
 | |
| 
 | |
| .field private final mChildDag:Lx0/a;
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "Lx0/a<",
 | |
|             "Landroid/view/View;",
 | |
|             ">;"
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private final mDependencySortedChildren:Ljava/util/List;
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "Ljava/util/List<",
 | |
|             "Landroid/view/View;",
 | |
|             ">;"
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private mDisallowInterceptReset:Z
 | |
| 
 | |
| .field private mDrawStatusBarBackground:Z
 | |
| 
 | |
| .field private mIsAttachedToWindow:Z
 | |
| 
 | |
| .field private mKeylines:[I
 | |
| 
 | |
| .field private mLastInsets:Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
| .field private mNeedsPreDrawListener:Z
 | |
| 
 | |
| .field private final mNestedScrollingParentHelper:Ls1/d0;
 | |
| 
 | |
| .field private mNestedScrollingTarget:Landroid/view/View;
 | |
| 
 | |
| .field private final mNestedScrollingV2ConsumedCompat:[I
 | |
| 
 | |
| .field public mOnHierarchyChangeListener:Landroid/view/ViewGroup$OnHierarchyChangeListener;
 | |
| 
 | |
| .field private mOnPreDrawListener:Landroidx/coordinatorlayout/widget/CoordinatorLayout$e;
 | |
| 
 | |
| .field private mScrimPaint:Landroid/graphics/Paint;
 | |
| 
 | |
| .field private mStatusBarBackground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
| .field private final mTempDependenciesList:Ljava/util/List;
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "Ljava/util/List<",
 | |
|             "Landroid/view/View;",
 | |
|             ">;"
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private final mTempList1:Ljava/util/List;
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "Ljava/util/List<",
 | |
|             "Landroid/view/View;",
 | |
|             ">;"
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public static constructor <clinit>()V
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     const-class v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/lang/Class;->getPackage()Ljava/lang/Package;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0}, Ljava/lang/Package;->getName()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     sput-object v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->WIDGET_PACKAGE_NAME:Ljava/lang/String;
 | |
| 
 | |
|     .line 3
 | |
|     new-instance v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$f;
 | |
| 
 | |
|     invoke-direct {v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$f;-><init>()V
 | |
| 
 | |
|     sput-object v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->TOP_SORTED_CHILDREN_COMPARATOR:Ljava/util/Comparator;
 | |
| 
 | |
|     const/4 v0, 0x2
 | |
| 
 | |
|     new-array v0, v0, [Ljava/lang/Class;
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     .line 4
 | |
|     const-class v2, Landroid/content/Context;
 | |
| 
 | |
|     aput-object v2, v0, v1
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     const-class v2, Landroid/util/AttributeSet;
 | |
| 
 | |
|     aput-object v2, v0, v1
 | |
| 
 | |
|     sput-object v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->CONSTRUCTOR_PARAMS:[Ljava/lang/Class;
 | |
| 
 | |
|     .line 5
 | |
|     new-instance v0, Ljava/lang/ThreadLocal;
 | |
| 
 | |
|     invoke-direct {v0}, Ljava/lang/ThreadLocal;-><init>()V
 | |
| 
 | |
|     sput-object v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->sConstructors:Ljava/lang/ThreadLocal;
 | |
| 
 | |
|     .line 6
 | |
|     new-instance v0, Lr1/n$c;
 | |
| 
 | |
|     const/16 v1, 0xc
 | |
| 
 | |
|     invoke-direct {v0, v1}, Lr1/n$c;-><init>(I)V
 | |
| 
 | |
|     sput-object v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->sRectPool:Lr1/n$a;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0, p1, v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroid/util/AttributeSet;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 2
 | |
|     sget v0, Landroidx/coordinatorlayout/R$attr;->coordinatorLayoutStyle:I
 | |
| 
 | |
|     invoke-direct {p0, p1, p2, v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
 | |
|     .locals 9
 | |
|     .param p1    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroid/util/AttributeSet;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p3    # I
 | |
|         .annotation build Landroidx/annotation/AttrRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0, p1, p2, p3}, Landroid/view/ViewGroup;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
 | |
| 
 | |
|     .line 4
 | |
|     new-instance v0, Ljava/util/ArrayList;
 | |
| 
 | |
|     invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDependencySortedChildren:Ljava/util/List;
 | |
| 
 | |
|     .line 5
 | |
|     new-instance v0, Lx0/a;
 | |
| 
 | |
|     invoke-direct {v0}, Lx0/a;-><init>()V
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mChildDag:Lx0/a;
 | |
| 
 | |
|     .line 6
 | |
|     new-instance v0, Ljava/util/ArrayList;
 | |
| 
 | |
|     invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mTempList1:Ljava/util/List;
 | |
| 
 | |
|     .line 7
 | |
|     new-instance v0, Ljava/util/ArrayList;
 | |
| 
 | |
|     invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mTempDependenciesList:Ljava/util/List;
 | |
| 
 | |
|     const/4 v0, 0x2
 | |
| 
 | |
|     new-array v1, v0, [I
 | |
| 
 | |
|     .line 8
 | |
|     iput-object v1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mBehaviorConsumed:[I
 | |
| 
 | |
|     new-array v0, v0, [I
 | |
| 
 | |
|     .line 9
 | |
|     iput-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mNestedScrollingV2ConsumedCompat:[I
 | |
| 
 | |
|     .line 10
 | |
|     new-instance v0, Ls1/d0;
 | |
| 
 | |
|     invoke-direct {v0, p0}, Ls1/d0;-><init>(Landroid/view/ViewGroup;)V
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mNestedScrollingParentHelper:Ls1/d0;
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     if-nez p3, :cond_0
 | |
| 
 | |
|     .line 11
 | |
|     sget-object v1, Landroidx/coordinatorlayout/R$styleable;->CoordinatorLayout:[I
 | |
| 
 | |
|     sget v2, Landroidx/coordinatorlayout/R$style;->Widget_Support_CoordinatorLayout:I
 | |
| 
 | |
|     .line 12
 | |
|     invoke-virtual {p1, p2, v1, v0, v2}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     sget-object v1, Landroidx/coordinatorlayout/R$styleable;->CoordinatorLayout:[I
 | |
| 
 | |
|     .line 13
 | |
|     invoke-virtual {p1, p2, v1, p3, v0}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     .line 14
 | |
|     :goto_0
 | |
|     sget v2, Landroid/os/Build$VERSION;->SDK_INT:I
 | |
| 
 | |
|     const/16 v3, 0x1d
 | |
| 
 | |
|     if-lt v2, v3, :cond_2
 | |
| 
 | |
|     if-nez p3, :cond_1
 | |
| 
 | |
|     .line 15
 | |
|     sget-object v4, Landroidx/coordinatorlayout/R$styleable;->CoordinatorLayout:[I
 | |
| 
 | |
|     const/4 v7, 0x0
 | |
| 
 | |
|     sget v8, Landroidx/coordinatorlayout/R$style;->Widget_Support_CoordinatorLayout:I
 | |
| 
 | |
|     move-object v2, p0
 | |
| 
 | |
|     move-object v3, p1
 | |
| 
 | |
|     move-object v5, p2
 | |
| 
 | |
|     move-object v6, v1
 | |
| 
 | |
|     invoke-virtual/range {v2 .. v8}, Landroid/view/ViewGroup;->saveAttributeDataForStyleable(Landroid/content/Context;[ILandroid/util/AttributeSet;Landroid/content/res/TypedArray;II)V
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 16
 | |
|     :cond_1
 | |
|     sget-object v4, Landroidx/coordinatorlayout/R$styleable;->CoordinatorLayout:[I
 | |
| 
 | |
|     const/4 v8, 0x0
 | |
| 
 | |
|     move-object v2, p0
 | |
| 
 | |
|     move-object v3, p1
 | |
| 
 | |
|     move-object v5, p2
 | |
| 
 | |
|     move-object v6, v1
 | |
| 
 | |
|     move v7, p3
 | |
| 
 | |
|     invoke-virtual/range {v2 .. v8}, Landroid/view/ViewGroup;->saveAttributeDataForStyleable(Landroid/content/Context;[ILandroid/util/AttributeSet;Landroid/content/res/TypedArray;II)V
 | |
| 
 | |
|     .line 17
 | |
|     :cond_2
 | |
|     :goto_1
 | |
|     sget p2, Landroidx/coordinatorlayout/R$styleable;->CoordinatorLayout_keylines:I
 | |
| 
 | |
|     invoke-virtual {v1, p2, v0}, Landroid/content/res/TypedArray;->getResourceId(II)I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     if-eqz p2, :cond_3
 | |
| 
 | |
|     .line 18
 | |
|     invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 19
 | |
|     invoke-virtual {p1, p2}, Landroid/content/res/Resources;->getIntArray(I)[I
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     iput-object p2, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mKeylines:[I
 | |
| 
 | |
|     .line 20
 | |
|     invoke-virtual {p1}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     iget p1, p1, Landroid/util/DisplayMetrics;->density:F
 | |
| 
 | |
|     .line 21
 | |
|     iget-object p2, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mKeylines:[I
 | |
| 
 | |
|     array-length p2, p2
 | |
| 
 | |
|     :goto_2
 | |
|     if-ge v0, p2, :cond_3
 | |
| 
 | |
|     .line 22
 | |
|     iget-object p3, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mKeylines:[I
 | |
| 
 | |
|     aget v2, p3, v0
 | |
| 
 | |
|     int-to-float v2, v2
 | |
| 
 | |
|     mul-float/2addr v2, p1
 | |
| 
 | |
|     float-to-int v2, v2
 | |
| 
 | |
|     aput v2, p3, v0
 | |
| 
 | |
|     add-int/lit8 v0, v0, 0x1
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     .line 23
 | |
|     :cond_3
 | |
|     sget p1, Landroidx/coordinatorlayout/R$styleable;->CoordinatorLayout_statusBarBackground:I
 | |
| 
 | |
|     invoke-virtual {v1, p1}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     iput-object p1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mStatusBarBackground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     .line 24
 | |
|     invoke-virtual {v1}, Landroid/content/res/TypedArray;->recycle()V
 | |
| 
 | |
|     .line 25
 | |
|     invoke-direct {p0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->setupForInsets()V
 | |
| 
 | |
|     .line 26
 | |
|     new-instance p1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$c;
 | |
| 
 | |
|     invoke-direct {p1, p0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$c;-><init>(Landroidx/coordinatorlayout/widget/CoordinatorLayout;)V
 | |
| 
 | |
|     invoke-super {p0, p1}, Landroid/view/ViewGroup;->setOnHierarchyChangeListener(Landroid/view/ViewGroup$OnHierarchyChangeListener;)V
 | |
| 
 | |
|     .line 27
 | |
|     invoke-static {p0}, Landroidx/core/view/ViewCompat;->V(Landroid/view/View;)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-nez p1, :cond_4
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 28
 | |
|     invoke-static {p0, p1}, Landroidx/core/view/ViewCompat;->R1(Landroid/view/View;I)V
 | |
| 
 | |
|     :cond_4
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private static acquireTempRect()Landroid/graphics/Rect;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     sget-object v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->sRectPool:Lr1/n$a;
 | |
| 
 | |
|     invoke-interface {v0}, Lr1/n$a;->a()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroid/graphics/Rect;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v0, Landroid/graphics/Rect;
 | |
| 
 | |
|     invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method private static clamp(III)I
 | |
|     .locals 0
 | |
| 
 | |
|     if-ge p0, p1, :cond_0
 | |
| 
 | |
|     return p1
 | |
| 
 | |
|     :cond_0
 | |
|     if-le p0, p2, :cond_1
 | |
| 
 | |
|     return p2
 | |
| 
 | |
|     :cond_1
 | |
|     return p0
 | |
| .end method
 | |
| 
 | |
| .method private constrainChildRect(Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;Landroid/graphics/Rect;II)V
 | |
|     .locals 5
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getWidth()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getHeight()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingLeft()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iget v3, p1, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
 | |
| 
 | |
|     add-int/2addr v2, v3
 | |
| 
 | |
|     iget v3, p2, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingRight()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     sub-int/2addr v0, v4
 | |
| 
 | |
|     sub-int/2addr v0, p3
 | |
| 
 | |
|     iget v4, p1, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
 | |
| 
 | |
|     sub-int/2addr v0, v4
 | |
| 
 | |
|     .line 5
 | |
|     invoke-static {v3, v0}, Ljava/lang/Math;->min(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 6
 | |
|     invoke-static {v2, v0}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingTop()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iget v3, p1, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
 | |
| 
 | |
|     add-int/2addr v2, v3
 | |
| 
 | |
|     iget v3, p2, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingBottom()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     sub-int/2addr v1, v4
 | |
| 
 | |
|     sub-int/2addr v1, p4
 | |
| 
 | |
|     iget p1, p1, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
 | |
| 
 | |
|     sub-int/2addr v1, p1
 | |
| 
 | |
|     .line 9
 | |
|     invoke-static {v3, v1}, Ljava/lang/Math;->min(II)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     .line 10
 | |
|     invoke-static {v2, p1}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     add-int/2addr p3, v0
 | |
| 
 | |
|     add-int/2addr p4, p1
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {p2, v0, p1, p3, p4}, Landroid/graphics/Rect;->set(IIII)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private dispatchApplyWindowInsetsToBehaviors(Landroidx/core/view/WindowInsetsCompat;)Landroidx/core/view/WindowInsetsCompat;
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroidx/core/view/WindowInsetsCompat;->A()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     return-object p1
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v0, v1, :cond_2
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     .line 4
 | |
|     invoke-static {v2}, Landroidx/core/view/ViewCompat;->U(Landroid/view/View;)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-eqz v3, :cond_1
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     check-cast v3, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v3}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     if-eqz v3, :cond_1
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v3, p0, v2, p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onApplyWindowInsets(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroidx/core/view/WindowInsetsCompat;)Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {p1}, Landroidx/core/view/WindowInsetsCompat;->A()Z
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     if-eqz v2, :cond_1
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_1
 | |
|     add-int/lit8 v0, v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_2
 | |
|     :goto_1
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method private getDesiredAnchoredChildRectWithoutConstraints(Landroid/view/View;ILandroid/graphics/Rect;Landroid/graphics/Rect;Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;II)V
 | |
|     .locals 5
 | |
| 
 | |
|     .line 1
 | |
|     iget p1, p5, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->c:I
 | |
| 
 | |
|     .line 2
 | |
|     invoke-static {p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->resolveAnchoredChildGravity(I)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {p1, p2}, Ls1/h;->d(II)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     .line 4
 | |
|     iget p5, p5, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->d:I
 | |
| 
 | |
|     .line 5
 | |
|     invoke-static {p5}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->resolveGravity(I)I
 | |
| 
 | |
|     move-result p5
 | |
| 
 | |
|     .line 6
 | |
|     invoke-static {p5, p2}, Ls1/h;->d(II)I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     and-int/lit8 p5, p1, 0x7
 | |
| 
 | |
|     and-int/lit8 p1, p1, 0x70
 | |
| 
 | |
|     and-int/lit8 v0, p2, 0x7
 | |
| 
 | |
|     and-int/lit8 p2, p2, 0x70
 | |
| 
 | |
|     const/4 v1, 0x5
 | |
| 
 | |
|     const/4 v2, 0x1
 | |
| 
 | |
|     if-eq v0, v2, :cond_1
 | |
| 
 | |
|     if-eq v0, v1, :cond_0
 | |
| 
 | |
|     .line 7
 | |
|     iget v0, p3, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 8
 | |
|     :cond_0
 | |
|     iget v0, p3, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 9
 | |
|     :cond_1
 | |
|     iget v0, p3, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     invoke-virtual {p3}, Landroid/graphics/Rect;->width()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     div-int/lit8 v3, v3, 0x2
 | |
| 
 | |
|     add-int/2addr v0, v3
 | |
| 
 | |
|     :goto_0
 | |
|     const/16 v3, 0x50
 | |
| 
 | |
|     const/16 v4, 0x10
 | |
| 
 | |
|     if-eq p2, v4, :cond_3
 | |
| 
 | |
|     if-eq p2, v3, :cond_2
 | |
| 
 | |
|     .line 10
 | |
|     iget p2, p3, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 11
 | |
|     :cond_2
 | |
|     iget p2, p3, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 12
 | |
|     :cond_3
 | |
|     iget p2, p3, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     invoke-virtual {p3}, Landroid/graphics/Rect;->height()I
 | |
| 
 | |
|     move-result p3
 | |
| 
 | |
|     div-int/lit8 p3, p3, 0x2
 | |
| 
 | |
|     add-int/2addr p2, p3
 | |
| 
 | |
|     :goto_1
 | |
|     if-eq p5, v2, :cond_4
 | |
| 
 | |
|     if-eq p5, v1, :cond_5
 | |
| 
 | |
|     sub-int/2addr v0, p6
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     .line 13
 | |
|     :cond_4
 | |
|     div-int/lit8 p3, p6, 0x2
 | |
| 
 | |
|     sub-int/2addr v0, p3
 | |
| 
 | |
|     :cond_5
 | |
|     :goto_2
 | |
|     if-eq p1, v4, :cond_6
 | |
| 
 | |
|     if-eq p1, v3, :cond_7
 | |
| 
 | |
|     sub-int/2addr p2, p7
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     .line 14
 | |
|     :cond_6
 | |
|     div-int/lit8 p1, p7, 0x2
 | |
| 
 | |
|     sub-int/2addr p2, p1
 | |
| 
 | |
|     :cond_7
 | |
|     :goto_3
 | |
|     add-int/2addr p6, v0
 | |
| 
 | |
|     add-int/2addr p7, p2
 | |
| 
 | |
|     .line 15
 | |
|     invoke-virtual {p4, v0, p2, p6, p7}, Landroid/graphics/Rect;->set(IIII)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private getKeyline(I)I
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mKeylines:[I
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     const-string v2, "CoordinatorLayout"
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v0, Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
 | |
| 
 | |
|     const-string v3, "No keylines defined for "
 | |
| 
 | |
|     invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     const-string v3, " - attempted index lookup "
 | |
| 
 | |
|     invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-static {v2, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
 | |
| 
 | |
|     return v1
 | |
| 
 | |
|     :cond_0
 | |
|     if-ltz p1, :cond_2
 | |
| 
 | |
|     .line 3
 | |
|     array-length v3, v0
 | |
| 
 | |
|     if-lt p1, v3, :cond_1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 4
 | |
|     :cond_1
 | |
|     aget p1, v0, p1
 | |
| 
 | |
|     return p1
 | |
| 
 | |
|     .line 5
 | |
|     :cond_2
 | |
|     :goto_0
 | |
|     new-instance v0, Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
 | |
| 
 | |
|     const-string v3, "Keyline index "
 | |
| 
 | |
|     invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     const-string p1, " out of range for "
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-static {v2, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
 | |
| 
 | |
|     return v1
 | |
| .end method
 | |
| 
 | |
| .method private getTopSortedChildren(Ljava/util/List;)V
 | |
|     .locals 4
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Ljava/util/List<",
 | |
|             "Landroid/view/View;",
 | |
|             ">;)V"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-interface {p1}, Ljava/util/List;->clear()V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->isChildrenDrawingOrderEnabled()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     add-int/lit8 v2, v1, -0x1
 | |
| 
 | |
|     :goto_0
 | |
|     if-ltz v2, :cond_1
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0, v1, v2}, Landroid/view/ViewGroup;->getChildDrawingOrder(II)I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_0
 | |
|     move v3, v2
 | |
| 
 | |
|     .line 5
 | |
|     :goto_1
 | |
|     invoke-virtual {p0, v3}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     .line 6
 | |
|     invoke-interface {p1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
 | |
| 
 | |
|     add-int/lit8 v2, v2, -0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 7
 | |
|     :cond_1
 | |
|     sget-object v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->TOP_SORTED_CHILDREN_COMPARATOR:Ljava/util/Comparator;
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     .line 8
 | |
|     invoke-static {p1, v0}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V
 | |
| 
 | |
|     :cond_2
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private hasDependencies(Landroid/view/View;)Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mChildDag:Lx0/a;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lx0/a;->j(Ljava/lang/Object;)Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     return p1
 | |
| .end method
 | |
| 
 | |
| .method private layoutChild(Landroid/view/View;I)V
 | |
|     .locals 9
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 2
 | |
|     invoke-static {}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->acquireTempRect()Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object v7
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingLeft()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     iget v2, v0, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
 | |
| 
 | |
|     add-int/2addr v1, v2
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingTop()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iget v3, v0, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
 | |
| 
 | |
|     add-int/2addr v2, v3
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getWidth()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingRight()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     sub-int/2addr v3, v4
 | |
| 
 | |
|     iget v4, v0, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
 | |
| 
 | |
|     sub-int/2addr v3, v4
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getHeight()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingBottom()I
 | |
| 
 | |
|     move-result v5
 | |
| 
 | |
|     sub-int/2addr v4, v5
 | |
| 
 | |
|     iget v5, v0, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
 | |
| 
 | |
|     sub-int/2addr v4, v5
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v7, v1, v2, v3, v4}, Landroid/graphics/Rect;->set(IIII)V
 | |
| 
 | |
|     .line 8
 | |
|     iget-object v1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mLastInsets:Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     invoke-static {p0}, Landroidx/core/view/ViewCompat;->U(Landroid/view/View;)Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     .line 9
 | |
|     invoke-static {p1}, Landroidx/core/view/ViewCompat;->U(Landroid/view/View;)Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-nez v1, :cond_0
 | |
| 
 | |
|     .line 10
 | |
|     iget v1, v7, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     iget-object v2, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mLastInsets:Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
|     invoke-virtual {v2}, Landroidx/core/view/WindowInsetsCompat;->p()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     add-int/2addr v2, v1
 | |
| 
 | |
|     iput v2, v7, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     .line 11
 | |
|     iget v1, v7, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     iget-object v2, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mLastInsets:Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
|     invoke-virtual {v2}, Landroidx/core/view/WindowInsetsCompat;->r()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     add-int/2addr v2, v1
 | |
| 
 | |
|     iput v2, v7, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     .line 12
 | |
|     iget v1, v7, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     iget-object v2, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mLastInsets:Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
|     invoke-virtual {v2}, Landroidx/core/view/WindowInsetsCompat;->q()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     sub-int/2addr v1, v2
 | |
| 
 | |
|     iput v1, v7, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     .line 13
 | |
|     iget v1, v7, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     iget-object v2, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mLastInsets:Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
|     invoke-virtual {v2}, Landroidx/core/view/WindowInsetsCompat;->o()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     sub-int/2addr v1, v2
 | |
| 
 | |
|     iput v1, v7, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     .line 14
 | |
|     :cond_0
 | |
|     invoke-static {}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->acquireTempRect()Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object v8
 | |
| 
 | |
|     .line 15
 | |
|     iget v0, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->c:I
 | |
| 
 | |
|     invoke-static {v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->resolveGravity(I)I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     .line 16
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     move-object v4, v7
 | |
| 
 | |
|     move-object v5, v8
 | |
| 
 | |
|     move v6, p2
 | |
| 
 | |
|     .line 17
 | |
|     invoke-static/range {v1 .. v6}, Ls1/h;->b(IIILandroid/graphics/Rect;Landroid/graphics/Rect;I)V
 | |
| 
 | |
|     .line 18
 | |
|     iget p2, v8, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     iget v0, v8, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     iget v1, v8, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     iget v2, v8, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     invoke-virtual {p1, p2, v0, v1, v2}, Landroid/view/View;->layout(IIII)V
 | |
| 
 | |
|     .line 19
 | |
|     invoke-static {v7}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 20
 | |
|     invoke-static {v8}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private layoutChildWithAnchor(Landroid/view/View;Landroid/view/View;I)V
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->acquireTempRect()Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-static {}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->acquireTempRect()Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     .line 3
 | |
|     :try_start_0
 | |
|     invoke-virtual {p0, p2, v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getDescendantRect(Landroid/view/View;Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0, p1, p3, v0, v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getDesiredAnchoredChildRect(Landroid/view/View;ILandroid/graphics/Rect;Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 5
 | |
|     iget p2, v1, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     iget p3, v1, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     iget v2, v1, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     iget v3, v1, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     invoke-virtual {p1, p2, p3, v2, v3}, Landroid/view/View;->layout(IIII)V
 | |
|     :try_end_0
 | |
|     .catchall {:try_start_0 .. :try_end_0} :catchall_0
 | |
| 
 | |
|     .line 6
 | |
|     invoke-static {v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 7
 | |
|     invoke-static {v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     :catchall_0
 | |
|     move-exception p1
 | |
| 
 | |
|     .line 8
 | |
|     invoke-static {v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 9
 | |
|     invoke-static {v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 10
 | |
|     throw p1
 | |
| .end method
 | |
| 
 | |
| .method private layoutChildWithKeyline(Landroid/view/View;II)V
 | |
|     .locals 8
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 2
 | |
|     iget v1, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->c:I
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->resolveKeylineGravity(I)I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     .line 4
 | |
|     invoke-static {v1, p3}, Ls1/h;->d(II)I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     and-int/lit8 v2, v1, 0x7
 | |
| 
 | |
|     and-int/lit8 v1, v1, 0x70
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getWidth()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getHeight()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result v5
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I
 | |
| 
 | |
|     move-result v6
 | |
| 
 | |
|     const/4 v7, 0x1
 | |
| 
 | |
|     if-ne p3, v7, :cond_0
 | |
| 
 | |
|     sub-int p2, v3, p2
 | |
| 
 | |
|     .line 9
 | |
|     :cond_0
 | |
|     invoke-direct {p0, p2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getKeyline(I)I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     sub-int/2addr p2, v5
 | |
| 
 | |
|     const/4 p3, 0x0
 | |
| 
 | |
|     if-eq v2, v7, :cond_2
 | |
| 
 | |
|     const/4 v7, 0x5
 | |
| 
 | |
|     if-eq v2, v7, :cond_1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_1
 | |
|     add-int/2addr p2, v5
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 10
 | |
|     :cond_2
 | |
|     div-int/lit8 v2, v5, 0x2
 | |
| 
 | |
|     add-int/2addr p2, v2
 | |
| 
 | |
|     :goto_0
 | |
|     const/16 v2, 0x10
 | |
| 
 | |
|     if-eq v1, v2, :cond_4
 | |
| 
 | |
|     const/16 v2, 0x50
 | |
| 
 | |
|     if-eq v1, v2, :cond_3
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_3
 | |
|     add-int/lit8 p3, v6, 0x0
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 11
 | |
|     :cond_4
 | |
|     div-int/lit8 v1, v6, 0x2
 | |
| 
 | |
|     add-int/2addr p3, v1
 | |
| 
 | |
|     .line 12
 | |
|     :goto_1
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingLeft()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     iget v2, v0, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
 | |
| 
 | |
|     add-int/2addr v1, v2
 | |
| 
 | |
|     .line 13
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingRight()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     sub-int/2addr v3, v2
 | |
| 
 | |
|     sub-int/2addr v3, v5
 | |
| 
 | |
|     iget v2, v0, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
 | |
| 
 | |
|     sub-int/2addr v3, v2
 | |
| 
 | |
|     .line 14
 | |
|     invoke-static {p2, v3}, Ljava/lang/Math;->min(II)I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     .line 15
 | |
|     invoke-static {v1, p2}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     .line 16
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingTop()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     iget v2, v0, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
 | |
| 
 | |
|     add-int/2addr v1, v2
 | |
| 
 | |
|     .line 17
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingBottom()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     sub-int/2addr v4, v2
 | |
| 
 | |
|     sub-int/2addr v4, v6
 | |
| 
 | |
|     iget v0, v0, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
 | |
| 
 | |
|     sub-int/2addr v4, v0
 | |
| 
 | |
|     .line 18
 | |
|     invoke-static {p3, v4}, Ljava/lang/Math;->min(II)I
 | |
| 
 | |
|     move-result p3
 | |
| 
 | |
|     .line 19
 | |
|     invoke-static {v1, p3}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result p3
 | |
| 
 | |
|     add-int/2addr v5, p2
 | |
| 
 | |
|     add-int/2addr v6, p3
 | |
| 
 | |
|     .line 20
 | |
|     invoke-virtual {p1, p2, p3, v5, v6}, Landroid/view/View;->layout(IIII)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private offsetChildByInset(Landroid/view/View;Landroid/graphics/Rect;I)V
 | |
|     .locals 8
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p1}, Landroidx/core/view/ViewCompat;->U0(Landroid/view/View;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getWidth()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-lez v0, :cond_b
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getHeight()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-gtz v0, :cond_1
 | |
| 
 | |
|     goto/16 :goto_4
 | |
| 
 | |
|     .line 3
 | |
|     :cond_1
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     .line 5
 | |
|     invoke-static {}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->acquireTempRect()Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     .line 6
 | |
|     invoke-static {}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->acquireTempRect()Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLeft()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getTop()I
 | |
| 
 | |
|     move-result v5
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getRight()I
 | |
| 
 | |
|     move-result v6
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getBottom()I
 | |
| 
 | |
|     move-result v7
 | |
| 
 | |
|     invoke-virtual {v3, v4, v5, v6, v7}, Landroid/graphics/Rect;->set(IIII)V
 | |
| 
 | |
|     if-eqz v1, :cond_3
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v1, p0, p1, v2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->getInsetDodgeRect(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/graphics/Rect;)Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eqz v1, :cond_3
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {v3, v2}, Landroid/graphics/Rect;->contains(Landroid/graphics/Rect;)Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eqz v1, :cond_2
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 10
 | |
|     :cond_2
 | |
|     new-instance p1, Ljava/lang/IllegalArgumentException;
 | |
| 
 | |
|     const-string p2, "Rect should be within the child\'s bounds. Rect:"
 | |
| 
 | |
|     invoke-static {p2}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {v2}, Landroid/graphics/Rect;->toShortString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p3
 | |
| 
 | |
|     invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     const-string p3, " | Bounds:"
 | |
| 
 | |
|     invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     .line 12
 | |
|     invoke-virtual {v3}, Landroid/graphics/Rect;->toShortString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p3
 | |
| 
 | |
|     invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
 | |
| 
 | |
|     throw p1
 | |
| 
 | |
|     .line 13
 | |
|     :cond_3
 | |
|     invoke-virtual {v2, v3}, Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 14
 | |
|     :goto_0
 | |
|     invoke-static {v3}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 15
 | |
|     invoke-virtual {v2}, Landroid/graphics/Rect;->isEmpty()Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eqz v1, :cond_4
 | |
| 
 | |
|     .line 16
 | |
|     invoke-static {v2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 17
 | |
|     :cond_4
 | |
|     iget v1, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->h:I
 | |
| 
 | |
|     invoke-static {v1, p3}, Ls1/h;->d(II)I
 | |
| 
 | |
|     move-result p3
 | |
| 
 | |
|     and-int/lit8 v1, p3, 0x30
 | |
| 
 | |
|     const/16 v3, 0x30
 | |
| 
 | |
|     const/4 v4, 0x1
 | |
| 
 | |
|     const/4 v5, 0x0
 | |
| 
 | |
|     if-ne v1, v3, :cond_5
 | |
| 
 | |
|     .line 18
 | |
|     iget v1, v2, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     iget v3, v0, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
 | |
| 
 | |
|     sub-int/2addr v1, v3
 | |
| 
 | |
|     iget v3, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->j:I
 | |
| 
 | |
|     sub-int/2addr v1, v3
 | |
| 
 | |
|     .line 19
 | |
|     iget v3, p2, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     if-ge v1, v3, :cond_5
 | |
| 
 | |
|     sub-int/2addr v3, v1
 | |
| 
 | |
|     .line 20
 | |
|     invoke-direct {p0, p1, v3}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->setInsetOffsetY(Landroid/view/View;I)V
 | |
| 
 | |
|     move v1, v4
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_5
 | |
|     move v1, v5
 | |
| 
 | |
|     :goto_1
 | |
|     and-int/lit8 v3, p3, 0x50
 | |
| 
 | |
|     const/16 v6, 0x50
 | |
| 
 | |
|     if-ne v3, v6, :cond_6
 | |
| 
 | |
|     .line 21
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getHeight()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     iget v6, v2, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     sub-int/2addr v3, v6
 | |
| 
 | |
|     iget v6, v0, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
 | |
| 
 | |
|     sub-int/2addr v3, v6
 | |
| 
 | |
|     iget v6, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->j:I
 | |
| 
 | |
|     add-int/2addr v3, v6
 | |
| 
 | |
|     .line 22
 | |
|     iget v6, p2, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     if-ge v3, v6, :cond_6
 | |
| 
 | |
|     sub-int/2addr v3, v6
 | |
| 
 | |
|     .line 23
 | |
|     invoke-direct {p0, p1, v3}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->setInsetOffsetY(Landroid/view/View;I)V
 | |
| 
 | |
|     move v1, v4
 | |
| 
 | |
|     :cond_6
 | |
|     if-nez v1, :cond_7
 | |
| 
 | |
|     .line 24
 | |
|     invoke-direct {p0, p1, v5}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->setInsetOffsetY(Landroid/view/View;I)V
 | |
| 
 | |
|     :cond_7
 | |
|     and-int/lit8 v1, p3, 0x3
 | |
| 
 | |
|     const/4 v3, 0x3
 | |
| 
 | |
|     if-ne v1, v3, :cond_8
 | |
| 
 | |
|     .line 25
 | |
|     iget v1, v2, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     iget v3, v0, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
 | |
| 
 | |
|     sub-int/2addr v1, v3
 | |
| 
 | |
|     iget v3, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->i:I
 | |
| 
 | |
|     sub-int/2addr v1, v3
 | |
| 
 | |
|     .line 26
 | |
|     iget v3, p2, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     if-ge v1, v3, :cond_8
 | |
| 
 | |
|     sub-int/2addr v3, v1
 | |
| 
 | |
|     .line 27
 | |
|     invoke-direct {p0, p1, v3}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->setInsetOffsetX(Landroid/view/View;I)V
 | |
| 
 | |
|     move v1, v4
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     :cond_8
 | |
|     move v1, v5
 | |
| 
 | |
|     :goto_2
 | |
|     const/4 v3, 0x5
 | |
| 
 | |
|     and-int/2addr p3, v3
 | |
| 
 | |
|     if-ne p3, v3, :cond_9
 | |
| 
 | |
|     .line 28
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getWidth()I
 | |
| 
 | |
|     move-result p3
 | |
| 
 | |
|     iget v3, v2, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     sub-int/2addr p3, v3
 | |
| 
 | |
|     iget v3, v0, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
 | |
| 
 | |
|     sub-int/2addr p3, v3
 | |
| 
 | |
|     iget v0, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->i:I
 | |
| 
 | |
|     add-int/2addr p3, v0
 | |
| 
 | |
|     .line 29
 | |
|     iget p2, p2, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     if-ge p3, p2, :cond_9
 | |
| 
 | |
|     sub-int/2addr p3, p2
 | |
| 
 | |
|     .line 30
 | |
|     invoke-direct {p0, p1, p3}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->setInsetOffsetX(Landroid/view/View;I)V
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     :cond_9
 | |
|     move v4, v1
 | |
| 
 | |
|     :goto_3
 | |
|     if-nez v4, :cond_a
 | |
| 
 | |
|     .line 31
 | |
|     invoke-direct {p0, p1, v5}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->setInsetOffsetX(Landroid/view/View;I)V
 | |
| 
 | |
|     .line 32
 | |
|     :cond_a
 | |
|     invoke-static {v2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     :cond_b
 | |
|     :goto_4
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public static parseBehavior(Landroid/content/Context;Landroid/util/AttributeSet;Ljava/lang/String;)Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
|     .locals 5
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 p0, 0x0
 | |
| 
 | |
|     return-object p0
 | |
| 
 | |
|     :cond_0
 | |
|     const-string v0, "."
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p2, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 3
 | |
|     new-instance v0, Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_1
 | |
|     const/16 v0, 0x2e
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p2, v0}, Ljava/lang/String;->indexOf(I)I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-ltz v1, :cond_2
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 5
 | |
|     :cond_2
 | |
|     sget-object v1, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->WIDGET_PACKAGE_NAME:Ljava/lang/String;
 | |
| 
 | |
|     invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     if-nez v2, :cond_3
 | |
| 
 | |
|     new-instance v2, Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
 | |
| 
 | |
|     invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     .line 6
 | |
|     :cond_3
 | |
|     :goto_0
 | |
|     :try_start_0
 | |
|     sget-object v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->sConstructors:Ljava/lang/ThreadLocal;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     check-cast v1, Ljava/util/Map;
 | |
| 
 | |
|     if-nez v1, :cond_4
 | |
| 
 | |
|     .line 7
 | |
|     new-instance v1, Ljava/util/HashMap;
 | |
| 
 | |
|     invoke-direct {v1}, Ljava/util/HashMap;-><init>()V
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v0, v1}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
 | |
| 
 | |
|     .line 9
 | |
|     :cond_4
 | |
|     invoke-interface {v1, p2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Ljava/lang/reflect/Constructor;
 | |
| 
 | |
|     const/4 v2, 0x1
 | |
| 
 | |
|     const/4 v3, 0x0
 | |
| 
 | |
|     if-nez v0, :cond_5
 | |
| 
 | |
|     .line 10
 | |
|     invoke-virtual {p0}, Landroid/content/Context;->getClassLoader()Ljava/lang/ClassLoader;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-static {p2, v3, v0}, Ljava/lang/Class;->forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 11
 | |
|     sget-object v4, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->CONSTRUCTOR_PARAMS:[Ljava/lang/Class;
 | |
| 
 | |
|     invoke-virtual {v0, v4}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 12
 | |
|     invoke-virtual {v0, v2}, Ljava/lang/reflect/Constructor;->setAccessible(Z)V
 | |
| 
 | |
|     .line 13
 | |
|     invoke-interface {v1, p2, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
 | |
| 
 | |
|     :cond_5
 | |
|     const/4 v1, 0x2
 | |
| 
 | |
|     new-array v1, v1, [Ljava/lang/Object;
 | |
| 
 | |
|     aput-object p0, v1, v3
 | |
| 
 | |
|     aput-object p1, v1, v2
 | |
| 
 | |
|     .line 14
 | |
|     invoke-virtual {v0, v1}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object p0
 | |
| 
 | |
|     check-cast p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
|     :try_end_0
 | |
|     .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
 | |
| 
 | |
|     return-object p0
 | |
| 
 | |
|     :catch_0
 | |
|     move-exception p0
 | |
| 
 | |
|     .line 15
 | |
|     new-instance p1, Ljava/lang/RuntimeException;
 | |
| 
 | |
|     const-string v0, "Could not inflate Behavior subclass "
 | |
| 
 | |
|     invoke-static {v0, p2}, Lc/g;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     invoke-direct {p1, p2, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
 | |
| 
 | |
|     throw p1
 | |
| .end method
 | |
| 
 | |
| .method private performIntercept(Landroid/view/MotionEvent;I)Z
 | |
|     .locals 23
 | |
| 
 | |
|     move-object/from16 v0, p0
 | |
| 
 | |
|     move-object/from16 v1, p1
 | |
| 
 | |
|     move/from16 v2, p2
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual/range {p1 .. p1}, Landroid/view/MotionEvent;->getActionMasked()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v4, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mTempList1:Ljava/util/List;
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {v0, v4}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getTopSortedChildren(Ljava/util/List;)V
 | |
| 
 | |
|     .line 4
 | |
|     invoke-interface {v4}, Ljava/util/List;->size()I
 | |
| 
 | |
|     move-result v5
 | |
| 
 | |
|     const/4 v6, 0x0
 | |
| 
 | |
|     const/4 v7, 0x0
 | |
| 
 | |
|     move v8, v6
 | |
| 
 | |
|     move v9, v8
 | |
| 
 | |
|     move v10, v9
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v8, v5, :cond_a
 | |
| 
 | |
|     .line 5
 | |
|     invoke-interface {v4, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v11
 | |
| 
 | |
|     check-cast v11, Landroid/view/View;
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v11}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v12
 | |
| 
 | |
|     check-cast v12, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v12}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v13
 | |
| 
 | |
|     const/4 v14, 0x1
 | |
| 
 | |
|     if-nez v9, :cond_0
 | |
| 
 | |
|     if-eqz v10, :cond_4
 | |
| 
 | |
|     :cond_0
 | |
|     if-eqz v3, :cond_4
 | |
| 
 | |
|     if-eqz v13, :cond_9
 | |
| 
 | |
|     if-nez v7, :cond_1
 | |
| 
 | |
|     .line 8
 | |
|     invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
 | |
| 
 | |
|     move-result-wide v17
 | |
| 
 | |
|     const/16 v19, 0x3
 | |
| 
 | |
|     const/16 v20, 0x0
 | |
| 
 | |
|     const/16 v21, 0x0
 | |
| 
 | |
|     const/16 v22, 0x0
 | |
| 
 | |
|     move-wide/from16 v15, v17
 | |
| 
 | |
|     .line 9
 | |
|     invoke-static/range {v15 .. v22}, Landroid/view/MotionEvent;->obtain(JJIFFI)Landroid/view/MotionEvent;
 | |
| 
 | |
|     move-result-object v7
 | |
| 
 | |
|     :cond_1
 | |
|     if-eqz v2, :cond_3
 | |
| 
 | |
|     if-eq v2, v14, :cond_2
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     .line 10
 | |
|     :cond_2
 | |
|     invoke-virtual {v13, v0, v11, v7}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onTouchEvent(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/MotionEvent;)Z
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     .line 11
 | |
|     :cond_3
 | |
|     invoke-virtual {v13, v0, v11, v7}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onInterceptTouchEvent(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/MotionEvent;)Z
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     :cond_4
 | |
|     if-nez v9, :cond_7
 | |
| 
 | |
|     if-eqz v13, :cond_7
 | |
| 
 | |
|     if-eqz v2, :cond_6
 | |
| 
 | |
|     if-eq v2, v14, :cond_5
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 12
 | |
|     :cond_5
 | |
|     invoke-virtual {v13, v0, v11, v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onTouchEvent(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/MotionEvent;)Z
 | |
| 
 | |
|     move-result v9
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 13
 | |
|     :cond_6
 | |
|     invoke-virtual {v13, v0, v11, v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onInterceptTouchEvent(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/MotionEvent;)Z
 | |
| 
 | |
|     move-result v9
 | |
| 
 | |
|     :goto_1
 | |
|     if-eqz v9, :cond_7
 | |
| 
 | |
|     .line 14
 | |
|     iput-object v11, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mBehaviorTouchView:Landroid/view/View;
 | |
| 
 | |
|     .line 15
 | |
|     :cond_7
 | |
|     invoke-virtual {v12}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->c()Z
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     .line 16
 | |
|     invoke-virtual {v12, v0, v11}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->j(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;)Z
 | |
| 
 | |
|     move-result v11
 | |
| 
 | |
|     if-eqz v11, :cond_8
 | |
| 
 | |
|     if-nez v10, :cond_8
 | |
| 
 | |
|     move v10, v14
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     :cond_8
 | |
|     move v10, v6
 | |
| 
 | |
|     :goto_2
 | |
|     if-eqz v11, :cond_9
 | |
| 
 | |
|     if-nez v10, :cond_9
 | |
| 
 | |
|     goto :goto_4
 | |
| 
 | |
|     :cond_9
 | |
|     :goto_3
 | |
|     add-int/lit8 v8, v8, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 17
 | |
|     :cond_a
 | |
|     :goto_4
 | |
|     invoke-interface {v4}, Ljava/util/List;->clear()V
 | |
| 
 | |
|     return v9
 | |
| .end method
 | |
| 
 | |
| .method private prepareChildren()V
 | |
|     .locals 8
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDependencySortedChildren:Ljava/util/List;
 | |
| 
 | |
|     invoke-interface {v0}, Ljava/util/List;->clear()V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mChildDag:Lx0/a;
 | |
| 
 | |
|     invoke-virtual {v0}, Lx0/a;->c()V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     move v2, v1
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v2, v0, :cond_4
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p0, v3}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getResolvedLayoutParams(Landroid/view/View;)Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v4, p0, v3}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->d(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;)Landroid/view/View;
 | |
| 
 | |
|     .line 7
 | |
|     iget-object v5, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mChildDag:Lx0/a;
 | |
| 
 | |
|     invoke-virtual {v5, v3}, Lx0/a;->b(Ljava/lang/Object;)V
 | |
| 
 | |
|     move v5, v1
 | |
| 
 | |
|     :goto_1
 | |
|     if-ge v5, v0, :cond_3
 | |
| 
 | |
|     if-ne v5, v2, :cond_0
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     .line 8
 | |
|     :cond_0
 | |
|     invoke-virtual {p0, v5}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v6
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {v4, p0, v3, v6}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->b(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;)Z
 | |
| 
 | |
|     move-result v7
 | |
| 
 | |
|     if-eqz v7, :cond_2
 | |
| 
 | |
|     .line 10
 | |
|     iget-object v7, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mChildDag:Lx0/a;
 | |
| 
 | |
|     invoke-virtual {v7, v6}, Lx0/a;->d(Ljava/lang/Object;)Z
 | |
| 
 | |
|     move-result v7
 | |
| 
 | |
|     if-nez v7, :cond_1
 | |
| 
 | |
|     .line 11
 | |
|     iget-object v7, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mChildDag:Lx0/a;
 | |
| 
 | |
|     invoke-virtual {v7, v6}, Lx0/a;->b(Ljava/lang/Object;)V
 | |
| 
 | |
|     .line 12
 | |
|     :cond_1
 | |
|     iget-object v7, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mChildDag:Lx0/a;
 | |
| 
 | |
|     invoke-virtual {v7, v6, v3}, Lx0/a;->a(Ljava/lang/Object;Ljava/lang/Object;)V
 | |
| 
 | |
|     :cond_2
 | |
|     :goto_2
 | |
|     add-int/lit8 v5, v5, 0x1
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_3
 | |
|     add-int/lit8 v2, v2, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 13
 | |
|     :cond_4
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDependencySortedChildren:Ljava/util/List;
 | |
| 
 | |
|     iget-object v1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mChildDag:Lx0/a;
 | |
| 
 | |
|     invoke-virtual {v1}, Lx0/a;->i()Ljava/util/ArrayList;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-interface {v0, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
 | |
| 
 | |
|     .line 14
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDependencySortedChildren:Ljava/util/List;
 | |
| 
 | |
|     invoke-static {v0}, Ljava/util/Collections;->reverse(Ljava/util/List;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private static releaseTempRect(Landroid/graphics/Rect;)V
 | |
|     .locals 1
 | |
|     .param p0    # Landroid/graphics/Rect;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/graphics/Rect;->setEmpty()V
 | |
| 
 | |
|     .line 2
 | |
|     sget-object v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->sRectPool:Lr1/n$a;
 | |
| 
 | |
|     invoke-interface {v0, p0}, Lr1/n$a;->b(Ljava/lang/Object;)Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private resetTouchBehaviors(Z)V
 | |
|     .locals 13
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     move v2, v1
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v2, v0, :cond_2
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     check-cast v4, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v4}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     if-eqz v4, :cond_1
 | |
| 
 | |
|     .line 5
 | |
|     invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
 | |
| 
 | |
|     move-result-wide v7
 | |
| 
 | |
|     const/4 v9, 0x3
 | |
| 
 | |
|     const/4 v10, 0x0
 | |
| 
 | |
|     const/4 v11, 0x0
 | |
| 
 | |
|     const/4 v12, 0x0
 | |
| 
 | |
|     move-wide v5, v7
 | |
| 
 | |
|     .line 6
 | |
|     invoke-static/range {v5 .. v12}, Landroid/view/MotionEvent;->obtain(JJIFFI)Landroid/view/MotionEvent;
 | |
| 
 | |
|     move-result-object v5
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v4, p0, v3, v5}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onInterceptTouchEvent(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/MotionEvent;)Z
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 8
 | |
|     :cond_0
 | |
|     invoke-virtual {v4, p0, v3, v5}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onTouchEvent(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/MotionEvent;)Z
 | |
| 
 | |
|     .line 9
 | |
|     :goto_1
 | |
|     invoke-virtual {v5}, Landroid/view/MotionEvent;->recycle()V
 | |
| 
 | |
|     :cond_1
 | |
|     add-int/lit8 v2, v2, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_2
 | |
|     move p1, v1
 | |
| 
 | |
|     :goto_2
 | |
|     if-ge p1, v0, :cond_3
 | |
| 
 | |
|     .line 10
 | |
|     invoke-virtual {p0, p1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     check-cast v2, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 12
 | |
|     invoke-virtual {v2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->n()V
 | |
| 
 | |
|     add-int/lit8 p1, p1, 0x1
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     :cond_3
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 13
 | |
|     iput-object p1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mBehaviorTouchView:Landroid/view/View;
 | |
| 
 | |
|     .line 14
 | |
|     iput-boolean v1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDisallowInterceptReset:Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private static resolveAnchoredChildGravity(I)I
 | |
|     .locals 0
 | |
| 
 | |
|     if-nez p0, :cond_0
 | |
| 
 | |
|     const/16 p0, 0x11
 | |
| 
 | |
|     :cond_0
 | |
|     return p0
 | |
| .end method
 | |
| 
 | |
| .method private static resolveGravity(I)I
 | |
|     .locals 1
 | |
| 
 | |
|     and-int/lit8 v0, p0, 0x7
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     const v0, 0x800003
 | |
| 
 | |
|     or-int/2addr p0, v0
 | |
| 
 | |
|     :cond_0
 | |
|     and-int/lit8 v0, p0, 0x70
 | |
| 
 | |
|     if-nez v0, :cond_1
 | |
| 
 | |
|     or-int/lit8 p0, p0, 0x30
 | |
| 
 | |
|     :cond_1
 | |
|     return p0
 | |
| .end method
 | |
| 
 | |
| .method private static resolveKeylineGravity(I)I
 | |
|     .locals 0
 | |
| 
 | |
|     if-nez p0, :cond_0
 | |
| 
 | |
|     const p0, 0x800035
 | |
| 
 | |
|     :cond_0
 | |
|     return p0
 | |
| .end method
 | |
| 
 | |
| .method private setInsetOffsetX(Landroid/view/View;I)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 2
 | |
|     iget v1, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->i:I
 | |
| 
 | |
|     if-eq v1, p2, :cond_0
 | |
| 
 | |
|     sub-int v1, p2, v1
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {p1, v1}, Landroidx/core/view/ViewCompat;->e1(Landroid/view/View;I)V
 | |
| 
 | |
|     .line 4
 | |
|     iput p2, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->i:I
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private setInsetOffsetY(Landroid/view/View;I)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 2
 | |
|     iget v1, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->j:I
 | |
| 
 | |
|     if-eq v1, p2, :cond_0
 | |
| 
 | |
|     sub-int v1, p2, v1
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {p1, v1}, Landroidx/core/view/ViewCompat;->f1(Landroid/view/View;I)V
 | |
| 
 | |
|     .line 4
 | |
|     iput p2, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->j:I
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private setupForInsets()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p0}, Landroidx/core/view/ViewCompat;->U(Landroid/view/View;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mApplyWindowInsetsListener:Ls1/e0;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     new-instance v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$a;
 | |
| 
 | |
|     invoke-direct {v0, p0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$a;-><init>(Landroidx/coordinatorlayout/widget/CoordinatorLayout;)V
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mApplyWindowInsetsListener:Ls1/e0;
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mApplyWindowInsetsListener:Ls1/e0;
 | |
| 
 | |
|     invoke-static {p0, v0}, Landroidx/core/view/ViewCompat;->a2(Landroid/view/View;Ls1/e0;)V
 | |
| 
 | |
|     const/16 v0, 0x500
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->setSystemUiVisibility(I)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_1
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 6
 | |
|     invoke-static {p0, v0}, Landroidx/core/view/ViewCompat;->a2(Landroid/view/View;Ls1/e0;)V
 | |
| 
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public addPreDrawListener()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mIsAttachedToWindow:Z
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mOnPreDrawListener:Landroidx/coordinatorlayout/widget/CoordinatorLayout$e;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     new-instance v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$e;
 | |
| 
 | |
|     invoke-direct {v0, p0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$e;-><init>(Landroidx/coordinatorlayout/widget/CoordinatorLayout;)V
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mOnPreDrawListener:Landroidx/coordinatorlayout/widget/CoordinatorLayout$e;
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getViewTreeObserver()Landroid/view/ViewTreeObserver;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mOnPreDrawListener:Landroidx/coordinatorlayout/widget/CoordinatorLayout$e;
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/view/ViewTreeObserver;->addOnPreDrawListener(Landroid/view/ViewTreeObserver$OnPreDrawListener;)V
 | |
| 
 | |
|     :cond_1
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     .line 6
 | |
|     iput-boolean v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mNeedsPreDrawListener:Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public checkLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     instance-of v0, p1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     invoke-super {p0, p1}, Landroid/view/ViewGroup;->checkLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return p1
 | |
| .end method
 | |
| 
 | |
| .method public dispatchDependentViewsChanged(Landroid/view/View;)V
 | |
|     .locals 4
 | |
|     .param p1    # Landroid/view/View;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mChildDag:Lx0/a;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lx0/a;->g(Ljava/lang/Object;)Ljava/util/List;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {v0}, Ljava/util/List;->isEmpty()Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-nez v1, :cond_1
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     .line 3
 | |
|     :goto_0
 | |
|     invoke-interface {v0}, Ljava/util/List;->size()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     if-ge v1, v2, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     check-cast v2, Landroid/view/View;
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     check-cast v3, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v3}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     if-eqz v3, :cond_0
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v3, p0, v2, p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onDependentViewChanged(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;)Z
 | |
| 
 | |
|     :cond_0
 | |
|     add-int/lit8 v1, v1, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public doViewsOverlap(Landroid/view/View;Landroid/view/View;)Z
 | |
|     .locals 4
 | |
|     .param p1    # Landroid/view/View;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroid/view/View;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     if-nez v0, :cond_3
 | |
| 
 | |
|     invoke-virtual {p2}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_3
 | |
| 
 | |
|     .line 2
 | |
|     invoke-static {}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->acquireTempRect()Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     const/4 v3, 0x1
 | |
| 
 | |
|     if-eq v2, p0, :cond_0
 | |
| 
 | |
|     move v2, v3
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     move v2, v1
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, p1, v2, v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getChildRect(Landroid/view/View;ZLandroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 4
 | |
|     invoke-static {}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->acquireTempRect()Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p2}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     if-eq v2, p0, :cond_1
 | |
| 
 | |
|     move v2, v3
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_1
 | |
|     move v2, v1
 | |
| 
 | |
|     :goto_1
 | |
|     invoke-virtual {p0, p2, v2, p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getChildRect(Landroid/view/View;ZLandroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 6
 | |
|     :try_start_0
 | |
|     iget p2, v0, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     iget v2, p1, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     if-gt p2, v2, :cond_2
 | |
| 
 | |
|     iget p2, v0, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     iget v2, p1, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     if-gt p2, v2, :cond_2
 | |
| 
 | |
|     iget p2, v0, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     iget v2, p1, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     if-lt p2, v2, :cond_2
 | |
| 
 | |
|     iget p2, v0, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     iget v2, p1, Landroid/graphics/Rect;->top:I
 | |
|     :try_end_0
 | |
|     .catchall {:try_start_0 .. :try_end_0} :catchall_0
 | |
| 
 | |
|     if-lt p2, v2, :cond_2
 | |
| 
 | |
|     move v1, v3
 | |
| 
 | |
|     .line 7
 | |
|     :cond_2
 | |
|     invoke-static {v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 8
 | |
|     invoke-static {p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     return v1
 | |
| 
 | |
|     :catchall_0
 | |
|     move-exception p2
 | |
| 
 | |
|     .line 9
 | |
|     invoke-static {v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 10
 | |
|     invoke-static {p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 11
 | |
|     throw p2
 | |
| 
 | |
|     :cond_3
 | |
|     return v1
 | |
| .end method
 | |
| 
 | |
| .method public drawChild(Landroid/graphics/Canvas;Landroid/view/View;J)Z
 | |
|     .locals 8
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v1, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->a:Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     if-eqz v1, :cond_2
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v1, p0, p2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->getScrimOpacity(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;)F
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     cmpl-float v2, v1, v2
 | |
| 
 | |
|     if-lez v2, :cond_2
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v2, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mScrimPaint:Landroid/graphics/Paint;
 | |
| 
 | |
|     if-nez v2, :cond_0
 | |
| 
 | |
|     .line 5
 | |
|     new-instance v2, Landroid/graphics/Paint;
 | |
| 
 | |
|     invoke-direct {v2}, Landroid/graphics/Paint;-><init>()V
 | |
| 
 | |
|     iput-object v2, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mScrimPaint:Landroid/graphics/Paint;
 | |
| 
 | |
|     .line 6
 | |
|     :cond_0
 | |
|     iget-object v2, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mScrimPaint:Landroid/graphics/Paint;
 | |
| 
 | |
|     iget-object v0, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->a:Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     invoke-virtual {v0, p0, p2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->getScrimColor(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     invoke-virtual {v2, v0}, Landroid/graphics/Paint;->setColor(I)V
 | |
| 
 | |
|     .line 7
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mScrimPaint:Landroid/graphics/Paint;
 | |
| 
 | |
|     const/high16 v2, 0x437f0000    # 255.0f
 | |
| 
 | |
|     mul-float/2addr v1, v2
 | |
| 
 | |
|     invoke-static {v1}, Ljava/lang/Math;->round(F)I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     const/16 v3, 0xff
 | |
| 
 | |
|     invoke-static {v1, v2, v3}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->clamp(III)I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setAlpha(I)V
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {p2}, Landroid/view/View;->isOpaque()Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eqz v1, :cond_1
 | |
| 
 | |
|     .line 10
 | |
|     invoke-virtual {p2}, Landroid/view/View;->getLeft()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     int-to-float v3, v1
 | |
| 
 | |
|     invoke-virtual {p2}, Landroid/view/View;->getTop()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     int-to-float v4, v1
 | |
| 
 | |
|     invoke-virtual {p2}, Landroid/view/View;->getRight()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     int-to-float v5, v1
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {p2}, Landroid/view/View;->getBottom()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     int-to-float v6, v1
 | |
| 
 | |
|     sget-object v7, Landroid/graphics/Region$Op;->DIFFERENCE:Landroid/graphics/Region$Op;
 | |
| 
 | |
|     move-object v2, p1
 | |
| 
 | |
|     .line 12
 | |
|     invoke-virtual/range {v2 .. v7}, Landroid/graphics/Canvas;->clipRect(FFFFLandroid/graphics/Region$Op;)Z
 | |
| 
 | |
|     .line 13
 | |
|     :cond_1
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingLeft()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     int-to-float v3, v1
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingTop()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     int-to-float v4, v1
 | |
| 
 | |
|     .line 14
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getWidth()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingRight()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     sub-int/2addr v1, v2
 | |
| 
 | |
|     int-to-float v5, v1
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getHeight()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingBottom()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     sub-int/2addr v1, v2
 | |
| 
 | |
|     int-to-float v6, v1
 | |
| 
 | |
|     iget-object v7, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mScrimPaint:Landroid/graphics/Paint;
 | |
| 
 | |
|     move-object v2, p1
 | |
| 
 | |
|     .line 15
 | |
|     invoke-virtual/range {v2 .. v7}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
 | |
| 
 | |
|     .line 16
 | |
|     invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
 | |
| 
 | |
|     .line 17
 | |
|     :cond_2
 | |
|     invoke-super {p0, p1, p2, p3, p4}, Landroid/view/ViewGroup;->drawChild(Landroid/graphics/Canvas;Landroid/view/View;J)Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     return p1
 | |
| .end method
 | |
| 
 | |
| .method public drawableStateChanged()V
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0}, Landroid/view/ViewGroup;->drawableStateChanged()V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getDrawableState()[I
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mStatusBarBackground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v1}, Landroid/graphics/drawable/Drawable;->isStateful()Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-eqz v3, :cond_0
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v1, v0}, Landroid/graphics/drawable/Drawable;->setState([I)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     or-int/2addr v2, v0
 | |
| 
 | |
|     :cond_0
 | |
|     if-eqz v2, :cond_1
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->invalidate()V
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public ensurePreDrawListener()V
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     move v2, v1
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v2, v0, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0, v3}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->hasDependencies(Landroid/view/View;)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-eqz v3, :cond_0
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_0
 | |
|     add-int/lit8 v2, v2, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 4
 | |
|     :cond_1
 | |
|     :goto_1
 | |
|     iget-boolean v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mNeedsPreDrawListener:Z
 | |
| 
 | |
|     if-eq v1, v0, :cond_3
 | |
| 
 | |
|     if-eqz v1, :cond_2
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->addPreDrawListener()V
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     .line 6
 | |
|     :cond_2
 | |
|     invoke-virtual {p0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->removePreDrawListener()V
 | |
| 
 | |
|     :cond_3
 | |
|     :goto_2
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public bridge synthetic generateDefaultLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->generateDefaultLayoutParams()Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public generateDefaultLayoutParams()Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
|     .locals 2
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     const/4 v1, -0x2
 | |
| 
 | |
|     invoke-direct {v0, v1, v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;-><init>(II)V
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public bridge synthetic generateLayoutParams(Landroid/util/AttributeSet;)Landroid/view/ViewGroup$LayoutParams;
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0, p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->generateLayoutParams(Landroid/util/AttributeSet;)Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public bridge synthetic generateLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Landroid/view/ViewGroup$LayoutParams;
 | |
|     .locals 0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0, p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->generateLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public generateLayoutParams(Landroid/util/AttributeSet;)Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
|     .locals 2
 | |
| 
 | |
|     .line 3
 | |
|     new-instance v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-direct {v0, v1, p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public generateLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 4
 | |
|     instance-of v0, p1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 5
 | |
|     new-instance v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     check-cast p1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     invoke-direct {v0, p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;-><init>(Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;)V
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     .line 6
 | |
|     :cond_0
 | |
|     instance-of v0, p1, Landroid/view/ViewGroup$MarginLayoutParams;
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 7
 | |
|     new-instance v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     check-cast p1, Landroid/view/ViewGroup$MarginLayoutParams;
 | |
| 
 | |
|     invoke-direct {v0, p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;-><init>(Landroid/view/ViewGroup$MarginLayoutParams;)V
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     .line 8
 | |
|     :cond_1
 | |
|     new-instance v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     invoke-direct {v0, p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getChildRect(Landroid/view/View;ZLandroid/graphics/Rect;)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/view/View;->isLayoutRequested()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_2
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/16 v1, 0x8
 | |
| 
 | |
|     if-ne v0, v1, :cond_0
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_0
 | |
|     if-eqz p2, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0, p1, p3}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getDescendantRect(Landroid/view/View;Landroid/graphics/Rect;)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 3
 | |
|     :cond_1
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLeft()I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getTop()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getRight()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getBottom()I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     invoke-virtual {p3, p2, v0, v1, p1}, Landroid/graphics/Rect;->set(IIII)V
 | |
| 
 | |
|     :goto_0
 | |
|     return-void
 | |
| 
 | |
|     .line 4
 | |
|     :cond_2
 | |
|     :goto_1
 | |
|     invoke-virtual {p3}, Landroid/graphics/Rect;->setEmpty()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public getDependencies(Landroid/view/View;)Ljava/util/List;
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/view/View;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Landroid/view/View;",
 | |
|             ")",
 | |
|             "Ljava/util/List<",
 | |
|             "Landroid/view/View;",
 | |
|             ">;"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mChildDag:Lx0/a;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lx0/a;->h(Ljava/lang/Object;)Ljava/util/List;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mTempDependenciesList:Ljava/util/List;
 | |
| 
 | |
|     invoke-interface {v0}, Ljava/util/List;->clear()V
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mTempDependenciesList:Ljava/util/List;
 | |
| 
 | |
|     invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iget-object p1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mTempDependenciesList:Ljava/util/List;
 | |
| 
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public final getDependencySortedChildren()Ljava/util/List;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "()",
 | |
|             "Ljava/util/List<",
 | |
|             "Landroid/view/View;",
 | |
|             ">;"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->prepareChildren()V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDependencySortedChildren:Ljava/util/List;
 | |
| 
 | |
|     invoke-static {v0}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getDependents(Landroid/view/View;)Ljava/util/List;
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/view/View;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Landroid/view/View;",
 | |
|             ")",
 | |
|             "Ljava/util/List<",
 | |
|             "Landroid/view/View;",
 | |
|             ">;"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mChildDag:Lx0/a;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lx0/a;->g(Ljava/lang/Object;)Ljava/util/List;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mTempDependenciesList:Ljava/util/List;
 | |
| 
 | |
|     invoke-interface {v0}, Ljava/util/List;->clear()V
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mTempDependenciesList:Ljava/util/List;
 | |
| 
 | |
|     invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iget-object p1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mTempDependenciesList:Ljava/util/List;
 | |
| 
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public getDescendantRect(Landroid/view/View;Landroid/graphics/Rect;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p0, p1, p2}, Lx0/b;->a(Landroid/view/ViewGroup;Landroid/view/View;Landroid/graphics/Rect;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public getDesiredAnchoredChildRect(Landroid/view/View;ILandroid/graphics/Rect;Landroid/graphics/Rect;)V
 | |
|     .locals 11
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result v9
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     move-object v1, p0
 | |
| 
 | |
|     move-object v2, p1
 | |
| 
 | |
|     move v3, p2
 | |
| 
 | |
|     move-object v4, p3
 | |
| 
 | |
|     move-object v5, p4
 | |
| 
 | |
|     move-object v6, v0
 | |
| 
 | |
|     move v7, v9
 | |
| 
 | |
|     move v8, v10
 | |
| 
 | |
|     .line 4
 | |
|     invoke-direct/range {v1 .. v8}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getDesiredAnchoredChildRectWithoutConstraints(Landroid/view/View;ILandroid/graphics/Rect;Landroid/graphics/Rect;Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;II)V
 | |
| 
 | |
|     .line 5
 | |
|     invoke-direct {p0, v0, p4, v9, v10}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->constrainChildRect(Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;Landroid/graphics/Rect;II)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public getLastChildRect(Landroid/view/View;Landroid/graphics/Rect;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     check-cast p1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->h()Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-virtual {p2, p1}, Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public final getLastWindowInsets()Landroidx/core/view/WindowInsetsCompat;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/RestrictTo;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mLastInsets:Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getNestedScrollAxes()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mNestedScrollingParentHelper:Ls1/d0;
 | |
| 
 | |
|     invoke-virtual {v0}, Ls1/d0;->a()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getResolvedLayoutParams(Landroid/view/View;)Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
|     .locals 6
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 2
 | |
|     iget-boolean v1, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->b:Z
 | |
| 
 | |
|     if-nez v1, :cond_4
 | |
| 
 | |
|     .line 3
 | |
|     instance-of v1, p1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$b;
 | |
| 
 | |
|     const-string v2, "CoordinatorLayout"
 | |
| 
 | |
|     const/4 v3, 0x1
 | |
| 
 | |
|     if-eqz v1, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     check-cast p1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$b;
 | |
| 
 | |
|     invoke-interface {p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$b;->getBehavior()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     if-nez p1, :cond_0
 | |
| 
 | |
|     const-string v1, "Attached behavior class is null"
 | |
| 
 | |
|     .line 5
 | |
|     invoke-static {v2, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
 | |
| 
 | |
|     .line 6
 | |
|     :cond_0
 | |
|     invoke-virtual {v0, p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->q(Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;)V
 | |
| 
 | |
|     .line 7
 | |
|     iput-boolean v3, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->b:Z
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     .line 8
 | |
|     :cond_1
 | |
|     invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     if-eqz p1, :cond_2
 | |
| 
 | |
|     .line 9
 | |
|     const-class v1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$DefaultBehavior;
 | |
| 
 | |
|     .line 10
 | |
|     invoke-virtual {p1, v1}, Ljava/lang/Class;->getAnnotation(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     check-cast v1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$DefaultBehavior;
 | |
| 
 | |
|     if-nez v1, :cond_2
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {p1}, Ljava/lang/Class;->getSuperclass()Ljava/lang/Class;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_2
 | |
|     if-eqz v1, :cond_3
 | |
| 
 | |
|     .line 12
 | |
|     :try_start_0
 | |
|     invoke-interface {v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$DefaultBehavior;->value()Ljava/lang/Class;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     const/4 v4, 0x0
 | |
| 
 | |
|     new-array v5, v4, [Ljava/lang/Class;
 | |
| 
 | |
|     invoke-virtual {p1, v5}, Ljava/lang/Class;->getDeclaredConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     new-array v4, v4, [Ljava/lang/Object;
 | |
| 
 | |
|     invoke-virtual {p1, v4}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     check-cast p1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     .line 13
 | |
|     invoke-virtual {v0, p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->q(Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;)V
 | |
|     :try_end_0
 | |
|     .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :catch_0
 | |
|     move-exception p1
 | |
| 
 | |
|     const-string v4, "Default behavior class "
 | |
| 
 | |
|     .line 14
 | |
|     invoke-static {v4}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     invoke-interface {v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$DefaultBehavior;->value()Ljava/lang/Class;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     const-string v1, " could not be instantiated. Did you forget a default constructor?"
 | |
| 
 | |
|     invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-static {v2, v1, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
 | |
| 
 | |
|     .line 15
 | |
|     :cond_3
 | |
|     :goto_1
 | |
|     iput-boolean v3, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->b:Z
 | |
| 
 | |
|     :cond_4
 | |
|     :goto_2
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getStatusBarBackground()Landroid/graphics/drawable/Drawable;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mStatusBarBackground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getSuggestedMinimumHeight()I
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0}, Landroid/view/ViewGroup;->getSuggestedMinimumHeight()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingTop()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingBottom()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     add-int/2addr v2, v1
 | |
| 
 | |
|     invoke-static {v0, v2}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getSuggestedMinimumWidth()I
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0}, Landroid/view/ViewGroup;->getSuggestedMinimumWidth()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingLeft()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingRight()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     add-int/2addr v2, v1
 | |
| 
 | |
|     invoke-static {v0, v2}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public isPointInChildBounds(Landroid/view/View;II)Z
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/view/View;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->acquireTempRect()Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0, p1, v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getDescendantRect(Landroid/view/View;Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 3
 | |
|     :try_start_0
 | |
|     invoke-virtual {v0, p2, p3}, Landroid/graphics/Rect;->contains(II)Z
 | |
| 
 | |
|     move-result p1
 | |
|     :try_end_0
 | |
|     .catchall {:try_start_0 .. :try_end_0} :catchall_0
 | |
| 
 | |
|     .line 4
 | |
|     invoke-static {v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     return p1
 | |
| 
 | |
|     :catchall_0
 | |
|     move-exception p1
 | |
| 
 | |
|     invoke-static {v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 5
 | |
|     throw p1
 | |
| .end method
 | |
| 
 | |
| .method public offsetChildToAnchor(Landroid/view/View;I)V
 | |
|     .locals 16
 | |
| 
 | |
|     move-object/from16 v8, p0
 | |
| 
 | |
|     move-object/from16 v9, p1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual/range {p1 .. p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     move-object v10, v0
 | |
| 
 | |
|     check-cast v10, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, v10, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->k:Landroid/view/View;
 | |
| 
 | |
|     if-eqz v0, :cond_5
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->acquireTempRect()Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object v11
 | |
| 
 | |
|     .line 4
 | |
|     invoke-static {}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->acquireTempRect()Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object v12
 | |
| 
 | |
|     .line 5
 | |
|     invoke-static {}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->acquireTempRect()Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object v13
 | |
| 
 | |
|     .line 6
 | |
|     iget-object v0, v10, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->k:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {v8, v0, v11}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getDescendantRect(Landroid/view/View;Landroid/graphics/Rect;)V
 | |
| 
 | |
|     const/4 v14, 0x0
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v8, v9, v14, v12}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getChildRect(Landroid/view/View;ZLandroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual/range {p1 .. p1}, Landroid/view/View;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result v15
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual/range {p1 .. p1}, Landroid/view/View;->getMeasuredHeight()I
 | |
| 
 | |
|     move-result v7
 | |
| 
 | |
|     move-object/from16 v0, p0
 | |
| 
 | |
|     move-object/from16 v1, p1
 | |
| 
 | |
|     move/from16 v2, p2
 | |
| 
 | |
|     move-object v3, v11
 | |
| 
 | |
|     move-object v4, v13
 | |
| 
 | |
|     move-object v5, v10
 | |
| 
 | |
|     move v6, v15
 | |
| 
 | |
|     move/from16 p2, v7
 | |
| 
 | |
|     .line 10
 | |
|     invoke-direct/range {v0 .. v7}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getDesiredAnchoredChildRectWithoutConstraints(Landroid/view/View;ILandroid/graphics/Rect;Landroid/graphics/Rect;Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;II)V
 | |
| 
 | |
|     .line 11
 | |
|     iget v0, v13, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     iget v1, v12, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     if-ne v0, v1, :cond_0
 | |
| 
 | |
|     iget v0, v13, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     iget v1, v12, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     if-eq v0, v1, :cond_1
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v14, 0x1
 | |
| 
 | |
|     :cond_1
 | |
|     move/from16 v0, p2
 | |
| 
 | |
|     .line 12
 | |
|     invoke-direct {v8, v10, v13, v15, v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->constrainChildRect(Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;Landroid/graphics/Rect;II)V
 | |
| 
 | |
|     .line 13
 | |
|     iget v0, v13, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     iget v1, v12, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     sub-int/2addr v0, v1
 | |
| 
 | |
|     .line 14
 | |
|     iget v1, v13, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     iget v2, v12, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     sub-int/2addr v1, v2
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     .line 15
 | |
|     invoke-static {v9, v0}, Landroidx/core/view/ViewCompat;->e1(Landroid/view/View;I)V
 | |
| 
 | |
|     :cond_2
 | |
|     if-eqz v1, :cond_3
 | |
| 
 | |
|     .line 16
 | |
|     invoke-static {v9, v1}, Landroidx/core/view/ViewCompat;->f1(Landroid/view/View;I)V
 | |
| 
 | |
|     :cond_3
 | |
|     if-eqz v14, :cond_4
 | |
| 
 | |
|     .line 17
 | |
|     invoke-virtual {v10}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-eqz v0, :cond_4
 | |
| 
 | |
|     .line 18
 | |
|     iget-object v1, v10, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->k:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {v0, v8, v9, v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onDependentViewChanged(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;)Z
 | |
| 
 | |
|     .line 19
 | |
|     :cond_4
 | |
|     invoke-static {v11}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 20
 | |
|     invoke-static {v12}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 21
 | |
|     invoke-static {v13}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     :cond_5
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onAttachedToWindow()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0}, Landroid/view/ViewGroup;->onAttachedToWindow()V
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-direct {p0, v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->resetTouchBehaviors(Z)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-boolean v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mNeedsPreDrawListener:Z
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mOnPreDrawListener:Landroidx/coordinatorlayout/widget/CoordinatorLayout$e;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 5
 | |
|     new-instance v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$e;
 | |
| 
 | |
|     invoke-direct {v0, p0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$e;-><init>(Landroidx/coordinatorlayout/widget/CoordinatorLayout;)V
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mOnPreDrawListener:Landroidx/coordinatorlayout/widget/CoordinatorLayout$e;
 | |
| 
 | |
|     .line 6
 | |
|     :cond_0
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getViewTreeObserver()Landroid/view/ViewTreeObserver;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 7
 | |
|     iget-object v1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mOnPreDrawListener:Landroidx/coordinatorlayout/widget/CoordinatorLayout$e;
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/view/ViewTreeObserver;->addOnPreDrawListener(Landroid/view/ViewTreeObserver$OnPreDrawListener;)V
 | |
| 
 | |
|     .line 8
 | |
|     :cond_1
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mLastInsets:Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
|     if-nez v0, :cond_2
 | |
| 
 | |
|     invoke-static {p0}, Landroidx/core/view/ViewCompat;->U(Landroid/view/View;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     .line 9
 | |
|     invoke-static {p0}, Landroidx/core/view/ViewCompat;->v1(Landroid/view/View;)V
 | |
| 
 | |
|     :cond_2
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     .line 10
 | |
|     iput-boolean v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mIsAttachedToWindow:Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public final onChildViewsChanged(I)V
 | |
|     .locals 17
 | |
| 
 | |
|     move-object/from16 v0, p0
 | |
| 
 | |
|     move/from16 v1, p1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static/range {p0 .. p0}, Landroidx/core/view/ViewCompat;->Z(Landroid/view/View;)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v3, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDependencySortedChildren:Ljava/util/List;
 | |
| 
 | |
|     invoke-interface {v3}, Ljava/util/List;->size()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->acquireTempRect()Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     .line 4
 | |
|     invoke-static {}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->acquireTempRect()Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object v5
 | |
| 
 | |
|     .line 5
 | |
|     invoke-static {}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->acquireTempRect()Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object v6
 | |
| 
 | |
|     const/4 v7, 0x0
 | |
| 
 | |
|     move v8, v7
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v8, v3, :cond_f
 | |
| 
 | |
|     .line 6
 | |
|     iget-object v9, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDependencySortedChildren:Ljava/util/List;
 | |
| 
 | |
|     invoke-interface {v9, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v9
 | |
| 
 | |
|     check-cast v9, Landroid/view/View;
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v9}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v10
 | |
| 
 | |
|     check-cast v10, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     if-nez v1, :cond_0
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v9}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result v11
 | |
| 
 | |
|     const/16 v12, 0x8
 | |
| 
 | |
|     if-ne v11, v12, :cond_0
 | |
| 
 | |
|     goto/16 :goto_7
 | |
| 
 | |
|     :cond_0
 | |
|     move v11, v7
 | |
| 
 | |
|     :goto_1
 | |
|     if-ge v11, v8, :cond_2
 | |
| 
 | |
|     .line 9
 | |
|     iget-object v12, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDependencySortedChildren:Ljava/util/List;
 | |
| 
 | |
|     invoke-interface {v12, v11}, Ljava/util/List;->get(I)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v12
 | |
| 
 | |
|     check-cast v12, Landroid/view/View;
 | |
| 
 | |
|     .line 10
 | |
|     iget-object v13, v10, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->l:Landroid/view/View;
 | |
| 
 | |
|     if-ne v13, v12, :cond_1
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {v0, v9, v2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->offsetChildToAnchor(Landroid/view/View;I)V
 | |
| 
 | |
|     :cond_1
 | |
|     add-int/lit8 v11, v11, 0x1
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_2
 | |
|     const/4 v11, 0x1
 | |
| 
 | |
|     .line 12
 | |
|     invoke-virtual {v0, v9, v11, v5}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getChildRect(Landroid/view/View;ZLandroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 13
 | |
|     iget v12, v10, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->g:I
 | |
| 
 | |
|     if-eqz v12, :cond_7
 | |
| 
 | |
|     invoke-virtual {v5}, Landroid/graphics/Rect;->isEmpty()Z
 | |
| 
 | |
|     move-result v12
 | |
| 
 | |
|     if-nez v12, :cond_7
 | |
| 
 | |
|     .line 14
 | |
|     iget v12, v10, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->g:I
 | |
| 
 | |
|     invoke-static {v12, v2}, Ls1/h;->d(II)I
 | |
| 
 | |
|     move-result v12
 | |
| 
 | |
|     and-int/lit8 v13, v12, 0x70
 | |
| 
 | |
|     const/16 v14, 0x30
 | |
| 
 | |
|     if-eq v13, v14, :cond_4
 | |
| 
 | |
|     const/16 v14, 0x50
 | |
| 
 | |
|     if-eq v13, v14, :cond_3
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     .line 15
 | |
|     :cond_3
 | |
|     iget v13, v4, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getHeight()I
 | |
| 
 | |
|     move-result v14
 | |
| 
 | |
|     iget v15, v5, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     sub-int/2addr v14, v15
 | |
| 
 | |
|     invoke-static {v13, v14}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v13
 | |
| 
 | |
|     iput v13, v4, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     .line 16
 | |
|     :cond_4
 | |
|     iget v13, v4, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     iget v14, v5, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     invoke-static {v13, v14}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v13
 | |
| 
 | |
|     iput v13, v4, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     :goto_2
 | |
|     and-int/lit8 v12, v12, 0x7
 | |
| 
 | |
|     const/4 v13, 0x3
 | |
| 
 | |
|     if-eq v12, v13, :cond_6
 | |
| 
 | |
|     const/4 v13, 0x5
 | |
| 
 | |
|     if-eq v12, v13, :cond_5
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     .line 17
 | |
|     :cond_5
 | |
|     iget v12, v4, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getWidth()I
 | |
| 
 | |
|     move-result v13
 | |
| 
 | |
|     iget v14, v5, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     sub-int/2addr v13, v14
 | |
| 
 | |
|     invoke-static {v12, v13}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v12
 | |
| 
 | |
|     iput v12, v4, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     .line 18
 | |
|     :cond_6
 | |
|     iget v12, v4, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     iget v13, v5, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     invoke-static {v12, v13}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v12
 | |
| 
 | |
|     iput v12, v4, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     .line 19
 | |
|     :cond_7
 | |
|     :goto_3
 | |
|     iget v10, v10, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->h:I
 | |
| 
 | |
|     if-eqz v10, :cond_8
 | |
| 
 | |
|     invoke-virtual {v9}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     if-nez v10, :cond_8
 | |
| 
 | |
|     .line 20
 | |
|     invoke-direct {v0, v9, v4, v2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->offsetChildByInset(Landroid/view/View;Landroid/graphics/Rect;I)V
 | |
| 
 | |
|     :cond_8
 | |
|     const/4 v10, 0x2
 | |
| 
 | |
|     if-eq v1, v10, :cond_a
 | |
| 
 | |
|     .line 21
 | |
|     invoke-virtual {v0, v9, v6}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getLastChildRect(Landroid/view/View;Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 22
 | |
|     invoke-virtual {v6, v5}, Landroid/graphics/Rect;->equals(Ljava/lang/Object;)Z
 | |
| 
 | |
|     move-result v12
 | |
| 
 | |
|     if-eqz v12, :cond_9
 | |
| 
 | |
|     goto :goto_7
 | |
| 
 | |
|     .line 23
 | |
|     :cond_9
 | |
|     invoke-virtual {v0, v9, v5}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->recordLastChildRect(Landroid/view/View;Landroid/graphics/Rect;)V
 | |
| 
 | |
|     :cond_a
 | |
|     add-int/lit8 v12, v8, 0x1
 | |
| 
 | |
|     :goto_4
 | |
|     if-ge v12, v3, :cond_e
 | |
| 
 | |
|     .line 24
 | |
|     iget-object v13, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDependencySortedChildren:Ljava/util/List;
 | |
| 
 | |
|     invoke-interface {v13, v12}, Ljava/util/List;->get(I)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v13
 | |
| 
 | |
|     check-cast v13, Landroid/view/View;
 | |
| 
 | |
|     .line 25
 | |
|     invoke-virtual {v13}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v14
 | |
| 
 | |
|     check-cast v14, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 26
 | |
|     invoke-virtual {v14}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v15
 | |
| 
 | |
|     if-eqz v15, :cond_d
 | |
| 
 | |
|     .line 27
 | |
|     invoke-virtual {v15, v0, v13, v9}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->layoutDependsOn(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;)Z
 | |
| 
 | |
|     move-result v16
 | |
| 
 | |
|     if-eqz v16, :cond_d
 | |
| 
 | |
|     if-nez v1, :cond_b
 | |
| 
 | |
|     .line 28
 | |
|     invoke-virtual {v14}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->g()Z
 | |
| 
 | |
|     move-result v16
 | |
| 
 | |
|     if-eqz v16, :cond_b
 | |
| 
 | |
|     .line 29
 | |
|     invoke-virtual {v14}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->l()V
 | |
| 
 | |
|     goto :goto_6
 | |
| 
 | |
|     :cond_b
 | |
|     if-eq v1, v10, :cond_c
 | |
| 
 | |
|     .line 30
 | |
|     invoke-virtual {v15, v0, v13, v9}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onDependentViewChanged(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;)Z
 | |
| 
 | |
|     move-result v13
 | |
| 
 | |
|     goto :goto_5
 | |
| 
 | |
|     .line 31
 | |
|     :cond_c
 | |
|     invoke-virtual {v15, v0, v13, v9}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onDependentViewRemoved(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;)V
 | |
| 
 | |
|     move v13, v11
 | |
| 
 | |
|     :goto_5
 | |
|     if-ne v1, v11, :cond_d
 | |
| 
 | |
|     .line 32
 | |
|     invoke-virtual {v14, v13}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->r(Z)V
 | |
| 
 | |
|     :cond_d
 | |
|     :goto_6
 | |
|     add-int/lit8 v12, v12, 0x1
 | |
| 
 | |
|     goto :goto_4
 | |
| 
 | |
|     :cond_e
 | |
|     :goto_7
 | |
|     add-int/lit8 v8, v8, 0x1
 | |
| 
 | |
|     goto/16 :goto_0
 | |
| 
 | |
|     .line 33
 | |
|     :cond_f
 | |
|     invoke-static {v4}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 34
 | |
|     invoke-static {v5}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 35
 | |
|     invoke-static {v6}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->releaseTempRect(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onDetachedFromWindow()V
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0}, Landroid/view/ViewGroup;->onDetachedFromWindow()V
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-direct {p0, v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->resetTouchBehaviors(Z)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-boolean v1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mNeedsPreDrawListener:Z
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     iget-object v1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mOnPreDrawListener:Landroidx/coordinatorlayout/widget/CoordinatorLayout$e;
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getViewTreeObserver()Landroid/view/ViewTreeObserver;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v2, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mOnPreDrawListener:Landroidx/coordinatorlayout/widget/CoordinatorLayout$e;
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroid/view/ViewTreeObserver;->removeOnPreDrawListener(Landroid/view/ViewTreeObserver$OnPreDrawListener;)V
 | |
| 
 | |
|     .line 6
 | |
|     :cond_0
 | |
|     iget-object v1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mNestedScrollingTarget:Landroid/view/View;
 | |
| 
 | |
|     if-eqz v1, :cond_1
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p0, v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->onStopNestedScroll(Landroid/view/View;)V
 | |
| 
 | |
|     .line 8
 | |
|     :cond_1
 | |
|     iput-boolean v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mIsAttachedToWindow:Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onDraw(Landroid/graphics/Canvas;)V
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1}, Landroid/view/ViewGroup;->onDraw(Landroid/graphics/Canvas;)V
 | |
| 
 | |
|     .line 2
 | |
|     iget-boolean v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDrawStatusBarBackground:Z
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mStatusBarBackground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mLastInsets:Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat;->r()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     move v0, v1
 | |
| 
 | |
|     :goto_0
 | |
|     if-lez v0, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v2, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mStatusBarBackground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getWidth()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     invoke-virtual {v2, v1, v1, v3, v0}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mStatusBarBackground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionMasked()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-direct {p0, v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->resetTouchBehaviors(Z)V
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0, p1, v2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->performIntercept(Landroid/view/MotionEvent;I)Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-eq v0, v1, :cond_1
 | |
| 
 | |
|     const/4 v2, 0x3
 | |
| 
 | |
|     if-ne v0, v2, :cond_2
 | |
| 
 | |
|     .line 4
 | |
|     :cond_1
 | |
|     invoke-direct {p0, v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->resetTouchBehaviors(Z)V
 | |
| 
 | |
|     :cond_2
 | |
|     return p1
 | |
| .end method
 | |
| 
 | |
| .method public onLayout(ZIIII)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p0}, Landroidx/core/view/ViewCompat;->Z(Landroid/view/View;)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     .line 2
 | |
|     iget-object p2, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDependencySortedChildren:Ljava/util/List;
 | |
| 
 | |
|     invoke-interface {p2}, Ljava/util/List;->size()I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     const/4 p3, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge p3, p2, :cond_3
 | |
| 
 | |
|     .line 3
 | |
|     iget-object p4, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDependencySortedChildren:Ljava/util/List;
 | |
| 
 | |
|     invoke-interface {p4, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object p4
 | |
| 
 | |
|     check-cast p4, Landroid/view/View;
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p4}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result p5
 | |
| 
 | |
|     const/16 v0, 0x8
 | |
| 
 | |
|     if-ne p5, v0, :cond_0
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 5
 | |
|     :cond_0
 | |
|     invoke-virtual {p4}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object p5
 | |
| 
 | |
|     check-cast p5, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p5}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object p5
 | |
| 
 | |
|     if-eqz p5, :cond_1
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p5, p0, p4, p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onLayoutChild(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;I)Z
 | |
| 
 | |
|     move-result p5
 | |
| 
 | |
|     if-nez p5, :cond_2
 | |
| 
 | |
|     .line 8
 | |
|     :cond_1
 | |
|     invoke-virtual {p0, p4, p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->onLayoutChild(Landroid/view/View;I)V
 | |
| 
 | |
|     :cond_2
 | |
|     :goto_1
 | |
|     add-int/lit8 p3, p3, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_3
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onLayoutChild(Landroid/view/View;I)V
 | |
|     .locals 2
 | |
|     .param p1    # Landroid/view/View;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->a()Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-nez v1, :cond_2
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v1, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->k:Landroid/view/View;
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     .line 4
 | |
|     invoke-direct {p0, p1, v1, p2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->layoutChildWithAnchor(Landroid/view/View;Landroid/view/View;I)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 5
 | |
|     :cond_0
 | |
|     iget v0, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->e:I
 | |
| 
 | |
|     if-ltz v0, :cond_1
 | |
| 
 | |
|     .line 6
 | |
|     invoke-direct {p0, p1, v0, p2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->layoutChildWithKeyline(Landroid/view/View;II)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 7
 | |
|     :cond_1
 | |
|     invoke-direct {p0, p1, p2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->layoutChild(Landroid/view/View;I)V
 | |
| 
 | |
|     :goto_0
 | |
|     return-void
 | |
| 
 | |
|     .line 8
 | |
|     :cond_2
 | |
|     new-instance p1, Ljava/lang/IllegalStateException;
 | |
| 
 | |
|     const-string p2, "An anchor may not be changed after CoordinatorLayout measurement begins before layout is complete."
 | |
| 
 | |
|     invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
 | |
| 
 | |
|     throw p1
 | |
| .end method
 | |
| 
 | |
| .method public onMeasure(II)V
 | |
|     .locals 30
 | |
| 
 | |
|     move-object/from16 v7, p0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct/range {p0 .. p0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->prepareChildren()V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual/range {p0 .. p0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->ensurePreDrawListener()V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getPaddingLeft()I
 | |
| 
 | |
|     move-result v8
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getPaddingTop()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getPaddingRight()I
 | |
| 
 | |
|     move-result v9
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getPaddingBottom()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     .line 7
 | |
|     invoke-static/range {p0 .. p0}, Landroidx/core/view/ViewCompat;->Z(Landroid/view/View;)I
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     const/4 v2, 0x1
 | |
| 
 | |
|     if-ne v10, v2, :cond_0
 | |
| 
 | |
|     move v12, v2
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v12, 0x0
 | |
| 
 | |
|     .line 8
 | |
|     :goto_0
 | |
|     invoke-static/range {p1 .. p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
 | |
| 
 | |
|     move-result v13
 | |
| 
 | |
|     .line 9
 | |
|     invoke-static/range {p1 .. p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
 | |
| 
 | |
|     move-result v14
 | |
| 
 | |
|     .line 10
 | |
|     invoke-static/range {p2 .. p2}, Landroid/view/View$MeasureSpec;->getMode(I)I
 | |
| 
 | |
|     move-result v15
 | |
| 
 | |
|     .line 11
 | |
|     invoke-static/range {p2 .. p2}, Landroid/view/View$MeasureSpec;->getSize(I)I
 | |
| 
 | |
|     move-result v16
 | |
| 
 | |
|     add-int v17, v8, v9
 | |
| 
 | |
|     add-int v18, v0, v1
 | |
| 
 | |
|     .line 12
 | |
|     invoke-virtual/range {p0 .. p0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getSuggestedMinimumWidth()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 13
 | |
|     invoke-virtual/range {p0 .. p0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getSuggestedMinimumHeight()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     .line 14
 | |
|     iget-object v3, v7, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mLastInsets:Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
|     if-eqz v3, :cond_1
 | |
| 
 | |
|     invoke-static/range {p0 .. p0}, Landroidx/core/view/ViewCompat;->U(Landroid/view/View;)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-eqz v3, :cond_1
 | |
| 
 | |
|     move/from16 v19, v2
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_1
 | |
|     const/16 v19, 0x0
 | |
| 
 | |
|     .line 15
 | |
|     :goto_1
 | |
|     iget-object v2, v7, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDependencySortedChildren:Ljava/util/List;
 | |
| 
 | |
|     invoke-interface {v2}, Ljava/util/List;->size()I
 | |
| 
 | |
|     move-result v6
 | |
| 
 | |
|     move v5, v0
 | |
| 
 | |
|     move v4, v1
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     const/4 v3, 0x0
 | |
| 
 | |
|     :goto_2
 | |
|     if-ge v3, v6, :cond_d
 | |
| 
 | |
|     .line 16
 | |
|     iget-object v0, v7, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDependencySortedChildren:Ljava/util/List;
 | |
| 
 | |
|     invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     move-object/from16 v20, v0
 | |
| 
 | |
|     check-cast v20, Landroid/view/View;
 | |
| 
 | |
|     .line 17
 | |
|     invoke-virtual/range {v20 .. v20}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/16 v1, 0x8
 | |
| 
 | |
|     if-ne v0, v1, :cond_2
 | |
| 
 | |
|     move/from16 v22, v3
 | |
| 
 | |
|     move/from16 v29, v6
 | |
| 
 | |
|     move/from16 v28, v8
 | |
| 
 | |
|     goto/16 :goto_6
 | |
| 
 | |
|     .line 18
 | |
|     :cond_2
 | |
|     invoke-virtual/range {v20 .. v20}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     move-object v1, v0
 | |
| 
 | |
|     check-cast v1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 19
 | |
|     iget v0, v1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->e:I
 | |
| 
 | |
|     if-ltz v0, :cond_8
 | |
| 
 | |
|     if-eqz v13, :cond_8
 | |
| 
 | |
|     .line 20
 | |
|     invoke-direct {v7, v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getKeyline(I)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 21
 | |
|     iget v11, v1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->c:I
 | |
| 
 | |
|     .line 22
 | |
|     invoke-static {v11}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->resolveKeylineGravity(I)I
 | |
| 
 | |
|     move-result v11
 | |
| 
 | |
|     .line 23
 | |
|     invoke-static {v11, v10}, Ls1/h;->d(II)I
 | |
| 
 | |
|     move-result v11
 | |
| 
 | |
|     and-int/lit8 v11, v11, 0x7
 | |
| 
 | |
|     move/from16 v22, v2
 | |
| 
 | |
|     const/4 v2, 0x3
 | |
| 
 | |
|     if-ne v11, v2, :cond_3
 | |
| 
 | |
|     if-eqz v12, :cond_4
 | |
| 
 | |
|     :cond_3
 | |
|     const/4 v2, 0x5
 | |
| 
 | |
|     if-ne v11, v2, :cond_5
 | |
| 
 | |
|     if-eqz v12, :cond_5
 | |
| 
 | |
|     :cond_4
 | |
|     sub-int v2, v14, v9
 | |
| 
 | |
|     sub-int/2addr v2, v0
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 24
 | |
|     invoke-static {v0, v2}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     move v11, v0
 | |
| 
 | |
|     move/from16 v21, v2
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     :cond_5
 | |
|     if-ne v11, v2, :cond_6
 | |
| 
 | |
|     if-eqz v12, :cond_7
 | |
| 
 | |
|     :cond_6
 | |
|     const/4 v2, 0x3
 | |
| 
 | |
|     if-ne v11, v2, :cond_9
 | |
| 
 | |
|     if-eqz v12, :cond_9
 | |
| 
 | |
|     :cond_7
 | |
|     sub-int/2addr v0, v8
 | |
| 
 | |
|     const/4 v11, 0x0
 | |
| 
 | |
|     .line 25
 | |
|     invoke-static {v11, v0}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     move/from16 v21, v0
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     :cond_8
 | |
|     move/from16 v22, v2
 | |
| 
 | |
|     :cond_9
 | |
|     const/4 v11, 0x0
 | |
| 
 | |
|     move/from16 v21, v11
 | |
| 
 | |
|     :goto_3
 | |
|     if-eqz v19, :cond_a
 | |
| 
 | |
|     .line 26
 | |
|     invoke-static/range {v20 .. v20}, Landroidx/core/view/ViewCompat;->U(Landroid/view/View;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_a
 | |
| 
 | |
|     .line 27
 | |
|     iget-object v0, v7, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mLastInsets:Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat;->p()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     iget-object v2, v7, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mLastInsets:Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
|     .line 28
 | |
|     invoke-virtual {v2}, Landroidx/core/view/WindowInsetsCompat;->q()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     add-int/2addr v2, v0
 | |
| 
 | |
|     .line 29
 | |
|     iget-object v0, v7, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mLastInsets:Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat;->r()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     iget-object v11, v7, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mLastInsets:Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
|     .line 30
 | |
|     invoke-virtual {v11}, Landroidx/core/view/WindowInsetsCompat;->o()I
 | |
| 
 | |
|     move-result v11
 | |
| 
 | |
|     add-int/2addr v11, v0
 | |
| 
 | |
|     sub-int v0, v14, v2
 | |
| 
 | |
|     .line 31
 | |
|     invoke-static {v0, v13}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     sub-int v2, v16, v11
 | |
| 
 | |
|     .line 32
 | |
|     invoke-static {v2, v15}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     move v11, v0
 | |
| 
 | |
|     move/from16 v23, v2
 | |
| 
 | |
|     goto :goto_4
 | |
| 
 | |
|     :cond_a
 | |
|     move/from16 v11, p1
 | |
| 
 | |
|     move/from16 v23, p2
 | |
| 
 | |
|     .line 33
 | |
|     :goto_4
 | |
|     invoke-virtual {v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-eqz v0, :cond_b
 | |
| 
 | |
|     const/16 v24, 0x0
 | |
| 
 | |
|     move-object v2, v1
 | |
| 
 | |
|     move-object/from16 v1, p0
 | |
| 
 | |
|     move-object/from16 v26, v2
 | |
| 
 | |
|     move/from16 v25, v22
 | |
| 
 | |
|     move-object/from16 v2, v20
 | |
| 
 | |
|     move/from16 v22, v3
 | |
| 
 | |
|     move v3, v11
 | |
| 
 | |
|     move/from16 v27, v4
 | |
| 
 | |
|     move/from16 v4, v21
 | |
| 
 | |
|     move/from16 v28, v8
 | |
| 
 | |
|     move v8, v5
 | |
| 
 | |
|     move/from16 v5, v23
 | |
| 
 | |
|     move/from16 v29, v6
 | |
| 
 | |
|     move/from16 v6, v24
 | |
| 
 | |
|     .line 34
 | |
|     invoke-virtual/range {v0 .. v6}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onMeasureChild(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;IIII)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_c
 | |
| 
 | |
|     goto :goto_5
 | |
| 
 | |
|     :cond_b
 | |
|     move-object/from16 v26, v1
 | |
| 
 | |
|     move/from16 v27, v4
 | |
| 
 | |
|     move/from16 v29, v6
 | |
| 
 | |
|     move/from16 v28, v8
 | |
| 
 | |
|     move/from16 v25, v22
 | |
| 
 | |
|     move/from16 v22, v3
 | |
| 
 | |
|     move v8, v5
 | |
| 
 | |
|     :goto_5
 | |
|     const/4 v5, 0x0
 | |
| 
 | |
|     move-object/from16 v0, p0
 | |
| 
 | |
|     move-object/from16 v1, v20
 | |
| 
 | |
|     move v2, v11
 | |
| 
 | |
|     move/from16 v3, v21
 | |
| 
 | |
|     move/from16 v4, v23
 | |
| 
 | |
|     .line 35
 | |
|     invoke-virtual/range {v0 .. v5}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->onMeasureChild(Landroid/view/View;IIII)V
 | |
| 
 | |
|     .line 36
 | |
|     :cond_c
 | |
|     invoke-virtual/range {v20 .. v20}, Landroid/view/View;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     add-int v0, v0, v17
 | |
| 
 | |
|     move-object/from16 v1, v26
 | |
| 
 | |
|     iget v2, v1, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
 | |
| 
 | |
|     add-int/2addr v0, v2
 | |
| 
 | |
|     iget v2, v1, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
 | |
| 
 | |
|     add-int/2addr v0, v2
 | |
| 
 | |
|     invoke-static {v8, v0}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 37
 | |
|     invoke-virtual/range {v20 .. v20}, Landroid/view/View;->getMeasuredHeight()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     add-int v2, v2, v18
 | |
| 
 | |
|     iget v3, v1, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
 | |
| 
 | |
|     add-int/2addr v2, v3
 | |
| 
 | |
|     iget v1, v1, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
 | |
| 
 | |
|     add-int/2addr v2, v1
 | |
| 
 | |
|     move/from16 v1, v27
 | |
| 
 | |
|     invoke-static {v1, v2}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     .line 38
 | |
|     invoke-virtual/range {v20 .. v20}, Landroid/view/View;->getMeasuredState()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     move/from16 v11, v25
 | |
| 
 | |
|     invoke-static {v11, v2}, Landroid/view/View;->combineMeasuredStates(II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     move v5, v0
 | |
| 
 | |
|     move v4, v1
 | |
| 
 | |
|     :goto_6
 | |
|     add-int/lit8 v3, v22, 0x1
 | |
| 
 | |
|     move/from16 v8, v28
 | |
| 
 | |
|     move/from16 v6, v29
 | |
| 
 | |
|     goto/16 :goto_2
 | |
| 
 | |
|     :cond_d
 | |
|     move v11, v2
 | |
| 
 | |
|     move v1, v4
 | |
| 
 | |
|     move v8, v5
 | |
| 
 | |
|     const/high16 v0, -0x1000000
 | |
| 
 | |
|     and-int/2addr v0, v11
 | |
| 
 | |
|     move/from16 v2, p1
 | |
| 
 | |
|     .line 39
 | |
|     invoke-static {v8, v2, v0}, Landroid/view/View;->resolveSizeAndState(III)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     shl-int/lit8 v2, v11, 0x10
 | |
| 
 | |
|     move/from16 v3, p2
 | |
| 
 | |
|     .line 40
 | |
|     invoke-static {v1, v3, v2}, Landroid/view/View;->resolveSizeAndState(III)I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     .line 41
 | |
|     invoke-virtual {v7, v0, v1}, Landroid/view/ViewGroup;->setMeasuredDimension(II)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onMeasureChild(Landroid/view/View;IIII)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual/range {p0 .. p5}, Landroid/view/ViewGroup;->measureChildWithMargins(Landroid/view/View;IIII)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onNestedFling(Landroid/view/View;FFZ)Z
 | |
|     .locals 11
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     move v2, v1
 | |
| 
 | |
|     move v3, v2
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v2, v0, :cond_3
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v6
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v6}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     const/16 v5, 0x8
 | |
| 
 | |
|     if-ne v4, v5, :cond_0
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     invoke-virtual {v6}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     check-cast v4, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v4, v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->k(I)Z
 | |
| 
 | |
|     move-result v5
 | |
| 
 | |
|     if-nez v5, :cond_1
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 6
 | |
|     :cond_1
 | |
|     invoke-virtual {v4}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     if-eqz v4, :cond_2
 | |
| 
 | |
|     move-object v5, p0
 | |
| 
 | |
|     move-object v7, p1
 | |
| 
 | |
|     move v8, p2
 | |
| 
 | |
|     move v9, p3
 | |
| 
 | |
|     move v10, p4
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual/range {v4 .. v10}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onNestedFling(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;FFZ)Z
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     or-int/2addr v3, v4
 | |
| 
 | |
|     :cond_2
 | |
|     :goto_1
 | |
|     add-int/lit8 v2, v2, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_3
 | |
|     if-eqz v3, :cond_4
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {p0, p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->onChildViewsChanged(I)V
 | |
| 
 | |
|     :cond_4
 | |
|     return v3
 | |
| .end method
 | |
| 
 | |
| .method public onNestedPreFling(Landroid/view/View;FF)Z
 | |
|     .locals 10
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     move v2, v1
 | |
| 
 | |
|     move v3, v2
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v2, v0, :cond_3
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v6
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v6}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     const/16 v5, 0x8
 | |
| 
 | |
|     if-ne v4, v5, :cond_0
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     invoke-virtual {v6}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     check-cast v4, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v4, v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->k(I)Z
 | |
| 
 | |
|     move-result v5
 | |
| 
 | |
|     if-nez v5, :cond_1
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 6
 | |
|     :cond_1
 | |
|     invoke-virtual {v4}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     if-eqz v4, :cond_2
 | |
| 
 | |
|     move-object v5, p0
 | |
| 
 | |
|     move-object v7, p1
 | |
| 
 | |
|     move v8, p2
 | |
| 
 | |
|     move v9, p3
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual/range {v4 .. v9}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onNestedPreFling(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;FF)Z
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     or-int/2addr v3, v4
 | |
| 
 | |
|     :cond_2
 | |
|     :goto_1
 | |
|     add-int/lit8 v2, v2, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_3
 | |
|     return v3
 | |
| .end method
 | |
| 
 | |
| .method public onNestedPreScroll(Landroid/view/View;II[I)V
 | |
|     .locals 6
 | |
| 
 | |
|     const/4 v5, 0x0
 | |
| 
 | |
|     move-object v0, p0
 | |
| 
 | |
|     move-object v1, p1
 | |
| 
 | |
|     move v2, p2
 | |
| 
 | |
|     move v3, p3
 | |
| 
 | |
|     move-object v4, p4
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual/range {v0 .. v5}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->onNestedPreScroll(Landroid/view/View;II[II)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onNestedPreScroll(Landroid/view/View;II[II)V
 | |
|     .locals 16
 | |
| 
 | |
|     move-object/from16 v8, p0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getChildCount()I
 | |
| 
 | |
|     move-result v9
 | |
| 
 | |
|     const/4 v10, 0x0
 | |
| 
 | |
|     move v0, v10
 | |
| 
 | |
|     move v11, v0
 | |
| 
 | |
|     move v12, v11
 | |
| 
 | |
|     move v13, v12
 | |
| 
 | |
|     :goto_0
 | |
|     const/4 v14, 0x1
 | |
| 
 | |
|     if-ge v11, v9, :cond_5
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v8, v11}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v2}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     const/16 v3, 0x8
 | |
| 
 | |
|     if-ne v1, v3, :cond_0
 | |
| 
 | |
|     move/from16 v15, p5
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     .line 5
 | |
|     :cond_0
 | |
|     invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     check-cast v1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     move/from16 v15, p5
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v1, v15}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->k(I)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-nez v3, :cond_1
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     .line 7
 | |
|     :cond_1
 | |
|     invoke-virtual {v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     if-eqz v1, :cond_4
 | |
| 
 | |
|     .line 8
 | |
|     iget-object v6, v8, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mBehaviorConsumed:[I
 | |
| 
 | |
|     aput v10, v6, v10
 | |
| 
 | |
|     .line 9
 | |
|     aput v10, v6, v14
 | |
| 
 | |
|     move-object v0, v1
 | |
| 
 | |
|     move-object/from16 v1, p0
 | |
| 
 | |
|     move-object/from16 v3, p1
 | |
| 
 | |
|     move/from16 v4, p2
 | |
| 
 | |
|     move/from16 v5, p3
 | |
| 
 | |
|     move/from16 v7, p5
 | |
| 
 | |
|     .line 10
 | |
|     invoke-virtual/range {v0 .. v7}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onNestedPreScroll(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;II[II)V
 | |
| 
 | |
|     .line 11
 | |
|     iget-object v0, v8, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mBehaviorConsumed:[I
 | |
| 
 | |
|     if-lez p2, :cond_2
 | |
| 
 | |
|     aget v0, v0, v10
 | |
| 
 | |
|     invoke-static {v12, v0}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_2
 | |
|     aget v0, v0, v10
 | |
| 
 | |
|     .line 12
 | |
|     invoke-static {v12, v0}, Ljava/lang/Math;->min(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     :goto_1
 | |
|     move v12, v0
 | |
| 
 | |
|     .line 13
 | |
|     iget-object v0, v8, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mBehaviorConsumed:[I
 | |
| 
 | |
|     if-lez p3, :cond_3
 | |
| 
 | |
|     aget v0, v0, v14
 | |
| 
 | |
|     invoke-static {v13, v0}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     :cond_3
 | |
|     aget v0, v0, v14
 | |
| 
 | |
|     .line 14
 | |
|     invoke-static {v13, v0}, Ljava/lang/Math;->min(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     :goto_2
 | |
|     move v13, v0
 | |
| 
 | |
|     move v0, v14
 | |
| 
 | |
|     :cond_4
 | |
|     :goto_3
 | |
|     add-int/lit8 v11, v11, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 15
 | |
|     :cond_5
 | |
|     aput v12, p4, v10
 | |
| 
 | |
|     .line 16
 | |
|     aput v13, p4, v14
 | |
| 
 | |
|     if-eqz v0, :cond_6
 | |
| 
 | |
|     .line 17
 | |
|     invoke-virtual {v8, v14}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->onChildViewsChanged(I)V
 | |
| 
 | |
|     :cond_6
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onNestedScroll(Landroid/view/View;IIII)V
 | |
|     .locals 7
 | |
| 
 | |
|     const/4 v6, 0x0
 | |
| 
 | |
|     move-object v0, p0
 | |
| 
 | |
|     move-object v1, p1
 | |
| 
 | |
|     move v2, p2
 | |
| 
 | |
|     move v3, p3
 | |
| 
 | |
|     move v4, p4
 | |
| 
 | |
|     move v5, p5
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual/range {v0 .. v6}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->onNestedScroll(Landroid/view/View;IIIII)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onNestedScroll(Landroid/view/View;IIIII)V
 | |
|     .locals 8
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v7, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mNestedScrollingV2ConsumedCompat:[I
 | |
| 
 | |
|     const/4 v6, 0x0
 | |
| 
 | |
|     move-object v0, p0
 | |
| 
 | |
|     move-object v1, p1
 | |
| 
 | |
|     move v2, p2
 | |
| 
 | |
|     move v3, p3
 | |
| 
 | |
|     move v4, p4
 | |
| 
 | |
|     move v5, p5
 | |
| 
 | |
|     invoke-virtual/range {v0 .. v7}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->onNestedScroll(Landroid/view/View;IIIII[I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onNestedScroll(Landroid/view/View;IIIII[I)V
 | |
|     .locals 17
 | |
|     .param p1    # Landroid/view/View;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p7    # [I
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     move-object/from16 v10, p0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getChildCount()I
 | |
| 
 | |
|     move-result v11
 | |
| 
 | |
|     const/4 v12, 0x0
 | |
| 
 | |
|     move v0, v12
 | |
| 
 | |
|     move v13, v0
 | |
| 
 | |
|     move v14, v13
 | |
| 
 | |
|     move v15, v14
 | |
| 
 | |
|     :goto_0
 | |
|     const/4 v9, 0x1
 | |
| 
 | |
|     if-ge v13, v11, :cond_5
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v10, v13}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v2}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     const/16 v3, 0x8
 | |
| 
 | |
|     if-ne v1, v3, :cond_0
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     .line 6
 | |
|     :cond_0
 | |
|     invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     check-cast v1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     move/from16 v8, p6
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v1, v8}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->k(I)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-nez v3, :cond_1
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     .line 8
 | |
|     :cond_1
 | |
|     invoke-virtual {v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     if-eqz v1, :cond_4
 | |
| 
 | |
|     .line 9
 | |
|     iget-object v7, v10, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mBehaviorConsumed:[I
 | |
| 
 | |
|     aput v12, v7, v12
 | |
| 
 | |
|     .line 10
 | |
|     aput v12, v7, v9
 | |
| 
 | |
|     move-object v0, v1
 | |
| 
 | |
|     move-object/from16 v1, p0
 | |
| 
 | |
|     move-object/from16 v3, p1
 | |
| 
 | |
|     move/from16 v4, p2
 | |
| 
 | |
|     move/from16 v5, p3
 | |
| 
 | |
|     move/from16 v6, p4
 | |
| 
 | |
|     move-object/from16 v16, v7
 | |
| 
 | |
|     move/from16 v7, p5
 | |
| 
 | |
|     move/from16 v8, p6
 | |
| 
 | |
|     move-object/from16 v9, v16
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual/range {v0 .. v9}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onNestedScroll(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;IIIII[I)V
 | |
| 
 | |
|     .line 12
 | |
|     iget-object v0, v10, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mBehaviorConsumed:[I
 | |
| 
 | |
|     if-lez p4, :cond_2
 | |
| 
 | |
|     aget v0, v0, v12
 | |
| 
 | |
|     invoke-static {v14, v0}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_2
 | |
|     aget v0, v0, v12
 | |
| 
 | |
|     .line 13
 | |
|     invoke-static {v14, v0}, Ljava/lang/Math;->min(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     :goto_1
 | |
|     move v14, v0
 | |
| 
 | |
|     if-lez p5, :cond_3
 | |
| 
 | |
|     .line 14
 | |
|     iget-object v0, v10, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mBehaviorConsumed:[I
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     aget v0, v0, v1
 | |
| 
 | |
|     invoke-static {v15, v0}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     :cond_3
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     iget-object v0, v10, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mBehaviorConsumed:[I
 | |
| 
 | |
|     aget v0, v0, v1
 | |
| 
 | |
|     .line 15
 | |
|     invoke-static {v15, v0}, Ljava/lang/Math;->min(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     :goto_2
 | |
|     move v15, v0
 | |
| 
 | |
|     move v0, v1
 | |
| 
 | |
|     :cond_4
 | |
|     :goto_3
 | |
|     add-int/lit8 v13, v13, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_5
 | |
|     move v1, v9
 | |
| 
 | |
|     .line 16
 | |
|     aget v2, p7, v12
 | |
| 
 | |
|     add-int/2addr v2, v14
 | |
| 
 | |
|     aput v2, p7, v12
 | |
| 
 | |
|     .line 17
 | |
|     aget v2, p7, v1
 | |
| 
 | |
|     add-int/2addr v2, v15
 | |
| 
 | |
|     aput v2, p7, v1
 | |
| 
 | |
|     if-eqz v0, :cond_6
 | |
| 
 | |
|     .line 18
 | |
|     invoke-virtual {v10, v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->onChildViewsChanged(I)V
 | |
| 
 | |
|     :cond_6
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;I)V
 | |
|     .locals 1
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0, p1, p2, p3, v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;II)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;II)V
 | |
|     .locals 9
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mNestedScrollingParentHelper:Ls1/d0;
 | |
| 
 | |
|     invoke-virtual {v0, p1, p2, p3, p4}, Ls1/d0;->c(Landroid/view/View;Landroid/view/View;II)V
 | |
| 
 | |
|     .line 3
 | |
|     iput-object p2, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mNestedScrollingTarget:Landroid/view/View;
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v1, v0, :cond_2
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p0, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v4}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     check-cast v2, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v2, p4}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->k(I)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-nez v3, :cond_0
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 8
 | |
|     :cond_0
 | |
|     invoke-virtual {v2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     if-eqz v2, :cond_1
 | |
| 
 | |
|     move-object v3, p0
 | |
| 
 | |
|     move-object v5, p1
 | |
| 
 | |
|     move-object v6, p2
 | |
| 
 | |
|     move v7, p3
 | |
| 
 | |
|     move v8, p4
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual/range {v2 .. v8}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onNestedScrollAccepted(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;Landroid/view/View;II)V
 | |
| 
 | |
|     :cond_1
 | |
|     :goto_1
 | |
|     add-int/lit8 v1, v1, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_2
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onRestoreInstanceState(Landroid/os/Parcelable;)V
 | |
|     .locals 6
 | |
| 
 | |
|     .line 1
 | |
|     instance-of v0, p1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$SavedState;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-super {p0, p1}, Landroid/view/ViewGroup;->onRestoreInstanceState(Landroid/os/Parcelable;)V
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     check-cast p1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$SavedState;
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p1}, Landroidx/customview/view/AbsSavedState;->getSuperState()Landroid/os/Parcelable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-super {p0, v0}, Landroid/view/ViewGroup;->onRestoreInstanceState(Landroid/os/Parcelable;)V
 | |
| 
 | |
|     .line 5
 | |
|     iget-object p1, p1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$SavedState;->a:Landroid/util/SparseArray;
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v0, v1, :cond_2
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v2}, Landroid/view/View;->getId()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {p0, v2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->getResolvedLayoutParams(Landroid/view/View;)Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     .line 10
 | |
|     invoke-virtual {v4}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     const/4 v5, -0x1
 | |
| 
 | |
|     if-eq v3, v5, :cond_1
 | |
| 
 | |
|     if-eqz v4, :cond_1
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {p1, v3}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     check-cast v3, Landroid/os/Parcelable;
 | |
| 
 | |
|     if-eqz v3, :cond_1
 | |
| 
 | |
|     .line 12
 | |
|     invoke-virtual {v4, p0, v2, v3}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onRestoreInstanceState(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/os/Parcelable;)V
 | |
| 
 | |
|     :cond_1
 | |
|     add-int/lit8 v0, v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_2
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onSaveInstanceState()Landroid/os/Parcelable;
 | |
|     .locals 8
 | |
| 
 | |
|     .line 1
 | |
|     new-instance v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$SavedState;
 | |
| 
 | |
|     invoke-super {p0}, Landroid/view/ViewGroup;->onSaveInstanceState()Landroid/os/Parcelable;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-direct {v0, v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$SavedState;-><init>(Landroid/os/Parcelable;)V
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v1, Landroid/util/SparseArray;
 | |
| 
 | |
|     invoke-direct {v1}, Landroid/util/SparseArray;-><init>()V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     const/4 v3, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v3, v2, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0, v3}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v4}, Landroid/view/View;->getId()I
 | |
| 
 | |
|     move-result v5
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v4}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v6
 | |
| 
 | |
|     check-cast v6, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v6}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v6
 | |
| 
 | |
|     const/4 v7, -0x1
 | |
| 
 | |
|     if-eq v5, v7, :cond_0
 | |
| 
 | |
|     if-eqz v6, :cond_0
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v6, p0, v4}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onSaveInstanceState(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;)Landroid/os/Parcelable;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     if-eqz v4, :cond_0
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {v1, v5, v4}, Landroid/util/SparseArray;->append(ILjava/lang/Object;)V
 | |
| 
 | |
|     :cond_0
 | |
|     add-int/lit8 v3, v3, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 10
 | |
|     :cond_1
 | |
|     iput-object v1, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$SavedState;->a:Landroid/util/SparseArray;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public onStartNestedScroll(Landroid/view/View;Landroid/view/View;I)Z
 | |
|     .locals 1
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0, p1, p2, p3, v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->onStartNestedScroll(Landroid/view/View;Landroid/view/View;II)Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     return p1
 | |
| .end method
 | |
| 
 | |
| .method public onStartNestedScroll(Landroid/view/View;Landroid/view/View;II)Z
 | |
|     .locals 14
 | |
| 
 | |
|     move/from16 v7, p4
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
 | |
| 
 | |
|     move-result v8
 | |
| 
 | |
|     const/4 v9, 0x0
 | |
| 
 | |
|     move v10, v9
 | |
| 
 | |
|     move v11, v10
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v10, v8, :cond_2
 | |
| 
 | |
|     move-object v12, p0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0, v10}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v2}, Landroid/view/View;->getVisibility()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/16 v1, 0x8
 | |
| 
 | |
|     if-ne v0, v1, :cond_0
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 5
 | |
|     :cond_0
 | |
|     invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     move-object v13, v0
 | |
| 
 | |
|     check-cast v13, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v13}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     move-object v1, p0
 | |
| 
 | |
|     move-object v3, p1
 | |
| 
 | |
|     move-object/from16 v4, p2
 | |
| 
 | |
|     move/from16 v5, p3
 | |
| 
 | |
|     move/from16 v6, p4
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual/range {v0 .. v6}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onStartNestedScroll(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;Landroid/view/View;II)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     or-int/2addr v11, v0
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v13, v7, v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->t(IZ)V
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 9
 | |
|     :cond_1
 | |
|     invoke-virtual {v13, v7, v9}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->t(IZ)V
 | |
| 
 | |
|     :goto_1
 | |
|     add-int/lit8 v10, v10, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_2
 | |
|     move-object v12, p0
 | |
| 
 | |
|     return v11
 | |
| .end method
 | |
| 
 | |
| .method public onStopNestedScroll(Landroid/view/View;)V
 | |
|     .locals 1
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0, p1, v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->onStopNestedScroll(Landroid/view/View;I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onStopNestedScroll(Landroid/view/View;I)V
 | |
|     .locals 5
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mNestedScrollingParentHelper:Ls1/d0;
 | |
| 
 | |
|     invoke-virtual {v0, p1, p2}, Ls1/d0;->e(Landroid/view/View;I)V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v1, v0, :cond_2
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     check-cast v3, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v3, p2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->k(I)Z
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     if-nez v4, :cond_0
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 7
 | |
|     :cond_0
 | |
|     invoke-virtual {v3}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     if-eqz v4, :cond_1
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v4, p0, v2, p1, p2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onStopNestedScroll(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;I)V
 | |
| 
 | |
|     .line 9
 | |
|     :cond_1
 | |
|     invoke-virtual {v3, p2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->m(I)V
 | |
| 
 | |
|     .line 10
 | |
|     invoke-virtual {v3}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->l()V
 | |
| 
 | |
|     :goto_1
 | |
|     add-int/lit8 v1, v1, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_2
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 11
 | |
|     iput-object p1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mNestedScrollingTarget:Landroid/view/View;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onTouchEvent(Landroid/view/MotionEvent;)Z
 | |
|     .locals 17
 | |
| 
 | |
|     move-object/from16 v0, p0
 | |
| 
 | |
|     move-object/from16 v1, p1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual/range {p1 .. p1}, Landroid/view/MotionEvent;->getActionMasked()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v3, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mBehaviorTouchView:Landroid/view/View;
 | |
| 
 | |
|     const/4 v4, 0x1
 | |
| 
 | |
|     const/4 v5, 0x0
 | |
| 
 | |
|     if-nez v3, :cond_0
 | |
| 
 | |
|     invoke-direct {v0, v1, v4}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->performIntercept(Landroid/view/MotionEvent;I)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-eqz v3, :cond_1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     move v3, v5
 | |
| 
 | |
|     .line 3
 | |
|     :goto_0
 | |
|     iget-object v6, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mBehaviorTouchView:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {v6}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v6
 | |
| 
 | |
|     check-cast v6, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v6}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v6
 | |
| 
 | |
|     if-eqz v6, :cond_1
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v7, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mBehaviorTouchView:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {v6, v0, v7, v1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onTouchEvent(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/MotionEvent;)Z
 | |
| 
 | |
|     move-result v6
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_1
 | |
|     move v6, v5
 | |
| 
 | |
|     .line 6
 | |
|     :goto_1
 | |
|     iget-object v7, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mBehaviorTouchView:Landroid/view/View;
 | |
| 
 | |
|     const/4 v8, 0x0
 | |
| 
 | |
|     if-nez v7, :cond_2
 | |
| 
 | |
|     .line 7
 | |
|     invoke-super/range {p0 .. p1}, Landroid/view/ViewGroup;->onTouchEvent(Landroid/view/MotionEvent;)Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     or-int/2addr v6, v1
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     :cond_2
 | |
|     if-eqz v3, :cond_3
 | |
| 
 | |
|     .line 8
 | |
|     invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
 | |
| 
 | |
|     move-result-wide v11
 | |
| 
 | |
|     const/4 v13, 0x3
 | |
| 
 | |
|     const/4 v14, 0x0
 | |
| 
 | |
|     const/4 v15, 0x0
 | |
| 
 | |
|     const/16 v16, 0x0
 | |
| 
 | |
|     move-wide v9, v11
 | |
| 
 | |
|     .line 9
 | |
|     invoke-static/range {v9 .. v16}, Landroid/view/MotionEvent;->obtain(JJIFFI)Landroid/view/MotionEvent;
 | |
| 
 | |
|     move-result-object v8
 | |
| 
 | |
|     .line 10
 | |
|     invoke-super {v0, v8}, Landroid/view/ViewGroup;->onTouchEvent(Landroid/view/MotionEvent;)Z
 | |
| 
 | |
|     :cond_3
 | |
|     :goto_2
 | |
|     if-eqz v8, :cond_4
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {v8}, Landroid/view/MotionEvent;->recycle()V
 | |
| 
 | |
|     :cond_4
 | |
|     if-eq v2, v4, :cond_5
 | |
| 
 | |
|     const/4 v1, 0x3
 | |
| 
 | |
|     if-ne v2, v1, :cond_6
 | |
| 
 | |
|     .line 12
 | |
|     :cond_5
 | |
|     invoke-direct {v0, v5}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->resetTouchBehaviors(Z)V
 | |
| 
 | |
|     :cond_6
 | |
|     return v6
 | |
| .end method
 | |
| 
 | |
| .method public recordLastChildRect(Landroid/view/View;Landroid/graphics/Rect;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     check-cast p1, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p1, p2}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->s(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public removePreDrawListener()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mIsAttachedToWindow:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mOnPreDrawListener:Landroidx/coordinatorlayout/widget/CoordinatorLayout$e;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getViewTreeObserver()Landroid/view/ViewTreeObserver;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mOnPreDrawListener:Landroidx/coordinatorlayout/widget/CoordinatorLayout$e;
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/view/ViewTreeObserver;->removeOnPreDrawListener(Landroid/view/ViewTreeObserver$OnPreDrawListener;)V
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 5
 | |
|     iput-boolean v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mNeedsPreDrawListener:Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public requestChildRectangleOnScreen(Landroid/view/View;Landroid/graphics/Rect;Z)Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$d;->f()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v0, p0, p1, p2, p3}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;->onRequestChildRectangleOnScreen(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroid/graphics/Rect;Z)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     return p1
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     invoke-super {p0, p1, p2, p3}, Landroid/view/ViewGroup;->requestChildRectangleOnScreen(Landroid/view/View;Landroid/graphics/Rect;Z)Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     return p1
 | |
| .end method
 | |
| 
 | |
| .method public requestDisallowInterceptTouchEvent(Z)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1}, Landroid/view/ViewGroup;->requestDisallowInterceptTouchEvent(Z)V
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-boolean p1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDisallowInterceptReset:Z
 | |
| 
 | |
|     if-nez p1, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0, p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->resetTouchBehaviors(Z)V
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 4
 | |
|     iput-boolean p1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDisallowInterceptReset:Z
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setFitsSystemWindows(Z)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1}, Landroid/view/ViewGroup;->setFitsSystemWindows(Z)V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-direct {p0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->setupForInsets()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setOnHierarchyChangeListener(Landroid/view/ViewGroup$OnHierarchyChangeListener;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mOnHierarchyChangeListener:Landroid/view/ViewGroup$OnHierarchyChangeListener;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setStatusBarBackground(Landroid/graphics/drawable/Drawable;)V
 | |
|     .locals 2
 | |
|     .param p1    # Landroid/graphics/drawable/Drawable;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mStatusBarBackground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eq v0, p1, :cond_5
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
 | |
| 
 | |
|     :cond_0
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     :cond_1
 | |
|     iput-object v1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mStatusBarBackground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v1, :cond_4
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v1}, Landroid/graphics/drawable/Drawable;->isStateful()Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-eqz p1, :cond_2
 | |
| 
 | |
|     .line 5
 | |
|     iget-object p1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mStatusBarBackground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getDrawableState()[I
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {p1, v0}, Landroid/graphics/drawable/Drawable;->setState([I)Z
 | |
| 
 | |
|     .line 6
 | |
|     :cond_2
 | |
|     iget-object p1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mStatusBarBackground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     .line 7
 | |
|     invoke-static {p0}, Landroidx/core/view/ViewCompat;->Z(Landroid/view/View;)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 8
 | |
|     invoke-static {p1, v0}, Ld1/c;->m(Landroid/graphics/drawable/Drawable;I)Z
 | |
| 
 | |
|     .line 9
 | |
|     iget-object p1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mStatusBarBackground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getVisibility()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     if-nez v0, :cond_3
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_3
 | |
|     move v0, v1
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-virtual {p1, v0, v1}, Landroid/graphics/drawable/Drawable;->setVisible(ZZ)Z
 | |
| 
 | |
|     .line 10
 | |
|     iget-object p1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mStatusBarBackground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     invoke-virtual {p1, p0}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
 | |
| 
 | |
|     .line 11
 | |
|     :cond_4
 | |
|     invoke-static {p0}, Landroidx/core/view/ViewCompat;->n1(Landroid/view/View;)V
 | |
| 
 | |
|     :cond_5
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setStatusBarBackgroundColor(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/ColorInt;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     new-instance v0, Landroid/graphics/drawable/ColorDrawable;
 | |
| 
 | |
|     invoke-direct {v0, p1}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->setStatusBarBackground(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setStatusBarBackgroundResource(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/DrawableRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-static {v0, p1}, Landroidx/core/content/d;->i(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->setStatusBarBackground(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setVisibility(I)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1}, Landroid/view/ViewGroup;->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/coordinatorlayout/widget/CoordinatorLayout;->mStatusBarBackground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v1, :cond_1
 | |
| 
 | |
|     invoke-virtual {v1}, Landroid/graphics/drawable/Drawable;->isVisible()Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eq v1, p1, :cond_1
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mStatusBarBackground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     invoke-virtual {v1, p1, v0}, Landroid/graphics/drawable/Drawable;->setVisible(ZZ)Z
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public final setWindowInsets(Landroidx/core/view/WindowInsetsCompat;)Landroidx/core/view/WindowInsetsCompat;
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mLastInsets:Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
|     invoke-static {v0, p1}, Lr1/h;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_2
 | |
| 
 | |
|     .line 2
 | |
|     iput-object p1, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mLastInsets:Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p1}, Landroidx/core/view/WindowInsetsCompat;->r()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     if-lez v2, :cond_0
 | |
| 
 | |
|     move v2, v0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     move v2, v1
 | |
| 
 | |
|     :goto_0
 | |
|     iput-boolean v2, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mDrawStatusBarBackground:Z
 | |
| 
 | |
|     if-nez v2, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getBackground()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     if-nez v2, :cond_1
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_1
 | |
|     move v0, v1
 | |
| 
 | |
|     :goto_1
 | |
|     invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->setWillNotDraw(Z)V
 | |
| 
 | |
|     .line 5
 | |
|     invoke-direct {p0, p1}, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->dispatchApplyWindowInsetsToBehaviors(Landroidx/core/view/WindowInsetsCompat;)Landroidx/core/view/WindowInsetsCompat;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->requestLayout()V
 | |
| 
 | |
|     :cond_2
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public verifyDrawable(Landroid/graphics/drawable/Drawable;)Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1}, Landroid/view/ViewGroup;->verifyDrawable(Landroid/graphics/drawable/Drawable;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_1
 | |
| 
 | |
|     iget-object v0, p0, Landroidx/coordinatorlayout/widget/CoordinatorLayout;->mStatusBarBackground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-ne p1, v0, :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
 |