FlexboxLayoutManager.smali
.class public Lcom/google/android/flexbox/FlexboxLayoutManager;
.super Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
.source "FlexboxLayoutManager.java"
# interfaces
.implements Lp3/a;
.implements Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$ScrollVectorProvider;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/android/flexbox/FlexboxLayoutManager$e;,
Lcom/google/android/flexbox/FlexboxLayoutManager$d;,
Lcom/google/android/flexbox/FlexboxLayoutManager$b;,
Lcom/google/android/flexbox/FlexboxLayoutManager$c;
}
.end annotation
# static fields
.field public static final A:Landroid/graphics/Rect;
# instance fields
.field public a:I
.field public b:I
.field public c:I
.field public d:I
.field public e:I
.field public f:Z
.field public g:Z
.field public h:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lp3/c;",
">;"
}
.end annotation
.end field
.field public final i:Lp3/d;
.field public j:Landroidx/recyclerview/widget/RecyclerView$Recycler;
.field public k:Landroidx/recyclerview/widget/RecyclerView$State;
.field public l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
.field public m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
.field public n:Landroidx/recyclerview/widget/OrientationHelper;
.field public o:Landroidx/recyclerview/widget/OrientationHelper;
.field public p:Lcom/google/android/flexbox/FlexboxLayoutManager$e;
.field public q:I
.field public r:I
.field public s:I
.field public t:I
.field public u:Z
.field public v:Landroid/util/SparseArray;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/util/SparseArray<",
"Landroid/view/View;",
">;"
}
.end annotation
.end field
.field public final w:Landroid/content/Context;
.field public x:Landroid/view/View;
.field public y:I
.field public z:Lp3/d$b;
# direct methods
.method public static constructor <clinit>()V
.registers 1
new-instance v0, Landroid/graphics/Rect;
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
sput-object v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->A:Landroid/graphics/Rect;
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
.registers 8
invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;-><init>()V
const/4 v0, -0x1
iput v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->e:I
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
iput-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
new-instance v1, Lp3/d;
invoke-direct {v1, p0}, Lp3/d;-><init>(Lp3/a;)V
iput-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
new-instance v1, Lcom/google/android/flexbox/FlexboxLayoutManager$b;
const/4 v2, 0x0
invoke-direct {v1, p0, v2}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;-><init>(Lcom/google/android/flexbox/FlexboxLayoutManager;Lcom/google/android/flexbox/FlexboxLayoutManager$a;)V
iput-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
iput v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->q:I
const/high16 v1, -0x80000000
iput v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->r:I
iput v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->s:I
iput v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->t:I
new-instance v1, Landroid/util/SparseArray;
invoke-direct {v1}, Landroid/util/SparseArray;-><init>()V
iput-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->v:Landroid/util/SparseArray;
iput v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->y:I
new-instance v0, Lp3/d$b;
invoke-direct {v0}, Lp3/d$b;-><init>()V
iput-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->z:Lp3/d$b;
invoke-static {p1, p2, p3, p4}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getProperties(Landroid/content/Context;Landroid/util/AttributeSet;II)Landroidx/recyclerview/widget/RecyclerView$LayoutManager$Properties;
move-result-object p2
iget p3, p2, Landroidx/recyclerview/widget/RecyclerView$LayoutManager$Properties;->orientation:I
const/4 p4, 0x1
if-eqz p3, :cond_50
if-eq p3, p4, :cond_42
goto :goto_5c
:cond_42
iget-boolean p2, p2, Landroidx/recyclerview/widget/RecyclerView$LayoutManager$Properties;->reverseLayout:Z
if-eqz p2, :cond_4b
const/4 p2, 0x3
invoke-virtual {p0, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->g(I)V
goto :goto_5c
:cond_4b
const/4 p2, 0x2
invoke-virtual {p0, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->g(I)V
goto :goto_5c
:cond_50
iget-boolean p2, p2, Landroidx/recyclerview/widget/RecyclerView$LayoutManager$Properties;->reverseLayout:Z
if-eqz p2, :cond_58
invoke-virtual {p0, p4}, Lcom/google/android/flexbox/FlexboxLayoutManager;->g(I)V
goto :goto_5c
:cond_58
const/4 p2, 0x0
invoke-virtual {p0, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->g(I)V
:goto_5c
invoke-virtual {p0, p4}, Lcom/google/android/flexbox/FlexboxLayoutManager;->h(I)V
const/4 p2, 0x4
invoke-virtual {p0, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->f(I)V
invoke-virtual {p0, p4}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->setAutoMeasureEnabled(Z)V
iput-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->w:Landroid/content/Context;
return-void
.end method
.method public static synthetic a(Lcom/google/android/flexbox/FlexboxLayoutManager;)I
.registers 1
iget p0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->b:I
return p0
.end method
.method public static synthetic b(Lcom/google/android/flexbox/FlexboxLayoutManager;)I
.registers 1
iget p0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->a:I
return p0
.end method
.method public static synthetic c(Lcom/google/android/flexbox/FlexboxLayoutManager;)Z
.registers 1
iget-boolean p0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
return p0
.end method
.method public static synthetic d(Lcom/google/android/flexbox/FlexboxLayoutManager;)Landroidx/recyclerview/widget/OrientationHelper;
.registers 1
iget-object p0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
return-object p0
.end method
.method public static synthetic e(Lcom/google/android/flexbox/FlexboxLayoutManager;)Landroidx/recyclerview/widget/OrientationHelper;
.registers 1
iget-object p0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->o:Landroidx/recyclerview/widget/OrientationHelper;
return-object p0
.end method
.method public static synthetic f(Lcom/google/android/flexbox/FlexboxLayoutManager;)Lp3/d;
.registers 1
iget-object p0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
return-object p0
.end method
.method public static synthetic g(Lcom/google/android/flexbox/FlexboxLayoutManager;)Ljava/util/List;
.registers 1
iget-object p0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
return-object p0
.end method
.method public static isMeasurementUpToDate(III)Z
.registers 6
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
move-result v0
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
move-result p1
const/4 v1, 0x0
if-lez p2, :cond_e
if-eq p0, p2, :cond_e
return v1
:cond_e
const/high16 p2, -0x80000000
const/4 v2, 0x1
if-eq v0, p2, :cond_1f
if-eqz v0, :cond_1e
const/high16 p2, 0x40000000 # 2.0f
if-eq v0, p2, :cond_1a
return v1
:cond_1a
if-ne p1, p0, :cond_1d
const/4 v1, 0x1
:cond_1d
return v1
:cond_1e
return v2
:cond_1f
if-lt p1, p0, :cond_22
const/4 v1, 0x1
:cond_22
return v1
.end method
.method private shouldMeasureChild(Landroid/view/View;IILandroidx/recyclerview/widget/RecyclerView$LayoutParams;)Z
.registers 7
invoke-virtual {p1}, Landroid/view/View;->isLayoutRequested()Z
move-result v0
if-nez v0, :cond_27
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->isMeasurementCacheEnabled()Z
move-result v0
if-eqz v0, :cond_27
invoke-virtual {p1}, Landroid/view/View;->getWidth()I
move-result v0
iget v1, p4, Landroid/view/ViewGroup$MarginLayoutParams;->width:I
invoke-static {v0, p2, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->isMeasurementUpToDate(III)Z
move-result p2
if-eqz p2, :cond_27
invoke-virtual {p1}, Landroid/view/View;->getHeight()I
move-result p1
iget p2, p4, Landroid/view/ViewGroup$MarginLayoutParams;->height:I
invoke-static {p1, p3, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->isMeasurementUpToDate(III)Z
move-result p1
if-nez p1, :cond_25
goto :goto_27
:cond_25
const/4 p1, 0x0
goto :goto_28
:cond_27
:goto_27
const/4 p1, 0x1
:goto_28
return p1
.end method
# virtual methods
.method public a(III)I
.registers 6
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getWidth()I
move-result p1
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getWidthMode()I
move-result v0
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->canScrollHorizontally()Z
move-result v1
invoke-static {p1, v0, p2, p3, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildMeasureSpec(IIIIZ)I
move-result p1
return p1
.end method
.method public final a(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
.registers 10
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_59
if-nez p1, :cond_a
goto :goto_59
:cond_a
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->c()V
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
const/4 v2, 0x1
invoke-static {v0, v2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$d;Z)Z
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
if-nez v0, :cond_1f
iget-boolean v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
if-eqz v0, :cond_1f
const/4 v0, 0x1
goto :goto_20
:cond_1f
const/4 v0, 0x0
:goto_20
const/4 v3, -0x1
if-eqz v0, :cond_28
if-gez p1, :cond_26
goto :goto_2a
:cond_26
const/4 v2, -0x1
goto :goto_2a
:cond_28
if-lez p1, :cond_26
:goto_2a
invoke-static {p1}, Ljava/lang/Math;->abs(I)I
move-result v3
invoke-virtual {p0, v2, v3}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(II)V
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v4}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v4
iget-object v5, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-virtual {p0, p2, p3, v5}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result p2
add-int/2addr v4, p2
if-gez v4, :cond_41
return v1
:cond_41
if-eqz v0, :cond_49
if-le v3, v4, :cond_4d
neg-int p1, v2
mul-int p1, p1, v4
goto :goto_4d
:cond_49
if-le v3, v4, :cond_4d
mul-int p1, v2, v4
:cond_4d
:goto_4d
iget-object p2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
neg-int p3, p1
invoke-virtual {p2, p3}, Landroidx/recyclerview/widget/OrientationHelper;->offsetChildren(I)V
iget-object p2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p2, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
return p1
:cond_59
:goto_59
return v1
.end method
.method public a(Landroid/view/View;)I
.registers 3
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
if-eqz v0, :cond_10
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getTopDecorationHeight(Landroid/view/View;)I
move-result v0
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getBottomDecorationHeight(Landroid/view/View;)I
move-result p1
:goto_e
add-int/2addr v0, p1
return v0
:cond_10
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getLeftDecorationWidth(Landroid/view/View;)I
move-result v0
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getRightDecorationWidth(Landroid/view/View;)I
move-result p1
goto :goto_e
.end method
.method public a(Landroid/view/View;II)I
.registers 4
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result p2
if-eqz p2, :cond_10
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getLeftDecorationWidth(Landroid/view/View;)I
move-result p2
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getRightDecorationWidth(Landroid/view/View;)I
move-result p1
:goto_e
add-int/2addr p2, p1
return p2
:cond_10
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getTopDecorationHeight(Landroid/view/View;)I
move-result p2
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getBottomDecorationHeight(Landroid/view/View;)I
move-result p1
goto :goto_e
.end method
.method public final a(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
.registers 13
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v0
const/high16 v1, -0x80000000
if-eq v0, v1, :cond_1d
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v0
if-gez v0, :cond_1a
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v0
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v2
add-int/2addr v0, v2
invoke-static {p3, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
:cond_1a
invoke-virtual {p0, p1, p3}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(Landroidx/recyclerview/widget/RecyclerView$Recycler;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)V
:cond_1d
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v0
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v2
const/4 v3, 0x0
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v4
:goto_2a
if-gtz v2, :cond_34
iget-object v5, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v5}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)Z
move-result v5
if-eqz v5, :cond_83
:cond_34
iget-object v5, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-static {p3, p2, v5}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;Landroidx/recyclerview/widget/RecyclerView$State;Ljava/util/List;)Z
move-result v5
if-eqz v5, :cond_83
iget-object v5, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v6
invoke-interface {v5, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v5
check-cast v5, Lp3/c;
iget v6, v5, Lp3/c;->o:I
invoke-static {p3, v6}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
invoke-virtual {p0, v5, p3}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(Lp3/c;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v6
add-int/2addr v3, v6
if-nez v4, :cond_6b
iget-boolean v6, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
if-eqz v6, :cond_6b
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v6
invoke-virtual {v5}, Lp3/c;->a()I
move-result v7
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->i(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v8
mul-int v7, v7, v8
sub-int/2addr v6, v7
invoke-static {p3, v6}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
goto :goto_7d
:cond_6b
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v6
invoke-virtual {v5}, Lp3/c;->a()I
move-result v7
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->i(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v8
mul-int v7, v7, v8
add-int/2addr v6, v7
invoke-static {p3, v6}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
:goto_7d
invoke-virtual {v5}, Lp3/c;->a()I
move-result v5
sub-int/2addr v2, v5
goto :goto_2a
:cond_83
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result p2
sub-int/2addr p2, v3
invoke-static {p3, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result p2
if-eq p2, v1, :cond_ae
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result p2
add-int/2addr p2, v3
invoke-static {p3, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result p2
if-gez p2, :cond_ab
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result p2
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v1
add-int/2addr p2, v1
invoke-static {p3, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
:cond_ab
invoke-virtual {p0, p1, p3}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(Landroidx/recyclerview/widget/RecyclerView$Recycler;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)V
:cond_ae
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result p1
sub-int/2addr v0, p1
return v0
.end method
.method public final a(Lp3/c;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
.registers 4
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
if-eqz v0, :cond_b
invoke-virtual {p0, p1, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->b(Lp3/c;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result p1
return p1
:cond_b
invoke-virtual {p0, p1, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->c(Lp3/c;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result p1
return p1
.end method
.method public a(I)Landroid/view/View;
.registers 2
invoke-virtual {p0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->b(I)Landroid/view/View;
move-result-object p1
return-object p1
.end method
.method public final a(IIZ)Landroid/view/View;
.registers 7
if-le p2, p1, :cond_4
const/4 v0, 0x1
goto :goto_5
:cond_4
const/4 v0, -0x1
:goto_5
if-eq p1, p2, :cond_14
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
move-result-object v1
invoke-virtual {p0, v1, p3}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(Landroid/view/View;Z)Z
move-result v2
if-eqz v2, :cond_12
return-object v1
:cond_12
add-int/2addr p1, v0
goto :goto_5
:cond_14
const/4 p1, 0x0
return-object p1
.end method
.method public final a(Landroid/view/View;Lp3/c;)Landroid/view/View;
.registers 8
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
iget p2, p2, Lp3/c;->h:I
const/4 v1, 0x1
:goto_7
if-ge v1, p2, :cond_3f
invoke-virtual {p0, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
move-result-object v2
if-eqz v2, :cond_3c
invoke-virtual {v2}, Landroid/view/View;->getVisibility()I
move-result v3
const/16 v4, 0x8
if-ne v3, v4, :cond_18
goto :goto_3c
:cond_18
iget-boolean v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
if-eqz v3, :cond_2d
if-nez v0, :cond_2d
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v3, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result v3
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v4, v2}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result v4
if-ge v3, v4, :cond_3c
goto :goto_3b
:cond_2d
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v3, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result v3
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v4, v2}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result v4
if-le v3, v4, :cond_3c
:goto_3b
move-object p1, v2
:cond_3c
:goto_3c
add-int/lit8 v1, v1, 0x1
goto :goto_7
:cond_3f
return-object p1
.end method
.method public final a(II)V
.registers 13
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->f(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getWidth()I
move-result v1
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getWidthMode()I
move-result v2
invoke-static {v1, v2}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v1
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeight()I
move-result v2
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeightMode()I
move-result v3
invoke-static {v2, v3}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v2
const/4 v3, 0x0
const/4 v4, 0x1
if-nez v0, :cond_2b
iget-boolean v5, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
if-eqz v5, :cond_2b
const/4 v5, 0x1
goto :goto_2c
:cond_2b
const/4 v5, 0x0
:goto_2c
const/4 v6, -0x1
if-ne p1, v4, :cond_148
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result p1
sub-int/2addr p1, v4
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
move-result-object p1
iget-object v7, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
iget-object v8, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v8, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result v8
invoke-static {v7, v8}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I
move-result v7
iget-object v8, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v8, v8, Lp3/d;->c:[I
aget v8, v8, v7
iget-object v9, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v9, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v8
check-cast v8, Lp3/c;
invoke-virtual {p0, p1, v8}, Lcom/google/android/flexbox/FlexboxLayoutManager;->b(Landroid/view/View;Lp3/c;)Landroid/view/View;
move-result-object p1
iget-object v8, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v8, v4}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object v8, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v8}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->j(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v9
add-int/2addr v7, v9
invoke-static {v8, v7}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object v7, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v7, v7, Lp3/d;->c:[I
array-length v7, v7
iget-object v8, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v8}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v8
if-gt v7, v8, :cond_7b
iget-object v7, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v7, v6}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
goto :goto_8a
:cond_7b
iget-object v7, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
iget-object v8, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v8, v8, Lp3/d;->c:[I
invoke-static {v7}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v9
aget v8, v8, v9
invoke-static {v7, v8}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
:goto_8a
if-eqz v5, :cond_bc
iget-object v5, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
iget-object v7, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v7, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result v7
invoke-static {v5, v7}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object v5, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
iget-object v7, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v7, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result p1
neg-int p1, p1
iget-object v7, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v7}, Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I
move-result v7
add-int/2addr p1, v7
invoke-static {v5, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v5
if-ltz v5, :cond_b8
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v3
:cond_b8
invoke-static {p1, v3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
goto :goto_d9
:cond_bc
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
iget-object v5, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v5, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result v5
invoke-static {v3, v5}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
iget-object v5, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v5, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result p1
iget-object v5, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v5}, Landroidx/recyclerview/widget/OrientationHelper;->getEndAfterPadding()I
move-result v5
sub-int/2addr p1, v5
invoke-static {v3, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
:goto_d9
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result p1
if-eq p1, v6, :cond_f0
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result p1
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v3}, Ljava/util/List;->size()I
move-result v3
sub-int/2addr v3, v4
if-le p1, v3, :cond_1f0
:cond_f0
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result p1
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->getFlexItemCount()I
move-result v3
if-gt p1, v3, :cond_1f0
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result p1
sub-int v7, p2, p1
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->z:Lp3/d$b;
invoke-virtual {p1}, Lp3/d$b;->a()V
if-lez v7, :cond_1f0
if-eqz v0, :cond_11f
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->z:Lp3/d$b;
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v8
iget-object v9, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
move v5, v1
move v6, v2
invoke-virtual/range {v3 .. v9}, Lp3/d;->a(Lp3/d$b;IIIILjava/util/List;)V
goto :goto_130
:cond_11f
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->z:Lp3/d$b;
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v8
iget-object v9, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
move v5, v1
move v6, v2
invoke-virtual/range {v3 .. v9}, Lp3/d;->c(Lp3/d$b;IIIILjava/util/List;)V
:goto_130
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v0
invoke-virtual {p1, v1, v2, v0}, Lp3/d;->b(III)V
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v0
invoke-virtual {p1, v0}, Lp3/d;->f(I)V
goto/16 :goto_1f0
:cond_148
invoke-virtual {p0, v3}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
move-result-object p1
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v1, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result v1
invoke-static {v0, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I
move-result v0
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v1, v1, Lp3/d;->c:[I
aget v1, v1, v0
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lp3/c;
invoke-virtual {p0, p1, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(Landroid/view/View;Lp3/c;)Landroid/view/View;
move-result-object p1
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v1, v4}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v1, v1, Lp3/d;->c:[I
aget v1, v1, v0
if-ne v1, v6, :cond_17b
const/4 v1, 0x0
:cond_17b
if-lez v1, :cond_192
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
add-int/lit8 v6, v1, -0x1
invoke-interface {v2, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lp3/c;
iget-object v6, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-virtual {v2}, Lp3/c;->b()I
move-result v2
sub-int/2addr v0, v2
invoke-static {v6, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
goto :goto_197
:cond_192
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v0, v6}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
:goto_197
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
if-lez v1, :cond_19d
sub-int/2addr v1, v4
goto :goto_19e
:cond_19d
const/4 v1, 0x0
:goto_19e
invoke-static {v0, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
if-eqz v5, :cond_1d2
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v1, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result v1
invoke-static {v0, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v1, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result p1
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v1}, Landroidx/recyclerview/widget/OrientationHelper;->getEndAfterPadding()I
move-result v1
sub-int/2addr p1, v1
invoke-static {v0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v0
if-ltz v0, :cond_1ce
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v3
:cond_1ce
invoke-static {p1, v3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
goto :goto_1f0
:cond_1d2
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v1, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result v1
invoke-static {v0, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v1, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result p1
neg-int p1, p1
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v1}, Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I
move-result v1
add-int/2addr p1, v1
invoke-static {v0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
:cond_1f0
:goto_1f0
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v0
sub-int/2addr p2, v0
invoke-static {p1, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
return-void
.end method
.method public a(ILandroid/view/View;)V
.registers 4
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->v:Landroid/util/SparseArray;
invoke-virtual {v0, p1, p2}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
return-void
.end method
.method public a(Landroid/view/View;IILp3/c;)V
.registers 5
sget-object p2, Lcom/google/android/flexbox/FlexboxLayoutManager;->A:Landroid/graphics/Rect;
invoke-virtual {p0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->calculateItemDecorationsForChild(Landroid/view/View;Landroid/graphics/Rect;)V
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result p2
if-eqz p2, :cond_1f
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getLeftDecorationWidth(Landroid/view/View;)I
move-result p2
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getRightDecorationWidth(Landroid/view/View;)I
move-result p1
add-int/2addr p2, p1
iget p1, p4, Lp3/c;->e:I
add-int/2addr p1, p2
iput p1, p4, Lp3/c;->e:I
iget p1, p4, Lp3/c;->f:I
add-int/2addr p1, p2
iput p1, p4, Lp3/c;->f:I
goto :goto_32
:cond_1f
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getTopDecorationHeight(Landroid/view/View;)I
move-result p2
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getBottomDecorationHeight(Landroid/view/View;)I
move-result p1
add-int/2addr p2, p1
iget p1, p4, Lp3/c;->e:I
add-int/2addr p1, p2
iput p1, p4, Lp3/c;->e:I
iget p1, p4, Lp3/c;->f:I
add-int/2addr p1, p2
iput p1, p4, Lp3/c;->f:I
:goto_32
return-void
.end method
.method public final a(Landroidx/recyclerview/widget/RecyclerView$Recycler;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)V
.registers 5
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->k(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)Z
move-result v0
if-nez v0, :cond_7
return-void
:cond_7
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->i(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v0
const/4 v1, -0x1
if-ne v0, v1, :cond_12
invoke-virtual {p0, p1, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->b(Landroidx/recyclerview/widget/RecyclerView$Recycler;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)V
goto :goto_15
:cond_12
invoke-virtual {p0, p1, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->c(Landroidx/recyclerview/widget/RecyclerView$Recycler;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)V
:goto_15
return-void
.end method
.method public final a(Lcom/google/android/flexbox/FlexboxLayoutManager$b;ZZ)V
.registers 6
if-eqz p3, :cond_6
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->d()V
goto :goto_c
:cond_6
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
const/4 v0, 0x0
invoke-static {p3, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;Z)Z
:goto_c
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result p3
if-nez p3, :cond_25
iget-boolean p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
if-eqz p3, :cond_25
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v0
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingRight()I
move-result v1
sub-int/2addr v0, v1
invoke-static {p3, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
goto :goto_35
:cond_25
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0}, Landroidx/recyclerview/widget/OrientationHelper;->getEndAfterPadding()I
move-result v0
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v1
sub-int/2addr v0, v1
invoke-static {p3, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
:goto_35
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v0
invoke-static {p3, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
const/4 v0, 0x1
invoke-static {p3, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p3, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->f(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v1
invoke-static {p3, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
const/high16 v1, -0x80000000
invoke-static {p3, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v1
invoke-static {p3, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
if-eqz p2, :cond_9e
iget-object p2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {p2}, Ljava/util/List;->size()I
move-result p2
if-le p2, v0, :cond_9e
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result p2
if-ltz p2, :cond_9e
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result p2
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {p3}, Ljava/util/List;->size()I
move-result p3
sub-int/2addr p3, v0
if-ge p2, p3, :cond_9e
iget-object p2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result p1
invoke-interface {p2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lp3/c;
iget-object p2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
iget-object p2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result p3
invoke-virtual {p1}, Lp3/c;->b()I
move-result p1
add-int/2addr p3, p1
invoke-static {p2, p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
:cond_9e
return-void
.end method
.method public a(Lp3/c;)V
.registers 2
return-void
.end method
.method public a()Z
.registers 3
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->a:I
const/4 v1, 0x1
if-eqz v0, :cond_9
if-ne v0, v1, :cond_8
goto :goto_9
:cond_8
const/4 v1, 0x0
:cond_9
:goto_9
return v1
.end method
.method public final a(Landroid/view/View;I)Z
.registers 6
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
const/4 v1, 0x1
const/4 v2, 0x0
if-nez v0, :cond_17
iget-boolean v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
if-eqz v0, :cond_17
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result p1
if-gt p1, p2, :cond_15
goto :goto_16
:cond_15
const/4 v1, 0x0
:goto_16
return v1
:cond_17
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result p1
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0}, Landroidx/recyclerview/widget/OrientationHelper;->getEnd()I
move-result v0
sub-int/2addr v0, p2
if-lt p1, v0, :cond_27
goto :goto_28
:cond_27
const/4 v1, 0x0
:goto_28
return v1
.end method
.method public final a(Landroid/view/View;Z)Z
.registers 13
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingLeft()I
move-result v0
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingTop()I
move-result v1
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getWidth()I
move-result v2
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingRight()I
move-result v3
sub-int/2addr v2, v3
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeight()I
move-result v3
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingBottom()I
move-result v4
sub-int/2addr v3, v4
invoke-virtual {p0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->c(Landroid/view/View;)I
move-result v4
invoke-virtual {p0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->e(Landroid/view/View;)I
move-result v5
invoke-virtual {p0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->d(Landroid/view/View;)I
move-result v6
invoke-virtual {p0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->b(Landroid/view/View;)I
move-result p1
const/4 v7, 0x1
const/4 v8, 0x0
if-gt v0, v4, :cond_32
if-lt v2, v6, :cond_32
const/4 v9, 0x1
goto :goto_33
:cond_32
const/4 v9, 0x0
:goto_33
if-ge v4, v2, :cond_3a
if-lt v6, v0, :cond_38
goto :goto_3a
:cond_38
const/4 v0, 0x0
goto :goto_3b
:cond_3a
:goto_3a
const/4 v0, 0x1
:goto_3b
if-gt v1, v5, :cond_41
if-lt v3, p1, :cond_41
const/4 v2, 0x1
goto :goto_42
:cond_41
const/4 v2, 0x0
:goto_42
if-ge v5, v3, :cond_49
if-lt p1, v1, :cond_47
goto :goto_49
:cond_47
const/4 p1, 0x0
goto :goto_4a
:cond_49
:goto_49
const/4 p1, 0x1
:goto_4a
if-eqz p2, :cond_53
if-eqz v9, :cond_51
if-eqz v2, :cond_51
goto :goto_52
:cond_51
const/4 v7, 0x0
:goto_52
return v7
:cond_53
if-eqz v0, :cond_58
if-eqz p1, :cond_58
goto :goto_59
:cond_58
const/4 v7, 0x0
:goto_59
return v7
.end method
.method public final a(Landroidx/recyclerview/widget/RecyclerView$State;Lcom/google/android/flexbox/FlexboxLayoutManager$b;)Z
.registers 7
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_8
return v1
:cond_8
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)Z
move-result v0
if-eqz v0, :cond_17
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$State;->getItemCount()I
move-result v0
invoke-virtual {p0, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->d(I)Landroid/view/View;
move-result-object v0
goto :goto_1f
:cond_17
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$State;->getItemCount()I
move-result v0
invoke-virtual {p0, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->c(I)Landroid/view/View;
move-result-object v0
:goto_1f
if-eqz v0, :cond_67
invoke-static {p2, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$b;Landroid/view/View;)V
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$State;->isPreLayout()Z
move-result p1
const/4 v2, 0x1
if-nez p1, :cond_66
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->supportsPredictiveItemAnimations()Z
move-result p1
if-eqz p1, :cond_66
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p1, v0}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result p1
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v3}, Landroidx/recyclerview/widget/OrientationHelper;->getEndAfterPadding()I
move-result v3
if-ge p1, v3, :cond_4d
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p1, v0}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result p1
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0}, Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I
move-result v0
if-ge p1, v0, :cond_4e
:cond_4d
const/4 v1, 0x1
:cond_4e
if-eqz v1, :cond_66
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)Z
move-result p1
if-eqz p1, :cond_5d
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p1}, Landroidx/recyclerview/widget/OrientationHelper;->getEndAfterPadding()I
move-result p1
goto :goto_63
:cond_5d
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p1}, Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I
move-result p1
:goto_63
invoke-static {p2, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$b;I)I
:cond_66
return v2
:cond_67
return v1
.end method
.method public final a(Landroidx/recyclerview/widget/RecyclerView$State;Lcom/google/android/flexbox/FlexboxLayoutManager$b;Lcom/google/android/flexbox/FlexboxLayoutManager$e;)Z
.registers 9
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$State;->isPreLayout()Z
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_106
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->q:I
const/4 v2, -0x1
if-ne v0, v2, :cond_e
goto/16 :goto_106
:cond_e
const/high16 v3, -0x80000000
if-ltz v0, :cond_102
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$State;->getItemCount()I
move-result v4
if-lt v0, v4, :cond_1a
goto/16 :goto_102
:cond_1a
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->q:I
invoke-static {p2, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$b;I)I
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v0, v0, Lp3/d;->c:[I
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v4
aget v0, v0, v4
invoke-static {p2, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$b;I)I
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->p:Lcom/google/android/flexbox/FlexboxLayoutManager$e;
const/4 v4, 0x1
if-eqz v0, :cond_50
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$State;->getItemCount()I
move-result p1
invoke-static {v0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$e;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$e;I)Z
move-result p1
if-eqz p1, :cond_50
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p1}, Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I
move-result p1
invoke-static {p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$e;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$e;)I
move-result p3
add-int/2addr p1, p3
invoke-static {p2, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$b;I)I
invoke-static {p2, v4}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$b;Z)Z
invoke-static {p2, v2}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$b;I)I
return v4
:cond_50
iget p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->r:I
if-ne p1, v3, :cond_de
iget p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->q:I
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->findViewByPosition(I)Landroid/view/View;
move-result-object p1
if-eqz p1, :cond_c4
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p3, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedMeasurement(Landroid/view/View;)I
move-result p3
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0}, Landroidx/recyclerview/widget/OrientationHelper;->getTotalSpace()I
move-result v0
if-le p3, v0, :cond_6e
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)V
return v4
:cond_6e
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p3, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result p3
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0}, Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I
move-result v0
sub-int/2addr p3, v0
if-gez p3, :cond_8a
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p1}, Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I
move-result p1
invoke-static {p2, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$b;I)I
invoke-static {p2, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$b;Z)Z
return v4
:cond_8a
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p3}, Landroidx/recyclerview/widget/OrientationHelper;->getEndAfterPadding()I
move-result p3
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result v0
sub-int/2addr p3, v0
if-gez p3, :cond_a6
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p1}, Landroidx/recyclerview/widget/OrientationHelper;->getEndAfterPadding()I
move-result p1
invoke-static {p2, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$b;I)I
invoke-static {p2, v4}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$b;Z)Z
return v4
:cond_a6
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)Z
move-result p3
if-eqz p3, :cond_ba
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p3, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result p1
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p3}, Landroidx/recyclerview/widget/OrientationHelper;->getTotalSpaceChange()I
move-result p3
add-int/2addr p1, p3
goto :goto_c0
:cond_ba
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p3, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result p1
:goto_c0
invoke-static {p2, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$b;I)I
goto :goto_dd
:cond_c4
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result p1
if-lez p1, :cond_da
invoke-virtual {p0, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
move-result-object p1
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I
move-result p1
iget p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->q:I
if-ge p3, p1, :cond_d7
const/4 v1, 0x1
:cond_d7
invoke-static {p2, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$b;Z)Z
:cond_da
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)V
:goto_dd
return v4
:cond_de
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result p1
if-nez p1, :cond_f5
iget-boolean p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
if-eqz p1, :cond_f5
iget p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->r:I
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p3}, Landroidx/recyclerview/widget/OrientationHelper;->getEndPadding()I
move-result p3
sub-int/2addr p1, p3
invoke-static {p2, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$b;I)I
goto :goto_101
:cond_f5
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p1}, Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I
move-result p1
iget p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->r:I
add-int/2addr p1, p3
invoke-static {p2, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$b;I)I
:goto_101
return v4
:cond_102
:goto_102
iput v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->q:I
iput v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->r:I
:cond_106
:goto_106
return v1
.end method
.method public b(III)I
.registers 6
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeight()I
move-result p1
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeightMode()I
move-result v0
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->canScrollVertically()Z
move-result v1
invoke-static {p1, v0, p2, p3, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildMeasureSpec(IIIIZ)I
move-result p1
return p1
.end method
.method public final b(Landroid/view/View;)I
.registers 3
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
check-cast v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getDecoratedBottom(Landroid/view/View;)I
move-result p1
iget v0, v0, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
add-int/2addr p1, v0
return p1
.end method
.method public final b(Lp3/c;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
.registers 24
move-object/from16 v0, p0
move-object/from16 v8, p1
invoke-virtual/range {p0 .. p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingLeft()I
move-result v1
invoke-virtual/range {p0 .. p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingRight()I
move-result v2
invoke-virtual/range {p0 .. p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getWidth()I
move-result v3
invoke-static/range {p2 .. p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v4
invoke-static/range {p2 .. p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->i(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v5
const/4 v6, -0x1
if-ne v5, v6, :cond_1e
iget v5, v8, Lp3/c;->g:I
sub-int/2addr v4, v5
:cond_1e
move v9, v4
invoke-static/range {p2 .. p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v10
iget v4, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->c:I
const/4 v5, 0x0
const/4 v11, 0x1
if-eqz v4, :cond_ac
if-eq v4, v11, :cond_9e
const/4 v6, 0x2
const/high16 v7, 0x40000000 # 2.0f
if-eq v4, v6, :cond_8e
const/4 v6, 0x3
if-eq v4, v6, :cond_7b
const/4 v6, 0x4
if-eq v4, v6, :cond_66
const/4 v6, 0x5
if-ne v4, v6, :cond_4d
iget v4, v8, Lp3/c;->h:I
if-eqz v4, :cond_46
iget v6, v8, Lp3/c;->e:I
sub-int v6, v3, v6
int-to-float v6, v6
add-int/2addr v4, v11
int-to-float v4, v4
div-float/2addr v6, v4
goto :goto_47
:cond_46
const/4 v6, 0x0
:goto_47
int-to-float v1, v1
add-float/2addr v1, v6
sub-int/2addr v3, v2
int-to-float v2, v3
sub-float/2addr v2, v6
goto :goto_b0
:cond_4d
new-instance v1, Ljava/lang/IllegalStateException;
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "Invalid justifyContent is set: "
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget v3, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->c:I
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
:cond_66
iget v4, v8, Lp3/c;->h:I
if-eqz v4, :cond_72
iget v6, v8, Lp3/c;->e:I
sub-int v6, v3, v6
int-to-float v6, v6
int-to-float v4, v4
div-float/2addr v6, v4
goto :goto_73
:cond_72
const/4 v6, 0x0
:goto_73
int-to-float v1, v1
div-float v4, v6, v7
add-float/2addr v1, v4
sub-int/2addr v3, v2
int-to-float v2, v3
sub-float/2addr v2, v4
goto :goto_b0
:cond_7b
int-to-float v1, v1
iget v4, v8, Lp3/c;->h:I
if-eq v4, v11, :cond_83
sub-int/2addr v4, v11
int-to-float v4, v4
goto :goto_85
:cond_83
const/high16 v4, 0x3f800000 # 1.0f
:goto_85
iget v6, v8, Lp3/c;->e:I
sub-int v6, v3, v6
int-to-float v6, v6
div-float/2addr v6, v4
sub-int/2addr v3, v2
int-to-float v2, v3
goto :goto_b0
:cond_8e
int-to-float v1, v1
iget v4, v8, Lp3/c;->e:I
sub-int v6, v3, v4
int-to-float v6, v6
div-float/2addr v6, v7
add-float/2addr v1, v6
sub-int v2, v3, v2
int-to-float v2, v2
sub-int/2addr v3, v4
int-to-float v3, v3
div-float/2addr v3, v7
sub-float/2addr v2, v3
goto :goto_af
:cond_9e
iget v4, v8, Lp3/c;->e:I
sub-int/2addr v3, v4
add-int/2addr v3, v2
int-to-float v2, v3
sub-int/2addr v4, v1
int-to-float v1, v4
const/4 v6, 0x0
move/from16 v20, v2
move v2, v1
move/from16 v1, v20
goto :goto_b0
:cond_ac
int-to-float v1, v1
sub-int/2addr v3, v2
int-to-float v2, v3
:goto_af
const/4 v6, 0x0
:goto_b0
iget-object v3, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {v3}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v3
int-to-float v3, v3
sub-float/2addr v1, v3
iget-object v3, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {v3}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v3
int-to-float v3, v3
sub-float/2addr v2, v3
invoke-static {v6, v5}, Ljava/lang/Math;->max(FF)F
move-result v12
const/4 v3, 0x0
invoke-virtual/range {p1 .. p1}, Lp3/c;->b()I
move-result v13
move v14, v10
:goto_ca
add-int v4, v10, v13
if-ge v14, v4, :cond_197
invoke-virtual {v0, v14}, Lcom/google/android/flexbox/FlexboxLayoutManager;->b(I)Landroid/view/View;
move-result-object v15
if-nez v15, :cond_d6
goto/16 :goto_192
:cond_d6
invoke-static/range {p2 .. p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->i(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v4
if-ne v4, v11, :cond_e5
sget-object v4, Lcom/google/android/flexbox/FlexboxLayoutManager;->A:Landroid/graphics/Rect;
invoke-virtual {v0, v15, v4}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->calculateItemDecorationsForChild(Landroid/view/View;Landroid/graphics/Rect;)V
invoke-virtual {v0, v15}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->addView(Landroid/view/View;)V
goto :goto_ef
:cond_e5
sget-object v4, Lcom/google/android/flexbox/FlexboxLayoutManager;->A:Landroid/graphics/Rect;
invoke-virtual {v0, v15, v4}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->calculateItemDecorationsForChild(Landroid/view/View;Landroid/graphics/Rect;)V
invoke-virtual {v0, v15, v3}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->addView(Landroid/view/View;I)V
add-int/lit8 v3, v3, 0x1
:goto_ef
move/from16 v16, v3
iget-object v3, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v4, v3, Lp3/d;->d:[J
aget-wide v5, v4, v14
invoke-virtual {v3, v5, v6}, Lp3/d;->b(J)I
move-result v3
iget-object v4, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-virtual {v4, v5, v6}, Lp3/d;->a(J)I
move-result v4
invoke-virtual {v15}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v5
move-object v7, v5
check-cast v7, Lcom/google/android/flexbox/FlexboxLayoutManager$c;
invoke-direct {v0, v15, v3, v4, v7}, Lcom/google/android/flexbox/FlexboxLayoutManager;->shouldMeasureChild(Landroid/view/View;IILandroidx/recyclerview/widget/RecyclerView$LayoutParams;)Z
move-result v5
if-eqz v5, :cond_111
invoke-virtual {v15, v3, v4}, Landroid/view/View;->measure(II)V
:cond_111
iget v3, v7, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
invoke-virtual {v0, v15}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getLeftDecorationWidth(Landroid/view/View;)I
move-result v4
add-int/2addr v3, v4
int-to-float v3, v3
add-float v17, v1, v3
iget v1, v7, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
invoke-virtual {v0, v15}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getRightDecorationWidth(Landroid/view/View;)I
move-result v3
add-int/2addr v1, v3
int-to-float v1, v1
sub-float v18, v2, v1
invoke-virtual {v0, v15}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getTopDecorationHeight(Landroid/view/View;)I
move-result v1
add-int v5, v9, v1
iget-boolean v1, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
if-eqz v1, :cond_14f
iget-object v1, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-static/range {v18 .. v18}, Ljava/lang/Math;->round(F)I
move-result v2
invoke-virtual {v15}, Landroid/view/View;->getMeasuredWidth()I
move-result v3
sub-int v4, v2, v3
invoke-static/range {v18 .. v18}, Ljava/lang/Math;->round(F)I
move-result v6
invoke-virtual {v15}, Landroid/view/View;->getMeasuredHeight()I
move-result v2
add-int v19, v5, v2
move-object v2, v15
move-object/from16 v3, p1
move-object v11, v7
move/from16 v7, v19
invoke-virtual/range {v1 .. v7}, Lp3/d;->a(Landroid/view/View;Lp3/c;IIII)V
goto :goto_16c
:cond_14f
move-object v11, v7
iget-object v1, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-static/range {v17 .. v17}, Ljava/lang/Math;->round(F)I
move-result v4
invoke-static/range {v17 .. v17}, Ljava/lang/Math;->round(F)I
move-result v2
invoke-virtual {v15}, Landroid/view/View;->getMeasuredWidth()I
move-result v3
add-int v6, v2, v3
invoke-virtual {v15}, Landroid/view/View;->getMeasuredHeight()I
move-result v2
add-int v7, v5, v2
move-object v2, v15
move-object/from16 v3, p1
invoke-virtual/range {v1 .. v7}, Lp3/d;->a(Landroid/view/View;Lp3/c;IIII)V
:goto_16c
invoke-virtual {v15}, Landroid/view/View;->getMeasuredWidth()I
move-result v1
iget v2, v11, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
add-int/2addr v1, v2
invoke-virtual {v0, v15}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getRightDecorationWidth(Landroid/view/View;)I
move-result v2
add-int/2addr v1, v2
int-to-float v1, v1
add-float/2addr v1, v12
add-float v17, v17, v1
invoke-virtual {v15}, Landroid/view/View;->getMeasuredWidth()I
move-result v1
iget v2, v11, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
add-int/2addr v1, v2
invoke-virtual {v0, v15}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getLeftDecorationWidth(Landroid/view/View;)I
move-result v2
add-int/2addr v1, v2
int-to-float v1, v1
add-float/2addr v1, v12
sub-float v18, v18, v1
move/from16 v3, v16
move/from16 v1, v17
move/from16 v2, v18
:goto_192
add-int/lit8 v14, v14, 0x1
const/4 v11, 0x1
goto/16 :goto_ca
:cond_197
invoke-static/range {p2 .. p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v1
iget-object v2, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->i(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v2
add-int/2addr v1, v2
move-object/from16 v2, p2
invoke-static {v2, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
invoke-virtual/range {p1 .. p1}, Lp3/c;->a()I
move-result v1
return v1
.end method
.method public b(I)Landroid/view/View;
.registers 3
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->v:Landroid/util/SparseArray;
invoke-virtual {v0, p1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/View;
if-eqz v0, :cond_b
return-object v0
:cond_b
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->j:Landroidx/recyclerview/widget/RecyclerView$Recycler;
invoke-virtual {v0, p1}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->getViewForPosition(I)Landroid/view/View;
move-result-object p1
return-object p1
.end method
.method public final b(Landroid/view/View;Lp3/c;)Landroid/view/View;
.registers 8
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v1
add-int/lit8 v1, v1, -0x2
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v2
iget p2, p2, Lp3/c;->h:I
sub-int/2addr v2, p2
add-int/lit8 v2, v2, -0x1
:goto_13
if-le v1, v2, :cond_4b
invoke-virtual {p0, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
move-result-object p2
if-eqz p2, :cond_48
invoke-virtual {p2}, Landroid/view/View;->getVisibility()I
move-result v3
const/16 v4, 0x8
if-ne v3, v4, :cond_24
goto :goto_48
:cond_24
iget-boolean v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
if-eqz v3, :cond_39
if-nez v0, :cond_39
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v3, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result v3
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v4, p2}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result v4
if-le v3, v4, :cond_48
goto :goto_47
:cond_39
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v3, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result v3
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v4, p2}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result v4
if-ge v3, v4, :cond_48
:goto_47
move-object p1, p2
:cond_48
:goto_48
add-int/lit8 v1, v1, -0x1
goto :goto_13
:cond_4b
return-object p1
.end method
.method public final b()V
.registers 3
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->clear()V
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)V
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
const/4 v1, 0x0
invoke-static {v0, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$b;I)I
return-void
.end method
.method public final b(Landroidx/recyclerview/widget/RecyclerView$Recycler;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)V
.registers 10
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v0
if-gez v0, :cond_7
return-void
:cond_7
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0}, Landroidx/recyclerview/widget/OrientationHelper;->getEnd()I
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v0
if-nez v0, :cond_16
return-void
:cond_16
add-int/lit8 v1, v0, -0x1
invoke-virtual {p0, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
move-result-object v2
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v3, v3, Lp3/d;->c:[I
invoke-virtual {p0, v2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I
move-result v2
aget v2, v3, v2
const/4 v3, -0x1
if-ne v2, v3, :cond_2a
return-void
:cond_2a
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lp3/c;
move v4, v1
:goto_33
if-ltz v4, :cond_61
invoke-virtual {p0, v4}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
move-result-object v5
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v6
invoke-virtual {p0, v5, v6}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(Landroid/view/View;I)Z
move-result v6
if-eqz v6, :cond_61
iget v6, v3, Lp3/c;->o:I
invoke-virtual {p0, v5}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I
move-result v5
if-ne v6, v5, :cond_5e
if-gtz v2, :cond_4f
move v0, v4
goto :goto_61
:cond_4f
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->i(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v0
add-int/2addr v2, v0
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lp3/c;
move-object v3, v0
move v0, v4
:cond_5e
add-int/lit8 v4, v4, -0x1
goto :goto_33
:cond_61
:goto_61
invoke-virtual {p0, p1, v0, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->recycleChildren(Landroidx/recyclerview/widget/RecyclerView$Recycler;II)V
return-void
.end method
.method public final b(Landroidx/recyclerview/widget/RecyclerView$State;Lcom/google/android/flexbox/FlexboxLayoutManager$b;)V
.registers 4
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->p:Lcom/google/android/flexbox/FlexboxLayoutManager$e;
invoke-virtual {p0, p1, p2, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(Landroidx/recyclerview/widget/RecyclerView$State;Lcom/google/android/flexbox/FlexboxLayoutManager$b;Lcom/google/android/flexbox/FlexboxLayoutManager$e;)Z
move-result v0
if-eqz v0, :cond_9
return-void
:cond_9
invoke-virtual {p0, p1, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(Landroidx/recyclerview/widget/RecyclerView$State;Lcom/google/android/flexbox/FlexboxLayoutManager$b;)Z
move-result p1
if-eqz p1, :cond_10
return-void
:cond_10
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)V
const/4 p1, 0x0
invoke-static {p2, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$b;I)I
invoke-static {p2, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$b;I)I
return-void
.end method
.method public final b(Lcom/google/android/flexbox/FlexboxLayoutManager$b;ZZ)V
.registers 6
if-eqz p3, :cond_6
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->d()V
goto :goto_c
:cond_6
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
const/4 v0, 0x0
invoke-static {p3, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;Z)Z
:goto_c
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result p3
if-nez p3, :cond_2e
iget-boolean p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
if-eqz p3, :cond_2e
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->x:Landroid/view/View;
invoke-virtual {v0}, Landroid/view/View;->getWidth()I
move-result v0
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v1
sub-int/2addr v0, v1
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v1}, Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I
move-result v1
sub-int/2addr v0, v1
invoke-static {p3, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
goto :goto_3e
:cond_2e
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v0
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v1}, Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I
move-result v1
sub-int/2addr v0, v1
invoke-static {p3, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
:goto_3e
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v0
invoke-static {p3, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
const/4 v0, 0x1
invoke-static {p3, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
const/4 v0, -0x1
invoke-static {p3, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->f(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v0
invoke-static {p3, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
const/high16 v0, -0x80000000
invoke-static {p3, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v0
invoke-static {p3, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
if-eqz p2, :cond_9f
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result p2
if-lez p2, :cond_9f
iget-object p2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {p2}, Ljava/util/List;->size()I
move-result p2
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result p3
if-le p2, p3, :cond_9f
iget-object p2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result p1
invoke-interface {p2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lp3/c;
iget-object p2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->f(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
iget-object p2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result p3
invoke-virtual {p1}, Lp3/c;->b()I
move-result p1
sub-int/2addr p3, p1
invoke-static {p2, p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
:cond_9f
return-void
.end method
.method public final b(Landroid/view/View;I)Z
.registers 7
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
const/4 v1, 0x1
const/4 v2, 0x0
if-nez v0, :cond_1e
iget-boolean v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
if-eqz v0, :cond_1e
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0}, Landroidx/recyclerview/widget/OrientationHelper;->getEnd()I
move-result v0
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v3, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result p1
sub-int/2addr v0, p1
if-gt v0, p2, :cond_1c
goto :goto_1d
:cond_1c
const/4 v1, 0x0
:goto_1d
return v1
:cond_1e
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result p1
if-gt p1, p2, :cond_27
goto :goto_28
:cond_27
const/4 v1, 0x0
:goto_28
return v1
.end method
.method public final c(Landroid/view/View;)I
.registers 3
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
check-cast v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getDecoratedLeft(Landroid/view/View;)I
move-result p1
iget v0, v0, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
sub-int/2addr p1, v0
return p1
.end method
.method public final c(Lp3/c;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
.registers 28
move-object/from16 v0, p0
move-object/from16 v9, p1
invoke-virtual/range {p0 .. p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingTop()I
move-result v1
invoke-virtual/range {p0 .. p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingBottom()I
move-result v2
invoke-virtual/range {p0 .. p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeight()I
move-result v3
invoke-static/range {p2 .. p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v4
invoke-static/range {p2 .. p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v5
invoke-static/range {p2 .. p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->i(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v6
const/4 v7, -0x1
if-ne v6, v7, :cond_23
iget v6, v9, Lp3/c;->g:I
sub-int/2addr v4, v6
add-int/2addr v5, v6
:cond_23
move v10, v4
move v11, v5
invoke-static/range {p2 .. p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v12
iget v4, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->c:I
const/4 v5, 0x0
const/4 v13, 0x1
if-eqz v4, :cond_b2
if-eq v4, v13, :cond_a4
const/4 v6, 0x2
const/high16 v7, 0x40000000 # 2.0f
if-eq v4, v6, :cond_94
const/4 v6, 0x3
if-eq v4, v6, :cond_81
const/4 v6, 0x4
if-eq v4, v6, :cond_6c
const/4 v6, 0x5
if-ne v4, v6, :cond_53
iget v4, v9, Lp3/c;->h:I
if-eqz v4, :cond_4c
iget v6, v9, Lp3/c;->e:I
sub-int v6, v3, v6
int-to-float v6, v6
add-int/2addr v4, v13
int-to-float v4, v4
div-float/2addr v6, v4
goto :goto_4d
:cond_4c
const/4 v6, 0x0
:goto_4d
int-to-float v1, v1
add-float/2addr v1, v6
sub-int/2addr v3, v2
int-to-float v2, v3
sub-float/2addr v2, v6
goto :goto_b6
:cond_53
new-instance v1, Ljava/lang/IllegalStateException;
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "Invalid justifyContent is set: "
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget v3, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->c:I
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
:cond_6c
iget v4, v9, Lp3/c;->h:I
if-eqz v4, :cond_78
iget v6, v9, Lp3/c;->e:I
sub-int v6, v3, v6
int-to-float v6, v6
int-to-float v4, v4
div-float/2addr v6, v4
goto :goto_79
:cond_78
const/4 v6, 0x0
:goto_79
int-to-float v1, v1
div-float v4, v6, v7
add-float/2addr v1, v4
sub-int/2addr v3, v2
int-to-float v2, v3
sub-float/2addr v2, v4
goto :goto_b6
:cond_81
int-to-float v1, v1
iget v4, v9, Lp3/c;->h:I
if-eq v4, v13, :cond_89
sub-int/2addr v4, v13
int-to-float v4, v4
goto :goto_8b
:cond_89
const/high16 v4, 0x3f800000 # 1.0f
:goto_8b
iget v6, v9, Lp3/c;->e:I
sub-int v6, v3, v6
int-to-float v6, v6
div-float/2addr v6, v4
sub-int/2addr v3, v2
int-to-float v2, v3
goto :goto_b6
:cond_94
int-to-float v1, v1
iget v4, v9, Lp3/c;->e:I
sub-int v6, v3, v4
int-to-float v6, v6
div-float/2addr v6, v7
add-float/2addr v1, v6
sub-int v2, v3, v2
int-to-float v2, v2
sub-int/2addr v3, v4
int-to-float v3, v3
div-float/2addr v3, v7
sub-float/2addr v2, v3
goto :goto_b5
:cond_a4
iget v4, v9, Lp3/c;->e:I
sub-int/2addr v3, v4
add-int/2addr v3, v2
int-to-float v2, v3
sub-int/2addr v4, v1
int-to-float v1, v4
const/4 v6, 0x0
move/from16 v24, v2
move v2, v1
move/from16 v1, v24
goto :goto_b6
:cond_b2
int-to-float v1, v1
sub-int/2addr v3, v2
int-to-float v2, v3
:goto_b5
const/4 v6, 0x0
:goto_b6
iget-object v3, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {v3}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v3
int-to-float v3, v3
sub-float/2addr v1, v3
iget-object v3, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {v3}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v3
int-to-float v3, v3
sub-float/2addr v2, v3
invoke-static {v6, v5}, Ljava/lang/Math;->max(FF)F
move-result v14
const/4 v3, 0x0
invoke-virtual/range {p1 .. p1}, Lp3/c;->b()I
move-result v15
move v8, v12
:goto_d0
add-int v4, v12, v15
if-ge v8, v4, :cond_20b
invoke-virtual {v0, v8}, Lcom/google/android/flexbox/FlexboxLayoutManager;->b(I)Landroid/view/View;
move-result-object v7
if-nez v7, :cond_e2
move/from16 v23, v8
move/from16 v17, v14
const/16 v22, 0x1
goto/16 :goto_204
:cond_e2
iget-object v4, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v5, v4, Lp3/d;->d:[J
move/from16 v17, v14
aget-wide v13, v5, v8
invoke-virtual {v4, v13, v14}, Lp3/d;->b(J)I
move-result v4
iget-object v5, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-virtual {v5, v13, v14}, Lp3/d;->a(J)I
move-result v5
invoke-virtual {v7}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v6
move-object v13, v6
check-cast v13, Lcom/google/android/flexbox/FlexboxLayoutManager$c;
invoke-direct {v0, v7, v4, v5, v13}, Lcom/google/android/flexbox/FlexboxLayoutManager;->shouldMeasureChild(Landroid/view/View;IILandroidx/recyclerview/widget/RecyclerView$LayoutParams;)Z
move-result v6
if-eqz v6, :cond_104
invoke-virtual {v7, v4, v5}, Landroid/view/View;->measure(II)V
:cond_104
iget v4, v13, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
invoke-virtual {v0, v7}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getTopDecorationHeight(Landroid/view/View;)I
move-result v5
add-int/2addr v4, v5
int-to-float v4, v4
add-float v14, v1, v4
iget v1, v13, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
invoke-virtual {v0, v7}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getBottomDecorationHeight(Landroid/view/View;)I
move-result v4
add-int/2addr v1, v4
int-to-float v1, v1
sub-float v18, v2, v1
invoke-static/range {p2 .. p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->i(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v1
const/4 v6, 0x1
if-ne v1, v6, :cond_128
sget-object v1, Lcom/google/android/flexbox/FlexboxLayoutManager;->A:Landroid/graphics/Rect;
invoke-virtual {v0, v7, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->calculateItemDecorationsForChild(Landroid/view/View;Landroid/graphics/Rect;)V
invoke-virtual {v0, v7}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->addView(Landroid/view/View;)V
goto :goto_132
:cond_128
sget-object v1, Lcom/google/android/flexbox/FlexboxLayoutManager;->A:Landroid/graphics/Rect;
invoke-virtual {v0, v7, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->calculateItemDecorationsForChild(Landroid/view/View;Landroid/graphics/Rect;)V
invoke-virtual {v0, v7, v3}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->addView(Landroid/view/View;I)V
add-int/lit8 v3, v3, 0x1
:goto_132
move/from16 v16, v3
invoke-virtual {v0, v7}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getLeftDecorationWidth(Landroid/view/View;)I
move-result v1
add-int v5, v10, v1
invoke-virtual {v0, v7}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getRightDecorationWidth(Landroid/view/View;)I
move-result v1
sub-int v19, v11, v1
iget-boolean v4, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
if-eqz v4, :cond_197
iget-boolean v1, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->g:Z
if-eqz v1, :cond_171
iget-object v1, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-virtual {v7}, Landroid/view/View;->getMeasuredWidth()I
move-result v2
sub-int v5, v19, v2
invoke-static/range {v18 .. v18}, Ljava/lang/Math;->round(F)I
move-result v2
invoke-virtual {v7}, Landroid/view/View;->getMeasuredHeight()I
move-result v3
sub-int v20, v2, v3
invoke-static/range {v18 .. v18}, Ljava/lang/Math;->round(F)I
move-result v21
move-object v2, v7
move-object/from16 v3, p1
const/16 v22, 0x1
move/from16 v6, v20
move-object/from16 v20, v7
move/from16 v7, v19
move/from16 v23, v8
move/from16 v8, v21
invoke-virtual/range {v1 .. v8}, Lp3/d;->a(Landroid/view/View;Lp3/c;ZIIII)V
goto :goto_1dc
:cond_171
move-object/from16 v20, v7
move/from16 v23, v8
const/16 v22, 0x1
iget-object v1, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-virtual/range {v20 .. v20}, Landroid/view/View;->getMeasuredWidth()I
move-result v2
sub-int v5, v19, v2
invoke-static {v14}, Ljava/lang/Math;->round(F)I
move-result v6
invoke-static {v14}, Ljava/lang/Math;->round(F)I
move-result v2
invoke-virtual/range {v20 .. v20}, Landroid/view/View;->getMeasuredHeight()I
move-result v3
add-int v8, v2, v3
move-object/from16 v2, v20
move-object/from16 v3, p1
move/from16 v7, v19
invoke-virtual/range {v1 .. v8}, Lp3/d;->a(Landroid/view/View;Lp3/c;ZIIII)V
goto :goto_1dc
:cond_197
move-object/from16 v20, v7
move/from16 v23, v8
const/16 v22, 0x1
iget-boolean v1, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->g:Z
if-eqz v1, :cond_1bf
iget-object v1, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-static/range {v18 .. v18}, Ljava/lang/Math;->round(F)I
move-result v2
invoke-virtual/range {v20 .. v20}, Landroid/view/View;->getMeasuredHeight()I
move-result v3
sub-int v6, v2, v3
invoke-virtual/range {v20 .. v20}, Landroid/view/View;->getMeasuredWidth()I
move-result v2
add-int v7, v5, v2
invoke-static/range {v18 .. v18}, Ljava/lang/Math;->round(F)I
move-result v8
move-object/from16 v2, v20
move-object/from16 v3, p1
invoke-virtual/range {v1 .. v8}, Lp3/d;->a(Landroid/view/View;Lp3/c;ZIIII)V
goto :goto_1dc
:cond_1bf
iget-object v1, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-static {v14}, Ljava/lang/Math;->round(F)I
move-result v6
invoke-virtual/range {v20 .. v20}, Landroid/view/View;->getMeasuredWidth()I
move-result v2
add-int v7, v5, v2
invoke-static {v14}, Ljava/lang/Math;->round(F)I
move-result v2
invoke-virtual/range {v20 .. v20}, Landroid/view/View;->getMeasuredHeight()I
move-result v3
add-int v8, v2, v3
move-object/from16 v2, v20
move-object/from16 v3, p1
invoke-virtual/range {v1 .. v8}, Lp3/d;->a(Landroid/view/View;Lp3/c;ZIIII)V
:goto_1dc
invoke-virtual/range {v20 .. v20}, Landroid/view/View;->getMeasuredHeight()I
move-result v1
iget v2, v13, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
add-int/2addr v1, v2
move-object/from16 v2, v20
invoke-virtual {v0, v2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getBottomDecorationHeight(Landroid/view/View;)I
move-result v3
add-int/2addr v1, v3
int-to-float v1, v1
add-float v1, v1, v17
add-float/2addr v14, v1
invoke-virtual {v2}, Landroid/view/View;->getMeasuredHeight()I
move-result v1
iget v3, v13, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
add-int/2addr v1, v3
invoke-virtual {v0, v2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getTopDecorationHeight(Landroid/view/View;)I
move-result v2
add-int/2addr v1, v2
int-to-float v1, v1
add-float v1, v1, v17
sub-float v18, v18, v1
move v1, v14
move/from16 v3, v16
move/from16 v2, v18
:goto_204
add-int/lit8 v8, v23, 0x1
move/from16 v14, v17
const/4 v13, 0x1
goto/16 :goto_d0
:cond_20b
invoke-static/range {p2 .. p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v1
iget-object v2, v0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->i(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v2
add-int/2addr v1, v2
move-object/from16 v2, p2
invoke-static {v2, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
invoke-virtual/range {p1 .. p1}, Lp3/c;->a()I
move-result v1
return v1
.end method
.method public final c(I)Landroid/view/View;
.registers 5
const/4 v0, 0x0
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v1
invoke-virtual {p0, v0, v1, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->c(III)Landroid/view/View;
move-result-object p1
const/4 v0, 0x0
if-nez p1, :cond_d
return-object v0
:cond_d
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I
move-result v1
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v2, v2, Lp3/d;->c:[I
aget v1, v2, v1
const/4 v2, -0x1
if-ne v1, v2, :cond_1b
return-object v0
:cond_1b
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lp3/c;
invoke-virtual {p0, p1, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(Landroid/view/View;Lp3/c;)Landroid/view/View;
move-result-object p1
return-object p1
.end method
.method public final c(III)Landroid/view/View;
.registers 11
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->c()V
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->ensureLayoutState()V
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0}, Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I
move-result v0
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v1}, Landroidx/recyclerview/widget/OrientationHelper;->getEndAfterPadding()I
move-result v1
if-le p2, p1, :cond_16
const/4 v2, 0x1
goto :goto_17
:cond_16
const/4 v2, -0x1
:goto_17
const/4 v3, 0x0
move-object v4, v3
:goto_19
if-eq p1, p2, :cond_4e
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
move-result-object v5
invoke-virtual {p0, v5}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I
move-result v6
if-ltz v6, :cond_4c
if-ge v6, p3, :cond_4c
invoke-virtual {v5}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v6
check-cast v6, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
invoke-virtual {v6}, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->isItemRemoved()Z
move-result v6
if-eqz v6, :cond_37
if-nez v4, :cond_4c
move-object v4, v5
goto :goto_4c
:cond_37
iget-object v6, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v6, v5}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result v6
if-lt v6, v0, :cond_49
iget-object v6, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v6, v5}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result v6
if-le v6, v1, :cond_48
goto :goto_49
:cond_48
return-object v5
:cond_49
:goto_49
if-nez v3, :cond_4c
move-object v3, v5
:cond_4c
:goto_4c
add-int/2addr p1, v2
goto :goto_19
:cond_4e
if-eqz v3, :cond_51
goto :goto_52
:cond_51
move-object v3, v4
:goto_52
return-object v3
.end method
.method public final c()V
.registers 2
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
if-eqz v0, :cond_5
return-void
:cond_5
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
if-eqz v0, :cond_29
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->b:I
if-nez v0, :cond_1c
invoke-static {p0}, Landroidx/recyclerview/widget/OrientationHelper;->createHorizontalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper;
move-result-object v0
iput-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-static {p0}, Landroidx/recyclerview/widget/OrientationHelper;->createVerticalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper;
move-result-object v0
iput-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->o:Landroidx/recyclerview/widget/OrientationHelper;
goto :goto_46
:cond_1c
invoke-static {p0}, Landroidx/recyclerview/widget/OrientationHelper;->createVerticalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper;
move-result-object v0
iput-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-static {p0}, Landroidx/recyclerview/widget/OrientationHelper;->createHorizontalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper;
move-result-object v0
iput-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->o:Landroidx/recyclerview/widget/OrientationHelper;
goto :goto_46
:cond_29
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->b:I
if-nez v0, :cond_3a
invoke-static {p0}, Landroidx/recyclerview/widget/OrientationHelper;->createVerticalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper;
move-result-object v0
iput-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-static {p0}, Landroidx/recyclerview/widget/OrientationHelper;->createHorizontalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper;
move-result-object v0
iput-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->o:Landroidx/recyclerview/widget/OrientationHelper;
goto :goto_46
:cond_3a
invoke-static {p0}, Landroidx/recyclerview/widget/OrientationHelper;->createHorizontalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper;
move-result-object v0
iput-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-static {p0}, Landroidx/recyclerview/widget/OrientationHelper;->createVerticalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper;
move-result-object v0
iput-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->o:Landroidx/recyclerview/widget/OrientationHelper;
:goto_46
return-void
.end method
.method public final c(Landroidx/recyclerview/widget/RecyclerView$Recycler;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)V
.registers 11
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v0
if-gez v0, :cond_7
return-void
:cond_7
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v0
if-nez v0, :cond_e
return-void
:cond_e
const/4 v1, 0x0
invoke-virtual {p0, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
move-result-object v2
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v3, v3, Lp3/d;->c:[I
invoke-virtual {p0, v2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I
move-result v2
aget v2, v3, v2
const/4 v3, -0x1
if-ne v2, v3, :cond_21
return-void
:cond_21
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v4, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v4
check-cast v4, Lp3/c;
const/4 v5, 0x0
:goto_2a
if-ge v5, v0, :cond_60
invoke-virtual {p0, v5}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
move-result-object v6
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v7
invoke-virtual {p0, v6, v7}, Lcom/google/android/flexbox/FlexboxLayoutManager;->b(Landroid/view/View;I)Z
move-result v7
if-eqz v7, :cond_60
iget v7, v4, Lp3/c;->p:I
invoke-virtual {p0, v6}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I
move-result v6
if-ne v7, v6, :cond_5d
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v3}, Ljava/util/List;->size()I
move-result v3
add-int/lit8 v3, v3, -0x1
if-lt v2, v3, :cond_4e
move v3, v5
goto :goto_60
:cond_4e
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->i(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v3
add-int/2addr v2, v3
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lp3/c;
move-object v4, v3
move v3, v5
:cond_5d
add-int/lit8 v5, v5, 0x1
goto :goto_2a
:cond_60
:goto_60
invoke-virtual {p0, p1, v1, v3}, Lcom/google/android/flexbox/FlexboxLayoutManager;->recycleChildren(Landroidx/recyclerview/widget/RecyclerView$Recycler;II)V
return-void
.end method
.method public canScrollHorizontally()Z
.registers 4
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->b:I
if-nez v0, :cond_9
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
return v0
:cond_9
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_20
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getWidth()I
move-result v0
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->x:Landroid/view/View;
if-eqz v2, :cond_1d
invoke-virtual {v2}, Landroid/view/View;->getWidth()I
move-result v2
goto :goto_1e
:cond_1d
const/4 v2, 0x0
:goto_1e
if-le v0, v2, :cond_21
:cond_20
const/4 v1, 0x1
:cond_21
return v1
.end method
.method public canScrollVertically()Z
.registers 5
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->b:I
const/4 v1, 0x1
if-nez v0, :cond_b
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
xor-int/2addr v0, v1
return v0
:cond_b
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
const/4 v2, 0x0
if-nez v0, :cond_24
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeight()I
move-result v0
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->x:Landroid/view/View;
if-eqz v3, :cond_1f
invoke-virtual {v3}, Landroid/view/View;->getHeight()I
move-result v3
goto :goto_20
:cond_1f
const/4 v3, 0x0
:goto_20
if-le v0, v3, :cond_23
goto :goto_24
:cond_23
const/4 v1, 0x0
:cond_24
:goto_24
return v1
.end method
.method public checkLayoutParams(Landroidx/recyclerview/widget/RecyclerView$LayoutParams;)Z
.registers 2
instance-of p1, p1, Lcom/google/android/flexbox/FlexboxLayoutManager$c;
return p1
.end method
.method public computeHorizontalScrollExtent(Landroidx/recyclerview/widget/RecyclerView$State;)I
.registers 2
invoke-virtual {p0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->computeScrollExtent(Landroidx/recyclerview/widget/RecyclerView$State;)I
move-result p1
return p1
.end method
.method public computeHorizontalScrollOffset(Landroidx/recyclerview/widget/RecyclerView$State;)I
.registers 2
invoke-virtual {p0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->computeScrollOffset(Landroidx/recyclerview/widget/RecyclerView$State;)I
move-result p1
return p1
.end method
.method public computeHorizontalScrollRange(Landroidx/recyclerview/widget/RecyclerView$State;)I
.registers 2
invoke-virtual {p0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->computeScrollRange(Landroidx/recyclerview/widget/RecyclerView$State;)I
move-result p1
return p1
.end method
.method public final computeScrollExtent(Landroidx/recyclerview/widget/RecyclerView$State;)I
.registers 5
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_8
return v1
:cond_8
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$State;->getItemCount()I
move-result v0
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->c()V
invoke-virtual {p0, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->c(I)Landroid/view/View;
move-result-object v2
invoke-virtual {p0, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->d(I)Landroid/view/View;
move-result-object v0
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$State;->getItemCount()I
move-result p1
if-eqz p1, :cond_3a
if-eqz v2, :cond_3a
if-nez v0, :cond_22
goto :goto_3a
:cond_22
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p1, v0}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result p1
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0, v2}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result v0
sub-int/2addr p1, v0
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0}, Landroidx/recyclerview/widget/OrientationHelper;->getTotalSpace()I
move-result v0
invoke-static {v0, p1}, Ljava/lang/Math;->min(II)I
move-result p1
return p1
:cond_3a
:goto_3a
return v1
.end method
.method public final computeScrollOffset(Landroidx/recyclerview/widget/RecyclerView$State;)I
.registers 8
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_8
return v1
:cond_8
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$State;->getItemCount()I
move-result v0
invoke-virtual {p0, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->c(I)Landroid/view/View;
move-result-object v2
invoke-virtual {p0, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->d(I)Landroid/view/View;
move-result-object v0
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$State;->getItemCount()I
move-result p1
if-eqz p1, :cond_63
if-eqz v2, :cond_63
if-nez v0, :cond_1f
goto :goto_63
:cond_1f
invoke-virtual {p0, v2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I
move-result p1
invoke-virtual {p0, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I
move-result v3
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v4, v0}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result v0
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v4, v2}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result v4
sub-int/2addr v0, v4
invoke-static {v0}, Ljava/lang/Math;->abs(I)I
move-result v0
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v4, v4, Lp3/d;->c:[I
aget p1, v4, p1
if-eqz p1, :cond_63
const/4 v5, -0x1
if-ne p1, v5, :cond_44
goto :goto_63
:cond_44
aget v1, v4, v3
sub-int/2addr v1, p1
add-int/lit8 v1, v1, 0x1
int-to-float v0, v0
int-to-float v1, v1
div-float/2addr v0, v1
int-to-float p1, p1
mul-float p1, p1, v0
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0}, Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I
move-result v0
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v1, v2}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result v1
sub-int/2addr v0, v1
int-to-float v0, v0
add-float/2addr p1, v0
invoke-static {p1}, Ljava/lang/Math;->round(F)I
move-result p1
return p1
:cond_63
:goto_63
return v1
.end method
.method public final computeScrollRange(Landroidx/recyclerview/widget/RecyclerView$State;)I
.registers 7
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_8
return v1
:cond_8
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$State;->getItemCount()I
move-result v0
invoke-virtual {p0, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->c(I)Landroid/view/View;
move-result-object v2
invoke-virtual {p0, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->d(I)Landroid/view/View;
move-result-object v0
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$State;->getItemCount()I
move-result v3
if-eqz v3, :cond_47
if-eqz v2, :cond_47
if-nez v0, :cond_1f
goto :goto_47
:cond_1f
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->findFirstVisibleItemPosition()I
move-result v1
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->findLastVisibleItemPosition()I
move-result v3
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v4, v0}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result v0
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v4, v2}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result v2
sub-int/2addr v0, v2
invoke-static {v0}, Ljava/lang/Math;->abs(I)I
move-result v0
sub-int/2addr v3, v1
add-int/lit8 v3, v3, 0x1
int-to-float v0, v0
int-to-float v1, v3
div-float/2addr v0, v1
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$State;->getItemCount()I
move-result p1
int-to-float p1, p1
mul-float v0, v0, p1
float-to-int p1, v0
return p1
:cond_47
:goto_47
return v1
.end method
.method public computeScrollVectorForPosition(I)Landroid/graphics/PointF;
.registers 4
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v0
if-nez v0, :cond_8
const/4 p1, 0x0
return-object p1
:cond_8
const/4 v0, 0x0
invoke-virtual {p0, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
move-result-object v0
invoke-virtual {p0, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I
move-result v0
if-ge p1, v0, :cond_15
const/4 p1, -0x1
goto :goto_16
:cond_15
const/4 p1, 0x1
:goto_16
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_24
new-instance v0, Landroid/graphics/PointF;
int-to-float p1, p1
invoke-direct {v0, v1, p1}, Landroid/graphics/PointF;-><init>(FF)V
return-object v0
:cond_24
new-instance v0, Landroid/graphics/PointF;
int-to-float p1, p1
invoke-direct {v0, p1, v1}, Landroid/graphics/PointF;-><init>(FF)V
return-object v0
.end method
.method public computeVerticalScrollExtent(Landroidx/recyclerview/widget/RecyclerView$State;)I
.registers 2
invoke-virtual {p0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->computeScrollExtent(Landroidx/recyclerview/widget/RecyclerView$State;)I
move-result p1
return p1
.end method
.method public computeVerticalScrollOffset(Landroidx/recyclerview/widget/RecyclerView$State;)I
.registers 2
invoke-virtual {p0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->computeScrollOffset(Landroidx/recyclerview/widget/RecyclerView$State;)I
move-result p1
return p1
.end method
.method public computeVerticalScrollRange(Landroidx/recyclerview/widget/RecyclerView$State;)I
.registers 2
invoke-virtual {p0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->computeScrollRange(Landroidx/recyclerview/widget/RecyclerView$State;)I
move-result p1
return p1
.end method
.method public final d(Landroid/view/View;)I
.registers 3
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
check-cast v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getDecoratedRight(Landroid/view/View;)I
move-result p1
iget v0, v0, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
add-int/2addr p1, v0
return p1
.end method
.method public final d(I)Landroid/view/View;
.registers 4
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v0
add-int/lit8 v0, v0, -0x1
const/4 v1, -0x1
invoke-virtual {p0, v0, v1, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->c(III)Landroid/view/View;
move-result-object p1
if-nez p1, :cond_f
const/4 p1, 0x0
return-object p1
:cond_f
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I
move-result v0
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v1, v1, Lp3/d;->c:[I
aget v0, v1, v0
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lp3/c;
invoke-virtual {p0, p1, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->b(Landroid/view/View;Lp3/c;)Landroid/view/View;
move-result-object p1
return-object p1
.end method
.method public final d()V
.registers 4
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
if-eqz v0, :cond_b
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeightMode()I
move-result v0
goto :goto_f
:cond_b
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getWidthMode()I
move-result v0
:goto_f
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
if-eqz v0, :cond_1a
const/high16 v2, -0x80000000
if-ne v0, v2, :cond_18
goto :goto_1a
:cond_18
const/4 v0, 0x0
goto :goto_1b
:cond_1a
:goto_1a
const/4 v0, 0x1
:goto_1b
invoke-static {v1, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;Z)Z
return-void
.end method
.method public final e(I)I
.registers 7
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_79
if-nez p1, :cond_b
goto/16 :goto_79
:cond_b
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->c()V
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->x:Landroid/view/View;
if-eqz v0, :cond_1b
invoke-virtual {v2}, Landroid/view/View;->getWidth()I
move-result v2
goto :goto_1f
:cond_1b
invoke-virtual {v2}, Landroid/view/View;->getHeight()I
move-result v2
:goto_1f
if-eqz v0, :cond_26
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getWidth()I
move-result v0
goto :goto_2a
:cond_26
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeight()I
move-result v0
:goto_2a
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getLayoutDirection()I
move-result v3
const/4 v4, 0x1
if-ne v3, v4, :cond_32
const/4 v1, 0x1
:cond_32
if-eqz v1, :cond_58
invoke-static {p1}, Ljava/lang/Math;->abs(I)I
move-result v1
if-gez p1, :cond_47
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result p1
add-int/2addr v0, p1
sub-int/2addr v0, v2
invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I
move-result p1
goto :goto_56
:cond_47
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v0
add-int/2addr v0, p1
if-lez v0, :cond_78
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result p1
:goto_56
neg-int p1, p1
goto :goto_78
:cond_58
if-lez p1, :cond_67
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v1
sub-int/2addr v0, v1
sub-int/2addr v0, v2
invoke-static {v0, p1}, Ljava/lang/Math;->min(II)I
move-result p1
goto :goto_78
:cond_67
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v0
add-int/2addr v0, p1
if-ltz v0, :cond_71
goto :goto_78
:cond_71
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result p1
goto :goto_56
:cond_78
:goto_78
return p1
:cond_79
:goto_79
return v1
.end method
.method public final e(Landroid/view/View;)I
.registers 3
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
check-cast v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getDecoratedTop(Landroid/view/View;)I
move-result p1
iget v0, v0, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
sub-int/2addr p1, v0
return p1
.end method
.method public final e()V
.registers 7
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getLayoutDirection()I
move-result v0
iget v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->a:I
const/4 v2, 0x2
const/4 v3, 0x0
const/4 v4, 0x1
if-eqz v1, :cond_47
if-eq v1, v4, :cond_38
if-eq v1, v2, :cond_27
const/4 v5, 0x3
if-eq v1, v5, :cond_17
iput-boolean v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
iput-boolean v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->g:Z
goto :goto_55
:cond_17
if-ne v0, v4, :cond_1a
const/4 v3, 0x1
:cond_1a
iput-boolean v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->b:I
if-ne v0, v2, :cond_24
xor-int/lit8 v0, v3, 0x1
iput-boolean v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
:cond_24
iput-boolean v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->g:Z
goto :goto_55
:cond_27
if-ne v0, v4, :cond_2b
const/4 v0, 0x1
goto :goto_2c
:cond_2b
const/4 v0, 0x0
:goto_2c
iput-boolean v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
iget v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->b:I
if-ne v1, v2, :cond_35
xor-int/2addr v0, v4
iput-boolean v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
:cond_35
iput-boolean v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->g:Z
goto :goto_55
:cond_38
if-eq v0, v4, :cond_3c
const/4 v0, 0x1
goto :goto_3d
:cond_3c
const/4 v0, 0x0
:goto_3d
iput-boolean v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->b:I
if-ne v0, v2, :cond_44
const/4 v3, 0x1
:cond_44
iput-boolean v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->g:Z
goto :goto_55
:cond_47
if-ne v0, v4, :cond_4b
const/4 v0, 0x1
goto :goto_4c
:cond_4b
const/4 v0, 0x0
:goto_4c
iput-boolean v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->b:I
if-ne v0, v2, :cond_53
const/4 v3, 0x1
:cond_53
iput-boolean v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->g:Z
:goto_55
return-void
.end method
.method public final ensureLayoutState()V
.registers 3
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
if-nez v0, :cond_c
new-instance v0, Lcom/google/android/flexbox/FlexboxLayoutManager$d;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;-><init>(Lcom/google/android/flexbox/FlexboxLayoutManager$a;)V
iput-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
:cond_c
return-void
.end method
.method public f(I)V
.registers 4
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->d:I
if-eq v0, p1, :cond_14
const/4 v1, 0x4
if-eq v0, v1, :cond_9
if-ne p1, v1, :cond_f
:cond_9
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->removeAllViews()V
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->b()V
:cond_f
iput p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->d:I
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->requestLayout()V
:cond_14
return-void
.end method
.method public findFirstVisibleItemPosition()I
.registers 3
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v0
const/4 v1, 0x0
invoke-virtual {p0, v1, v0, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(IIZ)Landroid/view/View;
move-result-object v0
if-nez v0, :cond_d
const/4 v0, -0x1
goto :goto_11
:cond_d
invoke-virtual {p0, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I
move-result v0
:goto_11
return v0
.end method
.method public findLastVisibleItemPosition()I
.registers 4
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v0
add-int/lit8 v0, v0, -0x1
const/4 v1, -0x1
const/4 v2, 0x0
invoke-virtual {p0, v0, v1, v2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(IIZ)Landroid/view/View;
move-result-object v0
if-nez v0, :cond_f
goto :goto_13
:cond_f
invoke-virtual {p0, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I
move-result v1
:goto_13
return v1
.end method
.method public final fixLayoutEndGap(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Z)I
.registers 7
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_d
iget-boolean v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
if-eqz v0, :cond_d
const/4 v0, 0x1
goto :goto_e
:cond_d
const/4 v0, 0x0
:goto_e
if-eqz v0, :cond_20
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0}, Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I
move-result v0
sub-int v0, p1, v0
if-lez v0, :cond_1f
invoke-virtual {p0, v0, p2, p3}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
move-result p2
goto :goto_2f
:cond_1f
return v1
:cond_20
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0}, Landroidx/recyclerview/widget/OrientationHelper;->getEndAfterPadding()I
move-result v0
sub-int/2addr v0, p1
if-lez v0, :cond_43
neg-int v0, v0
invoke-virtual {p0, v0, p2, p3}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
move-result p2
neg-int p2, p2
:goto_2f
add-int/2addr p1, p2
if-eqz p4, :cond_42
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p3}, Landroidx/recyclerview/widget/OrientationHelper;->getEndAfterPadding()I
move-result p3
sub-int/2addr p3, p1
if-lez p3, :cond_42
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p1, p3}, Landroidx/recyclerview/widget/OrientationHelper;->offsetChildren(I)V
add-int/2addr p3, p2
return p3
:cond_42
return p2
:cond_43
return v1
.end method
.method public final fixLayoutStartGap(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Z)I
.registers 7
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_1b
iget-boolean v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
if-eqz v0, :cond_1b
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0}, Landroidx/recyclerview/widget/OrientationHelper;->getEndAfterPadding()I
move-result v0
sub-int/2addr v0, p1
if-lez v0, :cond_1a
neg-int v0, v0
invoke-virtual {p0, v0, p2, p3}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
move-result p2
goto :goto_2a
:cond_1a
return v1
:cond_1b
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0}, Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I
move-result v0
sub-int v0, p1, v0
if-lez v0, :cond_3e
invoke-virtual {p0, v0, p2, p3}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
move-result p2
neg-int p2, p2
:goto_2a
add-int/2addr p1, p2
if-eqz p4, :cond_3d
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p3}, Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I
move-result p3
sub-int/2addr p1, p3
if-lez p1, :cond_3d
iget-object p3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
neg-int p4, p1
invoke-virtual {p3, p4}, Landroidx/recyclerview/widget/OrientationHelper;->offsetChildren(I)V
sub-int/2addr p2, p1
:cond_3d
return p2
:cond_3e
return v1
.end method
.method public g(I)V
.registers 3
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->a:I
if-eq v0, p1, :cond_14
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->removeAllViews()V
iput p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->a:I
const/4 p1, 0x0
iput-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
iput-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->o:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->b()V
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->requestLayout()V
:cond_14
return-void
.end method
.method public generateDefaultLayoutParams()Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
.registers 3
new-instance v0, Lcom/google/android/flexbox/FlexboxLayoutManager$c;
const/4 v1, -0x2
invoke-direct {v0, v1, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$c;-><init>(II)V
return-object v0
.end method
.method public generateLayoutParams(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
.registers 4
new-instance v0, Lcom/google/android/flexbox/FlexboxLayoutManager$c;
invoke-direct {v0, p1, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$c;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method public getAlignContent()I
.registers 2
const/4 v0, 0x5
return v0
.end method
.method public getAlignItems()I
.registers 2
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->d:I
return v0
.end method
.method public final getChildClosestToStart()Landroid/view/View;
.registers 2
const/4 v0, 0x0
invoke-virtual {p0, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
move-result-object v0
return-object v0
.end method
.method public getFlexDirection()I
.registers 2
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->a:I
return v0
.end method
.method public getFlexItemCount()I
.registers 2
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->k:Landroidx/recyclerview/widget/RecyclerView$State;
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$State;->getItemCount()I
move-result v0
return v0
.end method
.method public getFlexLinesInternal()Ljava/util/List;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lp3/c;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
return-object v0
.end method
.method public getFlexWrap()I
.registers 2
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->b:I
return v0
.end method
.method public getLargestMainSize()I
.registers 5
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_a
return v1
:cond_a
const/high16 v0, -0x80000000
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v2}, Ljava/util/List;->size()I
move-result v2
:goto_12
if-ge v1, v2, :cond_25
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lp3/c;
iget v3, v3, Lp3/c;->e:I
invoke-static {v0, v3}, Ljava/lang/Math;->max(II)I
move-result v0
add-int/lit8 v1, v1, 0x1
goto :goto_12
:cond_25
return v0
.end method
.method public getMaxLine()I
.registers 2
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->e:I
return v0
.end method
.method public getSumOfCrossSize()I
.registers 5
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x0
const/4 v2, 0x0
:goto_8
if-ge v1, v0, :cond_18
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lp3/c;
iget v3, v3, Lp3/c;->g:I
add-int/2addr v2, v3
add-int/lit8 v1, v1, 0x1
goto :goto_8
:cond_18
return v2
.end method
.method public h(I)V
.registers 3
const/4 v0, 0x2
if-eq p1, v0, :cond_1c
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->b:I
if-eq v0, p1, :cond_1b
if-eqz v0, :cond_b
if-nez p1, :cond_11
:cond_b
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->removeAllViews()V
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->b()V
:cond_11
iput p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->b:I
const/4 p1, 0x0
iput-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
iput-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->o:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->requestLayout()V
:cond_1b
return-void
:cond_1c
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "wrap_reverse is not supported in FlexboxLayoutManager"
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public final i(I)V
.registers 4
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->findLastVisibleItemPosition()I
move-result v0
if-lt p1, v0, :cond_7
return-void
:cond_7
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v0
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-virtual {v1, v0}, Lp3/d;->d(I)V
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-virtual {v1, v0}, Lp3/d;->e(I)V
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-virtual {v1, v0}, Lp3/d;->c(I)V
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v0, v0, Lp3/d;->c:[I
array-length v0, v0
if-lt p1, v0, :cond_22
return-void
:cond_22
iput p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->y:I
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->getChildClosestToStart()Landroid/view/View;
move-result-object p1
if-nez p1, :cond_2b
return-void
:cond_2b
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I
move-result v0
iput v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->q:I
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
if-nez v0, :cond_4b
iget-boolean v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->f:Z
if-eqz v0, :cond_4b
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I
move-result p1
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0}, Landroidx/recyclerview/widget/OrientationHelper;->getEndPadding()I
move-result v0
add-int/2addr p1, v0
iput p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->r:I
goto :goto_5a
:cond_4b
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0, p1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result p1
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v0}, Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I
move-result v0
sub-int/2addr p1, v0
iput p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->r:I
:goto_5a
return-void
.end method
.method public final j(I)V
.registers 13
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getWidth()I
move-result v0
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getWidthMode()I
move-result v1
invoke-static {v0, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v0
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeight()I
move-result v1
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeightMode()I
move-result v2
invoke-static {v1, v2}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v1
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getWidth()I
move-result v2
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeight()I
move-result v3
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v4
const/4 v5, 0x1
const/4 v6, 0x0
const/high16 v7, -0x80000000
if-eqz v4, :cond_4e
iget v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->s:I
if-eq v4, v7, :cond_31
if-eq v4, v2, :cond_31
goto :goto_32
:cond_31
const/4 v5, 0x0
:goto_32
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v4}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)Z
move-result v4
if-eqz v4, :cond_47
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->w:Landroid/content/Context;
invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
move-result-object v4
invoke-virtual {v4}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;
move-result-object v4
iget v4, v4, Landroid/util/DisplayMetrics;->heightPixels:I
goto :goto_71
:cond_47
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v4}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v4
goto :goto_71
:cond_4e
iget v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->t:I
if-eq v4, v7, :cond_55
if-eq v4, v3, :cond_55
goto :goto_56
:cond_55
const/4 v5, 0x0
:goto_56
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v4}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)Z
move-result v4
if-eqz v4, :cond_6b
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->w:Landroid/content/Context;
invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
move-result-object v4
invoke-virtual {v4}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;
move-result-object v4
iget v4, v4, Landroid/util/DisplayMetrics;->widthPixels:I
goto :goto_71
:cond_6b
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v4}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v4
:goto_71
move v6, v4
iput v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->s:I
iput v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->t:I
iget v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->y:I
const/4 v3, -0x1
if-ne v2, v3, :cond_e9
iget v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->q:I
if-ne v2, v3, :cond_81
if-eqz v5, :cond_e9
:cond_81
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)Z
move-result p1
if-eqz p1, :cond_8a
return-void
:cond_8a
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {p1}, Ljava/util/List;->clear()V
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->z:Lp3/d$b;
invoke-virtual {p1}, Lp3/d$b;->a()V
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result p1
if-eqz p1, :cond_ac
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->z:Lp3/d$b;
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v7
iget-object v8, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
move v4, v0
move v5, v1
invoke-virtual/range {v2 .. v8}, Lp3/d;->b(Lp3/d$b;IIIILjava/util/List;)V
goto :goto_bd
:cond_ac
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->z:Lp3/d$b;
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v7
iget-object v8, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
move v4, v0
move v5, v1
invoke-virtual/range {v2 .. v8}, Lp3/d;->d(Lp3/d$b;IIIILjava/util/List;)V
:goto_bd
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->z:Lp3/d$b;
iget-object p1, p1, Lp3/d$b;->a:Ljava/util/List;
iput-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-virtual {p1, v0, v1}, Lp3/d;->a(II)V
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-virtual {p1}, Lp3/d;->a()V
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v0, v0, Lp3/d;->c:[I
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v1
aget v0, v0, v1
invoke-static {p1, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$b;I)I
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v0
invoke-static {p1, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$d;I)I
goto/16 :goto_181
:cond_e9
iget v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->y:I
if-eq v2, v3, :cond_f8
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {v3}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v3
invoke-static {v2, v3}, Ljava/lang/Math;->min(II)I
move-result v2
goto :goto_fe
:cond_f8
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {v2}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v2
:goto_fe
move v10, v2
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->z:Lp3/d$b;
invoke-virtual {v2}, Lp3/d$b;->a()V
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v2
if-eqz v2, :cond_13e
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v2}, Ljava/util/List;->size()I
move-result v2
if-lez v2, :cond_12c
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-virtual {p1, v2, v10}, Lp3/d;->a(Ljava/util/List;I)V
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->z:Lp3/d$b;
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v8
iget-object v9, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
move v4, v0
move v5, v1
move v7, v10
invoke-virtual/range {v2 .. v9}, Lp3/d;->a(Lp3/d$b;IIIIILjava/util/List;)V
goto :goto_171
:cond_12c
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-virtual {v2, p1}, Lp3/d;->c(I)V
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->z:Lp3/d$b;
const/4 v7, 0x0
iget-object v8, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
move v4, v0
move v5, v1
invoke-virtual/range {v2 .. v8}, Lp3/d;->a(Lp3/d$b;IIIILjava/util/List;)V
goto :goto_171
:cond_13e
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-interface {v2}, Ljava/util/List;->size()I
move-result v2
if-lez v2, :cond_160
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
invoke-virtual {p1, v2, v10}, Lp3/d;->a(Ljava/util/List;I)V
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->z:Lp3/d$b;
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result v8
iget-object v9, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
move v4, v1
move v5, v0
move v7, v10
invoke-virtual/range {v2 .. v9}, Lp3/d;->a(Lp3/d$b;IIIIILjava/util/List;)V
goto :goto_171
:cond_160
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-virtual {v2, p1}, Lp3/d;->c(I)V
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
iget-object v3, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->z:Lp3/d$b;
const/4 v7, 0x0
iget-object v8, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
move v4, v0
move v5, v1
invoke-virtual/range {v2 .. v8}, Lp3/d;->c(Lp3/d$b;IIIILjava/util/List;)V
:goto_171
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->z:Lp3/d$b;
iget-object p1, p1, Lp3/d$b;->a:Ljava/util/List;
iput-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-virtual {p1, v0, v1, v10}, Lp3/d;->b(III)V
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-virtual {p1, v10}, Lp3/d;->f(I)V
:goto_181
return-void
.end method
.method public onAdapterChanged(Landroidx/recyclerview/widget/RecyclerView$Adapter;Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
.registers 3
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->removeAllViews()V
return-void
.end method
.method public onAttachedToWindow(Landroidx/recyclerview/widget/RecyclerView;)V
.registers 2
invoke-super {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->onAttachedToWindow(Landroidx/recyclerview/widget/RecyclerView;)V
invoke-virtual {p1}, Landroid/view/ViewGroup;->getParent()Landroid/view/ViewParent;
move-result-object p1
check-cast p1, Landroid/view/View;
iput-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->x:Landroid/view/View;
return-void
.end method
.method public onDetachedFromWindow(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$Recycler;)V
.registers 3
invoke-super {p0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->onDetachedFromWindow(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$Recycler;)V
iget-boolean p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->u:Z
if-eqz p1, :cond_d
invoke-virtual {p0, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->removeAndRecycleAllViews(Landroidx/recyclerview/widget/RecyclerView$Recycler;)V
invoke-virtual {p2}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->clear()V
:cond_d
return-void
.end method
.method public onItemsAdded(Landroidx/recyclerview/widget/RecyclerView;II)V
.registers 4
.param p1 # Landroidx/recyclerview/widget/RecyclerView;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
invoke-super {p0, p1, p2, p3}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->onItemsAdded(Landroidx/recyclerview/widget/RecyclerView;II)V
invoke-virtual {p0, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->i(I)V
return-void
.end method
.method public onItemsMoved(Landroidx/recyclerview/widget/RecyclerView;III)V
.registers 5
.param p1 # Landroidx/recyclerview/widget/RecyclerView;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
invoke-super {p0, p1, p2, p3, p4}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->onItemsMoved(Landroidx/recyclerview/widget/RecyclerView;III)V
invoke-static {p2, p3}, Ljava/lang/Math;->min(II)I
move-result p1
invoke-virtual {p0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->i(I)V
return-void
.end method
.method public onItemsRemoved(Landroidx/recyclerview/widget/RecyclerView;II)V
.registers 4
.param p1 # Landroidx/recyclerview/widget/RecyclerView;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
invoke-super {p0, p1, p2, p3}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->onItemsRemoved(Landroidx/recyclerview/widget/RecyclerView;II)V
invoke-virtual {p0, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->i(I)V
return-void
.end method
.method public onItemsUpdated(Landroidx/recyclerview/widget/RecyclerView;II)V
.registers 4
.param p1 # Landroidx/recyclerview/widget/RecyclerView;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
invoke-super {p0, p1, p2, p3}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->onItemsUpdated(Landroidx/recyclerview/widget/RecyclerView;II)V
invoke-virtual {p0, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->i(I)V
return-void
.end method
.method public onItemsUpdated(Landroidx/recyclerview/widget/RecyclerView;IILjava/lang/Object;)V
.registers 5
.param p1 # Landroidx/recyclerview/widget/RecyclerView;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
invoke-super {p0, p1, p2, p3, p4}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->onItemsUpdated(Landroidx/recyclerview/widget/RecyclerView;IILjava/lang/Object;)V
invoke-virtual {p0, p2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->i(I)V
return-void
.end method
.method public onLayoutChildren(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)V
.registers 8
iput-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->j:Landroidx/recyclerview/widget/RecyclerView$Recycler;
iput-object p2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->k:Landroidx/recyclerview/widget/RecyclerView$State;
invoke-virtual {p2}, Landroidx/recyclerview/widget/RecyclerView$State;->getItemCount()I
move-result v0
if-nez v0, :cond_11
invoke-virtual {p2}, Landroidx/recyclerview/widget/RecyclerView$State;->isPreLayout()Z
move-result v1
if-eqz v1, :cond_11
return-void
:cond_11
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->e()V
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->c()V
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->ensureLayoutState()V
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-virtual {v1, v0}, Lp3/d;->d(I)V
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-virtual {v1, v0}, Lp3/d;->e(I)V
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->i:Lp3/d;
invoke-virtual {v1, v0}, Lp3/d;->c(I)V
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
const/4 v2, 0x0
invoke-static {v1, v2}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$d;Z)Z
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->p:Lcom/google/android/flexbox/FlexboxLayoutManager$e;
if-eqz v1, :cond_41
invoke-static {v1, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$e;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$e;I)Z
move-result v1
if-eqz v1, :cond_41
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->p:Lcom/google/android/flexbox/FlexboxLayoutManager$e;
invoke-static {v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$e;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$e;)I
move-result v1
iput v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->q:I
:cond_41
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->f(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)Z
move-result v1
const/4 v3, 0x1
if-eqz v1, :cond_53
iget v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->q:I
const/4 v4, -0x1
if-ne v1, v4, :cond_53
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->p:Lcom/google/android/flexbox/FlexboxLayoutManager$e;
if-eqz v1, :cond_62
:cond_53
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)V
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-virtual {p0, p2, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->b(Landroidx/recyclerview/widget/RecyclerView$State;Lcom/google/android/flexbox/FlexboxLayoutManager$b;)V
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {v1, v3}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$b;Z)Z
:cond_62
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->detachAndScrapAttachedViews(Landroidx/recyclerview/widget/RecyclerView$Recycler;)V
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)Z
move-result v1
if-eqz v1, :cond_73
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-virtual {p0, v1, v2, v3}, Lcom/google/android/flexbox/FlexboxLayoutManager;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$b;ZZ)V
goto :goto_78
:cond_73
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-virtual {p0, v1, v2, v3}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$b;ZZ)V
:goto_78
invoke-virtual {p0, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->j(I)V
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)Z
move-result v0
if-eqz v0, :cond_9f
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-virtual {p0, p1, p2, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v0
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-virtual {p0, v1, v3, v2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$b;ZZ)V
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-virtual {p0, p1, p2, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v1
goto :goto_ba
:cond_9f
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-virtual {p0, p1, p2, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v1
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-virtual {p0, v0, v3, v2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$b;ZZ)V
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-virtual {p0, p1, p2, v0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->l:Lcom/google/android/flexbox/FlexboxLayoutManager$d;
invoke-static {v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$d;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$d;)I
move-result v0
:goto_ba
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v4
if-lez v4, :cond_d9
iget-object v4, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {v4}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->h(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)Z
move-result v4
if-eqz v4, :cond_d1
invoke-virtual {p0, v1, p1, p2, v3}, Lcom/google/android/flexbox/FlexboxLayoutManager;->fixLayoutEndGap(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Z)I
move-result v1
add-int/2addr v0, v1
invoke-virtual {p0, v0, p1, p2, v2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->fixLayoutStartGap(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Z)I
goto :goto_d9
:cond_d1
invoke-virtual {p0, v0, p1, p2, v3}, Lcom/google/android/flexbox/FlexboxLayoutManager;->fixLayoutStartGap(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Z)I
move-result v0
add-int/2addr v1, v0
invoke-virtual {p0, v1, p1, p2, v2}, Lcom/google/android/flexbox/FlexboxLayoutManager;->fixLayoutEndGap(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Z)I
:cond_d9
:goto_d9
return-void
.end method
.method public onLayoutCompleted(Landroidx/recyclerview/widget/RecyclerView$State;)V
.registers 3
invoke-super {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->onLayoutCompleted(Landroidx/recyclerview/widget/RecyclerView$State;)V
const/4 p1, 0x0
iput-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->p:Lcom/google/android/flexbox/FlexboxLayoutManager$e;
const/4 p1, -0x1
iput p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->q:I
const/high16 v0, -0x80000000
iput v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->r:I
iput p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->y:I
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->g(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)V
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->v:Landroid/util/SparseArray;
invoke-virtual {p1}, Landroid/util/SparseArray;->clear()V
return-void
.end method
.method public onRestoreInstanceState(Landroid/os/Parcelable;)V
.registers 3
instance-of v0, p1, Lcom/google/android/flexbox/FlexboxLayoutManager$e;
if-eqz v0, :cond_b
check-cast p1, Lcom/google/android/flexbox/FlexboxLayoutManager$e;
iput-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->p:Lcom/google/android/flexbox/FlexboxLayoutManager$e;
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->requestLayout()V
:cond_b
return-void
.end method
.method public onSaveInstanceState()Landroid/os/Parcelable;
.registers 4
iget-object v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->p:Lcom/google/android/flexbox/FlexboxLayoutManager$e;
if-eqz v0, :cond_d
new-instance v0, Lcom/google/android/flexbox/FlexboxLayoutManager$e;
iget-object v1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->p:Lcom/google/android/flexbox/FlexboxLayoutManager$e;
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lcom/google/android/flexbox/FlexboxLayoutManager$e;-><init>(Lcom/google/android/flexbox/FlexboxLayoutManager$e;Lcom/google/android/flexbox/FlexboxLayoutManager$a;)V
return-object v0
:cond_d
new-instance v0, Lcom/google/android/flexbox/FlexboxLayoutManager$e;
invoke-direct {v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$e;-><init>()V
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
move-result v1
if-lez v1, :cond_34
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->getChildClosestToStart()Landroid/view/View;
move-result-object v1
invoke-virtual {p0, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I
move-result v2
invoke-static {v0, v2}, Lcom/google/android/flexbox/FlexboxLayoutManager$e;->a(Lcom/google/android/flexbox/FlexboxLayoutManager$e;I)I
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v2, v1}, Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I
move-result v1
iget-object v2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->n:Landroidx/recyclerview/widget/OrientationHelper;
invoke-virtual {v2}, Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I
move-result v2
sub-int/2addr v1, v2
invoke-static {v0, v1}, Lcom/google/android/flexbox/FlexboxLayoutManager$e;->b(Lcom/google/android/flexbox/FlexboxLayoutManager$e;I)I
goto :goto_37
:cond_34
invoke-static {v0}, Lcom/google/android/flexbox/FlexboxLayoutManager$e;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$e;)V
:goto_37
return-object v0
.end method
.method public final recycleChildren(Landroidx/recyclerview/widget/RecyclerView$Recycler;II)V
.registers 4
:goto_0
if-lt p3, p2, :cond_8
invoke-virtual {p0, p3, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->removeAndRecycleViewAt(ILandroidx/recyclerview/widget/RecyclerView$Recycler;)V
add-int/lit8 p3, p3, -0x1
goto :goto_0
:cond_8
return-void
.end method
.method public scrollHorizontallyBy(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
.registers 5
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
if-eqz v0, :cond_26
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->b:I
if-nez v0, :cond_11
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
if-eqz v0, :cond_11
goto :goto_26
:cond_11
invoke-virtual {p0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->e(I)I
move-result p1
iget-object p2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result p3
add-int/2addr p3, p1
invoke-static {p2, p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$b;I)I
iget-object p2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->o:Landroidx/recyclerview/widget/OrientationHelper;
neg-int p3, p1
invoke-virtual {p2, p3}, Landroidx/recyclerview/widget/OrientationHelper;->offsetChildren(I)V
return p1
:cond_26
:goto_26
invoke-virtual {p0, p1, p2, p3}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
move-result p1
iget-object p2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->v:Landroid/util/SparseArray;
invoke-virtual {p2}, Landroid/util/SparseArray;->clear()V
return p1
.end method
.method public scrollToPosition(I)V
.registers 2
iput p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->q:I
const/high16 p1, -0x80000000
iput p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->r:I
iget-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->p:Lcom/google/android/flexbox/FlexboxLayoutManager$e;
if-eqz p1, :cond_d
invoke-static {p1}, Lcom/google/android/flexbox/FlexboxLayoutManager$e;->c(Lcom/google/android/flexbox/FlexboxLayoutManager$e;)V
:cond_d
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->requestLayout()V
return-void
.end method
.method public scrollVerticallyBy(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
.registers 5
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
if-nez v0, :cond_26
iget v0, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->b:I
if-nez v0, :cond_11
invoke-virtual {p0}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a()Z
move-result v0
if-nez v0, :cond_11
goto :goto_26
:cond_11
invoke-virtual {p0, p1}, Lcom/google/android/flexbox/FlexboxLayoutManager;->e(I)I
move-result p1
iget-object p2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->m:Lcom/google/android/flexbox/FlexboxLayoutManager$b;
invoke-static {p2}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->e(Lcom/google/android/flexbox/FlexboxLayoutManager$b;)I
move-result p3
add-int/2addr p3, p1
invoke-static {p2, p3}, Lcom/google/android/flexbox/FlexboxLayoutManager$b;->d(Lcom/google/android/flexbox/FlexboxLayoutManager$b;I)I
iget-object p2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->o:Landroidx/recyclerview/widget/OrientationHelper;
neg-int p3, p1
invoke-virtual {p2, p3}, Landroidx/recyclerview/widget/OrientationHelper;->offsetChildren(I)V
return p1
:cond_26
:goto_26
invoke-virtual {p0, p1, p2, p3}, Lcom/google/android/flexbox/FlexboxLayoutManager;->a(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
move-result p1
iget-object p2, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->v:Landroid/util/SparseArray;
invoke-virtual {p2}, Landroid/util/SparseArray;->clear()V
return p1
.end method
.method public setFlexLines(Ljava/util/List;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Lp3/c;",
">;)V"
}
.end annotation
iput-object p1, p0, Lcom/google/android/flexbox/FlexboxLayoutManager;->h:Ljava/util/List;
return-void
.end method
.method public smoothScrollToPosition(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$State;I)V
.registers 4
new-instance p2, Landroidx/recyclerview/widget/LinearSmoothScroller;
invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
move-result-object p1
invoke-direct {p2, p1}, Landroidx/recyclerview/widget/LinearSmoothScroller;-><init>(Landroid/content/Context;)V
invoke-virtual {p2, p3}, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->setTargetPosition(I)V
invoke-virtual {p0, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->startSmoothScroll(Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;)V
return-void
.end method