FullyLinearLayoutManager.smali

.class public Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;
.super Landroidx/recyclerview/widget/LinearLayoutManager;
.source "FullyLinearLayoutManager.java"


# static fields
.field private static final CHILD_HEIGHT:I = 0x1

.field private static final CHILD_WIDTH:I = 0x0

.field private static final DEFAULT_CHILD_SIZE:I = 0x64

.field private static canMakeInsetsDirty:Z

.field private static insetsDirtyField:Ljava/lang/reflect/Field;


# instance fields
.field private final childDimensions:[I

.field private childSize:I

.field private hasChildSize:Z

.field private overScrollMode:I

.field private final tmpRect:Landroid/graphics/Rect;

.field private final view:Landroidx/recyclerview/widget/RecyclerView;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    .line 27
    const/4 v0, 0x1

    sput-boolean v0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->canMakeInsetsDirty:Z

    .line 28
    const/4 v0, 0x0

    sput-object v0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->insetsDirtyField:Ljava/lang/reflect/Field;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .registers 3
    .param p1, "context"    # Landroid/content/Context;

    .line 43
    invoke-direct {p0, p1}, Landroidx/recyclerview/widget/LinearLayoutManager;-><init>(Landroid/content/Context;)V

    .line 34
    const/4 v0, 0x2

    new-array v0, v0, [I

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childDimensions:[I

    .line 37
    const/16 v0, 0x64

    iput v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childSize:I

    .line 39
    const/4 v0, 0x0

    iput v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->overScrollMode:I

    .line 40
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->tmpRect:Landroid/graphics/Rect;

    .line 44
    const/4 v0, 0x0

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->view:Landroidx/recyclerview/widget/RecyclerView;

    .line 45
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;IZ)V
    .registers 5
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "orientation"    # I
    .param p3, "reverseLayout"    # Z

    .line 48
    invoke-direct {p0, p1, p2, p3}, Landroidx/recyclerview/widget/LinearLayoutManager;-><init>(Landroid/content/Context;IZ)V

    .line 34
    const/4 v0, 0x2

    new-array v0, v0, [I

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childDimensions:[I

    .line 37
    const/16 v0, 0x64

    iput v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childSize:I

    .line 39
    const/4 v0, 0x0

    iput v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->overScrollMode:I

    .line 40
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->tmpRect:Landroid/graphics/Rect;

    .line 49
    const/4 v0, 0x0

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->view:Landroidx/recyclerview/widget/RecyclerView;

    .line 50
    return-void
.end method

.method public constructor <init>(Landroidx/recyclerview/widget/RecyclerView;)V
    .registers 3
    .param p1, "view"    # Landroidx/recyclerview/widget/RecyclerView;

    .line 53
    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-direct {p0, v0}, Landroidx/recyclerview/widget/LinearLayoutManager;-><init>(Landroid/content/Context;)V

    .line 34
    const/4 v0, 0x2

    new-array v0, v0, [I

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childDimensions:[I

    .line 37
    const/16 v0, 0x64

    iput v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childSize:I

    .line 39
    const/4 v0, 0x0

    iput v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->overScrollMode:I

    .line 40
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->tmpRect:Landroid/graphics/Rect;

    .line 54
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->view:Landroidx/recyclerview/widget/RecyclerView;

    .line 55
    invoke-static {p1}, Landroidx/core/view/ViewCompat;->getOverScrollMode(Landroid/view/View;)I

    move-result v0

    iput v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->overScrollMode:I

    .line 56
    return-void
.end method

.method public constructor <init>(Landroidx/recyclerview/widget/RecyclerView;IZ)V
    .registers 5
    .param p1, "view"    # Landroidx/recyclerview/widget/RecyclerView;
    .param p2, "orientation"    # I
    .param p3, "reverseLayout"    # Z

    .line 59
    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-direct {p0, v0, p2, p3}, Landroidx/recyclerview/widget/LinearLayoutManager;-><init>(Landroid/content/Context;IZ)V

    .line 34
    const/4 v0, 0x2

    new-array v0, v0, [I

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childDimensions:[I

    .line 37
    const/16 v0, 0x64

    iput v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childSize:I

    .line 39
    const/4 v0, 0x0

    iput v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->overScrollMode:I

    .line 40
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->tmpRect:Landroid/graphics/Rect;

    .line 60
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->view:Landroidx/recyclerview/widget/RecyclerView;

    .line 61
    invoke-static {p1}, Landroidx/core/view/ViewCompat;->getOverScrollMode(Landroid/view/View;)I

    move-result v0

    iput v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->overScrollMode:I

    .line 62
    return-void
.end method

.method private initChildDimensions(IIZ)V
    .registers 8
    .param p1, "width"    # I
    .param p2, "height"    # I
    .param p3, "vertical"    # Z

    .line 188
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childDimensions:[I

    const/4 v1, 0x0

    aget v2, v0, v1

    if-nez v2, :cond_1d

    const/4 v2, 0x1

    aget v3, v0, v2

    if-eqz v3, :cond_d

    goto :goto_1d

    .line 192
    :cond_d
    if-eqz p3, :cond_16

    .line 193
    aput p1, v0, v1

    .line 194
    iget v1, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childSize:I

    aput v1, v0, v2

    goto :goto_1c

    .line 196
    :cond_16
    iget v3, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childSize:I

    aput v3, v0, v1

    .line 197
    aput p2, v0, v2

    .line 199
    :goto_1c
    return-void

    .line 190
    :cond_1d
    :goto_1d
    return-void
.end method

.method private logMeasureWarning(I)V
    .registers 5
    .param p1, "child"    # I

    .line 183
    const/4 v0, 0x1

    new-array v0, v0, [Ljava/lang/Object;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Can\'t measure child #"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v2, ", previously used dimensions will be reused.To remove this message either use #setChildSize() method or don\'t run RecyclerView animations"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    aput-object v1, v0, v2

    const-string v1, "LinearLayoutManager"

    invoke-static {v1, v0}, Lcom/blankj/utilcode/util/LogUtils;->dTag(Ljava/lang/String;[Ljava/lang/Object;)V

    .line 185
    return-void
.end method

.method private static makeInsetsDirty(Landroidx/recyclerview/widget/RecyclerView$LayoutParams;)V
    .registers 4
    .param p0, "p"    # Landroidx/recyclerview/widget/RecyclerView$LayoutParams;

    .line 266
    sget-boolean v0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->canMakeInsetsDirty:Z

    if-nez v0, :cond_5

    .line 267
    return-void

    .line 270
    :cond_5
    :try_start_5
    sget-object v0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->insetsDirtyField:Ljava/lang/reflect/Field;

    const/4 v1, 0x1

    if-nez v0, :cond_17

    .line 271
    const-class v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;

    const-string v2, "mInsetsDirty"

    invoke-virtual {v0, v2}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v0

    sput-object v0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->insetsDirtyField:Ljava/lang/reflect/Field;

    .line 272
    invoke-virtual {v0, v1}, Ljava/lang/reflect/Field;->setAccessible(Z)V

    .line 274
    :cond_17
    sget-object v0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->insetsDirtyField:Ljava/lang/reflect/Field;

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-virtual {v0, p0, v1}, Ljava/lang/reflect/Field;->set(Ljava/lang/Object;Ljava/lang/Object;)V
    :try_end_20
    .catch Ljava/lang/NoSuchFieldException; {:try_start_5 .. :try_end_20} :catch_26
    .catch Ljava/lang/IllegalAccessException; {:try_start_5 .. :try_end_20} :catch_21

    goto :goto_2a

    .line 277
    :catch_21
    move-exception v0

    .line 278
    .local v0, "e":Ljava/lang/IllegalAccessException;
    invoke-static {}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->onMakeInsertDirtyFailed()V

    goto :goto_2b

    .line 275
    .end local v0    # "e":Ljava/lang/IllegalAccessException;
    :catch_26
    move-exception v0

    .line 276
    .local v0, "e":Ljava/lang/NoSuchFieldException;
    invoke-static {}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->onMakeInsertDirtyFailed()V

    .line 279
    .end local v0    # "e":Ljava/lang/NoSuchFieldException;
    :goto_2a
    nop

    .line 280
    :goto_2b
    return-void
.end method

.method public static makeUnspecifiedSpec()I
    .registers 1

    .line 73
    const/4 v0, 0x0

    invoke-static {v0, v0}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v0

    return v0
.end method

.method private measureChild(Landroidx/recyclerview/widget/RecyclerView$Recycler;III[I)V
    .registers 22
    .param p1, "recycler"    # Landroidx/recyclerview/widget/RecyclerView$Recycler;
    .param p2, "position"    # I
    .param p3, "widthSize"    # I
    .param p4, "heightSize"    # I
    .param p5, "dimensions"    # [I

    move-object/from16 v1, p0

    .line 230
    const/4 v2, 0x0

    :try_start_3
    invoke-virtual/range {p1 .. p2}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->getViewForPosition(I)Landroid/view/View;

    move-result-object v0
    :try_end_7
    .catch Ljava/lang/IndexOutOfBoundsException; {:try_start_3 .. :try_end_7} :catch_87

    .line 234
    .local v0, "child":Landroid/view/View;
    nop

    .line 236
    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v4

    check-cast v4, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;

    .line 238
    .local v4, "p":Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getPaddingLeft()I

    move-result v5

    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getPaddingRight()I

    move-result v6

    add-int/2addr v5, v6

    .line 239
    .local v5, "hPadding":I
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getPaddingTop()I

    move-result v6

    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getPaddingBottom()I

    move-result v7

    add-int/2addr v6, v7

    .line 241
    .local v6, "vPadding":I
    iget v7, v4, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->leftMargin:I

    iget v8, v4, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->rightMargin:I

    add-int/2addr v7, v8

    .line 242
    .local v7, "hMargin":I
    iget v8, v4, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->topMargin:I

    iget v9, v4, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->bottomMargin:I

    add-int/2addr v8, v9

    .line 245
    .local v8, "vMargin":I
    invoke-static {v4}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->makeInsetsDirty(Landroidx/recyclerview/widget/RecyclerView$LayoutParams;)V

    .line 247
    iget-object v9, v1, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->tmpRect:Landroid/graphics/Rect;

    invoke-virtual {v1, v0, v9}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->calculateItemDecorationsForChild(Landroid/view/View;Landroid/graphics/Rect;)V

    .line 249
    invoke-virtual {v1, v0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getRightDecorationWidth(Landroid/view/View;)I

    move-result v9

    invoke-virtual {v1, v0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getLeftDecorationWidth(Landroid/view/View;)I

    move-result v10

    add-int/2addr v9, v10

    .line 250
    .local v9, "hDecoration":I
    invoke-virtual {v1, v0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getTopDecorationHeight(Landroid/view/View;)I

    move-result v10

    invoke-virtual {v1, v0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getBottomDecorationHeight(Landroid/view/View;)I

    move-result v11

    add-int/2addr v10, v11

    .line 252
    .local v10, "vDecoration":I
    add-int v11, v5, v7

    add-int/2addr v11, v9

    iget v12, v4, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->width:I

    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->canScrollHorizontally()Z

    move-result v13

    move/from16 v14, p3

    invoke-static {v14, v11, v12, v13}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getChildMeasureSpec(IIIZ)I

    move-result v11

    .line 253
    .local v11, "childWidthSpec":I
    add-int v12, v6, v8

    add-int/2addr v12, v10

    iget v13, v4, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->height:I

    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->canScrollVertically()Z

    move-result v15

    move/from16 v3, p4

    invoke-static {v3, v12, v13, v15}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getChildMeasureSpec(IIIZ)I

    move-result v12

    .line 255
    .local v12, "childHeightSpec":I
    invoke-virtual {v0, v11, v12}, Landroid/view/View;->measure(II)V

    .line 257
    invoke-virtual {v1, v0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getDecoratedMeasuredWidth(Landroid/view/View;)I

    move-result v13

    iget v15, v4, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->leftMargin:I

    add-int/2addr v13, v15

    iget v15, v4, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->rightMargin:I

    add-int/2addr v13, v15

    aput v13, p5, v2

    .line 258
    invoke-virtual {v1, v0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getDecoratedMeasuredHeight(Landroid/view/View;)I

    move-result v2

    iget v13, v4, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->bottomMargin:I

    add-int/2addr v2, v13

    iget v13, v4, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->topMargin:I

    add-int/2addr v2, v13

    const/4 v13, 0x1

    aput v2, p5, v13

    .line 261
    invoke-static {v4}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->makeInsetsDirty(Landroidx/recyclerview/widget/RecyclerView$LayoutParams;)V

    .line 262
    move-object/from16 v13, p1

    invoke-virtual {v13, v0}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->recycleView(Landroid/view/View;)V

    .line 263
    return-void

    .line 231
    .end local v0    # "child":Landroid/view/View;
    .end local v4    # "p":Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
    .end local v5    # "hPadding":I
    .end local v6    # "vPadding":I
    .end local v7    # "hMargin":I
    .end local v8    # "vMargin":I
    .end local v9    # "hDecoration":I
    .end local v10    # "vDecoration":I
    .end local v11    # "childWidthSpec":I
    .end local v12    # "childHeightSpec":I
    :catch_87
    move-exception v0

    move-object/from16 v13, p1

    move/from16 v14, p3

    move/from16 v3, p4

    move-object v4, v0

    move-object v0, v4

    .line 232
    .local v0, "e":Ljava/lang/IndexOutOfBoundsException;
    const/4 v4, 0x1

    new-array v4, v4, [Ljava/lang/Object;

    aput-object v0, v4, v2

    const-string v2, "LinearLayoutManager doesn\'t work well with animations. Consider switching them off"

    invoke-static {v2, v4}, Lcom/blankj/utilcode/util/LogUtils;->dTag(Ljava/lang/String;[Ljava/lang/Object;)V

    .line 233
    return-void
.end method

.method private static onMakeInsertDirtyFailed()V
    .registers 3

    .line 283
    const/4 v0, 0x0

    sput-boolean v0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->canMakeInsetsDirty:Z

    .line 284
    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const-string v2, "Can\'t make LayoutParams insets dirty, decorations measurements might be incorrect"

    aput-object v2, v1, v0

    const-string v0, "LinearLayoutManager"

    invoke-static {v0, v1}, Lcom/blankj/utilcode/util/LogUtils;->dTag(Ljava/lang/String;[Ljava/lang/Object;)V

    .line 285
    return-void
.end method


# virtual methods
.method public clearChildSize()V
    .registers 2

    .line 215
    const/4 v0, 0x0

    iput-boolean v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->hasChildSize:Z

    .line 216
    const/16 v0, 0x64

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->setChildSize(I)V

    .line 217
    return-void
.end method

.method public onMeasure(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;II)V
    .registers 30
    .param p1, "recycler"    # Landroidx/recyclerview/widget/RecyclerView$Recycler;
    .param p2, "state"    # Landroidx/recyclerview/widget/RecyclerView$State;
    .param p3, "widthSpec"    # I
    .param p4, "heightSpec"    # I

    .line 78
    move-object/from16 v6, p0

    invoke-static/range {p3 .. p3}, Landroid/view/View$MeasureSpec;->getMode(I)I

    move-result v7

    .line 79
    .local v7, "widthMode":I
    invoke-static/range {p4 .. p4}, Landroid/view/View$MeasureSpec;->getMode(I)I

    move-result v8

    .line 81
    .local v8, "heightMode":I
    invoke-static/range {p3 .. p3}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result v9

    .line 82
    .local v9, "widthSize":I
    invoke-static/range {p4 .. p4}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result v10

    .line 84
    .local v10, "heightSize":I
    const/4 v11, 0x0

    const/4 v12, 0x1

    if-eqz v7, :cond_18

    const/4 v0, 0x1

    goto :goto_19

    :cond_18
    const/4 v0, 0x0

    :goto_19
    move v13, v0

    .line 85
    .local v13, "hasWidthSize":Z
    if-eqz v8, :cond_1e

    const/4 v0, 0x1

    goto :goto_1f

    :cond_1e
    const/4 v0, 0x0

    :goto_1f
    move v14, v0

    .line 87
    .local v14, "hasHeightSize":Z
    const/high16 v0, 0x40000000    # 2.0f

    if-ne v7, v0, :cond_26

    const/4 v1, 0x1

    goto :goto_27

    :cond_26
    const/4 v1, 0x0

    :goto_27
    move v15, v1

    .line 88
    .local v15, "exactWidth":Z
    if-ne v8, v0, :cond_2c

    const/4 v0, 0x1

    goto :goto_2d

    :cond_2c
    const/4 v0, 0x0

    :goto_2d
    move/from16 v16, v0

    .line 90
    .local v16, "exactHeight":Z
    invoke-static {}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->makeUnspecifiedSpec()I

    move-result v17

    .line 92
    .local v17, "unspecified":I
    if-eqz v15, :cond_3b

    if-eqz v16, :cond_3b

    .line 94
    invoke-super/range {p0 .. p4}, Landroidx/recyclerview/widget/LinearLayoutManager;->onMeasure(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;II)V

    .line 95
    return-void

    .line 98
    :cond_3b
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getOrientation()I

    move-result v0

    if-ne v0, v12, :cond_43

    const/4 v0, 0x1

    goto :goto_44

    :cond_43
    const/4 v0, 0x0

    :goto_44
    move v5, v0

    .line 100
    .local v5, "vertical":Z
    invoke-direct {v6, v9, v10, v5}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->initChildDimensions(IIZ)V

    .line 102
    const/4 v0, 0x0

    .line 103
    .local v0, "width":I
    const/4 v1, 0x0

    .line 109
    .local v1, "height":I
    invoke-virtual/range {p1 .. p1}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->clear()V

    .line 111
    invoke-virtual/range {p2 .. p2}, Landroidx/recyclerview/widget/RecyclerView$State;->getItemCount()I

    move-result v4

    .line 112
    .local v4, "stateItemCount":I
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getItemCount()I

    move-result v3

    .line 116
    .local v3, "adapterItemCount":I
    const/4 v2, 0x0

    move/from16 v18, v0

    move/from16 v19, v1

    .end local v0    # "width":I
    .end local v1    # "height":I
    .local v2, "i":I
    .local v18, "width":I
    .local v19, "height":I
    :goto_5a
    if-ge v2, v3, :cond_fb

    .line 117
    if-eqz v5, :cond_ae

    .line 118
    iget-boolean v0, v6, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->hasChildSize:Z

    if-nez v0, :cond_8d

    .line 119
    if-ge v2, v4, :cond_7f

    .line 122
    iget-object v1, v6, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childDimensions:[I

    move-object/from16 v0, p0

    move-object/from16 v20, v1

    move-object/from16 v1, p1

    move/from16 v21, v2

    .end local v2    # "i":I
    .local v21, "i":I
    move/from16 v22, v3

    .end local v3    # "adapterItemCount":I
    .local v22, "adapterItemCount":I
    move v3, v9

    move/from16 v23, v4

    .end local v4    # "stateItemCount":I
    .local v23, "stateItemCount":I
    move/from16 v4, v17

    move/from16 v24, v5

    .end local v5    # "vertical":Z
    .local v24, "vertical":Z
    move-object/from16 v5, v20

    invoke-direct/range {v0 .. v5}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->measureChild(Landroidx/recyclerview/widget/RecyclerView$Recycler;III[I)V

    move/from16 v5, v21

    goto :goto_94

    .line 124
    .end local v21    # "i":I
    .end local v22    # "adapterItemCount":I
    .end local v23    # "stateItemCount":I
    .end local v24    # "vertical":Z
    .restart local v2    # "i":I
    .restart local v3    # "adapterItemCount":I
    .restart local v4    # "stateItemCount":I
    .restart local v5    # "vertical":Z
    :cond_7f
    move/from16 v21, v2

    move/from16 v22, v3

    move/from16 v23, v4

    move/from16 v24, v5

    .end local v2    # "i":I
    .end local v3    # "adapterItemCount":I
    .end local v4    # "stateItemCount":I
    .end local v5    # "vertical":Z
    .restart local v21    # "i":I
    .restart local v22    # "adapterItemCount":I
    .restart local v23    # "stateItemCount":I
    .restart local v24    # "vertical":Z
    move/from16 v5, v21

    .end local v21    # "i":I
    .local v5, "i":I
    invoke-direct {v6, v5}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->logMeasureWarning(I)V

    goto :goto_94

    .line 118
    .end local v22    # "adapterItemCount":I
    .end local v23    # "stateItemCount":I
    .end local v24    # "vertical":Z
    .restart local v2    # "i":I
    .restart local v3    # "adapterItemCount":I
    .restart local v4    # "stateItemCount":I
    .local v5, "vertical":Z
    :cond_8d
    move/from16 v22, v3

    move/from16 v23, v4

    move/from16 v24, v5

    move v5, v2

    .line 127
    .end local v2    # "i":I
    .end local v3    # "adapterItemCount":I
    .end local v4    # "stateItemCount":I
    .local v5, "i":I
    .restart local v22    # "adapterItemCount":I
    .restart local v23    # "stateItemCount":I
    .restart local v24    # "vertical":Z
    :goto_94
    iget-object v0, v6, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childDimensions:[I

    aget v1, v0, v12

    add-int v1, v19, v1

    .line 128
    .end local v19    # "height":I
    .restart local v1    # "height":I
    if-nez v5, :cond_9e

    .line 129
    aget v18, v0, v11

    .line 131
    :cond_9e
    if-eqz v14, :cond_a8

    if-lt v1, v10, :cond_a8

    .line 132
    move/from16 v19, v1

    move/from16 v21, v23

    goto/16 :goto_102

    .line 116
    :cond_a8
    move/from16 v19, v1

    move v12, v5

    move/from16 v21, v23

    goto :goto_f0

    .line 135
    .end local v1    # "height":I
    .end local v22    # "adapterItemCount":I
    .end local v23    # "stateItemCount":I
    .end local v24    # "vertical":Z
    .restart local v2    # "i":I
    .restart local v3    # "adapterItemCount":I
    .restart local v4    # "stateItemCount":I
    .local v5, "vertical":Z
    .restart local v19    # "height":I
    :cond_ae
    move/from16 v22, v3

    move/from16 v23, v4

    move/from16 v24, v5

    move v5, v2

    .end local v2    # "i":I
    .end local v3    # "adapterItemCount":I
    .end local v4    # "stateItemCount":I
    .local v5, "i":I
    .restart local v22    # "adapterItemCount":I
    .restart local v23    # "stateItemCount":I
    .restart local v24    # "vertical":Z
    iget-boolean v0, v6, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->hasChildSize:Z

    if-nez v0, :cond_d9

    .line 136
    move/from16 v4, v23

    .end local v23    # "stateItemCount":I
    .restart local v4    # "stateItemCount":I
    if-ge v5, v4, :cond_d2

    .line 139
    iget-object v3, v6, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childDimensions:[I

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move v2, v5

    move-object/from16 v20, v3

    move/from16 v3, v17

    move/from16 v21, v4

    .end local v4    # "stateItemCount":I
    .local v21, "stateItemCount":I
    move v4, v10

    move v12, v5

    .end local v5    # "i":I
    .local v12, "i":I
    move-object/from16 v5, v20

    invoke-direct/range {v0 .. v5}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->measureChild(Landroidx/recyclerview/widget/RecyclerView$Recycler;III[I)V

    goto :goto_dc

    .line 141
    .end local v12    # "i":I
    .end local v21    # "stateItemCount":I
    .restart local v4    # "stateItemCount":I
    .restart local v5    # "i":I
    :cond_d2
    move/from16 v21, v4

    move v12, v5

    .end local v4    # "stateItemCount":I
    .end local v5    # "i":I
    .restart local v12    # "i":I
    .restart local v21    # "stateItemCount":I
    invoke-direct {v6, v12}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->logMeasureWarning(I)V

    goto :goto_dc

    .line 135
    .end local v12    # "i":I
    .end local v21    # "stateItemCount":I
    .restart local v5    # "i":I
    .restart local v23    # "stateItemCount":I
    :cond_d9
    move v12, v5

    move/from16 v21, v23

    .line 144
    .end local v5    # "i":I
    .end local v23    # "stateItemCount":I
    .restart local v12    # "i":I
    .restart local v21    # "stateItemCount":I
    :goto_dc
    iget-object v0, v6, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childDimensions:[I

    aget v1, v0, v11

    add-int v1, v18, v1

    .line 145
    .end local v18    # "width":I
    .local v1, "width":I
    if-nez v12, :cond_e7

    .line 146
    const/4 v2, 0x1

    aget v19, v0, v2

    .line 148
    :cond_e7
    if-eqz v13, :cond_ee

    if-lt v1, v9, :cond_ee

    .line 149
    move/from16 v18, v1

    goto :goto_102

    .line 116
    :cond_ee
    move/from16 v18, v1

    .end local v1    # "width":I
    .restart local v18    # "width":I
    :goto_f0
    add-int/lit8 v2, v12, 0x1

    move/from16 v4, v21

    move/from16 v3, v22

    move/from16 v5, v24

    const/4 v12, 0x1

    .end local v12    # "i":I
    .restart local v2    # "i":I
    goto/16 :goto_5a

    .end local v21    # "stateItemCount":I
    .end local v22    # "adapterItemCount":I
    .end local v24    # "vertical":Z
    .restart local v3    # "adapterItemCount":I
    .restart local v4    # "stateItemCount":I
    .local v5, "vertical":Z
    :cond_fb
    move v12, v2

    move/from16 v22, v3

    move/from16 v21, v4

    move/from16 v24, v5

    .line 154
    .end local v2    # "i":I
    .end local v3    # "adapterItemCount":I
    .end local v4    # "stateItemCount":I
    .end local v5    # "vertical":Z
    .restart local v21    # "stateItemCount":I
    .restart local v22    # "adapterItemCount":I
    .restart local v24    # "vertical":Z
    :goto_102
    if-eqz v15, :cond_106

    .line 155
    move v0, v9

    .end local v18    # "width":I
    .restart local v0    # "width":I
    goto :goto_117

    .line 157
    .end local v0    # "width":I
    .restart local v18    # "width":I
    :cond_106
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getPaddingLeft()I

    move-result v0

    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getPaddingRight()I

    move-result v1

    add-int/2addr v0, v1

    add-int v0, v18, v0

    .line 158
    .end local v18    # "width":I
    .restart local v0    # "width":I
    if-eqz v13, :cond_117

    .line 159
    invoke-static {v0, v9}, Ljava/lang/Math;->min(II)I

    move-result v0

    .line 163
    :cond_117
    :goto_117
    if-eqz v16, :cond_11b

    .line 164
    move v1, v10

    .end local v19    # "height":I
    .local v1, "height":I
    goto :goto_12c

    .line 166
    .end local v1    # "height":I
    .restart local v19    # "height":I
    :cond_11b
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getPaddingTop()I

    move-result v1

    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getPaddingBottom()I

    move-result v2

    add-int/2addr v1, v2

    add-int v1, v19, v1

    .line 167
    .end local v19    # "height":I
    .restart local v1    # "height":I
    if-eqz v14, :cond_12c

    .line 168
    invoke-static {v1, v10}, Ljava/lang/Math;->min(II)I

    move-result v1

    .line 172
    :cond_12c
    :goto_12c
    invoke-virtual {v6, v0, v1}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->setMeasuredDimension(II)V

    .line 174
    iget-object v2, v6, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->view:Landroidx/recyclerview/widget/RecyclerView;

    if-eqz v2, :cond_150

    iget v2, v6, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->overScrollMode:I

    const/4 v3, 0x1

    if-ne v2, v3, :cond_150

    .line 175
    if-eqz v24, :cond_13e

    if-eqz v14, :cond_144

    if-lt v1, v10, :cond_144

    :cond_13e
    if-nez v24, :cond_146

    if-eqz v13, :cond_144

    if-ge v0, v9, :cond_146

    :cond_144
    const/4 v12, 0x1

    goto :goto_147

    :cond_146
    const/4 v12, 0x0

    :goto_147
    move v2, v12

    .line 178
    .local v2, "fit":Z
    iget-object v3, v6, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->view:Landroidx/recyclerview/widget/RecyclerView;

    if-eqz v2, :cond_14d

    const/4 v11, 0x2

    :cond_14d
    invoke-static {v3, v11}, Landroidx/core/view/ViewCompat;->setOverScrollMode(Landroid/view/View;I)V

    .line 180
    .end local v2    # "fit":Z
    :cond_150
    return-void
.end method

.method public setChildSize(I)V
    .registers 3
    .param p1, "childSize"    # I

    .line 220
    const/4 v0, 0x1

    iput-boolean v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->hasChildSize:Z

    .line 221
    iget v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childSize:I

    if-eq v0, p1, :cond_c

    .line 222
    iput p1, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childSize:I

    .line 223
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->requestLayout()V

    .line 225
    :cond_c
    return-void
.end method

.method public setOrientation(I)V
    .registers 5
    .param p1, "orientation"    # I

    .line 205
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childDimensions:[I

    if-eqz v0, :cond_12

    .line 206
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->getOrientation()I

    move-result v0

    if-eq v0, p1, :cond_12

    .line 207
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->childDimensions:[I

    const/4 v1, 0x0

    aput v1, v0, v1

    .line 208
    const/4 v2, 0x1

    aput v1, v0, v2

    .line 211
    :cond_12
    invoke-super {p0, p1}, Landroidx/recyclerview/widget/LinearLayoutManager;->setOrientation(I)V

    .line 212
    return-void
.end method

.method public setOverScrollMode(I)V
    .registers 5
    .param p1, "overScrollMode"    # I

    .line 65
    if-ltz p1, :cond_17

    const/4 v0, 0x2

    if-gt p1, v0, :cond_17

    .line 67
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->view:Landroidx/recyclerview/widget/RecyclerView;

    if-eqz v0, :cond_f

    .line 68
    iput p1, p0, Lim/tpelyyftgw/ui/components/recyclerview/manager/FullyLinearLayoutManager;->overScrollMode:I

    .line 69
    invoke-static {v0, p1}, Landroidx/core/view/ViewCompat;->setOverScrollMode(Landroid/view/View;I)V

    .line 70
    return-void

    .line 67
    :cond_f
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "view == null"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 66
    :cond_17
    new-instance v0, Ljava/lang/IllegalArgumentException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Unknown overscroll mode: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0
.end method