mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
4746 lines
125 KiB
Smali
4746 lines
125 KiB
Smali
.class public abstract Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
|
.super Ljava/lang/Object;
|
|
.source "RecyclerView.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/recyclerview/widget/RecyclerView;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x409
|
|
name = "LayoutManager"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/recyclerview/widget/RecyclerView$LayoutManager$Properties;,
|
|
Landroidx/recyclerview/widget/RecyclerView$LayoutManager$LayoutPrefetchRegistry;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field mAutoMeasure:Z
|
|
|
|
.field mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
.field private mHeight:I
|
|
|
|
.field private mHeightMode:I
|
|
|
|
.field mHorizontalBoundCheck:Landroidx/recyclerview/widget/ViewBoundsCheck;
|
|
|
|
.field private final mHorizontalBoundCheckCallback:Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;
|
|
|
|
.field mIsAttachedToWindow:Z
|
|
|
|
.field private mItemPrefetchEnabled:Z
|
|
|
|
.field private mMeasurementCacheEnabled:Z
|
|
|
|
.field mPrefetchMaxCountObserved:I
|
|
|
|
.field mPrefetchMaxObservedInInitialPrefetch:Z
|
|
|
|
.field mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.field mRequestedSimpleAnimations:Z
|
|
|
|
.field mSmoothScroller:Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;
|
|
|
|
.field mVerticalBoundCheck:Landroidx/recyclerview/widget/ViewBoundsCheck;
|
|
|
|
.field private final mVerticalBoundCheckCallback:Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;
|
|
|
|
.field private mWidth:I
|
|
|
|
.field private mWidthMode:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 3
|
|
|
|
.line 8402
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 8410
|
|
new-instance v0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager$1;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager$1;-><init>(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V
|
|
|
|
iput-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mHorizontalBoundCheckCallback:Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;
|
|
|
|
.line 8446
|
|
new-instance v1, Landroidx/recyclerview/widget/RecyclerView$LayoutManager$2;
|
|
|
|
invoke-direct {v1, p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager$2;-><init>(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V
|
|
|
|
iput-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mVerticalBoundCheckCallback:Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;
|
|
|
|
.line 8487
|
|
new-instance v2, Landroidx/recyclerview/widget/ViewBoundsCheck;
|
|
|
|
invoke-direct {v2, v0}, Landroidx/recyclerview/widget/ViewBoundsCheck;-><init>(Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;)V
|
|
|
|
iput-object v2, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mHorizontalBoundCheck:Landroidx/recyclerview/widget/ViewBoundsCheck;
|
|
|
|
.line 8488
|
|
new-instance v0, Landroidx/recyclerview/widget/ViewBoundsCheck;
|
|
|
|
invoke-direct {v0, v1}, Landroidx/recyclerview/widget/ViewBoundsCheck;-><init>(Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;)V
|
|
|
|
iput-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mVerticalBoundCheck:Landroidx/recyclerview/widget/ViewBoundsCheck;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRequestedSimpleAnimations:Z
|
|
|
|
iput-boolean v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mIsAttachedToWindow:Z
|
|
|
|
iput-boolean v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mAutoMeasure:Z
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mMeasurementCacheEnabled:Z
|
|
|
|
iput-boolean v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mItemPrefetchEnabled:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private addViewInt(Landroid/view/View;IZ)V
|
|
.locals 4
|
|
|
|
.line 9392
|
|
invoke-static {p1}, Landroidx/recyclerview/widget/RecyclerView;->getChildViewHolderInt(Landroid/view/View;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez p3, :cond_1
|
|
|
|
.line 9393
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->isRemoved()Z
|
|
|
|
move-result p3
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object p3, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 9402
|
|
iget-object p3, p3, Landroidx/recyclerview/widget/RecyclerView;->mViewInfoStore:Landroidx/recyclerview/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {p3, v0}, Landroidx/recyclerview/widget/ViewInfoStore;->removeFromDisappearedInLayout(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
iget-object p3, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 9395
|
|
iget-object p3, p3, Landroidx/recyclerview/widget/RecyclerView;->mViewInfoStore:Landroidx/recyclerview/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {p3, v0}, Landroidx/recyclerview/widget/ViewInfoStore;->addToDisappearedInLayout(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
|
|
|
.line 9404
|
|
:goto_1
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p3
|
|
|
|
check-cast p3, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
.line 9405
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->wasReturnedFromScrap()Z
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v1, :cond_6
|
|
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->isScrap()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
goto :goto_2
|
|
|
|
.line 9415
|
|
:cond_2
|
|
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v3, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-ne v1, v3, :cond_5
|
|
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
.line 9417
|
|
invoke-virtual {v1, p1}, Landroidx/recyclerview/widget/ChildHelper;->indexOfChild(Landroid/view/View;)I
|
|
|
|
move-result v1
|
|
|
|
const/4 v3, -0x1
|
|
|
|
if-ne p2, v3, :cond_3
|
|
|
|
iget-object p2, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
.line 9419
|
|
invoke-virtual {p2}, Landroidx/recyclerview/widget/ChildHelper;->getChildCount()I
|
|
|
|
move-result p2
|
|
|
|
:cond_3
|
|
if-eq v1, v3, :cond_4
|
|
|
|
if-eq v1, p2, :cond_8
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 9427
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView;->mLayout:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {p0, v1, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->moveView(II)V
|
|
|
|
goto :goto_4
|
|
|
|
.line 9422
|
|
:cond_4
|
|
new-instance p2, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance p3, Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, "Added View has RecyclerView as parent but view is not a real child. Unfiltered index:"
|
|
|
|
invoke-direct {p3, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 9424
|
|
invoke-virtual {v0, p1}, Landroidx/recyclerview/widget/RecyclerView;->indexOfChild(Landroid/view/View;)I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView;->exceptionLabel()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {p2, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p2
|
|
|
|
:cond_5
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
.line 9430
|
|
invoke-virtual {v1, p1, p2, v2}, Landroidx/recyclerview/widget/ChildHelper;->addView(Landroid/view/View;IZ)V
|
|
|
|
const/4 p2, 0x1
|
|
|
|
.line 9431
|
|
iput-boolean p2, p3, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->mInsetsDirty:Z
|
|
|
|
iget-object p2, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mSmoothScroller:Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;
|
|
|
|
if-eqz p2, :cond_8
|
|
|
|
.line 9432
|
|
invoke-virtual {p2}, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->isRunning()Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_8
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mSmoothScroller:Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;
|
|
|
|
.line 9433
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->onChildAttachedToWindow(Landroid/view/View;)V
|
|
|
|
goto :goto_4
|
|
|
|
.line 9406
|
|
:cond_6
|
|
:goto_2
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->isScrap()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_7
|
|
|
|
.line 9407
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->unScrap()V
|
|
|
|
goto :goto_3
|
|
|
|
.line 9409
|
|
:cond_7
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->clearReturnedFromScrapFlag()V
|
|
|
|
:goto_3
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
.line 9411
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p0, p1, p2, v1, v2}, Landroidx/recyclerview/widget/ChildHelper;->attachViewToParent(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;Z)V
|
|
|
|
.line 9436
|
|
:cond_8
|
|
:goto_4
|
|
iget-boolean p0, p3, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->mPendingInvalidate:Z
|
|
|
|
if-eqz p0, :cond_a
|
|
|
|
.line 9437
|
|
sget-boolean p0, Landroidx/recyclerview/widget/RecyclerView;->sVerboseLoggingEnabled:Z
|
|
|
|
if-eqz p0, :cond_9
|
|
|
|
.line 9438
|
|
new-instance p0, Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, "consuming pending invalidate on child "
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object p1, p3, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->mViewHolder:Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "RecyclerView"
|
|
|
|
invoke-static {p1, p0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 9440
|
|
:cond_9
|
|
iget-object p0, v0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
|
|
|
invoke-virtual {p0}, Landroid/view/View;->invalidate()V
|
|
|
|
.line 9441
|
|
iput-boolean v2, p3, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->mPendingInvalidate:Z
|
|
|
|
:cond_a
|
|
return-void
|
|
.end method
|
|
|
|
.method public static chooseSize(III)I
|
|
.locals 2
|
|
|
|
.line 8695
|
|
invoke-static {p0}, Landroid/view/View$MeasureSpec;->getMode(I)I
|
|
|
|
move-result v0
|
|
|
|
.line 8696
|
|
invoke-static {p0}, Landroid/view/View$MeasureSpec;->getSize(I)I
|
|
|
|
move-result p0
|
|
|
|
const/high16 v1, -0x80000000
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
const/high16 v1, 0x40000000 # 2.0f
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
.line 8704
|
|
invoke-static {p1, p2}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result p0
|
|
|
|
:cond_0
|
|
return p0
|
|
|
|
.line 8701
|
|
:cond_1
|
|
invoke-static {p1, p2}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result p1
|
|
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private detachViewInternal(ILandroid/view/View;)V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
.line 9619
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/ChildHelper;->detachViewFromParent(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static getChildMeasureSpec(IIIIZ)I
|
|
.locals 4
|
|
|
|
sub-int/2addr p0, p2
|
|
|
|
const/4 p2, 0x0
|
|
|
|
.line 10270
|
|
invoke-static {p2, p0}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result p0
|
|
|
|
const/4 v0, -0x2
|
|
|
|
const/4 v1, -0x1
|
|
|
|
const/high16 v2, -0x80000000
|
|
|
|
const/high16 v3, 0x40000000 # 2.0f
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
if-ltz p3, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-ne p3, v1, :cond_7
|
|
|
|
if-eq p1, v2, :cond_3
|
|
|
|
if-eqz p1, :cond_7
|
|
|
|
if-eq p1, v3, :cond_3
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
if-ltz p3, :cond_2
|
|
|
|
:goto_0
|
|
move p1, v3
|
|
|
|
goto :goto_3
|
|
|
|
:cond_2
|
|
if-ne p3, v1, :cond_4
|
|
|
|
:cond_3
|
|
move p3, p0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
if-ne p3, v0, :cond_7
|
|
|
|
if-eq p1, v2, :cond_6
|
|
|
|
if-ne p1, v3, :cond_5
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
move p3, p0
|
|
|
|
move p1, p2
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
:goto_1
|
|
move p3, p0
|
|
|
|
move p1, v2
|
|
|
|
goto :goto_3
|
|
|
|
:cond_7
|
|
:goto_2
|
|
move p1, p2
|
|
|
|
move p3, p1
|
|
|
|
.line 10311
|
|
:goto_3
|
|
invoke-static {p3, p1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static getChildMeasureSpec(IIIZ)I
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
sub-int/2addr p0, p1
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 10228
|
|
invoke-static {p1, p0}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result p0
|
|
|
|
const/high16 v0, 0x40000000 # 2.0f
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
if-ltz p2, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move p2, p1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
if-ltz p2, :cond_2
|
|
|
|
:goto_0
|
|
move p1, v0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const/4 p3, -0x1
|
|
|
|
if-ne p2, p3, :cond_3
|
|
|
|
move p2, p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const/4 p3, -0x2
|
|
|
|
if-ne p2, p3, :cond_0
|
|
|
|
const/high16 p1, -0x80000000
|
|
|
|
move p2, p0
|
|
|
|
.line 10254
|
|
:goto_1
|
|
invoke-static {p2, p1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private getChildRectangleOnScreenScrollAmount(Landroid/view/View;Landroid/graphics/Rect;)[I
|
|
.locals 8
|
|
|
|
const/4 v0, 0x2
|
|
|
|
new-array v0, v0, [I
|
|
|
|
.line 10656
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingLeft()I
|
|
|
|
move-result v1
|
|
|
|
.line 10657
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingTop()I
|
|
|
|
move-result v2
|
|
|
|
.line 10658
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getWidth()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingRight()I
|
|
|
|
move-result v4
|
|
|
|
sub-int/2addr v3, v4
|
|
|
|
.line 10659
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeight()I
|
|
|
|
move-result v4
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingBottom()I
|
|
|
|
move-result v5
|
|
|
|
sub-int/2addr v4, v5
|
|
|
|
.line 10660
|
|
invoke-virtual {p1}, Landroid/view/View;->getLeft()I
|
|
|
|
move-result v5
|
|
|
|
iget v6, p2, Landroid/graphics/Rect;->left:I
|
|
|
|
add-int/2addr v5, v6
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getScrollX()I
|
|
|
|
move-result v6
|
|
|
|
sub-int/2addr v5, v6
|
|
|
|
.line 10661
|
|
invoke-virtual {p1}, Landroid/view/View;->getTop()I
|
|
|
|
move-result v6
|
|
|
|
iget v7, p2, Landroid/graphics/Rect;->top:I
|
|
|
|
add-int/2addr v6, v7
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getScrollY()I
|
|
|
|
move-result p1
|
|
|
|
sub-int/2addr v6, p1
|
|
|
|
.line 10662
|
|
invoke-virtual {p2}, Landroid/graphics/Rect;->width()I
|
|
|
|
move-result p1
|
|
|
|
add-int/2addr p1, v5
|
|
|
|
.line 10663
|
|
invoke-virtual {p2}, Landroid/graphics/Rect;->height()I
|
|
|
|
move-result p2
|
|
|
|
add-int/2addr p2, v6
|
|
|
|
sub-int/2addr v5, v1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 10665
|
|
invoke-static {v1, v5}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v7
|
|
|
|
sub-int/2addr v6, v2
|
|
|
|
.line 10666
|
|
invoke-static {v1, v6}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v2
|
|
|
|
sub-int/2addr p1, v3
|
|
|
|
.line 10667
|
|
invoke-static {v1, p1}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result v3
|
|
|
|
sub-int/2addr p2, v4
|
|
|
|
.line 10668
|
|
invoke-static {v1, p2}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result p2
|
|
|
|
.line 10674
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getLayoutDirection()I
|
|
|
|
move-result p0
|
|
|
|
const/4 v4, 0x1
|
|
|
|
if-ne p0, v4, :cond_1
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 10676
|
|
:cond_0
|
|
invoke-static {v7, p1}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result v3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
if-eqz v7, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
.line 10679
|
|
:cond_2
|
|
invoke-static {v5, v3}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v7
|
|
|
|
:goto_0
|
|
move v3, v7
|
|
|
|
:goto_1
|
|
if-eqz v2, :cond_3
|
|
|
|
goto :goto_2
|
|
|
|
.line 10685
|
|
:cond_3
|
|
invoke-static {v6, p2}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v2
|
|
|
|
:goto_2
|
|
aput v3, v0, v1
|
|
|
|
aput v2, v0, v4
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static getProperties(Landroid/content/Context;Landroid/util/AttributeSet;II)Landroidx/recyclerview/widget/RecyclerView$LayoutManager$Properties;
|
|
.locals 2
|
|
|
|
.line 11445
|
|
new-instance v0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager$Properties;
|
|
|
|
invoke-direct {v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager$Properties;-><init>()V
|
|
|
|
.line 11446
|
|
sget-object v1, Landroidx/recyclerview/R$styleable;->RecyclerView:[I
|
|
|
|
invoke-virtual {p0, p1, v1, p2, p3}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
|
|
|
|
move-result-object p0
|
|
|
|
.line 11448
|
|
sget p1, Landroidx/recyclerview/R$styleable;->RecyclerView_android_orientation:I
|
|
|
|
const/4 p2, 0x1
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager$Properties;->orientation:I
|
|
|
|
.line 11450
|
|
sget p1, Landroidx/recyclerview/R$styleable;->RecyclerView_spanCount:I
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager$Properties;->spanCount:I
|
|
|
|
.line 11451
|
|
sget p1, Landroidx/recyclerview/R$styleable;->RecyclerView_reverseLayout:I
|
|
|
|
const/4 p2, 0x0
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result p1
|
|
|
|
iput-boolean p1, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager$Properties;->reverseLayout:Z
|
|
|
|
.line 11452
|
|
sget p1, Landroidx/recyclerview/R$styleable;->RecyclerView_stackFromEnd:I
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result p1
|
|
|
|
iput-boolean p1, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager$Properties;->stackFromEnd:Z
|
|
|
|
.line 11453
|
|
invoke-virtual {p0}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private isFocusedChildVisibleAfterScrolling(Landroidx/recyclerview/widget/RecyclerView;II)Z
|
|
.locals 6
|
|
|
|
.line 10794
|
|
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getFocusedChild()Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
return v0
|
|
|
|
.line 10798
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingLeft()I
|
|
|
|
move-result v1
|
|
|
|
.line 10799
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingTop()I
|
|
|
|
move-result v2
|
|
|
|
.line 10800
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getWidth()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingRight()I
|
|
|
|
move-result v4
|
|
|
|
sub-int/2addr v3, v4
|
|
|
|
.line 10801
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeight()I
|
|
|
|
move-result v4
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingBottom()I
|
|
|
|
move-result v5
|
|
|
|
sub-int/2addr v4, v5
|
|
|
|
iget-object v5, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 10802
|
|
iget-object v5, v5, Landroidx/recyclerview/widget/RecyclerView;->mTempRect:Landroid/graphics/Rect;
|
|
|
|
.line 10803
|
|
invoke-virtual {p0, p1, v5}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getDecoratedBoundsWithMargins(Landroid/view/View;Landroid/graphics/Rect;)V
|
|
|
|
.line 10805
|
|
iget p0, v5, Landroid/graphics/Rect;->left:I
|
|
|
|
sub-int/2addr p0, p2
|
|
|
|
if-ge p0, v3, :cond_2
|
|
|
|
iget p0, v5, Landroid/graphics/Rect;->right:I
|
|
|
|
sub-int/2addr p0, p2
|
|
|
|
if-le p0, v1, :cond_2
|
|
|
|
iget p0, v5, Landroid/graphics/Rect;->top:I
|
|
|
|
sub-int/2addr p0, p3
|
|
|
|
if-ge p0, v4, :cond_2
|
|
|
|
iget p0, v5, Landroid/graphics/Rect;->bottom:I
|
|
|
|
sub-int/2addr p0, p3
|
|
|
|
if-gt p0, v2, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method private static isMeasurementUpToDate(III)Z
|
|
.locals 3
|
|
|
|
.line 10166
|
|
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
|
|
|
|
move-result v0
|
|
|
|
.line 10167
|
|
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
|
|
|
|
move-result p1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-lez p2, :cond_0
|
|
|
|
if-eq p0, p2, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
const/high16 p2, -0x80000000
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eq v0, p2, :cond_4
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
const/high16 p2, 0x40000000 # 2.0f
|
|
|
|
if-eq v0, p2, :cond_1
|
|
|
|
return v1
|
|
|
|
:cond_1
|
|
if-ne p1, p0, :cond_2
|
|
|
|
move v1, v2
|
|
|
|
:cond_2
|
|
return v1
|
|
|
|
:cond_3
|
|
return v2
|
|
|
|
:cond_4
|
|
if-lt p1, p0, :cond_5
|
|
|
|
move v1, v2
|
|
|
|
:cond_5
|
|
return v1
|
|
.end method
|
|
|
|
.method private scrapOrRecycleView(Landroidx/recyclerview/widget/RecyclerView$Recycler;ILandroid/view/View;)V
|
|
.locals 2
|
|
|
|
.line 10027
|
|
invoke-static {p3}, Landroidx/recyclerview/widget/RecyclerView;->getChildViewHolderInt(Landroid/view/View;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v0
|
|
|
|
.line 10028
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->shouldIgnore()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 10029
|
|
sget-boolean p0, Landroidx/recyclerview/widget/RecyclerView;->sVerboseLoggingEnabled:Z
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 10030
|
|
new-instance p0, Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, "ignoring view "
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "RecyclerView"
|
|
|
|
invoke-static {p1, p0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
:cond_0
|
|
return-void
|
|
|
|
.line 10034
|
|
:cond_1
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->isInvalid()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->isRemoved()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
iget-object v1, v1, Landroidx/recyclerview/widget/RecyclerView;->mAdapter:Landroidx/recyclerview/widget/RecyclerView$Adapter;
|
|
|
|
.line 10035
|
|
invoke-virtual {v1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->hasStableIds()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
.line 10036
|
|
invoke-virtual {p0, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->removeViewAt(I)V
|
|
|
|
.line 10037
|
|
invoke-virtual {p1, v0}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->recycleViewHolderInternal(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 10039
|
|
:cond_2
|
|
invoke-virtual {p0, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->detachViewAt(I)V
|
|
|
|
.line 10040
|
|
invoke-virtual {p1, p3}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->scrapView(Landroid/view/View;)V
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 10041
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView;->mViewInfoStore:Landroidx/recyclerview/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/recyclerview/widget/ViewInfoStore;->onViewDetached(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public addDisappearingView(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 9344
|
|
invoke-virtual {p0, p1, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->addDisappearingView(Landroid/view/View;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public addDisappearingView(Landroid/view/View;I)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 9363
|
|
invoke-direct {p0, p1, p2, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->addViewInt(Landroid/view/View;IZ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public addView(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 9375
|
|
invoke-virtual {p0, p1, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->addView(Landroid/view/View;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public addView(Landroid/view/View;I)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 9388
|
|
invoke-direct {p0, p1, p2, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->addViewInt(Landroid/view/View;IZ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public assertInLayoutOrScroll(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 8681
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView;->assertInLayoutOrScroll(Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public assertNotInLayoutOrScroll(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 8718
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView;->assertNotInLayoutOrScroll(Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public attachView(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 9664
|
|
invoke-virtual {p0, p1, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->attachView(Landroid/view/View;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public attachView(Landroid/view/View;I)V
|
|
.locals 1
|
|
|
|
.line 9653
|
|
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, p2, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->attachView(Landroid/view/View;ILandroidx/recyclerview/widget/RecyclerView$LayoutParams;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public attachView(Landroid/view/View;ILandroidx/recyclerview/widget/RecyclerView$LayoutParams;)V
|
|
.locals 2
|
|
|
|
.line 9632
|
|
invoke-static {p1}, Landroidx/recyclerview/widget/RecyclerView;->getChildViewHolderInt(Landroid/view/View;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v0
|
|
|
|
.line 9633
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->isRemoved()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 9634
|
|
iget-object v1, v1, Landroidx/recyclerview/widget/RecyclerView;->mViewInfoStore:Landroidx/recyclerview/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v1, v0}, Landroidx/recyclerview/widget/ViewInfoStore;->addToDisappearedInLayout(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 9636
|
|
iget-object v1, v1, Landroidx/recyclerview/widget/RecyclerView;->mViewInfoStore:Landroidx/recyclerview/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v1, v0}, Landroidx/recyclerview/widget/ViewInfoStore;->removeFromDisappearedInLayout(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
|
|
|
:goto_0
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
.line 9638
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->isRemoved()Z
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, p1, p2, p3, v0}, Landroidx/recyclerview/widget/ChildHelper;->attachViewToParent(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public calculateItemDecorationsForChild(Landroid/view/View;Landroid/graphics/Rect;)V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
.line 10528
|
|
invoke-virtual {p2, p0, p0, p0, p0}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
return-void
|
|
|
|
.line 10531
|
|
:cond_0
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView;->getItemDecorInsetsForChild(Landroid/view/View;)Landroid/graphics/Rect;
|
|
|
|
move-result-object p0
|
|
|
|
.line 10532
|
|
invoke-virtual {p2, p0}, Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public canScrollHorizontally()Z
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public canScrollVertically()Z
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public checkLayoutParams(Landroidx/recyclerview/widget/RecyclerView$LayoutParams;)Z
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public collectAdjacentPrefetchPositions(IILandroidx/recyclerview/widget/RecyclerView$State;Landroidx/recyclerview/widget/RecyclerView$LayoutManager$LayoutPrefetchRegistry;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public collectInitialPrefetchPositions(ILandroidx/recyclerview/widget/RecyclerView$LayoutManager$LayoutPrefetchRegistry;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public computeHorizontalScrollExtent(Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public computeHorizontalScrollOffset(Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public computeHorizontalScrollRange(Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public computeVerticalScrollExtent(Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public computeVerticalScrollOffset(Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public computeVerticalScrollRange(Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public detachAndScrapAttachedViews(Landroidx/recyclerview/widget/RecyclerView$Recycler;)V
|
|
.locals 2
|
|
|
|
.line 10019
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_0
|
|
|
|
.line 10021
|
|
invoke-virtual {p0, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
.line 10022
|
|
invoke-direct {p0, p1, v0, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->scrapOrRecycleView(Landroidx/recyclerview/widget/RecyclerView$Recycler;ILandroid/view/View;)V
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public detachAndScrapView(Landroid/view/View;Landroidx/recyclerview/widget/RecyclerView$Recycler;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
.line 9703
|
|
invoke-virtual {v0, p1}, Landroidx/recyclerview/widget/ChildHelper;->indexOfChild(Landroid/view/View;)I
|
|
|
|
move-result v0
|
|
|
|
.line 9704
|
|
invoke-direct {p0, p2, v0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->scrapOrRecycleView(Landroidx/recyclerview/widget/RecyclerView$Recycler;ILandroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public detachAndScrapViewAt(ILandroidx/recyclerview/widget/RecyclerView$Recycler;)V
|
|
.locals 1
|
|
|
|
.line 9717
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
.line 9718
|
|
invoke-direct {p0, p2, p1, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->scrapOrRecycleView(Landroidx/recyclerview/widget/RecyclerView$Recycler;ILandroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public detachView(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
.line 9590
|
|
invoke-virtual {v0, p1}, Landroidx/recyclerview/widget/ChildHelper;->indexOfChild(Landroid/view/View;)I
|
|
|
|
move-result v0
|
|
|
|
if-ltz v0, :cond_0
|
|
|
|
.line 9592
|
|
invoke-direct {p0, v0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->detachViewInternal(ILandroid/view/View;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public detachViewAt(I)V
|
|
.locals 1
|
|
|
|
.line 9612
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p0, p1, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->detachViewInternal(ILandroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method dispatchAttachedToWindow(Landroidx/recyclerview/widget/RecyclerView;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mIsAttachedToWindow:Z
|
|
|
|
.line 8931
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->onAttachedToWindow(Landroidx/recyclerview/widget/RecyclerView;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method dispatchDetachedFromWindow(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$Recycler;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mIsAttachedToWindow:Z
|
|
|
|
.line 8936
|
|
invoke-virtual {p0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->onDetachedFromWindow(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$Recycler;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public endAnimation(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 9324
|
|
iget-object v0, v0, Landroidx/recyclerview/widget/RecyclerView;->mItemAnimator:Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 9325
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView;->mItemAnimator:Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;
|
|
|
|
invoke-static {p1}, Landroidx/recyclerview/widget/RecyclerView;->getChildViewHolderInt(Landroid/view/View;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->endAnimation(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public findContainingItemView(Landroid/view/View;)Landroid/view/View;
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object v1
|
|
|
|
.line 9534
|
|
:cond_0
|
|
invoke-virtual {v0, p1}, Landroidx/recyclerview/widget/RecyclerView;->findContainingItemView(Landroid/view/View;)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
return-object v1
|
|
|
|
:cond_1
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
.line 9538
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/ChildHelper;->isHidden(Landroid/view/View;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
return-object v1
|
|
|
|
:cond_2
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public findViewByPosition(I)Landroid/view/View;
|
|
.locals 5
|
|
|
|
.line 9559
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_3
|
|
|
|
.line 9561
|
|
invoke-virtual {p0, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
.line 9562
|
|
invoke-static {v2}, Landroidx/recyclerview/widget/RecyclerView;->getChildViewHolderInt(Landroid/view/View;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v3
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 9566
|
|
:cond_0
|
|
invoke-virtual {v3}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->getLayoutPosition()I
|
|
|
|
move-result v4
|
|
|
|
if-ne v4, p1, :cond_2
|
|
|
|
invoke-virtual {v3}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->shouldIgnore()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
iget-object v4, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
iget-object v4, v4, Landroidx/recyclerview/widget/RecyclerView;->mState:Landroidx/recyclerview/widget/RecyclerView$State;
|
|
|
|
.line 9567
|
|
invoke-virtual {v4}, Landroidx/recyclerview/widget/RecyclerView$State;->isPreLayout()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_1
|
|
|
|
invoke-virtual {v3}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->isRemoved()Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_2
|
|
|
|
:cond_1
|
|
return-object v2
|
|
|
|
:cond_2
|
|
:goto_1
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public abstract generateDefaultLayoutParams()Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
.end method
|
|
|
|
.method public generateLayoutParams(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
.locals 0
|
|
|
|
.line 9189
|
|
new-instance p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
invoke-direct {p0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public generateLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
.locals 0
|
|
|
|
.line 9164
|
|
instance-of p0, p1, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 9165
|
|
new-instance p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
check-cast p1, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
invoke-direct {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;-><init>(Landroidx/recyclerview/widget/RecyclerView$LayoutParams;)V
|
|
|
|
return-object p0
|
|
|
|
.line 9166
|
|
:cond_0
|
|
instance-of p0, p1, Landroid/view/ViewGroup$MarginLayoutParams;
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 9167
|
|
new-instance p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
check-cast p1, Landroid/view/ViewGroup$MarginLayoutParams;
|
|
|
|
invoke-direct {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;-><init>(Landroid/view/ViewGroup$MarginLayoutParams;)V
|
|
|
|
return-object p0
|
|
|
|
.line 9169
|
|
:cond_1
|
|
new-instance p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
invoke-direct {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getBaseline()I
|
|
.locals 0
|
|
|
|
const/4 p0, -0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public getBottomDecorationHeight(Landroid/view/View;)I
|
|
.locals 0
|
|
|
|
.line 10562
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->mDecorInsets:Landroid/graphics/Rect;
|
|
|
|
iget p0, p0, Landroid/graphics/Rect;->bottom:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public getChildAt(I)Landroid/view/View;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 9762
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/ChildHelper;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getChildCount()I
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 9751
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/ChildHelper;->getChildCount()I
|
|
|
|
move-result p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public getClipToPadding()Z
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 9043
|
|
iget-boolean p0, p0, Landroidx/recyclerview/widget/RecyclerView;->mClipToPadding:Z
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public getColumnCountForAccessibility(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p0, -0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public getDecoratedBottom(Landroid/view/View;)I
|
|
.locals 1
|
|
|
|
.line 10506
|
|
invoke-virtual {p1}, Landroid/view/View;->getBottom()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getBottomDecorationHeight(Landroid/view/View;)I
|
|
|
|
move-result p0
|
|
|
|
add-int/2addr v0, p0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getDecoratedBoundsWithMargins(Landroid/view/View;Landroid/graphics/Rect;)V
|
|
.locals 0
|
|
|
|
.line 10458
|
|
invoke-static {p1, p2}, Landroidx/recyclerview/widget/RecyclerView;->getDecoratedBoundsWithMarginsInt(Landroid/view/View;Landroid/graphics/Rect;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getDecoratedLeft(Landroid/view/View;)I
|
|
.locals 1
|
|
|
|
.line 10470
|
|
invoke-virtual {p1}, Landroid/view/View;->getLeft()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getLeftDecorationWidth(Landroid/view/View;)I
|
|
|
|
move-result p0
|
|
|
|
sub-int/2addr v0, p0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getDecoratedMeasuredHeight(Landroid/view/View;)I
|
|
.locals 1
|
|
|
|
.line 10336
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->mDecorInsets:Landroid/graphics/Rect;
|
|
|
|
.line 10337
|
|
invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
move-result p1
|
|
|
|
iget v0, p0, Landroid/graphics/Rect;->top:I
|
|
|
|
add-int/2addr p1, v0
|
|
|
|
iget p0, p0, Landroid/graphics/Rect;->bottom:I
|
|
|
|
add-int/2addr p1, p0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public getDecoratedMeasuredWidth(Landroid/view/View;)I
|
|
.locals 1
|
|
|
|
.line 10323
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->mDecorInsets:Landroid/graphics/Rect;
|
|
|
|
.line 10324
|
|
invoke-virtual {p1}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
move-result p1
|
|
|
|
iget v0, p0, Landroid/graphics/Rect;->left:I
|
|
|
|
add-int/2addr p1, v0
|
|
|
|
iget p0, p0, Landroid/graphics/Rect;->right:I
|
|
|
|
add-int/2addr p1, p0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public getDecoratedRight(Landroid/view/View;)I
|
|
.locals 1
|
|
|
|
.line 10494
|
|
invoke-virtual {p1}, Landroid/view/View;->getRight()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getRightDecorationWidth(Landroid/view/View;)I
|
|
|
|
move-result p0
|
|
|
|
add-int/2addr v0, p0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getDecoratedTop(Landroid/view/View;)I
|
|
.locals 1
|
|
|
|
.line 10482
|
|
invoke-virtual {p1}, Landroid/view/View;->getTop()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getTopDecorationHeight(Landroid/view/View;)I
|
|
|
|
move-result p0
|
|
|
|
sub-int/2addr v0, p0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getFocusedChild()Landroid/view/View;
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object v1
|
|
|
|
.line 9919
|
|
:cond_0
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView;->getFocusedChild()Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
.line 9920
|
|
invoke-virtual {p0, v0}, Landroidx/recyclerview/widget/ChildHelper;->isHidden(Landroid/view/View;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-object v0
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public getHeight()I
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mHeight:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public getHeightMode()I
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mHeightMode:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public getItemCount()I
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 9939
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;
|
|
|
|
move-result-object p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 9940
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->getItemCount()I
|
|
|
|
move-result p0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 p0, 0x0
|
|
|
|
:goto_1
|
|
return p0
|
|
.end method
|
|
|
|
.method public getItemViewType(Landroid/view/View;)I
|
|
.locals 0
|
|
|
|
.line 9513
|
|
invoke-static {p1}, Landroidx/recyclerview/widget/RecyclerView;->getChildViewHolderInt(Landroid/view/View;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->getItemViewType()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public getLayoutDirection()I
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 9313
|
|
invoke-static {p0}, Landroidx/core/view/ViewCompat;->getLayoutDirection(Landroid/view/View;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public getLeftDecorationWidth(Landroid/view/View;)I
|
|
.locals 0
|
|
|
|
.line 10577
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->mDecorInsets:Landroid/graphics/Rect;
|
|
|
|
iget p0, p0, Landroid/graphics/Rect;->left:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public getMinimumHeight()I
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11085
|
|
invoke-static {p0}, Landroidx/core/view/ViewCompat;->getMinimumHeight(Landroid/view/View;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public getMinimumWidth()I
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11077
|
|
invoke-static {p0}, Landroidx/core/view/ViewCompat;->getMinimumWidth(Landroid/view/View;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public getPaddingBottom()I
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 9866
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView;->getPaddingBottom()I
|
|
|
|
move-result p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public getPaddingEnd()I
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 9886
|
|
invoke-static {p0}, Landroidx/core/view/ViewCompat;->getPaddingEnd(Landroid/view/View;)I
|
|
|
|
move-result p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public getPaddingLeft()I
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 9836
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView;->getPaddingLeft()I
|
|
|
|
move-result p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public getPaddingRight()I
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 9856
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView;->getPaddingRight()I
|
|
|
|
move-result p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public getPaddingStart()I
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 9876
|
|
invoke-static {p0}, Landroidx/core/view/ViewCompat;->getPaddingStart(Landroid/view/View;)I
|
|
|
|
move-result p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public getPaddingTop()I
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 9846
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView;->getPaddingTop()I
|
|
|
|
move-result p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public getPosition(Landroid/view/View;)I
|
|
.locals 0
|
|
|
|
.line 9503
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->getViewLayoutPosition()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public getRightDecorationWidth(Landroid/view/View;)I
|
|
.locals 0
|
|
|
|
.line 10592
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->mDecorInsets:Landroid/graphics/Rect;
|
|
|
|
iget p0, p0, Landroid/graphics/Rect;->right:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public getRowCountForAccessibility(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p0, -0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public getSelectionModeForAccessibility(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public getTopDecorationHeight(Landroid/view/View;)I
|
|
.locals 0
|
|
|
|
.line 10547
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->mDecorInsets:Landroid/graphics/Rect;
|
|
|
|
iget p0, p0, Landroid/graphics/Rect;->top:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public getTransformedBoundingBox(Landroid/view/View;ZLandroid/graphics/Rect;)V
|
|
.locals 4
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 10426
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object p2, p2, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->mDecorInsets:Landroid/graphics/Rect;
|
|
|
|
.line 10427
|
|
iget v0, p2, Landroid/graphics/Rect;->left:I
|
|
|
|
neg-int v0, v0
|
|
|
|
iget v1, p2, Landroid/graphics/Rect;->top:I
|
|
|
|
neg-int v1, v1
|
|
|
|
.line 10428
|
|
invoke-virtual {p1}, Landroid/view/View;->getWidth()I
|
|
|
|
move-result v2
|
|
|
|
iget v3, p2, Landroid/graphics/Rect;->right:I
|
|
|
|
add-int/2addr v2, v3
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getHeight()I
|
|
|
|
move-result v3
|
|
|
|
iget p2, p2, Landroid/graphics/Rect;->bottom:I
|
|
|
|
add-int/2addr v3, p2
|
|
|
|
.line 10427
|
|
invoke-virtual {p3, v0, v1, v2, v3}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 10430
|
|
:cond_0
|
|
invoke-virtual {p1}, Landroid/view/View;->getWidth()I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getHeight()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {p3, v1, v1, p2, v0}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
:goto_0
|
|
iget-object p2, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 10434
|
|
invoke-virtual {p1}, Landroid/view/View;->getMatrix()Landroid/graphics/Matrix;
|
|
|
|
move-result-object p2
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 10435
|
|
invoke-virtual {p2}, Landroid/graphics/Matrix;->isIdentity()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 10436
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView;->mTempRectF:Landroid/graphics/RectF;
|
|
|
|
.line 10437
|
|
invoke-virtual {p0, p3}, Landroid/graphics/RectF;->set(Landroid/graphics/Rect;)V
|
|
|
|
.line 10438
|
|
invoke-virtual {p2, p0}, Landroid/graphics/Matrix;->mapRect(Landroid/graphics/RectF;)Z
|
|
|
|
.line 10439
|
|
iget p2, p0, Landroid/graphics/RectF;->left:F
|
|
|
|
float-to-double v0, p2
|
|
|
|
.line 10440
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->floor(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-int p2, v0
|
|
|
|
iget v0, p0, Landroid/graphics/RectF;->top:F
|
|
|
|
float-to-double v0, v0
|
|
|
|
.line 10441
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->floor(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-int v0, v0
|
|
|
|
iget v1, p0, Landroid/graphics/RectF;->right:F
|
|
|
|
float-to-double v1, v1
|
|
|
|
.line 10442
|
|
invoke-static {v1, v2}, Ljava/lang/Math;->ceil(D)D
|
|
|
|
move-result-wide v1
|
|
|
|
double-to-int v1, v1
|
|
|
|
iget p0, p0, Landroid/graphics/RectF;->bottom:F
|
|
|
|
float-to-double v2, p0
|
|
|
|
.line 10443
|
|
invoke-static {v2, v3}, Ljava/lang/Math;->ceil(D)D
|
|
|
|
move-result-wide v2
|
|
|
|
double-to-int p0, v2
|
|
|
|
.line 10439
|
|
invoke-virtual {p3, p2, v0, v1, p0}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
.line 10447
|
|
:cond_1
|
|
invoke-virtual {p1}, Landroid/view/View;->getLeft()I
|
|
|
|
move-result p0
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getTop()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p3, p0, p1}, Landroid/graphics/Rect;->offset(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getWidth()I
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mWidth:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public getWidthMode()I
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mWidthMode:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method hasFlexibleChildInBothOrientations()Z
|
|
.locals 5
|
|
|
|
.line 11479
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
move v2, v1
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_1
|
|
|
|
.line 11481
|
|
invoke-virtual {p0, v2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v3
|
|
|
|
.line 11482
|
|
invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v3
|
|
|
|
.line 11483
|
|
iget v4, v3, Landroid/view/ViewGroup$LayoutParams;->width:I
|
|
|
|
if-gez v4, :cond_0
|
|
|
|
iget v3, v3, Landroid/view/ViewGroup$LayoutParams;->height:I
|
|
|
|
if-gez v3, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public hasFocus()Z
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 9906
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView;->hasFocus()Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public ignoreView(Landroid/view/View;)V
|
|
.locals 2
|
|
|
|
.line 9984
|
|
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
invoke-virtual {v1, p1}, Landroidx/recyclerview/widget/RecyclerView;->indexOfChild(Landroid/view/View;)I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, -0x1
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
.line 9990
|
|
invoke-static {p1}, Landroidx/recyclerview/widget/RecyclerView;->getChildViewHolderInt(Landroid/view/View;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object p1
|
|
|
|
const/16 v0, 0x80
|
|
|
|
.line 9991
|
|
invoke-virtual {p1, v0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->addFlags(I)V
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 9992
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView;->mViewInfoStore:Landroidx/recyclerview/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/ViewInfoStore;->removeViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
|
|
|
return-void
|
|
|
|
.line 9987
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "View should be fully attached to be ignored"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 9988
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView;->exceptionLabel()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public isAttachedToWindow()Z
|
|
.locals 0
|
|
|
|
iget-boolean p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mIsAttachedToWindow:Z
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public isAutoMeasureEnabled()Z
|
|
.locals 0
|
|
|
|
iget-boolean p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mAutoMeasure:Z
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public isFocused()Z
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 9896
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView;->isFocused()Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public final isItemPrefetchEnabled()Z
|
|
.locals 0
|
|
|
|
iget-boolean p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mItemPrefetchEnabled:Z
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public isLayoutHierarchical(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)Z
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public isMeasurementCacheEnabled()Z
|
|
.locals 0
|
|
|
|
iget-boolean p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mMeasurementCacheEnabled:Z
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public isSmoothScrolling()Z
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mSmoothScroller:Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 9301
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->isRunning()Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public isViewPartiallyVisible(Landroid/view/View;ZZ)Z
|
|
.locals 2
|
|
|
|
iget-object p3, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mHorizontalBoundCheck:Landroidx/recyclerview/widget/ViewBoundsCheck;
|
|
|
|
const/16 v0, 0x6003
|
|
|
|
.line 10773
|
|
invoke-virtual {p3, p1, v0}, Landroidx/recyclerview/widget/ViewBoundsCheck;->isViewWithinBoundFlags(Landroid/view/View;I)Z
|
|
|
|
move-result p3
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mVerticalBoundCheck:Landroidx/recyclerview/widget/ViewBoundsCheck;
|
|
|
|
.line 10775
|
|
invoke-virtual {p0, p1, v0}, Landroidx/recyclerview/widget/ViewBoundsCheck;->isViewWithinBoundFlags(Landroid/view/View;I)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
move p0, v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
if-eqz p2, :cond_1
|
|
|
|
return p0
|
|
|
|
:cond_1
|
|
xor-int/2addr p0, v1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public layoutDecorated(Landroid/view/View;IIII)V
|
|
.locals 1
|
|
|
|
.line 10370
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->mDecorInsets:Landroid/graphics/Rect;
|
|
|
|
.line 10371
|
|
iget v0, p0, Landroid/graphics/Rect;->left:I
|
|
|
|
add-int/2addr p2, v0
|
|
|
|
iget v0, p0, Landroid/graphics/Rect;->top:I
|
|
|
|
add-int/2addr p3, v0
|
|
|
|
iget v0, p0, Landroid/graphics/Rect;->right:I
|
|
|
|
sub-int/2addr p4, v0
|
|
|
|
iget p0, p0, Landroid/graphics/Rect;->bottom:I
|
|
|
|
sub-int/2addr p5, p0
|
|
|
|
invoke-virtual {p1, p2, p3, p4, p5}, Landroid/view/View;->layout(IIII)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public layoutDecoratedWithMargins(Landroid/view/View;IIII)V
|
|
.locals 2
|
|
|
|
.line 10405
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
.line 10406
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->mDecorInsets:Landroid/graphics/Rect;
|
|
|
|
.line 10407
|
|
iget v1, v0, Landroid/graphics/Rect;->left:I
|
|
|
|
add-int/2addr p2, v1
|
|
|
|
iget v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->leftMargin:I
|
|
|
|
add-int/2addr p2, v1
|
|
|
|
iget v1, v0, Landroid/graphics/Rect;->top:I
|
|
|
|
add-int/2addr p3, v1
|
|
|
|
iget v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->topMargin:I
|
|
|
|
add-int/2addr p3, v1
|
|
|
|
iget v1, v0, Landroid/graphics/Rect;->right:I
|
|
|
|
sub-int/2addr p4, v1
|
|
|
|
iget v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->rightMargin:I
|
|
|
|
sub-int/2addr p4, v1
|
|
|
|
iget v0, v0, Landroid/graphics/Rect;->bottom:I
|
|
|
|
sub-int/2addr p5, v0
|
|
|
|
iget p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->bottomMargin:I
|
|
|
|
sub-int/2addr p5, p0
|
|
|
|
invoke-virtual {p1, p2, p3, p4, p5}, Landroid/view/View;->layout(IIII)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public measureChild(Landroid/view/View;II)V
|
|
.locals 5
|
|
|
|
.line 10097
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 10099
|
|
invoke-virtual {v1, p1}, Landroidx/recyclerview/widget/RecyclerView;->getItemDecorInsetsForChild(Landroid/view/View;)Landroid/graphics/Rect;
|
|
|
|
move-result-object v1
|
|
|
|
.line 10100
|
|
iget v2, v1, Landroid/graphics/Rect;->left:I
|
|
|
|
iget v3, v1, Landroid/graphics/Rect;->right:I
|
|
|
|
add-int/2addr v2, v3
|
|
|
|
add-int/2addr p2, v2
|
|
|
|
.line 10101
|
|
iget v2, v1, Landroid/graphics/Rect;->top:I
|
|
|
|
iget v1, v1, Landroid/graphics/Rect;->bottom:I
|
|
|
|
add-int/2addr v2, v1
|
|
|
|
add-int/2addr p3, v2
|
|
|
|
.line 10102
|
|
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
|
|
|
|
.line 10103
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingLeft()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingRight()I
|
|
|
|
move-result v4
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
add-int/2addr v3, p2
|
|
|
|
iget p2, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->width:I
|
|
|
|
.line 10104
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->canScrollHorizontally()Z
|
|
|
|
move-result v4
|
|
|
|
.line 10102
|
|
invoke-static {v1, v2, v3, p2, v4}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildMeasureSpec(IIIIZ)I
|
|
|
|
move-result p2
|
|
|
|
.line 10105
|
|
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
|
|
|
|
.line 10106
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingTop()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingBottom()I
|
|
|
|
move-result v4
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
add-int/2addr v3, p3
|
|
|
|
iget p3, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->height:I
|
|
|
|
.line 10107
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->canScrollVertically()Z
|
|
|
|
move-result v4
|
|
|
|
.line 10105
|
|
invoke-static {v1, v2, v3, p3, v4}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildMeasureSpec(IIIIZ)I
|
|
|
|
move-result p3
|
|
|
|
.line 10108
|
|
invoke-virtual {p0, p1, p2, p3, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->shouldMeasureChild(Landroid/view/View;IILandroidx/recyclerview/widget/RecyclerView$LayoutParams;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 10109
|
|
invoke-virtual {p1, p2, p3}, Landroid/view/View;->measure(II)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public measureChildWithMargins(Landroid/view/View;II)V
|
|
.locals 5
|
|
|
|
.line 10195
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 10197
|
|
invoke-virtual {v1, p1}, Landroidx/recyclerview/widget/RecyclerView;->getItemDecorInsetsForChild(Landroid/view/View;)Landroid/graphics/Rect;
|
|
|
|
move-result-object v1
|
|
|
|
.line 10198
|
|
iget v2, v1, Landroid/graphics/Rect;->left:I
|
|
|
|
iget v3, v1, Landroid/graphics/Rect;->right:I
|
|
|
|
add-int/2addr v2, v3
|
|
|
|
add-int/2addr p2, v2
|
|
|
|
.line 10199
|
|
iget v2, v1, Landroid/graphics/Rect;->top:I
|
|
|
|
iget v1, v1, Landroid/graphics/Rect;->bottom:I
|
|
|
|
add-int/2addr v2, v1
|
|
|
|
add-int/2addr p3, v2
|
|
|
|
.line 10201
|
|
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
|
|
|
|
.line 10202
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingLeft()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingRight()I
|
|
|
|
move-result v4
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
iget v4, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->leftMargin:I
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
iget v4, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->rightMargin:I
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
add-int/2addr v3, p2
|
|
|
|
iget p2, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->width:I
|
|
|
|
.line 10204
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->canScrollHorizontally()Z
|
|
|
|
move-result v4
|
|
|
|
.line 10201
|
|
invoke-static {v1, v2, v3, p2, v4}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildMeasureSpec(IIIIZ)I
|
|
|
|
move-result p2
|
|
|
|
.line 10205
|
|
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
|
|
|
|
.line 10206
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingTop()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingBottom()I
|
|
|
|
move-result v4
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
iget v4, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->topMargin:I
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
iget v4, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->bottomMargin:I
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
add-int/2addr v3, p3
|
|
|
|
iget p3, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->height:I
|
|
|
|
.line 10208
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->canScrollVertically()Z
|
|
|
|
move-result v4
|
|
|
|
.line 10205
|
|
invoke-static {v1, v2, v3, p3, v4}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildMeasureSpec(IIIIZ)I
|
|
|
|
move-result p3
|
|
|
|
.line 10209
|
|
invoke-virtual {p0, p1, p2, p3, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->shouldMeasureChild(Landroid/view/View;IILandroidx/recyclerview/widget/RecyclerView$LayoutParams;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 10210
|
|
invoke-virtual {p1, p2, p3}, Landroid/view/View;->measure(II)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public moveView(II)V
|
|
.locals 2
|
|
|
|
.line 9684
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 9689
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->detachViewAt(I)V
|
|
|
|
.line 9690
|
|
invoke-virtual {p0, v0, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->attachView(Landroid/view/View;I)V
|
|
|
|
return-void
|
|
|
|
.line 9686
|
|
:cond_0
|
|
new-instance p2, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "Cannot move a child from non-existing index:"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 9687
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {p2, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p2
|
|
.end method
|
|
|
|
.method public offsetChildrenHorizontal(I)V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 9951
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView;->offsetChildrenHorizontal(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public offsetChildrenVertical(I)V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 9963
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView;->offsetChildrenVertical(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onAdapterChanged(Landroidx/recyclerview/widget/RecyclerView$Adapter;Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onAddFocusables(Landroidx/recyclerview/widget/RecyclerView;Ljava/util/ArrayList;II)Z
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroidx/recyclerview/widget/RecyclerView;",
|
|
"Ljava/util/ArrayList<",
|
|
"Landroid/view/View;",
|
|
">;II)Z"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public onAttachedToWindow(Landroidx/recyclerview/widget/RecyclerView;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onDetachedFromWindow(Landroidx/recyclerview/widget/RecyclerView;)V
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onDetachedFromWindow(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$Recycler;)V
|
|
.locals 0
|
|
|
|
.line 9034
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->onDetachedFromWindow(Landroidx/recyclerview/widget/RecyclerView;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onFocusSearchFailed(Landroid/view/View;ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)Landroid/view/View;
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public onInitializeAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11210
|
|
iget-object v0, v0, Landroidx/recyclerview/widget/RecyclerView;->mRecycler:Landroidx/recyclerview/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
iget-object v1, v1, Landroidx/recyclerview/widget/RecyclerView;->mState:Landroidx/recyclerview/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {p0, v0, v1, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->onInitializeAccessibilityEvent(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Landroid/view/accessibility/AccessibilityEvent;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onInitializeAccessibilityEvent(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Landroid/view/accessibility/AccessibilityEvent;)V
|
|
.locals 1
|
|
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
if-nez p3, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const/4 p2, 0x1
|
|
|
|
.line 11229
|
|
invoke-virtual {p1, p2}, Landroidx/recyclerview/widget/RecyclerView;->canScrollVertically(I)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 11230
|
|
invoke-virtual {p1, v0}, Landroidx/recyclerview/widget/RecyclerView;->canScrollVertically(I)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11231
|
|
invoke-virtual {p1, v0}, Landroidx/recyclerview/widget/RecyclerView;->canScrollHorizontally(I)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11232
|
|
invoke-virtual {p1, p2}, Landroidx/recyclerview/widget/RecyclerView;->canScrollHorizontally(I)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p2, 0x0
|
|
|
|
.line 11229
|
|
:cond_2
|
|
:goto_0
|
|
invoke-virtual {p3, p2}, Landroid/view/accessibility/AccessibilityEvent;->setScrollable(Z)V
|
|
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11234
|
|
iget-object p1, p1, Landroidx/recyclerview/widget/RecyclerView;->mAdapter:Landroidx/recyclerview/widget/RecyclerView$Adapter;
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11235
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView;->mAdapter:Landroidx/recyclerview/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->getItemCount()I
|
|
|
|
move-result p0
|
|
|
|
invoke-virtual {p3, p0}, Landroid/view/accessibility/AccessibilityEvent;->setItemCount(I)V
|
|
|
|
:cond_3
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method onInitializeAccessibilityNodeInfo(Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11161
|
|
iget-object v0, v0, Landroidx/recyclerview/widget/RecyclerView;->mRecycler:Landroidx/recyclerview/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
iget-object v1, v1, Landroidx/recyclerview/widget/RecyclerView;->mState:Landroidx/recyclerview/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {p0, v0, v1, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->onInitializeAccessibilityNodeInfo(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onInitializeAccessibilityNodeInfo(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
const/4 v1, -0x1
|
|
|
|
.line 11191
|
|
invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->canScrollVertically(I)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->canScrollHorizontally(I)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
:cond_0
|
|
const/16 v0, 0x2000
|
|
|
|
.line 11192
|
|
invoke-virtual {p3, v0}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->addAction(I)V
|
|
|
|
.line 11193
|
|
invoke-virtual {p3, v2}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setScrollable(Z)V
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11195
|
|
invoke-virtual {v0, v2}, Landroidx/recyclerview/widget/RecyclerView;->canScrollVertically(I)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0, v2}, Landroidx/recyclerview/widget/RecyclerView;->canScrollHorizontally(I)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
:cond_2
|
|
const/16 v0, 0x1000
|
|
|
|
.line 11196
|
|
invoke-virtual {p3, v0}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->addAction(I)V
|
|
|
|
.line 11197
|
|
invoke-virtual {p3, v2}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setScrollable(Z)V
|
|
|
|
.line 11201
|
|
:cond_3
|
|
invoke-virtual {p0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getRowCountForAccessibility(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
move-result v0
|
|
|
|
.line 11202
|
|
invoke-virtual {p0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getColumnCountForAccessibility(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
move-result v1
|
|
|
|
.line 11203
|
|
invoke-virtual {p0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->isLayoutHierarchical(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)Z
|
|
|
|
move-result v2
|
|
|
|
.line 11204
|
|
invoke-virtual {p0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getSelectionModeForAccessibility(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
move-result p0
|
|
|
|
.line 11201
|
|
invoke-static {v0, v1, v2, p0}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat$CollectionInfoCompat;->obtain(IIZI)Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat$CollectionInfoCompat;
|
|
|
|
move-result-object p0
|
|
|
|
.line 11205
|
|
invoke-virtual {p3, p0}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setCollectionInfo(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method onInitializeAccessibilityNodeInfoForItem(Landroid/view/View;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
|
.locals 2
|
|
|
|
.line 11241
|
|
invoke-static {p1}, Landroidx/recyclerview/widget/RecyclerView;->getChildViewHolderInt(Landroid/view/View;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 11243
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->isRemoved()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
iget-object v0, v0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
|
|
|
invoke-virtual {v1, v0}, Landroidx/recyclerview/widget/ChildHelper;->isHidden(Landroid/view/View;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11244
|
|
iget-object v0, v0, Landroidx/recyclerview/widget/RecyclerView;->mRecycler:Landroidx/recyclerview/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
iget-object v1, v1, Landroidx/recyclerview/widget/RecyclerView;->mState:Landroidx/recyclerview/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {p0, v0, v1, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->onInitializeAccessibilityNodeInfoForItem(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Landroid/view/View;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onInitializeAccessibilityNodeInfoForItem(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Landroid/view/View;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onInterceptFocusSearch(Landroid/view/View;I)Landroid/view/View;
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public onItemsAdded(Landroidx/recyclerview/widget/RecyclerView;II)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onItemsChanged(Landroidx/recyclerview/widget/RecyclerView;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onItemsMoved(Landroidx/recyclerview/widget/RecyclerView;III)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onItemsRemoved(Landroidx/recyclerview/widget/RecyclerView;II)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onItemsUpdated(Landroidx/recyclerview/widget/RecyclerView;II)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onItemsUpdated(Landroidx/recyclerview/widget/RecyclerView;IILjava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 10928
|
|
invoke-virtual {p0, p1, p2, p3}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->onItemsUpdated(Landroidx/recyclerview/widget/RecyclerView;II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onLayoutChildren(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)V
|
|
.locals 0
|
|
|
|
const-string p0, "RecyclerView"
|
|
|
|
const-string p1, "You must override onLayoutChildren(Recycler recycler, State state) "
|
|
|
|
.line 9099
|
|
invoke-static {p0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onLayoutCompleted(Landroidx/recyclerview/widget/RecyclerView$State;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onMeasure(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;II)V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11058
|
|
invoke-virtual {p0, p3, p4}, Landroidx/recyclerview/widget/RecyclerView;->defaultOnMeasure(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onRequestChildFocus(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;Landroid/view/View;)Z
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 10819
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->isSmoothScrolling()Z
|
|
|
|
move-result p0
|
|
|
|
if-nez p0, :cond_1
|
|
|
|
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->isComputingLayout()Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p0, 0x1
|
|
|
|
:goto_1
|
|
return p0
|
|
.end method
|
|
|
|
.method public onRequestChildFocus(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$State;Landroid/view/View;Landroid/view/View;)Z
|
|
.locals 0
|
|
|
|
.line 10841
|
|
invoke-virtual {p0, p1, p3, p4}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->onRequestChildFocus(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;Landroid/view/View;)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public onRestoreInstanceState(Landroid/os/Parcelable;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSaveInstanceState()Landroid/os/Parcelable;
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public onScrollStateChanged(I)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method onSmoothScrollerStopped(Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mSmoothScroller:Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mSmoothScroller:Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method performAccessibilityAction(ILandroid/os/Bundle;)Z
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11350
|
|
iget-object v0, v0, Landroidx/recyclerview/widget/RecyclerView;->mRecycler:Landroidx/recyclerview/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
iget-object v1, v1, Landroidx/recyclerview/widget/RecyclerView;->mState:Landroidx/recyclerview/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {p0, v0, v1, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->performAccessibilityAction(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;ILandroid/os/Bundle;)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public performAccessibilityAction(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;ILandroid/os/Bundle;)Z
|
|
.locals 8
|
|
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
const/4 p2, 0x0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
return p2
|
|
|
|
.line 11370
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeight()I
|
|
|
|
move-result p1
|
|
|
|
.line 11371
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getWidth()I
|
|
|
|
move-result p4
|
|
|
|
.line 11372
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11375
|
|
invoke-virtual {v1}, Landroidx/recyclerview/widget/RecyclerView;->getMatrix()Landroid/graphics/Matrix;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Landroid/graphics/Matrix;->isIdentity()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
invoke-virtual {v1, v0}, Landroidx/recyclerview/widget/RecyclerView;->getGlobalVisibleRect(Landroid/graphics/Rect;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 11377
|
|
invoke-virtual {v0}, Landroid/graphics/Rect;->height()I
|
|
|
|
move-result p1
|
|
|
|
.line 11378
|
|
invoke-virtual {v0}, Landroid/graphics/Rect;->width()I
|
|
|
|
move-result p4
|
|
|
|
:cond_1
|
|
const/16 v0, 0x1000
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eq p3, v0, :cond_4
|
|
|
|
const/16 v0, 0x2000
|
|
|
|
if-eq p3, v0, :cond_2
|
|
|
|
move v3, p2
|
|
|
|
move v4, v3
|
|
|
|
goto :goto_3
|
|
|
|
:cond_2
|
|
iget-object p3, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 11382
|
|
invoke-virtual {p3, v0}, Landroidx/recyclerview/widget/RecyclerView;->canScrollVertically(I)Z
|
|
|
|
move-result p3
|
|
|
|
if-eqz p3, :cond_3
|
|
|
|
.line 11383
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingTop()I
|
|
|
|
move-result p3
|
|
|
|
sub-int/2addr p1, p3
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingBottom()I
|
|
|
|
move-result p3
|
|
|
|
sub-int/2addr p1, p3
|
|
|
|
neg-int p1, p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
move p1, p2
|
|
|
|
:goto_0
|
|
iget-object p3, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11385
|
|
invoke-virtual {p3, v0}, Landroidx/recyclerview/widget/RecyclerView;->canScrollHorizontally(I)Z
|
|
|
|
move-result p3
|
|
|
|
if-eqz p3, :cond_6
|
|
|
|
.line 11386
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingLeft()I
|
|
|
|
move-result p3
|
|
|
|
sub-int/2addr p4, p3
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingRight()I
|
|
|
|
move-result p3
|
|
|
|
sub-int/2addr p4, p3
|
|
|
|
neg-int p3, p4
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
iget-object p3, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11390
|
|
invoke-virtual {p3, v1}, Landroidx/recyclerview/widget/RecyclerView;->canScrollVertically(I)Z
|
|
|
|
move-result p3
|
|
|
|
if-eqz p3, :cond_5
|
|
|
|
.line 11391
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingTop()I
|
|
|
|
move-result p3
|
|
|
|
sub-int/2addr p1, p3
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingBottom()I
|
|
|
|
move-result p3
|
|
|
|
sub-int/2addr p1, p3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
move p1, p2
|
|
|
|
:goto_1
|
|
iget-object p3, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11393
|
|
invoke-virtual {p3, v1}, Landroidx/recyclerview/widget/RecyclerView;->canScrollHorizontally(I)Z
|
|
|
|
move-result p3
|
|
|
|
if-eqz p3, :cond_6
|
|
|
|
.line 11394
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingLeft()I
|
|
|
|
move-result p3
|
|
|
|
sub-int/2addr p4, p3
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingRight()I
|
|
|
|
move-result p3
|
|
|
|
sub-int p3, p4, p3
|
|
|
|
:goto_2
|
|
move v4, p1
|
|
|
|
move v3, p3
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
move v4, p1
|
|
|
|
move v3, p2
|
|
|
|
:goto_3
|
|
if-nez v4, :cond_7
|
|
|
|
if-nez v3, :cond_7
|
|
|
|
return p2
|
|
|
|
:cond_7
|
|
iget-object v2, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/high16 v6, -0x80000000
|
|
|
|
const/4 v7, 0x1
|
|
|
|
.line 11401
|
|
invoke-virtual/range {v2 .. v7}, Landroidx/recyclerview/widget/RecyclerView;->smoothScrollBy(IILandroid/view/animation/Interpolator;IZ)V
|
|
|
|
return v1
|
|
.end method
|
|
|
|
.method performAccessibilityActionForItem(Landroid/view/View;ILandroid/os/Bundle;)Z
|
|
.locals 7
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11408
|
|
iget-object v2, v0, Landroidx/recyclerview/widget/RecyclerView;->mRecycler:Landroidx/recyclerview/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
iget-object v3, v0, Landroidx/recyclerview/widget/RecyclerView;->mState:Landroidx/recyclerview/widget/RecyclerView$State;
|
|
|
|
move-object v1, p0
|
|
|
|
move-object v4, p1
|
|
|
|
move v5, p2
|
|
|
|
move-object v6, p3
|
|
|
|
invoke-virtual/range {v1 .. v6}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->performAccessibilityActionForItem(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Landroid/view/View;ILandroid/os/Bundle;)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public performAccessibilityActionForItem(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Landroid/view/View;ILandroid/os/Bundle;)Z
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public postOnAnimation(Ljava/lang/Runnable;)V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 8961
|
|
invoke-static {p0, p1}, Landroidx/core/view/ViewCompat;->postOnAnimation(Landroid/view/View;Ljava/lang/Runnable;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public removeAllViews()V
|
|
.locals 2
|
|
|
|
.line 9479
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_0
|
|
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
.line 9481
|
|
invoke-virtual {v1, v0}, Landroidx/recyclerview/widget/ChildHelper;->removeViewAt(I)V
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public removeAndRecycleAllViews(Landroidx/recyclerview/widget/RecyclerView$Recycler;)V
|
|
.locals 2
|
|
|
|
.line 11151
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_1
|
|
|
|
.line 11152
|
|
invoke-virtual {p0, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
.line 11153
|
|
invoke-static {v1}, Landroidx/recyclerview/widget/RecyclerView;->getChildViewHolderInt(Landroid/view/View;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->shouldIgnore()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 11154
|
|
invoke-virtual {p0, v0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->removeAndRecycleViewAt(ILandroidx/recyclerview/widget/RecyclerView$Recycler;)V
|
|
|
|
:cond_0
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method removeAndRecycleScrapInt(Landroidx/recyclerview/widget/RecyclerView$Recycler;)V
|
|
.locals 6
|
|
|
|
.line 10055
|
|
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->getScrapCount()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v1, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v1, :cond_3
|
|
|
|
.line 10058
|
|
invoke-virtual {p1, v1}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->getScrapViewAt(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
.line 10059
|
|
invoke-static {v2}, Landroidx/recyclerview/widget/RecyclerView;->getChildViewHolderInt(Landroid/view/View;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v3
|
|
|
|
.line 10060
|
|
invoke-virtual {v3}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->shouldIgnore()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const/4 v4, 0x0
|
|
|
|
.line 10068
|
|
invoke-virtual {v3, v4}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->setIsRecyclable(Z)V
|
|
|
|
.line 10069
|
|
invoke-virtual {v3}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->isTmpDetached()Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_1
|
|
|
|
iget-object v5, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 10070
|
|
invoke-virtual {v5, v2, v4}, Landroidx/recyclerview/widget/RecyclerView;->removeDetachedView(Landroid/view/View;Z)V
|
|
|
|
:cond_1
|
|
iget-object v4, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 10072
|
|
iget-object v4, v4, Landroidx/recyclerview/widget/RecyclerView;->mItemAnimator:Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
iget-object v4, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 10073
|
|
iget-object v4, v4, Landroidx/recyclerview/widget/RecyclerView;->mItemAnimator:Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;
|
|
|
|
invoke-virtual {v4, v3}, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->endAnimation(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
|
|
|
:cond_2
|
|
const/4 v4, 0x1
|
|
|
|
.line 10075
|
|
invoke-virtual {v3, v4}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->setIsRecyclable(Z)V
|
|
|
|
.line 10076
|
|
invoke-virtual {p1, v2}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->quickRecycleScrapView(Landroid/view/View;)V
|
|
|
|
:goto_1
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 10078
|
|
:cond_3
|
|
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->clearScrap()V
|
|
|
|
if-lez v0, :cond_4
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 10080
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView;->invalidate()V
|
|
|
|
:cond_4
|
|
return-void
|
|
.end method
|
|
|
|
.method public removeAndRecycleView(Landroid/view/View;Landroidx/recyclerview/widget/RecyclerView$Recycler;)V
|
|
.locals 0
|
|
|
|
.line 9728
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->removeView(Landroid/view/View;)V
|
|
|
|
.line 9729
|
|
invoke-virtual {p2, p1}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->recycleView(Landroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public removeAndRecycleViewAt(ILandroidx/recyclerview/widget/RecyclerView$Recycler;)V
|
|
.locals 1
|
|
|
|
.line 9739
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
.line 9740
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->removeViewAt(I)V
|
|
|
|
.line 9741
|
|
invoke-virtual {p2, v0}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->recycleView(Landroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public removeCallbacks(Ljava/lang/Runnable;)Z
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 8979
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView;->removeCallbacks(Ljava/lang/Runnable;)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public removeDetachedView(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 9674
|
|
invoke-virtual {p0, p1, v0}, Landroidx/recyclerview/widget/RecyclerView;->removeDetachedView(Landroid/view/View;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public removeView(Landroid/view/View;)V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
.line 9455
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/ChildHelper;->removeView(Landroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public removeViewAt(I)V
|
|
.locals 1
|
|
|
|
.line 9467
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
.line 9469
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/ChildHelper;->removeViewAt(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public requestChildRectangleOnScreen(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;Landroid/graphics/Rect;Z)Z
|
|
.locals 6
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move-object v2, p2
|
|
|
|
move-object v3, p3
|
|
|
|
move v4, p4
|
|
|
|
.line 10708
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->requestChildRectangleOnScreen(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;Landroid/graphics/Rect;ZZ)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public requestChildRectangleOnScreen(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;Landroid/graphics/Rect;ZZ)Z
|
|
.locals 2
|
|
|
|
.line 10729
|
|
invoke-direct {p0, p2, p3}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildRectangleOnScreenScrollAmount(Landroid/view/View;Landroid/graphics/Rect;)[I
|
|
|
|
move-result-object p2
|
|
|
|
const/4 p3, 0x0
|
|
|
|
.line 10731
|
|
aget v0, p2, p3
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 10732
|
|
aget p2, p2, v1
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
.line 10733
|
|
invoke-direct {p0, p1, v0, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->isFocusedChildVisibleAfterScrolling(Landroidx/recyclerview/widget/RecyclerView;II)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
:cond_0
|
|
if-nez v0, :cond_2
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return p3
|
|
|
|
:cond_2
|
|
:goto_0
|
|
if-eqz p4, :cond_3
|
|
|
|
.line 10736
|
|
invoke-virtual {p1, v0, p2}, Landroidx/recyclerview/widget/RecyclerView;->scrollBy(II)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 10738
|
|
:cond_3
|
|
invoke-virtual {p1, v0, p2}, Landroidx/recyclerview/widget/RecyclerView;->smoothScrollBy(II)V
|
|
|
|
:goto_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public requestLayout()V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 8668
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView;->requestLayout()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public requestSimpleAnimationsInNextLayout()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRequestedSimpleAnimations:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public scrollHorizontallyBy(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public scrollToPosition(I)V
|
|
.locals 0
|
|
|
|
.line 9256
|
|
sget-boolean p0, Landroidx/recyclerview/widget/RecyclerView;->sVerboseLoggingEnabled:Z
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const-string p0, "RecyclerView"
|
|
|
|
const-string p1, "You MUST implement scrollToPosition. It will soon become abstract"
|
|
|
|
.line 9257
|
|
invoke-static {p0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public scrollVerticallyBy(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public setAutoMeasureEnabled(Z)V
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iput-boolean p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mAutoMeasure:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method setExactMeasureSpecsFrom(Landroidx/recyclerview/widget/RecyclerView;)V
|
|
.locals 2
|
|
|
|
.line 11459
|
|
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getWidth()I
|
|
|
|
move-result v0
|
|
|
|
const/high16 v1, 0x40000000 # 2.0f
|
|
|
|
invoke-static {v0, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
move-result v0
|
|
|
|
.line 11460
|
|
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getHeight()I
|
|
|
|
move-result p1
|
|
|
|
invoke-static {p1, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
move-result p1
|
|
|
|
.line 11458
|
|
invoke-virtual {p0, v0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->setMeasureSpecs(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final setItemPrefetchEnabled(Z)V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mItemPrefetchEnabled:Z
|
|
|
|
if-eq p1, v0, :cond_0
|
|
|
|
iput-boolean p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mItemPrefetchEnabled:Z
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mPrefetchMaxCountObserved:I
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 8860
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView;->mRecycler:Landroidx/recyclerview/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->updateViewCacheSize()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method setMeasureSpecs(II)V
|
|
.locals 1
|
|
|
|
.line 8578
|
|
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mWidth:I
|
|
|
|
.line 8579
|
|
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mWidthMode:I
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 8580
|
|
sget-boolean p1, Landroidx/recyclerview/widget/RecyclerView;->ALLOW_SIZE_IN_UNSPECIFIED_SPEC:Z
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
iput v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mWidth:I
|
|
|
|
.line 8584
|
|
:cond_0
|
|
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mHeight:I
|
|
|
|
.line 8585
|
|
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getMode(I)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mHeightMode:I
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
.line 8586
|
|
sget-boolean p1, Landroidx/recyclerview/widget/RecyclerView;->ALLOW_SIZE_IN_UNSPECIFIED_SPEC:Z
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
iput v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mHeight:I
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public setMeasuredDimension(II)V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 11069
|
|
invoke-static {p0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView;->access$500(Landroidx/recyclerview/widget/RecyclerView;II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setMeasuredDimension(Landroid/graphics/Rect;II)V
|
|
.locals 2
|
|
|
|
.line 8656
|
|
invoke-virtual {p1}, Landroid/graphics/Rect;->width()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingLeft()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingRight()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
.line 8657
|
|
invoke-virtual {p1}, Landroid/graphics/Rect;->height()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingTop()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr p1, v1
|
|
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingBottom()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr p1, v1
|
|
|
|
.line 8658
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getMinimumWidth()I
|
|
|
|
move-result v1
|
|
|
|
invoke-static {p2, v0, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->chooseSize(III)I
|
|
|
|
move-result p2
|
|
|
|
.line 8659
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getMinimumHeight()I
|
|
|
|
move-result v0
|
|
|
|
invoke-static {p3, p1, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->chooseSize(III)I
|
|
|
|
move-result p1
|
|
|
|
.line 8660
|
|
invoke-virtual {p0, p2, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->setMeasuredDimension(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method setMeasuredDimensionFromChildren(II)V
|
|
.locals 8
|
|
|
|
.line 8605
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 8607
|
|
invoke-virtual {p0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView;->defaultOnMeasure(II)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/high16 v1, -0x80000000
|
|
|
|
const v2, 0x7fffffff
|
|
|
|
const/4 v3, 0x0
|
|
|
|
move v4, v2
|
|
|
|
move v5, v3
|
|
|
|
move v2, v1
|
|
|
|
move v3, v4
|
|
|
|
:goto_0
|
|
if-ge v5, v0, :cond_5
|
|
|
|
.line 8616
|
|
invoke-virtual {p0, v5}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v6
|
|
|
|
iget-object v7, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 8617
|
|
iget-object v7, v7, Landroidx/recyclerview/widget/RecyclerView;->mTempRect:Landroid/graphics/Rect;
|
|
|
|
.line 8618
|
|
invoke-virtual {p0, v6, v7}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getDecoratedBoundsWithMargins(Landroid/view/View;Landroid/graphics/Rect;)V
|
|
|
|
.line 8619
|
|
iget v6, v7, Landroid/graphics/Rect;->left:I
|
|
|
|
if-ge v6, v3, :cond_1
|
|
|
|
.line 8620
|
|
iget v3, v7, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 8622
|
|
:cond_1
|
|
iget v6, v7, Landroid/graphics/Rect;->right:I
|
|
|
|
if-le v6, v1, :cond_2
|
|
|
|
.line 8623
|
|
iget v1, v7, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 8625
|
|
:cond_2
|
|
iget v6, v7, Landroid/graphics/Rect;->top:I
|
|
|
|
if-ge v6, v4, :cond_3
|
|
|
|
.line 8626
|
|
iget v4, v7, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 8628
|
|
:cond_3
|
|
iget v6, v7, Landroid/graphics/Rect;->bottom:I
|
|
|
|
if-le v6, v2, :cond_4
|
|
|
|
.line 8629
|
|
iget v2, v7, Landroid/graphics/Rect;->bottom:I
|
|
|
|
:cond_4
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 8632
|
|
iget-object v0, v0, Landroidx/recyclerview/widget/RecyclerView;->mTempRect:Landroid/graphics/Rect;
|
|
|
|
invoke-virtual {v0, v3, v4, v1, v2}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 8633
|
|
iget-object v0, v0, Landroidx/recyclerview/widget/RecyclerView;->mTempRect:Landroid/graphics/Rect;
|
|
|
|
invoke-virtual {p0, v0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->setMeasuredDimension(Landroid/graphics/Rect;II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setMeasurementCacheEnabled(Z)V
|
|
.locals 0
|
|
|
|
iput-boolean p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mMeasurementCacheEnabled:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method setRecyclerView(Landroidx/recyclerview/widget/RecyclerView;)V
|
|
.locals 1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
iput-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mWidth:I
|
|
|
|
iput p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mHeight:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iput-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 8569
|
|
iget-object v0, p1, Landroidx/recyclerview/widget/RecyclerView;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
iput-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mChildHelper:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
.line 8570
|
|
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getWidth()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mWidth:I
|
|
|
|
.line 8571
|
|
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getHeight()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mHeight:I
|
|
|
|
:goto_0
|
|
const/high16 p1, 0x40000000 # 2.0f
|
|
|
|
iput p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mWidthMode:I
|
|
|
|
iput p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mHeightMode:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method shouldMeasureChild(Landroid/view/View;IILandroidx/recyclerview/widget/RecyclerView$LayoutParams;)Z
|
|
.locals 1
|
|
|
|
.line 10135
|
|
invoke-virtual {p1}, Landroid/view/View;->isLayoutRequested()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-boolean p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mMeasurementCacheEnabled:Z
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 10137
|
|
invoke-virtual {p1}, Landroid/view/View;->getWidth()I
|
|
|
|
move-result p0
|
|
|
|
iget v0, p4, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->width:I
|
|
|
|
invoke-static {p0, p2, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->isMeasurementUpToDate(III)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 10138
|
|
invoke-virtual {p1}, Landroid/view/View;->getHeight()I
|
|
|
|
move-result p0
|
|
|
|
iget p1, p4, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->height:I
|
|
|
|
invoke-static {p0, p3, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->isMeasurementUpToDate(III)Z
|
|
|
|
move-result p0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p0, 0x1
|
|
|
|
:goto_1
|
|
return p0
|
|
.end method
|
|
|
|
.method shouldMeasureTwice()Z
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method shouldReMeasureChild(Landroid/view/View;IILandroidx/recyclerview/widget/RecyclerView$LayoutParams;)Z
|
|
.locals 1
|
|
|
|
iget-boolean p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mMeasurementCacheEnabled:Z
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 10121
|
|
invoke-virtual {p1}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
move-result p0
|
|
|
|
iget v0, p4, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->width:I
|
|
|
|
invoke-static {p0, p2, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->isMeasurementUpToDate(III)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 10122
|
|
invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
move-result p0
|
|
|
|
iget p1, p4, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->height:I
|
|
|
|
invoke-static {p0, p3, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->isMeasurementUpToDate(III)Z
|
|
|
|
move-result p0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p0, 0x1
|
|
|
|
:goto_1
|
|
return p0
|
|
.end method
|
|
|
|
.method public smoothScrollToPosition(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$State;I)V
|
|
.locals 0
|
|
|
|
const-string p0, "RecyclerView"
|
|
|
|
const-string p1, "You must override smoothScrollToPosition to support smooth scrolling"
|
|
|
|
.line 9274
|
|
invoke-static {p0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public startSmoothScroll(Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mSmoothScroller:Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
if-eq p1, v0, :cond_0
|
|
|
|
.line 9290
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->isRunning()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mSmoothScroller:Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;
|
|
|
|
.line 9291
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->stop()V
|
|
|
|
:cond_0
|
|
iput-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mSmoothScroller:Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 9294
|
|
invoke-virtual {p1, v0, p0}, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->start(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public stopIgnoringView(Landroid/view/View;)V
|
|
.locals 0
|
|
|
|
.line 10005
|
|
invoke-static {p1}, Landroidx/recyclerview/widget/RecyclerView;->getChildViewHolderInt(Landroid/view/View;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object p0
|
|
|
|
.line 10006
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->stopIgnoring()V
|
|
|
|
.line 10007
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->resetInternal()V
|
|
|
|
const/4 p1, 0x4
|
|
|
|
.line 10008
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->addFlags(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method stopSmoothScroller()V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->mSmoothScroller:Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 11120
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->stop()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public supportsPredictiveItemAnimations()Z
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|