4307 lines
105 KiB
Smali
4307 lines
105 KiB
Smali
.class public abstract Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
.super Ljava/lang/Object;
|
|
.source "RecyclerView.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroid/support/v7/widget/RecyclerView;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x409
|
|
name = "LayoutManager"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroid/support/v7/widget/RecyclerView$LayoutManager$Properties;,
|
|
Landroid/support/v7/widget/RecyclerView$LayoutManager$LayoutPrefetchRegistry;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final a:Landroid/support/v7/widget/ViewBoundsCheck$Callback;
|
|
|
|
.field private final b:Landroid/support/v7/widget/ViewBoundsCheck$Callback;
|
|
|
|
.field private c:Z
|
|
|
|
.field private d:Z
|
|
|
|
.field private e:I
|
|
|
|
.field private f:I
|
|
|
|
.field private g:I
|
|
|
|
.field private h:I
|
|
|
|
.field p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
.field q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
.field r:Landroid/support/v7/widget/ViewBoundsCheck;
|
|
|
|
.field s:Landroid/support/v7/widget/ViewBoundsCheck;
|
|
|
|
.field t:Landroid/support/v7/widget/RecyclerView$SmoothScroller;
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field u:Z
|
|
|
|
.field v:Z
|
|
|
|
.field w:Z
|
|
|
|
.field x:I
|
|
|
|
.field y:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 7187
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 7195
|
|
new-instance v0, Landroid/support/v7/widget/RecyclerView$LayoutManager$1;
|
|
|
|
invoke-direct {v0, p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager$1;-><init>(Landroid/support/v7/widget/RecyclerView$LayoutManager;)V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a:Landroid/support/v7/widget/ViewBoundsCheck$Callback;
|
|
|
|
.line 7241
|
|
new-instance v0, Landroid/support/v7/widget/RecyclerView$LayoutManager$2;
|
|
|
|
invoke-direct {v0, p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager$2;-><init>(Landroid/support/v7/widget/RecyclerView$LayoutManager;)V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b:Landroid/support/v7/widget/ViewBoundsCheck$Callback;
|
|
|
|
.line 7291
|
|
new-instance v0, Landroid/support/v7/widget/ViewBoundsCheck;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a:Landroid/support/v7/widget/ViewBoundsCheck$Callback;
|
|
|
|
invoke-direct {v0, v1}, Landroid/support/v7/widget/ViewBoundsCheck;-><init>(Landroid/support/v7/widget/ViewBoundsCheck$Callback;)V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->r:Landroid/support/v7/widget/ViewBoundsCheck;
|
|
|
|
.line 7292
|
|
new-instance v0, Landroid/support/v7/widget/ViewBoundsCheck;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b:Landroid/support/v7/widget/ViewBoundsCheck$Callback;
|
|
|
|
invoke-direct {v0, v1}, Landroid/support/v7/widget/ViewBoundsCheck;-><init>(Landroid/support/v7/widget/ViewBoundsCheck$Callback;)V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->s:Landroid/support/v7/widget/ViewBoundsCheck;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 7297
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->u:Z
|
|
|
|
.line 7299
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->v:Z
|
|
|
|
.line 7305
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->w:Z
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 7311
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->c:Z
|
|
|
|
.line 7313
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->d:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(III)I
|
|
.locals 2
|
|
|
|
.line 7501
|
|
invoke-static {p0}, Landroid/view/View$MeasureSpec;->getMode(I)I
|
|
|
|
move-result v0
|
|
|
|
.line 7502
|
|
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 7510
|
|
invoke-static {p1, p2}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
return p0
|
|
|
|
.line 7507
|
|
: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 public static a(IIIIZ)I
|
|
.locals 4
|
|
|
|
sub-int/2addr p0, p2
|
|
|
|
const/4 p2, 0x0
|
|
|
|
.line 9056
|
|
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_3
|
|
|
|
if-ltz p3, :cond_0
|
|
|
|
:goto_0
|
|
move p0, p3
|
|
|
|
const/high16 p2, 0x40000000 # 2.0f
|
|
|
|
goto :goto_2
|
|
|
|
:cond_0
|
|
if-ne p3, v1, :cond_7
|
|
|
|
if-eq p1, v2, :cond_2
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
if-eq p1, v3, :cond_2
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
const/4 p3, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
move p3, p0
|
|
|
|
:goto_1
|
|
move p2, p1
|
|
|
|
move p0, p3
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
if-ltz p3, :cond_4
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
if-ne p3, v1, :cond_5
|
|
|
|
move p2, p1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
if-ne p3, v0, :cond_7
|
|
|
|
if-eq p1, v2, :cond_6
|
|
|
|
if-ne p1, v3, :cond_8
|
|
|
|
:cond_6
|
|
const/high16 p2, -0x80000000
|
|
|
|
goto :goto_2
|
|
|
|
:cond_7
|
|
const/4 p0, 0x0
|
|
|
|
.line 9097
|
|
:cond_8
|
|
:goto_2
|
|
invoke-static {p0, p2}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static a(Landroid/content/Context;Landroid/util/AttributeSet;II)Landroid/support/v7/widget/RecyclerView$LayoutManager$Properties;
|
|
.locals 2
|
|
|
|
.line 10233
|
|
new-instance v0, Landroid/support/v7/widget/RecyclerView$LayoutManager$Properties;
|
|
|
|
invoke-direct {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager$Properties;-><init>()V
|
|
|
|
.line 10234
|
|
sget-object v1, Landroid/support/v7/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 10236
|
|
sget p1, Landroid/support/v7/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, Landroid/support/v7/widget/RecyclerView$LayoutManager$Properties;->a:I
|
|
|
|
.line 10238
|
|
sget p1, Landroid/support/v7/recyclerview/R$styleable;->RecyclerView_spanCount:I
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, v0, Landroid/support/v7/widget/RecyclerView$LayoutManager$Properties;->b:I
|
|
|
|
.line 10239
|
|
sget p1, Landroid/support/v7/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, Landroid/support/v7/widget/RecyclerView$LayoutManager$Properties;->c:Z
|
|
|
|
.line 10240
|
|
sget p1, Landroid/support/v7/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, Landroid/support/v7/widget/RecyclerView$LayoutManager$Properties;->d:Z
|
|
|
|
.line 10241
|
|
invoke-virtual {p0}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private a(ILandroid/view/View;)V
|
|
.locals 0
|
|
|
|
.line 8411
|
|
iget-object p2, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {p2, p1}, Landroid/support/v7/widget/ChildHelper;->e(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Landroid/support/v7/widget/RecyclerView$LayoutManager;Landroid/support/v7/widget/RecyclerView$SmoothScroller;)V
|
|
.locals 0
|
|
|
|
.line 7187
|
|
invoke-direct {p0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b(Landroid/support/v7/widget/RecyclerView$SmoothScroller;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Landroid/support/v7/widget/RecyclerView$Recycler;ILandroid/view/View;)V
|
|
.locals 2
|
|
|
|
.line 8810
|
|
invoke-static {p3}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v0
|
|
|
|
.line 8811
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 8817
|
|
:cond_0
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->n()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->q()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v1, v1, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
.line 8818
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/RecyclerView$Adapter;->b()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
.line 8819
|
|
invoke-virtual {p0, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g(I)V
|
|
|
|
.line 8820
|
|
invoke-virtual {p1, v0}, Landroid/support/v7/widget/RecyclerView$Recycler;->b(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 8822
|
|
:cond_1
|
|
invoke-virtual {p0, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->h(I)V
|
|
|
|
.line 8823
|
|
invoke-virtual {p1, p3}, Landroid/support/v7/widget/RecyclerView$Recycler;->c(Landroid/view/View;)V
|
|
|
|
.line 8824
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object p1, p1, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {p1, v0}, Landroid/support/v7/widget/ViewInfoStore;->h(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Landroid/view/View;IZ)V
|
|
.locals 4
|
|
|
|
.line 8184
|
|
invoke-static {p1}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez p3, :cond_1
|
|
|
|
.line 8185
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->q()Z
|
|
|
|
move-result p3
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 8194
|
|
:cond_0
|
|
iget-object p3, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object p3, p3, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {p3, v0}, Landroid/support/v7/widget/ViewInfoStore;->f(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 8187
|
|
:cond_1
|
|
:goto_0
|
|
iget-object p3, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object p3, p3, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {p3, v0}, Landroid/support/v7/widget/ViewInfoStore;->e(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
.line 8196
|
|
:goto_1
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p3
|
|
|
|
check-cast p3, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
.line 8197
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->k()Z
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v1, :cond_6
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->i()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
goto :goto_2
|
|
|
|
.line 8207
|
|
:cond_2
|
|
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
if-ne v1, v3, :cond_5
|
|
|
|
.line 8209
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v1, p1}, Landroid/support/v7/widget/ChildHelper;->b(Landroid/view/View;)I
|
|
|
|
move-result v1
|
|
|
|
const/4 v3, -0x1
|
|
|
|
if-ne p2, v3, :cond_3
|
|
|
|
.line 8211
|
|
iget-object p2, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {p2}, Landroid/support/v7/widget/ChildHelper;->b()I
|
|
|
|
move-result p2
|
|
|
|
:cond_3
|
|
if-eq v1, v3, :cond_4
|
|
|
|
if-eq v1, p2, :cond_8
|
|
|
|
.line 8219
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object p1, p1, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {p1, v1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f(II)V
|
|
|
|
goto :goto_4
|
|
|
|
.line 8214
|
|
:cond_4
|
|
new-instance p2, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance p3, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v0, "Added View has RecyclerView as parent but view is not a real child. Unfiltered index:"
|
|
|
|
invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
.line 8216
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/RecyclerView;->indexOfChild(Landroid/view/View;)I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView;->a()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p2, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p2
|
|
|
|
.line 8222
|
|
:cond_5
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v1, p1, p2, v2}, Landroid/support/v7/widget/ChildHelper;->a(Landroid/view/View;IZ)V
|
|
|
|
const/4 p2, 0x1
|
|
|
|
.line 8223
|
|
iput-boolean p2, p3, Landroid/support/v7/widget/RecyclerView$LayoutParams;->e:Z
|
|
|
|
.line 8224
|
|
iget-object p2, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->t:Landroid/support/v7/widget/RecyclerView$SmoothScroller;
|
|
|
|
if-eqz p2, :cond_8
|
|
|
|
iget-object p2, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->t:Landroid/support/v7/widget/RecyclerView$SmoothScroller;
|
|
|
|
invoke-virtual {p2}, Landroid/support/v7/widget/RecyclerView$SmoothScroller;->h()Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_8
|
|
|
|
.line 8225
|
|
iget-object p2, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->t:Landroid/support/v7/widget/RecyclerView$SmoothScroller;
|
|
|
|
invoke-virtual {p2, p1}, Landroid/support/v7/widget/RecyclerView$SmoothScroller;->b(Landroid/view/View;)V
|
|
|
|
goto :goto_4
|
|
|
|
.line 8198
|
|
:cond_6
|
|
:goto_2
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->i()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_7
|
|
|
|
.line 8199
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->j()V
|
|
|
|
goto :goto_3
|
|
|
|
.line 8201
|
|
:cond_7
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->l()V
|
|
|
|
.line 8203
|
|
:goto_3
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v1, p1, p2, v3, v2}, Landroid/support/v7/widget/ChildHelper;->a(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;Z)V
|
|
|
|
.line 8228
|
|
:cond_8
|
|
:goto_4
|
|
iget-boolean p1, p3, Landroid/support/v7/widget/RecyclerView$LayoutParams;->f:Z
|
|
|
|
if-eqz p1, :cond_9
|
|
|
|
.line 8232
|
|
iget-object p1, v0, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->invalidate()V
|
|
|
|
.line 8233
|
|
iput-boolean v2, p3, Landroid/support/v7/widget/RecyclerView$LayoutParams;->f:Z
|
|
|
|
:cond_9
|
|
return-void
|
|
.end method
|
|
|
|
.method private b(Landroid/support/v7/widget/RecyclerView$SmoothScroller;)V
|
|
.locals 1
|
|
|
|
.line 9915
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->t:Landroid/support/v7/widget/RecyclerView$SmoothScroller;
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 9916
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->t:Landroid/support/v7/widget/RecyclerView$SmoothScroller;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private static b(III)Z
|
|
.locals 3
|
|
|
|
.line 8950
|
|
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
|
|
|
|
move-result v0
|
|
|
|
.line 8951
|
|
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
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:cond_2
|
|
return v1
|
|
|
|
:cond_3
|
|
return v2
|
|
|
|
:cond_4
|
|
if-lt p1, p0, :cond_5
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:cond_5
|
|
return v1
|
|
.end method
|
|
|
|
.method private b(Landroid/support/v7/widget/RecyclerView;Landroid/view/View;Landroid/graphics/Rect;Z)[I
|
|
.locals 7
|
|
|
|
const/4 p1, 0x2
|
|
|
|
.line 9446
|
|
new-array p1, p1, [I
|
|
|
|
.line 9447
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->F()I
|
|
|
|
move-result p4
|
|
|
|
.line 9448
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->G()I
|
|
|
|
move-result v0
|
|
|
|
.line 9449
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->D()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->H()I
|
|
|
|
move-result v2
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
.line 9450
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->E()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->I()I
|
|
|
|
move-result v3
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
.line 9451
|
|
invoke-virtual {p2}, Landroid/view/View;->getLeft()I
|
|
|
|
move-result v3
|
|
|
|
iget v4, p3, Landroid/graphics/Rect;->left:I
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
invoke-virtual {p2}, Landroid/view/View;->getScrollX()I
|
|
|
|
move-result v4
|
|
|
|
sub-int/2addr v3, v4
|
|
|
|
.line 9452
|
|
invoke-virtual {p2}, Landroid/view/View;->getTop()I
|
|
|
|
move-result v4
|
|
|
|
iget v5, p3, Landroid/graphics/Rect;->top:I
|
|
|
|
add-int/2addr v4, v5
|
|
|
|
invoke-virtual {p2}, Landroid/view/View;->getScrollY()I
|
|
|
|
move-result p2
|
|
|
|
sub-int/2addr v4, p2
|
|
|
|
.line 9453
|
|
invoke-virtual {p3}, Landroid/graphics/Rect;->width()I
|
|
|
|
move-result p2
|
|
|
|
add-int/2addr p2, v3
|
|
|
|
.line 9454
|
|
invoke-virtual {p3}, Landroid/graphics/Rect;->height()I
|
|
|
|
move-result p3
|
|
|
|
add-int/2addr p3, v4
|
|
|
|
sub-int/2addr v3, p4
|
|
|
|
const/4 p4, 0x0
|
|
|
|
.line 9456
|
|
invoke-static {p4, v3}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v5
|
|
|
|
sub-int/2addr v4, v0
|
|
|
|
.line 9457
|
|
invoke-static {p4, v4}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v0
|
|
|
|
sub-int/2addr p2, v1
|
|
|
|
.line 9458
|
|
invoke-static {p4, p2}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result v1
|
|
|
|
sub-int/2addr p3, v2
|
|
|
|
.line 9459
|
|
invoke-static {p4, p3}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result p3
|
|
|
|
.line 9465
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->x()I
|
|
|
|
move-result v2
|
|
|
|
const/4 v6, 0x1
|
|
|
|
if-ne v2, v6, :cond_1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 9467
|
|
:cond_0
|
|
invoke-static {v5, p2}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result v1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
if-eqz v5, :cond_2
|
|
|
|
:goto_0
|
|
move v1, v5
|
|
|
|
goto :goto_1
|
|
|
|
.line 9470
|
|
:cond_2
|
|
invoke-static {v3, v1}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v5
|
|
|
|
goto :goto_0
|
|
|
|
:goto_1
|
|
if-eqz v0, :cond_3
|
|
|
|
goto :goto_2
|
|
|
|
.line 9476
|
|
:cond_3
|
|
invoke-static {v4, p3}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v0
|
|
|
|
:goto_2
|
|
aput v1, p1, p4
|
|
|
|
aput v0, p1, v6
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method private d(Landroid/support/v7/widget/RecyclerView;II)Z
|
|
.locals 6
|
|
|
|
.line 9578
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView;->getFocusedChild()Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
return v0
|
|
|
|
.line 9582
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->F()I
|
|
|
|
move-result v1
|
|
|
|
.line 9583
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->G()I
|
|
|
|
move-result v2
|
|
|
|
.line 9584
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->D()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->H()I
|
|
|
|
move-result v4
|
|
|
|
sub-int/2addr v3, v4
|
|
|
|
.line 9585
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->E()I
|
|
|
|
move-result v4
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->I()I
|
|
|
|
move-result v5
|
|
|
|
sub-int/2addr v4, v5
|
|
|
|
.line 9586
|
|
iget-object v5, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v5, v5, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
.line 9587
|
|
invoke-virtual {p0, p1, v5}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/view/View;Landroid/graphics/Rect;)V
|
|
|
|
.line 9589
|
|
iget p1, v5, Landroid/graphics/Rect;->left:I
|
|
|
|
sub-int/2addr p1, p2
|
|
|
|
if-ge p1, v3, :cond_2
|
|
|
|
iget p1, v5, Landroid/graphics/Rect;->right:I
|
|
|
|
sub-int/2addr p1, p2
|
|
|
|
if-le p1, v1, :cond_2
|
|
|
|
iget p1, v5, Landroid/graphics/Rect;->top:I
|
|
|
|
sub-int/2addr p1, p3
|
|
|
|
if-ge p1, v4, :cond_2
|
|
|
|
iget p1, v5, Landroid/graphics/Rect;->bottom:I
|
|
|
|
sub-int/2addr p1, p3
|
|
|
|
if-gt p1, v2, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public A()I
|
|
.locals 1
|
|
|
|
.line 8543
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->b()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public B()I
|
|
.locals 1
|
|
|
|
.line 8569
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->e:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public C()I
|
|
.locals 1
|
|
|
|
.line 8586
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public D()I
|
|
.locals 1
|
|
|
|
.line 8601
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public E()I
|
|
.locals 1
|
|
|
|
.line 8616
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->h:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public F()I
|
|
.locals 1
|
|
|
|
.line 8625
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView;->getPaddingLeft()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public G()I
|
|
.locals 1
|
|
|
|
.line 8634
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView;->getPaddingTop()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public H()I
|
|
.locals 1
|
|
|
|
.line 8643
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView;->getPaddingRight()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public I()I
|
|
.locals 1
|
|
|
|
.line 8652
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView;->getPaddingBottom()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public J()Landroid/view/View;
|
|
.locals 3
|
|
|
|
.line 8699
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object v1
|
|
|
|
.line 8702
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView;->getFocusedChild()Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 8703
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v2, v0}, Landroid/support/v7/widget/ChildHelper;->c(Landroid/view/View;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-object v0
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public K()I
|
|
.locals 1
|
|
|
|
.line 8722
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView;->getAdapter()Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 8723
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$Adapter;->a()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
:goto_1
|
|
return v0
|
|
.end method
|
|
|
|
.method public L()I
|
|
.locals 1
|
|
|
|
.line 9880
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-static {v0}, Landroid/support/v4/view/ViewCompat;->getMinimumWidth(Landroid/view/View;)I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public M()I
|
|
.locals 1
|
|
|
|
.line 9887
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-static {v0}, Landroid/support/v4/view/ViewCompat;->getMinimumHeight(Landroid/view/View;)I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method N()V
|
|
.locals 1
|
|
|
|
.line 9909
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->t:Landroid/support/v7/widget/RecyclerView$SmoothScroller;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 9910
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->t:Landroid/support/v7/widget/RecyclerView$SmoothScroller;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$SmoothScroller;->f()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public O()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 10074
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->u:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method P()Z
|
|
.locals 5
|
|
|
|
.line 10267
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->A()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_1
|
|
|
|
.line 10269
|
|
invoke-virtual {p0, v2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->i(I)Landroid/view/View;
|
|
|
|
move-result-object v3
|
|
|
|
.line 10270
|
|
invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v3
|
|
|
|
.line 10271
|
|
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 v0, 0x1
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public a(ILandroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
.line 10109
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
const/4 p2, 0x1
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object p1, p1, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 10112
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object p1, p1, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$Adapter;->a()I
|
|
|
|
move-result p2
|
|
|
|
:cond_1
|
|
return p2
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return p2
|
|
.end method
|
|
|
|
.method public abstract a()Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
.end method
|
|
|
|
.method public a(Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
.locals 1
|
|
|
|
.line 7996
|
|
new-instance v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
invoke-direct {v0, p1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutParams;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public a(Landroid/view/ViewGroup$LayoutParams;)Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
.locals 1
|
|
|
|
.line 7972
|
|
instance-of v0, p1, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7973
|
|
new-instance v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
check-cast p1, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
invoke-direct {v0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutParams;-><init>(Landroid/support/v7/widget/RecyclerView$LayoutParams;)V
|
|
|
|
return-object v0
|
|
|
|
.line 7974
|
|
:cond_0
|
|
instance-of v0, p1, Landroid/view/ViewGroup$MarginLayoutParams;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 7975
|
|
new-instance v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
check-cast p1, Landroid/view/ViewGroup$MarginLayoutParams;
|
|
|
|
invoke-direct {v0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutParams;-><init>(Landroid/view/ViewGroup$MarginLayoutParams;)V
|
|
|
|
return-object v0
|
|
|
|
.line 7977
|
|
:cond_1
|
|
new-instance v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
invoke-direct {v0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public a(Landroid/view/View;ILandroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)Landroid/view/View;
|
|
.locals 0
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public a(IILandroid/support/v7/widget/RecyclerView$State;Landroid/support/v7/widget/RecyclerView$LayoutManager$LayoutPrefetchRegistry;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(ILandroid/support/v7/widget/RecyclerView$LayoutManager$LayoutPrefetchRegistry;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(ILandroid/support/v7/widget/RecyclerView$Recycler;)V
|
|
.locals 1
|
|
|
|
.line 8531
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->i(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
.line 8532
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g(I)V
|
|
|
|
.line 8533
|
|
invoke-virtual {p2, v0}, Landroid/support/v7/widget/RecyclerView$Recycler;->a(Landroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/graphics/Rect;II)V
|
|
.locals 2
|
|
|
|
.line 7461
|
|
invoke-virtual {p1}, Landroid/graphics/Rect;->width()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->F()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->H()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
.line 7462
|
|
invoke-virtual {p1}, Landroid/graphics/Rect;->height()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->G()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr p1, v1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->I()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr p1, v1
|
|
|
|
.line 7463
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->L()I
|
|
|
|
move-result v1
|
|
|
|
invoke-static {p2, v0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(III)I
|
|
|
|
move-result p2
|
|
|
|
.line 7464
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->M()I
|
|
|
|
move-result v0
|
|
|
|
invoke-static {p3, p1, v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(III)I
|
|
|
|
move-result p1
|
|
|
|
.line 7465
|
|
invoke-virtual {p0, p2, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/os/Parcelable;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method a(Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat;)V
|
|
.locals 2
|
|
|
|
.line 9951
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v0, v0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v1, v1, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {p0, v0, v1, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView$Adapter;Landroid/support/v7/widget/RecyclerView$Adapter;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView$Recycler;)V
|
|
.locals 2
|
|
|
|
.line 8802
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->A()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_0
|
|
|
|
.line 8804
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->i(I)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
.line 8805
|
|
invoke-direct {p0, p1, v0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView$Recycler;ILandroid/view/View;)V
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;II)V
|
|
.locals 0
|
|
|
|
.line 9862
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {p1, p3, p4}, Landroid/support/v7/widget/RecyclerView;->e(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat;)V
|
|
.locals 3
|
|
|
|
.line 9981
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
const/4 v1, -0x1
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView;->canScrollVertically(I)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView;->canScrollHorizontally(I)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
:cond_0
|
|
const/16 v0, 0x2000
|
|
|
|
.line 9982
|
|
invoke-virtual {p3, v0}, Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat;->addAction(I)V
|
|
|
|
.line 9983
|
|
invoke-virtual {p3, v2}, Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat;->setScrollable(Z)V
|
|
|
|
.line 9985
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0, v2}, Landroid/support/v7/widget/RecyclerView;->canScrollVertically(I)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0, v2}, Landroid/support/v7/widget/RecyclerView;->canScrollHorizontally(I)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
:cond_2
|
|
const/16 v0, 0x1000
|
|
|
|
.line 9986
|
|
invoke-virtual {p3, v0}, Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat;->addAction(I)V
|
|
|
|
.line 9987
|
|
invoke-virtual {p3, v2}, Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat;->setScrollable(Z)V
|
|
|
|
.line 9991
|
|
:cond_3
|
|
invoke-virtual {p0, p1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)I
|
|
|
|
move-result v0
|
|
|
|
.line 9992
|
|
invoke-virtual {p0, p1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)I
|
|
|
|
move-result v1
|
|
|
|
.line 9993
|
|
invoke-virtual {p0, p1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->e(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)Z
|
|
|
|
move-result v2
|
|
|
|
.line 9994
|
|
invoke-virtual {p0, p1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->d(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)I
|
|
|
|
move-result p1
|
|
|
|
.line 9991
|
|
invoke-static {v0, v1, v2, p1}, Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat$CollectionInfoCompat;->obtain(IIZI)Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat$CollectionInfoCompat;
|
|
|
|
move-result-object p1
|
|
|
|
.line 9995
|
|
invoke-virtual {p3, p1}, Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat;->setCollectionInfo(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;Landroid/view/View;Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat;)V
|
|
.locals 6
|
|
|
|
.line 10055
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g()Z
|
|
|
|
move-result p1
|
|
|
|
const/4 p2, 0x0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p0, p3}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->d(Landroid/view/View;)I
|
|
|
|
move-result p1
|
|
|
|
move v0, p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 10056
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
invoke-virtual {p0, p3}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->d(Landroid/view/View;)I
|
|
|
|
move-result p2
|
|
|
|
move v2, p2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v2, 0x0
|
|
|
|
:goto_1
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v3, 0x1
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
.line 10058
|
|
invoke-static/range {v0 .. v5}, Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat$CollectionItemInfoCompat;->obtain(IIIIZZ)Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat$CollectionItemInfoCompat;
|
|
|
|
move-result-object p1
|
|
|
|
.line 10060
|
|
invoke-virtual {p4, p1}, Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat;->setCollectionItemInfo(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;Landroid/view/accessibility/AccessibilityEvent;)V
|
|
.locals 1
|
|
|
|
.line 10016
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
if-nez p3, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 10019
|
|
:cond_0
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
const/4 p2, 0x1
|
|
|
|
invoke-virtual {p1, p2}, Landroid/support/v7/widget/RecyclerView;->canScrollVertically(I)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 10020
|
|
invoke-virtual {p1, v0}, Landroid/support/v7/widget/RecyclerView;->canScrollVertically(I)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
.line 10021
|
|
invoke-virtual {p1, v0}, Landroid/support/v7/widget/RecyclerView;->canScrollHorizontally(I)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
.line 10022
|
|
invoke-virtual {p1, p2}, Landroid/support/v7/widget/RecyclerView;->canScrollHorizontally(I)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p2, 0x0
|
|
|
|
.line 10019
|
|
:cond_2
|
|
:goto_0
|
|
invoke-virtual {p3, p2}, Landroid/view/accessibility/AccessibilityEvent;->setScrollable(Z)V
|
|
|
|
.line 10024
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object p1, p1, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 10025
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object p1, p1, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$Adapter;->a()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p3, p1}, Landroid/view/accessibility/AccessibilityEvent;->setItemCount(I)V
|
|
|
|
:cond_3
|
|
return-void
|
|
|
|
:cond_4
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView$SmoothScroller;)V
|
|
.locals 1
|
|
|
|
.line 8085
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->t:Landroid/support/v7/widget/RecyclerView$SmoothScroller;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->t:Landroid/support/v7/widget/RecyclerView$SmoothScroller;
|
|
|
|
if-eq p1, v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->t:Landroid/support/v7/widget/RecyclerView$SmoothScroller;
|
|
|
|
.line 8086
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$SmoothScroller;->h()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8087
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->t:Landroid/support/v7/widget/RecyclerView$SmoothScroller;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$SmoothScroller;->f()V
|
|
|
|
.line 8089
|
|
:cond_0
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->t:Landroid/support/v7/widget/RecyclerView$SmoothScroller;
|
|
|
|
.line 8090
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->t:Landroid/support/v7/widget/RecyclerView$SmoothScroller;
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {p1, v0, p0}, Landroid/support/v7/widget/RecyclerView$SmoothScroller;->a(Landroid/support/v7/widget/RecyclerView;Landroid/support/v7/widget/RecyclerView$LayoutManager;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView$State;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView;II)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView;III)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView;IILjava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 9728
|
|
invoke-virtual {p0, p1, p2, p3}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->c(Landroid/support/v7/widget/RecyclerView;II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView;Landroid/support/v7/widget/RecyclerView$Recycler;)V
|
|
.locals 0
|
|
.annotation build Landroid/support/annotation/CallSuper;
|
|
.end annotation
|
|
|
|
.line 7846
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->e(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView;Landroid/support/v7/widget/RecyclerView$State;I)V
|
|
.locals 0
|
|
|
|
const-string p1, "RecyclerView"
|
|
|
|
const-string p2, "You must override smoothScrollToPosition to support smooth scrolling"
|
|
|
|
.line 8076
|
|
invoke-static {p1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 8139
|
|
invoke-virtual {p0, p1, v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/view/View;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/view/View;I)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 8157
|
|
invoke-direct {p0, p1, p2, v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/view/View;IZ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/view/View;II)V
|
|
.locals 5
|
|
|
|
.line 8979
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
.line 8981
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v1, p1}, Landroid/support/v7/widget/RecyclerView;->j(Landroid/view/View;)Landroid/graphics/Rect;
|
|
|
|
move-result-object v1
|
|
|
|
.line 8982
|
|
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 8983
|
|
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 8985
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->D()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->B()I
|
|
|
|
move-result v2
|
|
|
|
.line 8986
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->F()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->H()I
|
|
|
|
move-result v4
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
iget v4, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->leftMargin:I
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
iget v4, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->rightMargin:I
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
add-int/2addr v3, p2
|
|
|
|
iget p2, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->width:I
|
|
|
|
.line 8988
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f()Z
|
|
|
|
move-result v4
|
|
|
|
.line 8985
|
|
invoke-static {v1, v2, v3, p2, v4}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(IIIIZ)I
|
|
|
|
move-result p2
|
|
|
|
.line 8989
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->E()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->C()I
|
|
|
|
move-result v2
|
|
|
|
.line 8990
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->G()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->I()I
|
|
|
|
move-result v4
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
iget v4, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->topMargin:I
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
iget v4, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->bottomMargin:I
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
add-int/2addr v3, p3
|
|
|
|
iget p3, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->height:I
|
|
|
|
.line 8992
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g()Z
|
|
|
|
move-result v4
|
|
|
|
.line 8989
|
|
invoke-static {v1, v2, v3, p3, v4}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(IIIIZ)I
|
|
|
|
move-result p3
|
|
|
|
.line 8993
|
|
invoke-virtual {p0, p1, p2, p3, v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b(Landroid/view/View;IILandroid/support/v7/widget/RecyclerView$LayoutParams;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8994
|
|
invoke-virtual {p1, p2, p3}, Landroid/view/View;->measure(II)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/view/View;IIII)V
|
|
.locals 3
|
|
|
|
.line 9195
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
.line 9196
|
|
iget-object v1, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->d:Landroid/graphics/Rect;
|
|
|
|
.line 9197
|
|
iget v2, v1, Landroid/graphics/Rect;->left:I
|
|
|
|
add-int/2addr p2, v2
|
|
|
|
iget v2, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->leftMargin:I
|
|
|
|
add-int/2addr p2, v2
|
|
|
|
iget v2, v1, Landroid/graphics/Rect;->top:I
|
|
|
|
add-int/2addr p3, v2
|
|
|
|
iget v2, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->topMargin:I
|
|
|
|
add-int/2addr p3, v2
|
|
|
|
iget v2, v1, Landroid/graphics/Rect;->right:I
|
|
|
|
sub-int/2addr p4, v2
|
|
|
|
iget v2, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->rightMargin:I
|
|
|
|
sub-int/2addr p4, v2
|
|
|
|
iget v1, v1, Landroid/graphics/Rect;->bottom:I
|
|
|
|
sub-int/2addr p5, v1
|
|
|
|
iget v0, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->bottomMargin:I
|
|
|
|
sub-int/2addr p5, v0
|
|
|
|
invoke-virtual {p1, p2, p3, p4, p5}, Landroid/view/View;->layout(IIII)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/view/View;ILandroid/support/v7/widget/RecyclerView$LayoutParams;)V
|
|
.locals 2
|
|
|
|
.line 8424
|
|
invoke-static {p1}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v0
|
|
|
|
.line 8425
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->q()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 8426
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v1, v1, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v1, v0}, Landroid/support/v7/widget/ViewInfoStore;->e(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 8428
|
|
:cond_0
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v1, v1, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v1, v0}, Landroid/support/v7/widget/ViewInfoStore;->f(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
.line 8430
|
|
:goto_0
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->q()Z
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {v1, p1, p2, p3, v0}, Landroid/support/v7/widget/ChildHelper;->a(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/view/View;Landroid/graphics/Rect;)V
|
|
.locals 0
|
|
|
|
.line 9247
|
|
invoke-static {p1, p2}, Landroid/support/v7/widget/RecyclerView;->b(Landroid/view/View;Landroid/graphics/Rect;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method a(Landroid/view/View;Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat;)V
|
|
.locals 2
|
|
|
|
.line 10031
|
|
invoke-static {p1}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 10033
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->q()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
iget-object v0, v0, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
invoke-virtual {v1, v0}, Landroid/support/v7/widget/ChildHelper;->c(Landroid/view/View;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 10034
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v0, v0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v1, v1, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {p0, v0, v1, p1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;Landroid/view/View;Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/view/View;Landroid/support/v7/widget/RecyclerView$Recycler;)V
|
|
.locals 0
|
|
|
|
.line 8520
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->c(Landroid/view/View;)V
|
|
|
|
.line 8521
|
|
invoke-virtual {p2, p1}, Landroid/support/v7/widget/RecyclerView$Recycler;->a(Landroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/view/View;ZLandroid/graphics/Rect;)V
|
|
.locals 5
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 9215
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object p2, p2, Landroid/support/v7/widget/RecyclerView$LayoutParams;->d:Landroid/graphics/Rect;
|
|
|
|
.line 9216
|
|
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 9217
|
|
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 9216
|
|
invoke-virtual {p3, v0, v1, v2, v3}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 9219
|
|
: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
|
|
|
|
.line 9222
|
|
:goto_0
|
|
iget-object p2, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 9223
|
|
invoke-virtual {p1}, Landroid/view/View;->getMatrix()Landroid/graphics/Matrix;
|
|
|
|
move-result-object p2
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 9224
|
|
invoke-virtual {p2}, Landroid/graphics/Matrix;->isIdentity()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 9225
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v0, v0, Landroid/support/v7/widget/RecyclerView;->k:Landroid/graphics/RectF;
|
|
|
|
.line 9226
|
|
invoke-virtual {v0, p3}, Landroid/graphics/RectF;->set(Landroid/graphics/Rect;)V
|
|
|
|
.line 9227
|
|
invoke-virtual {p2, v0}, Landroid/graphics/Matrix;->mapRect(Landroid/graphics/RectF;)Z
|
|
|
|
.line 9228
|
|
iget p2, v0, Landroid/graphics/RectF;->left:F
|
|
|
|
float-to-double v1, p2
|
|
|
|
.line 9229
|
|
invoke-static {v1, v2}, Ljava/lang/Math;->floor(D)D
|
|
|
|
move-result-wide v1
|
|
|
|
double-to-int p2, v1
|
|
|
|
iget v1, v0, Landroid/graphics/RectF;->top:F
|
|
|
|
float-to-double v1, v1
|
|
|
|
.line 9230
|
|
invoke-static {v1, v2}, Ljava/lang/Math;->floor(D)D
|
|
|
|
move-result-wide v1
|
|
|
|
double-to-int v1, v1
|
|
|
|
iget v2, v0, Landroid/graphics/RectF;->right:F
|
|
|
|
float-to-double v2, v2
|
|
|
|
.line 9231
|
|
invoke-static {v2, v3}, Ljava/lang/Math;->ceil(D)D
|
|
|
|
move-result-wide v2
|
|
|
|
double-to-int v2, v2
|
|
|
|
iget v0, v0, Landroid/graphics/RectF;->bottom:F
|
|
|
|
float-to-double v3, v0
|
|
|
|
.line 9232
|
|
invoke-static {v3, v4}, Ljava/lang/Math;->ceil(D)D
|
|
|
|
move-result-wide v3
|
|
|
|
double-to-int v0, v3
|
|
|
|
.line 9228
|
|
invoke-virtual {p3, p2, v1, v2, v0}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
.line 9236
|
|
:cond_1
|
|
invoke-virtual {p1}, Landroid/view/View;->getLeft()I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getTop()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p3, p2, p1}, Landroid/graphics/Rect;->offset(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/view/accessibility/AccessibilityEvent;)V
|
|
.locals 2
|
|
|
|
.line 10000
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v0, v0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v1, v1, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {p0, v0, v1, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;Landroid/view/accessibility/AccessibilityEvent;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 7522
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7523
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/RecyclerView;->a(Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method a(ILandroid/os/Bundle;)Z
|
|
.locals 2
|
|
|
|
.line 10150
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v0, v0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v1, v1, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {p0, v0, v1, p1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;ILandroid/os/Bundle;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView$LayoutParams;)Z
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
return p1
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;ILandroid/os/Bundle;)Z
|
|
.locals 1
|
|
|
|
.line 10166
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
const/4 p2, 0x0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
return p2
|
|
|
|
:cond_0
|
|
const/16 p1, 0x1000
|
|
|
|
const/4 p4, 0x1
|
|
|
|
if-eq p3, p1, :cond_4
|
|
|
|
const/16 p1, 0x2000
|
|
|
|
if-eq p3, p1, :cond_2
|
|
|
|
const/4 p1, 0x0
|
|
|
|
:cond_1
|
|
const/4 p3, 0x0
|
|
|
|
goto :goto_2
|
|
|
|
.line 10172
|
|
:cond_2
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
const/4 p3, -0x1
|
|
|
|
invoke-virtual {p1, p3}, Landroid/support/v7/widget/RecyclerView;->canScrollVertically(I)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 10173
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->E()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->G()I
|
|
|
|
move-result v0
|
|
|
|
sub-int/2addr p1, v0
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->I()I
|
|
|
|
move-result v0
|
|
|
|
sub-int/2addr p1, v0
|
|
|
|
neg-int p1, p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const/4 p1, 0x0
|
|
|
|
.line 10175
|
|
:goto_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0, p3}, Landroid/support/v7/widget/RecyclerView;->canScrollHorizontally(I)Z
|
|
|
|
move-result p3
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
.line 10176
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->D()I
|
|
|
|
move-result p3
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->F()I
|
|
|
|
move-result v0
|
|
|
|
sub-int/2addr p3, v0
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->H()I
|
|
|
|
move-result v0
|
|
|
|
sub-int/2addr p3, v0
|
|
|
|
neg-int p3, p3
|
|
|
|
goto :goto_2
|
|
|
|
.line 10180
|
|
:cond_4
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {p1, p4}, Landroid/support/v7/widget/RecyclerView;->canScrollVertically(I)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
.line 10181
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->E()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->G()I
|
|
|
|
move-result p3
|
|
|
|
sub-int/2addr p1, p3
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->I()I
|
|
|
|
move-result p3
|
|
|
|
sub-int/2addr p1, p3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
const/4 p1, 0x0
|
|
|
|
.line 10183
|
|
:goto_1
|
|
iget-object p3, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {p3, p4}, Landroid/support/v7/widget/RecyclerView;->canScrollHorizontally(I)Z
|
|
|
|
move-result p3
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
.line 10184
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->D()I
|
|
|
|
move-result p3
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->F()I
|
|
|
|
move-result v0
|
|
|
|
sub-int/2addr p3, v0
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->H()I
|
|
|
|
move-result v0
|
|
|
|
sub-int/2addr p3, v0
|
|
|
|
:goto_2
|
|
if-nez p1, :cond_6
|
|
|
|
if-nez p3, :cond_6
|
|
|
|
return p2
|
|
|
|
.line 10191
|
|
:cond_6
|
|
iget-object p2, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {p2, p3, p1}, Landroid/support/v7/widget/RecyclerView;->scrollBy(II)V
|
|
|
|
return p4
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;Landroid/view/View;ILandroid/os/Bundle;)Z
|
|
.locals 0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView;Landroid/support/v7/widget/RecyclerView$State;Landroid/view/View;Landroid/view/View;)Z
|
|
.locals 0
|
|
|
|
.line 9624
|
|
invoke-virtual {p0, p1, p3, p4}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView;Landroid/view/View;Landroid/view/View;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/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 9498
|
|
invoke-virtual/range {v0 .. v5}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView;Landroid/view/View;Landroid/graphics/Rect;ZZ)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView;Landroid/view/View;Landroid/graphics/Rect;ZZ)Z
|
|
.locals 2
|
|
|
|
.line 9518
|
|
invoke-direct {p0, p1, p2, p3, p4}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b(Landroid/support/v7/widget/RecyclerView;Landroid/view/View;Landroid/graphics/Rect;Z)[I
|
|
|
|
move-result-object p2
|
|
|
|
const/4 p3, 0x0
|
|
|
|
.line 9520
|
|
aget v0, p2, p3
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 9521
|
|
aget p2, p2, v1
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
.line 9522
|
|
invoke-direct {p0, p1, v0, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->d(Landroid/support/v7/widget/RecyclerView;II)Z
|
|
|
|
move-result p5
|
|
|
|
if-eqz p5, :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 9525
|
|
invoke-virtual {p1, v0, p2}, Landroid/support/v7/widget/RecyclerView;->scrollBy(II)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 9527
|
|
:cond_3
|
|
invoke-virtual {p1, v0, p2}, Landroid/support/v7/widget/RecyclerView;->a(II)V
|
|
|
|
:goto_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView;Landroid/view/View;Landroid/view/View;)Z
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 9602
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->w()Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_1
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView;->o()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
:goto_1
|
|
return p1
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView;Ljava/util/ArrayList;II)Z
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/support/v7/widget/RecyclerView;",
|
|
"Ljava/util/ArrayList<",
|
|
"Landroid/view/View;",
|
|
">;II)Z"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method a(Landroid/view/View;IILandroid/support/v7/widget/RecyclerView$LayoutParams;)Z
|
|
.locals 2
|
|
|
|
.line 8903
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->c:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 8904
|
|
invoke-virtual {p1}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
move-result v0
|
|
|
|
iget v1, p4, Landroid/support/v7/widget/RecyclerView$LayoutParams;->width:I
|
|
|
|
invoke-static {v0, p2, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b(III)Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 8905
|
|
invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
move-result p1
|
|
|
|
iget p2, p4, Landroid/support/v7/widget/RecyclerView$LayoutParams;->height:I
|
|
|
|
invoke-static {p1, p3, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b(III)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
:goto_1
|
|
return p1
|
|
.end method
|
|
|
|
.method a(Landroid/view/View;ILandroid/os/Bundle;)Z
|
|
.locals 7
|
|
|
|
.line 10197
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v2, v0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v3, v0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
move-object v1, p0
|
|
|
|
move-object v4, p1
|
|
|
|
move v5, p2
|
|
|
|
move-object v6, p3
|
|
|
|
invoke-virtual/range {v1 .. v6}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;Landroid/view/View;ILandroid/os/Bundle;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public a(Landroid/view/View;ZZ)Z
|
|
.locals 2
|
|
.param p1 # Landroid/view/View;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 9558
|
|
iget-object p3, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->r:Landroid/support/v7/widget/ViewBoundsCheck;
|
|
|
|
const/16 v0, 0x6003
|
|
|
|
invoke-virtual {p3, p1, v0}, Landroid/support/v7/widget/ViewBoundsCheck;->a(Landroid/view/View;I)Z
|
|
|
|
move-result p3
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
iget-object p3, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->s:Landroid/support/v7/widget/ViewBoundsCheck;
|
|
|
|
.line 9560
|
|
invoke-virtual {p3, p1, v0}, Landroid/support/v7/widget/ViewBoundsCheck;->a(Landroid/view/View;I)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
if-eqz p2, :cond_1
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
xor-int/2addr p1, v1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/Runnable;)Z
|
|
.locals 1
|
|
|
|
.line 7789
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7790
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/RecyclerView;->removeCallbacks(Ljava/lang/Runnable;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public b(ILandroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public b(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
.line 10128
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
const/4 p2, 0x1
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object p1, p1, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 10131
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object p1, p1, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$Adapter;->a()I
|
|
|
|
move-result p2
|
|
|
|
:cond_1
|
|
return p2
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return p2
|
|
.end method
|
|
|
|
.method b(Landroid/support/v7/widget/RecyclerView$Recycler;)V
|
|
.locals 6
|
|
|
|
.line 8838
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$Recycler;->e()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v1, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v1, :cond_3
|
|
|
|
.line 8841
|
|
invoke-virtual {p1, v1}, Landroid/support/v7/widget/RecyclerView$Recycler;->e(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
.line 8842
|
|
invoke-static {v2}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v3
|
|
|
|
.line 8843
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const/4 v4, 0x0
|
|
|
|
.line 8851
|
|
invoke-virtual {v3, v4}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a(Z)V
|
|
|
|
.line 8852
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->r()Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_1
|
|
|
|
.line 8853
|
|
iget-object v5, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v5, v2, v4}, Landroid/support/v7/widget/RecyclerView;->removeDetachedView(Landroid/view/View;Z)V
|
|
|
|
.line 8855
|
|
:cond_1
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v4, v4, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
.line 8856
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v4, v4, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
invoke-virtual {v4, v3}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->d(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
:cond_2
|
|
const/4 v4, 0x1
|
|
|
|
.line 8858
|
|
invoke-virtual {v3, v4}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a(Z)V
|
|
|
|
.line 8859
|
|
invoke-virtual {p1, v2}, Landroid/support/v7/widget/RecyclerView$Recycler;->b(Landroid/view/View;)V
|
|
|
|
:goto_1
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 8861
|
|
:cond_3
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$Recycler;->f()V
|
|
|
|
if-lez v0, :cond_4
|
|
|
|
.line 8863
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView;->invalidate()V
|
|
|
|
:cond_4
|
|
return-void
|
|
.end method
|
|
|
|
.method b(Landroid/support/v7/widget/RecyclerView;)V
|
|
.locals 1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 7367
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
.line 7368
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 7369
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g:I
|
|
|
|
.line 7370
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->h:I
|
|
|
|
goto :goto_0
|
|
|
|
.line 7372
|
|
:cond_0
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
.line 7373
|
|
iget-object v0, p1, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
.line 7374
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView;->getWidth()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g:I
|
|
|
|
.line 7375
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView;->getHeight()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->h:I
|
|
|
|
:goto_0
|
|
const/high16 p1, 0x40000000 # 2.0f
|
|
|
|
.line 7377
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->e:I
|
|
|
|
.line 7378
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Landroid/support/v7/widget/RecyclerView;II)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method b(Landroid/support/v7/widget/RecyclerView;Landroid/support/v7/widget/RecyclerView$Recycler;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 7743
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->v:Z
|
|
|
|
.line 7744
|
|
invoke-virtual {p0, p1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView;Landroid/support/v7/widget/RecyclerView$Recycler;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 8168
|
|
invoke-virtual {p0, p1, v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b(Landroid/view/View;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Landroid/view/View;I)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 8180
|
|
invoke-direct {p0, p1, p2, v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/view/View;IZ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Landroid/view/View;Landroid/graphics/Rect;)V
|
|
.locals 1
|
|
|
|
.line 9316
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 9317
|
|
invoke-virtual {p2, p1, p1, p1, p1}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
return-void
|
|
|
|
.line 9320
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/RecyclerView;->j(Landroid/view/View;)Landroid/graphics/Rect;
|
|
|
|
move-result-object p1
|
|
|
|
.line 9321
|
|
invoke-virtual {p2, p1}, Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method b(Landroid/view/View;IILandroid/support/v7/widget/RecyclerView$LayoutParams;)Z
|
|
.locals 2
|
|
|
|
.line 8917
|
|
invoke-virtual {p1}, Landroid/view/View;->isLayoutRequested()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->c:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 8919
|
|
invoke-virtual {p1}, Landroid/view/View;->getWidth()I
|
|
|
|
move-result v0
|
|
|
|
iget v1, p4, Landroid/support/v7/widget/RecyclerView$LayoutParams;->width:I
|
|
|
|
invoke-static {v0, p2, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b(III)Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 8920
|
|
invoke-virtual {p1}, Landroid/view/View;->getHeight()I
|
|
|
|
move-result p1
|
|
|
|
iget p2, p4, Landroid/support/v7/widget/RecyclerView$LayoutParams;->height:I
|
|
|
|
invoke-static {p1, p3, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b(III)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
:goto_1
|
|
return p1
|
|
.end method
|
|
|
|
.method public c(Landroid/support/v7/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public c(I)Landroid/view/View;
|
|
.locals 5
|
|
|
|
.line 8351
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->A()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_3
|
|
|
|
.line 8353
|
|
invoke-virtual {p0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->i(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
.line 8354
|
|
invoke-static {v2}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v3
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 8358
|
|
:cond_0
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->d()I
|
|
|
|
move-result v4
|
|
|
|
if-ne v4, p1, :cond_2
|
|
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v4, v4, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
.line 8359
|
|
invoke-virtual {v4}, Landroid/support/v7/widget/RecyclerView$State;->a()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_1
|
|
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->q()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 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public c(Landroid/support/v7/widget/RecyclerView$Recycler;)V
|
|
.locals 2
|
|
|
|
.line 9941
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->A()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_1
|
|
|
|
.line 9942
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->i(I)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
.line 9943
|
|
invoke-static {v1}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 9944
|
|
invoke-virtual {p0, v0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(ILandroid/support/v7/widget/RecyclerView$Recycler;)V
|
|
|
|
:cond_0
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public c(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)V
|
|
.locals 0
|
|
|
|
const-string p1, "RecyclerView"
|
|
|
|
const-string p2, "You must override onLayoutChildren(Recycler recycler, State state) "
|
|
|
|
.line 7910
|
|
invoke-static {p1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method c(Landroid/support/v7/widget/RecyclerView;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 7738
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->v:Z
|
|
|
|
.line 7739
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->d(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public c(Landroid/support/v7/widget/RecyclerView;II)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public c(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
.line 8246
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/ChildHelper;->a(Landroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public c(Landroid/view/View;I)V
|
|
.locals 1
|
|
|
|
.line 8445
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
invoke-virtual {p0, p1, p2, v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/view/View;ILandroid/support/v7/widget/RecyclerView$LayoutParams;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public c()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public d(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public d(Landroid/support/v7/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public d(Landroid/view/View;)I
|
|
.locals 0
|
|
|
|
.line 8294
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$LayoutParams;->f()I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public d(Landroid/view/View;I)Landroid/view/View;
|
|
.locals 0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method d(II)V
|
|
.locals 1
|
|
|
|
.line 7382
|
|
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g:I
|
|
|
|
.line 7383
|
|
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->e:I
|
|
|
|
.line 7384
|
|
iget p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->e:I
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
sget-boolean p1, Landroid/support/v7/widget/RecyclerView;->b:Z
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 7385
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g:I
|
|
|
|
.line 7388
|
|
:cond_0
|
|
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->h:I
|
|
|
|
.line 7389
|
|
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getMode(I)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f:I
|
|
|
|
.line 7390
|
|
iget p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f:I
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
sget-boolean p1, Landroid/support/v7/widget/RecyclerView;->b:Z
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
.line 7391
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->h:I
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public d(Landroid/support/v7/widget/RecyclerView;)V
|
|
.locals 0
|
|
.annotation build Landroid/support/annotation/CallSuper;
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public d()Z
|
|
.locals 1
|
|
|
|
.line 7616
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->w:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public e(Landroid/support/v7/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public e(Landroid/view/View;)I
|
|
.locals 0
|
|
|
|
.line 8304
|
|
invoke-static {p1}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->h()I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public e()Landroid/os/Parcelable;
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public e(I)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method e(II)V
|
|
.locals 8
|
|
|
|
.line 7409
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->A()I
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 7411
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/support/v7/widget/RecyclerView;->e(II)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
const/high16 v2, -0x80000000
|
|
|
|
const v3, 0x7fffffff
|
|
|
|
const v2, 0x7fffffff
|
|
|
|
const/high16 v4, -0x80000000
|
|
|
|
const/high16 v5, -0x80000000
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_5
|
|
|
|
.line 7420
|
|
invoke-virtual {p0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->i(I)Landroid/view/View;
|
|
|
|
move-result-object v6
|
|
|
|
.line 7421
|
|
iget-object v7, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v7, v7, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
.line 7422
|
|
invoke-virtual {p0, v6, v7}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/view/View;Landroid/graphics/Rect;)V
|
|
|
|
.line 7423
|
|
iget v6, v7, Landroid/graphics/Rect;->left:I
|
|
|
|
if-ge v6, v3, :cond_1
|
|
|
|
.line 7424
|
|
iget v3, v7, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 7426
|
|
:cond_1
|
|
iget v6, v7, Landroid/graphics/Rect;->right:I
|
|
|
|
if-le v6, v4, :cond_2
|
|
|
|
.line 7427
|
|
iget v4, v7, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 7429
|
|
:cond_2
|
|
iget v6, v7, Landroid/graphics/Rect;->top:I
|
|
|
|
if-ge v6, v2, :cond_3
|
|
|
|
.line 7430
|
|
iget v2, v7, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 7432
|
|
:cond_3
|
|
iget v6, v7, Landroid/graphics/Rect;->bottom:I
|
|
|
|
if-le v6, v5, :cond_4
|
|
|
|
.line 7433
|
|
iget v5, v7, Landroid/graphics/Rect;->bottom:I
|
|
|
|
:cond_4
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 7436
|
|
:cond_5
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v0, v0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
invoke-virtual {v0, v3, v2, v4, v5}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
.line 7437
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v0, v0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
invoke-virtual {p0, v0, p1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/graphics/Rect;II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public e(Landroid/support/v7/widget/RecyclerView;)V
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public e(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)Z
|
|
.locals 0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public f(Landroid/support/v7/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public f(Landroid/view/View;)Landroid/view/View;
|
|
.locals 2
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 8324
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object v1
|
|
|
|
.line 8327
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/RecyclerView;->c(Landroid/view/View;)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
return-object v1
|
|
|
|
.line 8331
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/ChildHelper;->c(Landroid/view/View;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
return-object v1
|
|
|
|
:cond_2
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public f(II)V
|
|
.locals 2
|
|
|
|
.line 8476
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->i(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8481
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->h(I)V
|
|
|
|
.line 8482
|
|
invoke-virtual {p0, v0, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->c(Landroid/view/View;I)V
|
|
|
|
return-void
|
|
|
|
.line 8478
|
|
:cond_0
|
|
new-instance p2, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v1, "Cannot move a child from non-existing index:"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
.line 8479
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p2
|
|
.end method
|
|
|
|
.method f(Landroid/support/v7/widget/RecyclerView;)V
|
|
.locals 2
|
|
|
|
.line 10247
|
|
invoke-virtual {p1}, Landroid/support/v7/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 10248
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView;->getHeight()I
|
|
|
|
move-result p1
|
|
|
|
invoke-static {p1, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
move-result p1
|
|
|
|
.line 10246
|
|
invoke-virtual {p0, v0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->d(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public f()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public g(Landroid/support/v7/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public g(Landroid/view/View;)I
|
|
.locals 2
|
|
|
|
.line 9110
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object v0, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->d:Landroid/graphics/Rect;
|
|
|
|
.line 9111
|
|
invoke-virtual {p1}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
move-result p1
|
|
|
|
iget v1, v0, Landroid/graphics/Rect;->left:I
|
|
|
|
add-int/2addr p1, v1
|
|
|
|
iget v0, v0, Landroid/graphics/Rect;->right:I
|
|
|
|
add-int/2addr p1, v0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public g(I)V
|
|
.locals 1
|
|
|
|
.line 8258
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->i(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8260
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/ChildHelper;->a(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public g(II)V
|
|
.locals 1
|
|
|
|
.line 9873
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-static {v0, p1, p2}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/support/v7/widget/RecyclerView;II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public g()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public h(Landroid/support/v7/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public h(Landroid/view/View;)I
|
|
.locals 2
|
|
|
|
.line 9124
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object v0, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->d:Landroid/graphics/Rect;
|
|
|
|
.line 9125
|
|
invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
move-result p1
|
|
|
|
iget v1, v0, Landroid/graphics/Rect;->top:I
|
|
|
|
add-int/2addr p1, v1
|
|
|
|
iget v0, v0, Landroid/graphics/Rect;->bottom:I
|
|
|
|
add-int/2addr p1, v0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public h(I)V
|
|
.locals 1
|
|
|
|
.line 8404
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->i(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p0, p1, v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(ILandroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public i(Landroid/view/View;)I
|
|
.locals 1
|
|
|
|
.line 9259
|
|
invoke-virtual {p1}, Landroid/view/View;->getLeft()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->o(Landroid/view/View;)I
|
|
|
|
move-result p1
|
|
|
|
sub-int/2addr v0, p1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public i(I)Landroid/view/View;
|
|
.locals 1
|
|
|
|
.line 8552
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/ChildHelper;->b(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public j(Landroid/view/View;)I
|
|
.locals 1
|
|
|
|
.line 9271
|
|
invoke-virtual {p1}, Landroid/view/View;->getTop()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->m(Landroid/view/View;)I
|
|
|
|
move-result p1
|
|
|
|
sub-int/2addr v0, p1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public j(I)V
|
|
.locals 1
|
|
|
|
.line 8733
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8734
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/RecyclerView;->f(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public k(Landroid/view/View;)I
|
|
.locals 1
|
|
|
|
.line 9283
|
|
invoke-virtual {p1}, Landroid/view/View;->getRight()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p(Landroid/view/View;)I
|
|
|
|
move-result p1
|
|
|
|
add-int/2addr v0, p1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public k(I)V
|
|
.locals 1
|
|
|
|
.line 8745
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8746
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/RecyclerView;->e(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public l(Landroid/view/View;)I
|
|
.locals 1
|
|
|
|
.line 9295
|
|
invoke-virtual {p1}, Landroid/view/View;->getBottom()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->n(Landroid/view/View;)I
|
|
|
|
move-result p1
|
|
|
|
add-int/2addr v0, p1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public l(I)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public m(Landroid/view/View;)I
|
|
.locals 0
|
|
|
|
.line 9336
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object p1, p1, Landroid/support/v7/widget/RecyclerView$LayoutParams;->d:Landroid/graphics/Rect;
|
|
|
|
iget p1, p1, Landroid/graphics/Rect;->top:I
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public n(Landroid/view/View;)I
|
|
.locals 0
|
|
|
|
.line 9351
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object p1, p1, Landroid/support/v7/widget/RecyclerView$LayoutParams;->d:Landroid/graphics/Rect;
|
|
|
|
iget p1, p1, Landroid/graphics/Rect;->bottom:I
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method n()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public o(Landroid/view/View;)I
|
|
.locals 0
|
|
|
|
.line 9366
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object p1, p1, Landroid/support/v7/widget/RecyclerView$LayoutParams;->d:Landroid/graphics/Rect;
|
|
|
|
iget p1, p1, Landroid/graphics/Rect;->left:I
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public p(Landroid/view/View;)I
|
|
.locals 0
|
|
|
|
.line 9381
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object p1, p1, Landroid/support/v7/widget/RecyclerView$LayoutParams;->d:Landroid/graphics/Rect;
|
|
|
|
iget p1, p1, Landroid/graphics/Rect;->right:I
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public s()V
|
|
.locals 1
|
|
|
|
.line 7472
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7473
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView;->requestLayout()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final t()Z
|
|
.locals 1
|
|
|
|
.line 7683
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->d:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public u()Z
|
|
.locals 1
|
|
|
|
.line 7755
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->v:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public v()Z
|
|
.locals 1
|
|
|
|
.line 7855
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-boolean v0, v0, Landroid/support/v7/widget/RecyclerView;->h:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public w()Z
|
|
.locals 1
|
|
|
|
.line 8097
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->t:Landroid/support/v7/widget/RecyclerView$SmoothScroller;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->t:Landroid/support/v7/widget/RecyclerView$SmoothScroller;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$SmoothScroller;->h()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public x()I
|
|
.locals 1
|
|
|
|
.line 8110
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-static {v0}, Landroid/support/v4/view/ViewCompat;->getLayoutDirection(Landroid/view/View;)I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public y()V
|
|
.locals 2
|
|
|
|
.line 8270
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->A()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_0
|
|
|
|
.line 8272
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager;->p:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v1, v0}, Landroid/support/v7/widget/ChildHelper;->a(I)V
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public z()I
|
|
.locals 1
|
|
|
|
const/4 v0, -0x1
|
|
|
|
return v0
|
|
.end method
|