13746 lines
351 KiB
Smali
13746 lines
351 KiB
Smali
.class public Landroid/support/v7/widget/RecyclerView;
|
|
.super Landroid/view/ViewGroup;
|
|
.source "RecyclerView.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/support/v4/view/NestedScrollingChild2;
|
|
.implements Landroid/support/v4/view/ScrollingView;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroid/support/v7/widget/RecyclerView$ChildDrawingOrderCallback;,
|
|
Landroid/support/v7/widget/RecyclerView$ItemAnimator;,
|
|
Landroid/support/v7/widget/RecyclerView$ItemAnimatorRestoreListener;,
|
|
Landroid/support/v7/widget/RecyclerView$OnFlingListener;,
|
|
Landroid/support/v7/widget/RecyclerView$State;,
|
|
Landroid/support/v7/widget/RecyclerView$SavedState;,
|
|
Landroid/support/v7/widget/RecyclerView$AdapterDataObservable;,
|
|
Landroid/support/v7/widget/RecyclerView$SmoothScroller;,
|
|
Landroid/support/v7/widget/RecyclerView$AdapterDataObserver;,
|
|
Landroid/support/v7/widget/RecyclerView$LayoutParams;,
|
|
Landroid/support/v7/widget/RecyclerView$ViewHolder;,
|
|
Landroid/support/v7/widget/RecyclerView$OnChildAttachStateChangeListener;,
|
|
Landroid/support/v7/widget/RecyclerView$RecyclerListener;,
|
|
Landroid/support/v7/widget/RecyclerView$OnScrollListener;,
|
|
Landroid/support/v7/widget/RecyclerView$SimpleOnItemTouchListener;,
|
|
Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;,
|
|
Landroid/support/v7/widget/RecyclerView$ItemDecoration;,
|
|
Landroid/support/v7/widget/RecyclerView$LayoutManager;,
|
|
Landroid/support/v7/widget/RecyclerView$Adapter;,
|
|
Landroid/support/v7/widget/RecyclerView$ViewCacheExtension;,
|
|
Landroid/support/v7/widget/RecyclerView$Recycler;,
|
|
Landroid/support/v7/widget/RecyclerView$RecycledViewPool;,
|
|
Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;,
|
|
Landroid/support/v7/widget/RecyclerView$RecyclerViewDataObserver;,
|
|
Landroid/support/v7/widget/RecyclerView$ViewFlinger;,
|
|
Landroid/support/v7/widget/RecyclerView$Orientation;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field static final I:Landroid/view/animation/Interpolator;
|
|
|
|
.field private static final J:[I
|
|
|
|
.field private static final K:[I
|
|
|
|
.field private static final L:Z
|
|
|
|
.field private static final M:Z
|
|
|
|
.field private static final N:Z
|
|
|
|
.field private static final O:[Ljava/lang/Class;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"[",
|
|
"Ljava/lang/Class<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static final a:Z
|
|
|
|
.field static final b:Z
|
|
|
|
.field static final c:Z
|
|
|
|
|
|
# instance fields
|
|
.field A:Landroid/support/v7/widget/GapWorker;
|
|
|
|
.field B:Landroid/support/v7/widget/GapWorker$LayoutPrefetchRegistryImpl;
|
|
|
|
.field final C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
.field D:Z
|
|
|
|
.field E:Z
|
|
|
|
.field F:Z
|
|
|
|
.field G:Landroid/support/v7/widget/RecyclerViewAccessibilityDelegate;
|
|
|
|
.field final H:Ljava/util/List;
|
|
.annotation build Landroid/support/annotation/VisibleForTesting;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Landroid/support/v7/widget/RecyclerView$ViewHolder;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final P:Landroid/support/v7/widget/RecyclerView$RecyclerViewDataObserver;
|
|
|
|
.field private Q:Landroid/support/v7/widget/RecyclerView$SavedState;
|
|
|
|
.field private final R:Landroid/graphics/Rect;
|
|
|
|
.field private final S:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private T:Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;
|
|
|
|
.field private U:I
|
|
|
|
.field private V:Z
|
|
|
|
.field private W:I
|
|
|
|
.field private aA:Landroid/support/v7/widget/RecyclerView$ChildDrawingOrderCallback;
|
|
|
|
.field private final aB:[I
|
|
|
|
.field private aC:Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
.field private final aD:[I
|
|
|
|
.field private final aE:[I
|
|
|
|
.field private final aF:[I
|
|
|
|
.field private aG:Ljava/lang/Runnable;
|
|
|
|
.field private final aH:Landroid/support/v7/widget/ViewInfoStore$ProcessCallback;
|
|
|
|
.field private final aa:Landroid/view/accessibility/AccessibilityManager;
|
|
|
|
.field private ab:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Landroid/support/v7/widget/RecyclerView$OnChildAttachStateChangeListener;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private ac:I
|
|
|
|
.field private ad:I
|
|
|
|
.field private ae:Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private af:Landroid/widget/EdgeEffect;
|
|
|
|
.field private ag:Landroid/widget/EdgeEffect;
|
|
|
|
.field private ah:Landroid/widget/EdgeEffect;
|
|
|
|
.field private ai:Landroid/widget/EdgeEffect;
|
|
|
|
.field private aj:I
|
|
|
|
.field private ak:I
|
|
|
|
.field private al:Landroid/view/VelocityTracker;
|
|
|
|
.field private am:I
|
|
|
|
.field private an:I
|
|
|
|
.field private ao:I
|
|
|
|
.field private ap:I
|
|
|
|
.field private aq:I
|
|
|
|
.field private ar:Landroid/support/v7/widget/RecyclerView$OnFlingListener;
|
|
|
|
.field private final as:I
|
|
|
|
.field private final at:I
|
|
|
|
.field private au:F
|
|
|
|
.field private av:F
|
|
|
|
.field private aw:Z
|
|
|
|
.field private ax:Landroid/support/v7/widget/RecyclerView$OnScrollListener;
|
|
|
|
.field private ay:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Landroid/support/v7/widget/RecyclerView$OnScrollListener;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private az:Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemAnimatorListener;
|
|
|
|
.field final d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
.field e:Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
.field f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
.field final g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
.field h:Z
|
|
|
|
.field final i:Ljava/lang/Runnable;
|
|
|
|
.field final j:Landroid/graphics/Rect;
|
|
|
|
.field final k:Landroid/graphics/RectF;
|
|
|
|
.field l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
.field m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
.annotation build Landroid/support/annotation/VisibleForTesting;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field n:Landroid/support/v7/widget/RecyclerView$RecyclerListener;
|
|
|
|
.field final o:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Landroid/support/v7/widget/RecyclerView$ItemDecoration;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field p:Z
|
|
|
|
.field q:Z
|
|
|
|
.field r:Z
|
|
|
|
.field s:Z
|
|
.annotation build Landroid/support/annotation/VisibleForTesting;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field t:Z
|
|
|
|
.field u:Z
|
|
|
|
.field v:Z
|
|
|
|
.field w:Z
|
|
|
|
.field x:Z
|
|
|
|
.field y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
.field final z:Landroid/support/v7/widget/RecyclerView$ViewFlinger;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 4
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 164
|
|
new-array v1, v0, [I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const v3, 0x1010436
|
|
|
|
aput v3, v1, v2
|
|
|
|
sput-object v1, Landroid/support/v7/widget/RecyclerView;->J:[I
|
|
|
|
.line 167
|
|
new-array v1, v0, [I
|
|
|
|
const v3, 0x10100eb
|
|
|
|
aput v3, v1, v2
|
|
|
|
sput-object v1, Landroid/support/v7/widget/RecyclerView;->K:[I
|
|
|
|
.line 176
|
|
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v3, 0x12
|
|
|
|
if-eq v1, v3, :cond_1
|
|
|
|
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v3, 0x13
|
|
|
|
if-eq v1, v3, :cond_1
|
|
|
|
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v3, 0x14
|
|
|
|
if-ne v1, v3, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v1, 0x1
|
|
|
|
:goto_1
|
|
sput-boolean v1, Landroid/support/v7/widget/RecyclerView;->a:Z
|
|
|
|
.line 183
|
|
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v3, 0x17
|
|
|
|
if-lt v1, v3, :cond_2
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v1, 0x0
|
|
|
|
:goto_2
|
|
sput-boolean v1, Landroid/support/v7/widget/RecyclerView;->b:Z
|
|
|
|
.line 185
|
|
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v3, 0x10
|
|
|
|
if-lt v1, v3, :cond_3
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
const/4 v1, 0x0
|
|
|
|
:goto_3
|
|
sput-boolean v1, Landroid/support/v7/widget/RecyclerView;->c:Z
|
|
|
|
.line 191
|
|
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v3, 0x15
|
|
|
|
if-lt v1, v3, :cond_4
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
const/4 v1, 0x0
|
|
|
|
:goto_4
|
|
sput-boolean v1, Landroid/support/v7/widget/RecyclerView;->L:Z
|
|
|
|
.line 197
|
|
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v3, 0xf
|
|
|
|
if-gt v1, v3, :cond_5
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_5
|
|
|
|
:cond_5
|
|
const/4 v1, 0x0
|
|
|
|
:goto_5
|
|
sput-boolean v1, Landroid/support/v7/widget/RecyclerView;->M:Z
|
|
|
|
.line 207
|
|
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
if-gt v1, v3, :cond_6
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_6
|
|
|
|
:cond_6
|
|
const/4 v1, 0x0
|
|
|
|
:goto_6
|
|
sput-boolean v1, Landroid/support/v7/widget/RecyclerView;->N:Z
|
|
|
|
const/4 v1, 0x4
|
|
|
|
.line 304
|
|
new-array v1, v1, [Ljava/lang/Class;
|
|
|
|
const-class v3, Landroid/content/Context;
|
|
|
|
aput-object v3, v1, v2
|
|
|
|
const-class v2, Landroid/util/AttributeSet;
|
|
|
|
aput-object v2, v1, v0
|
|
|
|
const/4 v0, 0x2
|
|
|
|
sget-object v2, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
|
|
|
|
aput-object v2, v1, v0
|
|
|
|
const/4 v0, 0x3
|
|
|
|
sget-object v2, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
|
|
|
|
aput-object v2, v1, v0
|
|
|
|
sput-object v1, Landroid/support/v7/widget/RecyclerView;->O:[Ljava/lang/Class;
|
|
|
|
.line 538
|
|
new-instance v0, Landroid/support/v7/widget/RecyclerView$3;
|
|
|
|
invoke-direct {v0}, Landroid/support/v7/widget/RecyclerView$3;-><init>()V
|
|
|
|
sput-object v0, Landroid/support/v7/widget/RecyclerView;->I:Landroid/view/animation/Interpolator;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 586
|
|
invoke-direct {p0, p1, v0}, Landroid/support/v7/widget/RecyclerView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 1
|
|
.param p2 # Landroid/util/AttributeSet;
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 590
|
|
invoke-direct {p0, p1, p2, v0}, Landroid/support/v7/widget/RecyclerView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 12
|
|
.param p2 # Landroid/util/AttributeSet;
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 594
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/view/ViewGroup;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
.line 307
|
|
new-instance v0, Landroid/support/v7/widget/RecyclerView$RecyclerViewDataObserver;
|
|
|
|
invoke-direct {v0, p0}, Landroid/support/v7/widget/RecyclerView$RecyclerViewDataObserver;-><init>(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->P:Landroid/support/v7/widget/RecyclerView$RecyclerViewDataObserver;
|
|
|
|
.line 309
|
|
new-instance v0, Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-direct {v0, p0}, Landroid/support/v7/widget/RecyclerView$Recycler;-><init>(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
.line 326
|
|
new-instance v0, Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-direct {v0}, Landroid/support/v7/widget/ViewInfoStore;-><init>()V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
.line 340
|
|
new-instance v0, Landroid/support/v7/widget/RecyclerView$1;
|
|
|
|
invoke-direct {v0, p0}, Landroid/support/v7/widget/RecyclerView$1;-><init>(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->i:Ljava/lang/Runnable;
|
|
|
|
.line 360
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
.line 361
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->R:Landroid/graphics/Rect;
|
|
|
|
.line 362
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/RectF;-><init>()V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->k:Landroid/graphics/RectF;
|
|
|
|
.line 366
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->o:Ljava/util/ArrayList;
|
|
|
|
.line 367
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->S:Ljava/util/ArrayList;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 382
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView;->U:I
|
|
|
|
.line 412
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->w:Z
|
|
|
|
.line 421
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->x:Z
|
|
|
|
.line 431
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView;->ac:I
|
|
|
|
.line 440
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView;->ad:I
|
|
|
|
.line 442
|
|
new-instance v1, Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;
|
|
|
|
invoke-direct {v1}, Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;-><init>()V
|
|
|
|
iput-object v1, p0, Landroid/support/v7/widget/RecyclerView;->ae:Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;
|
|
|
|
.line 446
|
|
new-instance v1, Landroid/support/v7/widget/DefaultItemAnimator;
|
|
|
|
invoke-direct {v1}, Landroid/support/v7/widget/DefaultItemAnimator;-><init>()V
|
|
|
|
iput-object v1, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
.line 473
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView;->aj:I
|
|
|
|
const/4 v1, -0x1
|
|
|
|
.line 474
|
|
iput v1, p0, Landroid/support/v7/widget/RecyclerView;->ak:I
|
|
|
|
const/4 v2, 0x1
|
|
|
|
.line 486
|
|
iput v2, p0, Landroid/support/v7/widget/RecyclerView;->au:F
|
|
|
|
.line 487
|
|
iput v2, p0, Landroid/support/v7/widget/RecyclerView;->av:F
|
|
|
|
const/4 v2, 0x1
|
|
|
|
.line 489
|
|
iput-boolean v2, p0, Landroid/support/v7/widget/RecyclerView;->aw:Z
|
|
|
|
.line 491
|
|
new-instance v3, Landroid/support/v7/widget/RecyclerView$ViewFlinger;
|
|
|
|
invoke-direct {v3, p0}, Landroid/support/v7/widget/RecyclerView$ViewFlinger;-><init>(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
iput-object v3, p0, Landroid/support/v7/widget/RecyclerView;->z:Landroid/support/v7/widget/RecyclerView$ViewFlinger;
|
|
|
|
.line 494
|
|
sget-boolean v3, Landroid/support/v7/widget/RecyclerView;->L:Z
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
new-instance v3, Landroid/support/v7/widget/GapWorker$LayoutPrefetchRegistryImpl;
|
|
|
|
invoke-direct {v3}, Landroid/support/v7/widget/GapWorker$LayoutPrefetchRegistryImpl;-><init>()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v3, 0x0
|
|
|
|
:goto_0
|
|
iput-object v3, p0, Landroid/support/v7/widget/RecyclerView;->B:Landroid/support/v7/widget/GapWorker$LayoutPrefetchRegistryImpl;
|
|
|
|
.line 497
|
|
new-instance v3, Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-direct {v3}, Landroid/support/v7/widget/RecyclerView$State;-><init>()V
|
|
|
|
iput-object v3, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
.line 503
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->D:Z
|
|
|
|
.line 504
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->E:Z
|
|
|
|
.line 505
|
|
new-instance v3, Landroid/support/v7/widget/RecyclerView$ItemAnimatorRestoreListener;
|
|
|
|
invoke-direct {v3, p0}, Landroid/support/v7/widget/RecyclerView$ItemAnimatorRestoreListener;-><init>(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
iput-object v3, p0, Landroid/support/v7/widget/RecyclerView;->az:Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemAnimatorListener;
|
|
|
|
.line 507
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->F:Z
|
|
|
|
const/4 v3, 0x2
|
|
|
|
.line 513
|
|
new-array v4, v3, [I
|
|
|
|
iput-object v4, p0, Landroid/support/v7/widget/RecyclerView;->aB:[I
|
|
|
|
.line 516
|
|
new-array v4, v3, [I
|
|
|
|
iput-object v4, p0, Landroid/support/v7/widget/RecyclerView;->aD:[I
|
|
|
|
.line 517
|
|
new-array v4, v3, [I
|
|
|
|
iput-object v4, p0, Landroid/support/v7/widget/RecyclerView;->aE:[I
|
|
|
|
.line 518
|
|
new-array v4, v3, [I
|
|
|
|
iput-object v4, p0, Landroid/support/v7/widget/RecyclerView;->aF:[I
|
|
|
|
.line 525
|
|
new-instance v4, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v4, p0, Landroid/support/v7/widget/RecyclerView;->H:Ljava/util/List;
|
|
|
|
.line 528
|
|
new-instance v4, Landroid/support/v7/widget/RecyclerView$2;
|
|
|
|
invoke-direct {v4, p0}, Landroid/support/v7/widget/RecyclerView$2;-><init>(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
iput-object v4, p0, Landroid/support/v7/widget/RecyclerView;->aG:Ljava/lang/Runnable;
|
|
|
|
.line 549
|
|
new-instance v4, Landroid/support/v7/widget/RecyclerView$4;
|
|
|
|
invoke-direct {v4, p0}, Landroid/support/v7/widget/RecyclerView$4;-><init>(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
iput-object v4, p0, Landroid/support/v7/widget/RecyclerView;->aH:Landroid/support/v7/widget/ViewInfoStore$ProcessCallback;
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 596
|
|
sget-object v4, Landroid/support/v7/widget/RecyclerView;->K:[I
|
|
|
|
invoke-virtual {p1, p2, v4, p3, v0}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
|
|
|
|
move-result-object v4
|
|
|
|
.line 597
|
|
invoke-virtual {v4, v0, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result v5
|
|
|
|
iput-boolean v5, p0, Landroid/support/v7/widget/RecyclerView;->h:Z
|
|
|
|
.line 598
|
|
invoke-virtual {v4}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
goto :goto_1
|
|
|
|
.line 600
|
|
:cond_1
|
|
iput-boolean v2, p0, Landroid/support/v7/widget/RecyclerView;->h:Z
|
|
|
|
.line 602
|
|
:goto_1
|
|
invoke-virtual {p0, v2}, Landroid/support/v7/widget/RecyclerView;->setScrollContainer(Z)V
|
|
|
|
.line 603
|
|
invoke-virtual {p0, v2}, Landroid/support/v7/widget/RecyclerView;->setFocusableInTouchMode(Z)V
|
|
|
|
.line 605
|
|
invoke-static {p1}, Landroid/view/ViewConfiguration;->get(Landroid/content/Context;)Landroid/view/ViewConfiguration;
|
|
|
|
move-result-object v4
|
|
|
|
.line 606
|
|
invoke-virtual {v4}, Landroid/view/ViewConfiguration;->getScaledTouchSlop()I
|
|
|
|
move-result v5
|
|
|
|
iput v5, p0, Landroid/support/v7/widget/RecyclerView;->aq:I
|
|
|
|
.line 608
|
|
invoke-static {v4, p1}, Landroid/support/v4/view/ViewConfigurationCompat;->getScaledHorizontalScrollFactor(Landroid/view/ViewConfiguration;Landroid/content/Context;)F
|
|
|
|
move-result v5
|
|
|
|
iput v5, p0, Landroid/support/v7/widget/RecyclerView;->au:F
|
|
|
|
.line 610
|
|
invoke-static {v4, p1}, Landroid/support/v4/view/ViewConfigurationCompat;->getScaledVerticalScrollFactor(Landroid/view/ViewConfiguration;Landroid/content/Context;)F
|
|
|
|
move-result v5
|
|
|
|
iput v5, p0, Landroid/support/v7/widget/RecyclerView;->av:F
|
|
|
|
.line 611
|
|
invoke-virtual {v4}, Landroid/view/ViewConfiguration;->getScaledMinimumFlingVelocity()I
|
|
|
|
move-result v5
|
|
|
|
iput v5, p0, Landroid/support/v7/widget/RecyclerView;->as:I
|
|
|
|
.line 612
|
|
invoke-virtual {v4}, Landroid/view/ViewConfiguration;->getScaledMaximumFlingVelocity()I
|
|
|
|
move-result v4
|
|
|
|
iput v4, p0, Landroid/support/v7/widget/RecyclerView;->at:I
|
|
|
|
.line 613
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getOverScrollMode()I
|
|
|
|
move-result v4
|
|
|
|
if-ne v4, v3, :cond_2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v3, 0x0
|
|
|
|
:goto_2
|
|
invoke-virtual {p0, v3}, Landroid/support/v7/widget/RecyclerView;->setWillNotDraw(Z)V
|
|
|
|
.line 615
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->az:Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemAnimatorListener;
|
|
|
|
invoke-virtual {v3, v4}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->a(Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemAnimatorListener;)V
|
|
|
|
.line 616
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->b()V
|
|
|
|
.line 617
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->z()V
|
|
|
|
.line 619
|
|
invoke-static {p0}, Landroid/support/v4/view/ViewCompat;->getImportantForAccessibility(Landroid/view/View;)I
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_3
|
|
|
|
.line 621
|
|
invoke-static {p0, v2}, Landroid/support/v4/view/ViewCompat;->setImportantForAccessibility(Landroid/view/View;I)V
|
|
|
|
.line 624
|
|
:cond_3
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "accessibility"
|
|
|
|
.line 625
|
|
invoke-virtual {v3, v4}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroid/view/accessibility/AccessibilityManager;
|
|
|
|
iput-object v3, p0, Landroid/support/v7/widget/RecyclerView;->aa:Landroid/view/accessibility/AccessibilityManager;
|
|
|
|
.line 626
|
|
new-instance v3, Landroid/support/v7/widget/RecyclerViewAccessibilityDelegate;
|
|
|
|
invoke-direct {v3, p0}, Landroid/support/v7/widget/RecyclerViewAccessibilityDelegate;-><init>(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
invoke-virtual {p0, v3}, Landroid/support/v7/widget/RecyclerView;->setAccessibilityDelegateCompat(Landroid/support/v7/widget/RecyclerViewAccessibilityDelegate;)V
|
|
|
|
const/high16 v3, 0x40000
|
|
|
|
if-eqz p2, :cond_6
|
|
|
|
.line 633
|
|
sget-object v4, Landroid/support/v7/recyclerview/R$styleable;->RecyclerView:[I
|
|
|
|
invoke-virtual {p1, p2, v4, p3, v0}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
|
|
|
|
move-result-object v4
|
|
|
|
.line 635
|
|
sget v5, Landroid/support/v7/recyclerview/R$styleable;->RecyclerView_layoutManager:I
|
|
|
|
invoke-virtual {v4, v5}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v8
|
|
|
|
.line 636
|
|
sget v5, Landroid/support/v7/recyclerview/R$styleable;->RecyclerView_android_descendantFocusability:I
|
|
|
|
invoke-virtual {v4, v5, v1}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result v5
|
|
|
|
if-ne v5, v1, :cond_4
|
|
|
|
.line 639
|
|
invoke-virtual {p0, v3}, Landroid/support/v7/widget/RecyclerView;->setDescendantFocusability(I)V
|
|
|
|
.line 641
|
|
:cond_4
|
|
sget v1, Landroid/support/v7/recyclerview/R$styleable;->RecyclerView_fastScrollEnabled:I
|
|
|
|
invoke-virtual {v4, v1, v0}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result v1
|
|
|
|
iput-boolean v1, p0, Landroid/support/v7/widget/RecyclerView;->r:Z
|
|
|
|
.line 642
|
|
iget-boolean v1, p0, Landroid/support/v7/widget/RecyclerView;->r:Z
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
.line 643
|
|
sget v1, Landroid/support/v7/recyclerview/R$styleable;->RecyclerView_fastScrollVerticalThumbDrawable:I
|
|
|
|
.line 644
|
|
invoke-virtual {v4, v1}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/graphics/drawable/StateListDrawable;
|
|
|
|
.line 645
|
|
sget v3, Landroid/support/v7/recyclerview/R$styleable;->RecyclerView_fastScrollVerticalTrackDrawable:I
|
|
|
|
.line 646
|
|
invoke-virtual {v4, v3}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v3
|
|
|
|
.line 647
|
|
sget v5, Landroid/support/v7/recyclerview/R$styleable;->RecyclerView_fastScrollHorizontalThumbDrawable:I
|
|
|
|
.line 648
|
|
invoke-virtual {v4, v5}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Landroid/graphics/drawable/StateListDrawable;
|
|
|
|
.line 649
|
|
sget v6, Landroid/support/v7/recyclerview/R$styleable;->RecyclerView_fastScrollHorizontalTrackDrawable:I
|
|
|
|
.line 650
|
|
invoke-virtual {v4, v6}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v6
|
|
|
|
.line 651
|
|
invoke-virtual {p0, v1, v3, v5, v6}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/graphics/drawable/StateListDrawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/StateListDrawable;Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 654
|
|
:cond_5
|
|
invoke-virtual {v4}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
const/4 v11, 0x0
|
|
|
|
move-object v6, p0
|
|
|
|
move-object v7, p1
|
|
|
|
move-object v9, p2
|
|
|
|
move v10, p3
|
|
|
|
.line 655
|
|
invoke-direct/range {v6 .. v11}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/content/Context;Ljava/lang/String;Landroid/util/AttributeSet;II)V
|
|
|
|
.line 657
|
|
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v3, 0x15
|
|
|
|
if-lt v1, v3, :cond_7
|
|
|
|
.line 658
|
|
sget-object v1, Landroid/support/v7/widget/RecyclerView;->J:[I
|
|
|
|
invoke-virtual {p1, p2, v1, p3, v0}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
|
|
|
|
move-result-object p1
|
|
|
|
.line 660
|
|
invoke-virtual {p1, v0, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result p2
|
|
|
|
.line 661
|
|
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
move v2, p2
|
|
|
|
goto :goto_3
|
|
|
|
.line 664
|
|
:cond_6
|
|
invoke-virtual {p0, v3}, Landroid/support/v7/widget/RecyclerView;->setDescendantFocusability(I)V
|
|
|
|
.line 668
|
|
:cond_7
|
|
:goto_3
|
|
invoke-virtual {p0, v2}, Landroid/support/v7/widget/RecyclerView;->setNestedScrollingEnabled(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private A()Z
|
|
.locals 5
|
|
|
|
.line 1776
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->b()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_2
|
|
|
|
.line 1778
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v3, v2}, Landroid/support/v7/widget/ChildHelper;->b(I)Landroid/view/View;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v3
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
.line 1779
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 1782
|
|
:cond_0
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->x()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
:goto_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
return v1
|
|
.end method
|
|
|
|
.method private B()V
|
|
.locals 1
|
|
|
|
.line 2228
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->z:Landroid/support/v7/widget/RecyclerView$ViewFlinger;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ViewFlinger;->b()V
|
|
|
|
.line 2229
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2230
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->N()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private C()V
|
|
.locals 2
|
|
|
|
.line 2285
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2286
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v0}, Landroid/widget/EdgeEffect;->onRelease()V
|
|
|
|
.line 2287
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v0}, Landroid/widget/EdgeEffect;->isFinished()Z
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 2289
|
|
:goto_0
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 2290
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v1}, Landroid/widget/EdgeEffect;->onRelease()V
|
|
|
|
.line 2291
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v1}, Landroid/widget/EdgeEffect;->isFinished()Z
|
|
|
|
move-result v1
|
|
|
|
or-int/2addr v0, v1
|
|
|
|
.line 2293
|
|
:cond_1
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 2294
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v1}, Landroid/widget/EdgeEffect;->onRelease()V
|
|
|
|
.line 2295
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v1}, Landroid/widget/EdgeEffect;->isFinished()Z
|
|
|
|
move-result v1
|
|
|
|
or-int/2addr v0, v1
|
|
|
|
.line 2297
|
|
:cond_2
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
.line 2298
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v1}, Landroid/widget/EdgeEffect;->onRelease()V
|
|
|
|
.line 2299
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v1}, Landroid/widget/EdgeEffect;->isFinished()Z
|
|
|
|
move-result v1
|
|
|
|
or-int/2addr v0, v1
|
|
|
|
:cond_3
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 2302
|
|
invoke-static {p0}, Landroid/support/v4/view/ViewCompat;->postInvalidateOnAnimation(Landroid/view/View;)V
|
|
|
|
:cond_4
|
|
return-void
|
|
.end method
|
|
|
|
.method private D()V
|
|
.locals 1
|
|
|
|
.line 3120
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->al:Landroid/view/VelocityTracker;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3121
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->al:Landroid/view/VelocityTracker;
|
|
|
|
invoke-virtual {v0}, Landroid/view/VelocityTracker;->clear()V
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 3123
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView;->stopNestedScroll(I)V
|
|
|
|
.line 3124
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->C()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private E()V
|
|
.locals 1
|
|
|
|
.line 3128
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->D()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 3129
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView;->setScrollState(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private F()V
|
|
.locals 3
|
|
|
|
.line 3360
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView;->W:I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 3361
|
|
iput v1, p0, Landroid/support/v7/widget/RecyclerView;->W:I
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3362
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->n()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 3363
|
|
invoke-static {}, Landroid/view/accessibility/AccessibilityEvent;->obtain()Landroid/view/accessibility/AccessibilityEvent;
|
|
|
|
move-result-object v1
|
|
|
|
const/16 v2, 0x800
|
|
|
|
.line 3364
|
|
invoke-virtual {v1, v2}, Landroid/view/accessibility/AccessibilityEvent;->setEventType(I)V
|
|
|
|
.line 3365
|
|
invoke-static {v1, v0}, Landroid/support/v4/view/accessibility/AccessibilityEventCompat;->setContentChangeTypes(Landroid/view/accessibility/AccessibilityEvent;I)V
|
|
|
|
.line 3366
|
|
invoke-virtual {p0, v1}, Landroid/support/v7/widget/RecyclerView;->sendAccessibilityEventUnchecked(Landroid/view/accessibility/AccessibilityEvent;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private G()Z
|
|
.locals 1
|
|
|
|
.line 3449
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->c()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 private H()V
|
|
.locals 5
|
|
|
|
.line 3459
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->w:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3462
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->e:Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/AdapterHelper;->a()V
|
|
|
|
.line 3463
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->x:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3464
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0, p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
.line 3470
|
|
:cond_0
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->G()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 3471
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->e:Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/AdapterHelper;->b()V
|
|
|
|
goto :goto_0
|
|
|
|
.line 3473
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->e:Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/AdapterHelper;->e()V
|
|
|
|
.line 3475
|
|
:goto_0
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->D:Z
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->E:Z
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
:goto_1
|
|
const/4 v0, 0x1
|
|
|
|
.line 3476
|
|
:goto_2
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-boolean v4, p0, Landroid/support/v7/widget/RecyclerView;->s:Z
|
|
|
|
if-eqz v4, :cond_6
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
if-eqz v4, :cond_6
|
|
|
|
iget-boolean v4, p0, Landroid/support/v7/widget/RecyclerView;->w:Z
|
|
|
|
if-nez v4, :cond_4
|
|
|
|
if-nez v0, :cond_4
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-boolean v4, v4, Landroid/support/v7/widget/RecyclerView$LayoutManager;->u:Z
|
|
|
|
if-eqz v4, :cond_6
|
|
|
|
:cond_4
|
|
iget-boolean v4, p0, Landroid/support/v7/widget/RecyclerView;->w:Z
|
|
|
|
if-eqz v4, :cond_5
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
.line 3482
|
|
invoke-virtual {v4}, Landroid/support/v7/widget/RecyclerView$Adapter;->b()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_6
|
|
|
|
:cond_5
|
|
const/4 v4, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
const/4 v4, 0x0
|
|
|
|
:goto_3
|
|
iput-boolean v4, v3, Landroid/support/v7/widget/RecyclerView$State;->i:Z
|
|
|
|
.line 3483
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-boolean v4, v4, Landroid/support/v7/widget/RecyclerView$State;->i:Z
|
|
|
|
if-eqz v4, :cond_7
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->w:Z
|
|
|
|
if-nez v0, :cond_7
|
|
|
|
.line 3486
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->G()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:cond_7
|
|
iput-boolean v1, v3, Landroid/support/v7/widget/RecyclerView$State;->j:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private I()V
|
|
.locals 4
|
|
|
|
.line 3545
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->aw:Z
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->hasFocus()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3546
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getFocusedChild()Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v0, v1
|
|
|
|
:goto_0
|
|
if-nez v0, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
.line 3549
|
|
:cond_1
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView;->d(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v1
|
|
|
|
:goto_1
|
|
if-nez v1, :cond_2
|
|
|
|
.line 3551
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->J()V
|
|
|
|
goto :goto_4
|
|
|
|
.line 3553
|
|
:cond_2
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {v2}, Landroid/support/v7/widget/RecyclerView$Adapter;->b()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->g()J
|
|
|
|
move-result-wide v2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
const-wide/16 v2, -0x1
|
|
|
|
:goto_2
|
|
iput-wide v2, v0, Landroid/support/v7/widget/RecyclerView$State;->l:J
|
|
|
|
.line 3557
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-boolean v2, p0, Landroid/support/v7/widget/RecyclerView;->w:Z
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
const/4 v2, -0x1
|
|
|
|
goto :goto_3
|
|
|
|
.line 3558
|
|
:cond_4
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->q()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
iget v2, v1, Landroid/support/v7/widget/RecyclerView$ViewHolder;->d:I
|
|
|
|
goto :goto_3
|
|
|
|
.line 3559
|
|
:cond_5
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->e()I
|
|
|
|
move-result v2
|
|
|
|
:goto_3
|
|
iput v2, v0, Landroid/support/v7/widget/RecyclerView$State;->k:I
|
|
|
|
.line 3560
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-object v1, v1, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
invoke-direct {p0, v1}, Landroid/support/v7/widget/RecyclerView;->n(Landroid/view/View;)I
|
|
|
|
move-result v1
|
|
|
|
iput v1, v0, Landroid/support/v7/widget/RecyclerView$State;->m:I
|
|
|
|
:goto_4
|
|
return-void
|
|
.end method
|
|
|
|
.method private J()V
|
|
.locals 3
|
|
|
|
.line 3565
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
const-wide/16 v1, -0x1
|
|
|
|
iput-wide v1, v0, Landroid/support/v7/widget/RecyclerView$State;->l:J
|
|
|
|
.line 3566
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
const/4 v1, -0x1
|
|
|
|
iput v1, v0, Landroid/support/v7/widget/RecyclerView$State;->k:I
|
|
|
|
.line 3567
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iput v1, v0, Landroid/support/v7/widget/RecyclerView$State;->m:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private K()Landroid/view/View;
|
|
.locals 5
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 3580
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget v0, v0, Landroid/support/v7/widget/RecyclerView$State;->k:I
|
|
|
|
const/4 v1, -0x1
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget v0, v0, Landroid/support/v7/widget/RecyclerView$State;->k:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 3583
|
|
:goto_0
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/RecyclerView$State;->e()I
|
|
|
|
move-result v1
|
|
|
|
move v2, v0
|
|
|
|
:goto_1
|
|
if-ge v2, v1, :cond_3
|
|
|
|
.line 3585
|
|
invoke-virtual {p0, v2}, Landroid/support/v7/widget/RecyclerView;->d(I)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v3
|
|
|
|
if-nez v3, :cond_1
|
|
|
|
goto :goto_2
|
|
|
|
.line 3589
|
|
:cond_1
|
|
iget-object v4, v3, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
invoke-virtual {v4}, Landroid/view/View;->hasFocusable()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
.line 3590
|
|
iget-object v0, v3, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
return-object v0
|
|
|
|
:cond_2
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
.line 3593
|
|
:cond_3
|
|
:goto_2
|
|
invoke-static {v1, v0}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_3
|
|
const/4 v1, 0x0
|
|
|
|
if-ltz v0, :cond_6
|
|
|
|
.line 3595
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView;->d(I)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v2
|
|
|
|
if-nez v2, :cond_4
|
|
|
|
return-object v1
|
|
|
|
.line 3599
|
|
:cond_4
|
|
iget-object v1, v2, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
invoke-virtual {v1}, Landroid/view/View;->hasFocusable()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
.line 3600
|
|
iget-object v0, v2, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
return-object v0
|
|
|
|
:cond_5
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
return-object v1
|
|
.end method
|
|
|
|
.method private L()V
|
|
.locals 6
|
|
|
|
.line 3607
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->aw:Z
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->hasFocus()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
.line 3608
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getDescendantFocusability()I
|
|
|
|
move-result v0
|
|
|
|
const/high16 v1, 0x60000
|
|
|
|
if-eq v0, v1, :cond_a
|
|
|
|
.line 3609
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getDescendantFocusability()I
|
|
|
|
move-result v0
|
|
|
|
const/high16 v1, 0x20000
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->isFocused()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto/16 :goto_4
|
|
|
|
.line 3617
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->isFocused()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
.line 3618
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getFocusedChild()Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
.line 3619
|
|
sget-boolean v1, Landroid/support/v7/widget/RecyclerView;->N:Z
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 3620
|
|
invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-virtual {v0}, Landroid/view/View;->hasFocus()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
.line 3632
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->b()I
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
.line 3635
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->requestFocus()Z
|
|
|
|
return-void
|
|
|
|
.line 3638
|
|
:cond_2
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v1, v0}, Landroid/support/v7/widget/ChildHelper;->c(Landroid/view/View;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
return-void
|
|
|
|
.line 3648
|
|
:cond_3
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-wide v0, v0, Landroid/support/v7/widget/RecyclerView$State;->l:J
|
|
|
|
const-wide/16 v2, -0x1
|
|
|
|
const/4 v4, 0x0
|
|
|
|
cmp-long v5, v0, v2
|
|
|
|
if-eqz v5, :cond_4
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$Adapter;->b()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 3649
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-wide v0, v0, Landroid/support/v7/widget/RecyclerView$State;->l:J
|
|
|
|
invoke-virtual {p0, v0, v1}, Landroid/support/v7/widget/RecyclerView;->a(J)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
move-object v0, v4
|
|
|
|
:goto_0
|
|
if-eqz v0, :cond_6
|
|
|
|
.line 3652
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
iget-object v5, v0, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
invoke-virtual {v1, v5}, Landroid/support/v7/widget/ChildHelper;->c(Landroid/view/View;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_6
|
|
|
|
iget-object v1, v0, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
.line 3653
|
|
invoke-virtual {v1}, Landroid/view/View;->hasFocusable()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_5
|
|
|
|
goto :goto_1
|
|
|
|
.line 3666
|
|
:cond_5
|
|
iget-object v4, v0, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
goto :goto_2
|
|
|
|
.line 3654
|
|
:cond_6
|
|
:goto_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->b()I
|
|
|
|
move-result v0
|
|
|
|
if-lez v0, :cond_7
|
|
|
|
.line 3661
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->K()Landroid/view/View;
|
|
|
|
move-result-object v4
|
|
|
|
:cond_7
|
|
:goto_2
|
|
if-eqz v4, :cond_9
|
|
|
|
.line 3670
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget v0, v0, Landroid/support/v7/widget/RecyclerView$State;->m:I
|
|
|
|
int-to-long v0, v0
|
|
|
|
cmp-long v5, v0, v2
|
|
|
|
if-eqz v5, :cond_8
|
|
|
|
.line 3671
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget v0, v0, Landroid/support/v7/widget/RecyclerView$State;->m:I
|
|
|
|
invoke-virtual {v4, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_8
|
|
|
|
.line 3672
|
|
invoke-virtual {v0}, Landroid/view/View;->isFocusable()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_8
|
|
|
|
goto :goto_3
|
|
|
|
:cond_8
|
|
move-object v0, v4
|
|
|
|
.line 3676
|
|
:goto_3
|
|
invoke-virtual {v0}, Landroid/view/View;->requestFocus()Z
|
|
|
|
:cond_9
|
|
return-void
|
|
|
|
:cond_a
|
|
:goto_4
|
|
return-void
|
|
.end method
|
|
|
|
.method private M()V
|
|
.locals 8
|
|
|
|
.line 3711
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$State;->a(I)V
|
|
|
|
.line 3712
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/support/v7/widget/RecyclerView$State;)V
|
|
|
|
.line 3713
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
iput-boolean v2, v0, Landroid/support/v7/widget/RecyclerView$State;->h:Z
|
|
|
|
.line 3714
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->e()V
|
|
|
|
.line 3715
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ViewInfoStore;->a()V
|
|
|
|
.line 3716
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->l()V
|
|
|
|
.line 3717
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->H()V
|
|
|
|
.line 3718
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->I()V
|
|
|
|
.line 3719
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-boolean v3, v3, Landroid/support/v7/widget/RecyclerView$State;->i:Z
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
iget-boolean v3, p0, Landroid/support/v7/widget/RecyclerView;->E:Z
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
iput-boolean v1, v0, Landroid/support/v7/widget/RecyclerView$State;->g:Z
|
|
|
|
.line 3720
|
|
iput-boolean v2, p0, Landroid/support/v7/widget/RecyclerView;->E:Z
|
|
|
|
iput-boolean v2, p0, Landroid/support/v7/widget/RecyclerView;->D:Z
|
|
|
|
.line 3721
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-boolean v1, v1, Landroid/support/v7/widget/RecyclerView$State;->j:Z
|
|
|
|
iput-boolean v1, v0, Landroid/support/v7/widget/RecyclerView$State;->f:Z
|
|
|
|
.line 3722
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/RecyclerView$Adapter;->a()I
|
|
|
|
move-result v1
|
|
|
|
iput v1, v0, Landroid/support/v7/widget/RecyclerView$State;->d:I
|
|
|
|
.line 3723
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->aB:[I
|
|
|
|
invoke-direct {p0, v0}, Landroid/support/v7/widget/RecyclerView;->a([I)V
|
|
|
|
.line 3725
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-boolean v0, v0, Landroid/support/v7/widget/RecyclerView$State;->i:Z
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 3727
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->b()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_1
|
|
if-ge v1, v0, :cond_3
|
|
|
|
.line 3729
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v3, v1}, Landroid/support/v7/widget/ChildHelper;->b(I)Landroid/view/View;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v3
|
|
|
|
.line 3730
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->n()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {v4}, Landroid/support/v7/widget/RecyclerView$Adapter;->b()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_1
|
|
|
|
goto :goto_2
|
|
|
|
.line 3733
|
|
:cond_1
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
iget-object v5, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
.line 3735
|
|
invoke-static {v3}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->e(Landroid/support/v7/widget/RecyclerView$ViewHolder;)I
|
|
|
|
move-result v6
|
|
|
|
.line 3736
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->u()Ljava/util/List;
|
|
|
|
move-result-object v7
|
|
|
|
.line 3734
|
|
invoke-virtual {v4, v5, v3, v6, v7}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->a(Landroid/support/v7/widget/RecyclerView$State;Landroid/support/v7/widget/RecyclerView$ViewHolder;ILjava/util/List;)Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;
|
|
|
|
move-result-object v4
|
|
|
|
.line 3737
|
|
iget-object v5, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v5, v3, v4}, Landroid/support/v7/widget/ViewInfoStore;->a(Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;)V
|
|
|
|
.line 3738
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-boolean v4, v4, Landroid/support/v7/widget/RecyclerView$State;->g:Z
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->x()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->q()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
.line 3739
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->n()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
.line 3740
|
|
invoke-virtual {p0, v3}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/support/v7/widget/RecyclerView$ViewHolder;)J
|
|
|
|
move-result-wide v4
|
|
|
|
.line 3748
|
|
iget-object v6, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v6, v4, v5, v3}, Landroid/support/v7/widget/ViewInfoStore;->a(JLandroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
:cond_2
|
|
:goto_2
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
.line 3752
|
|
:cond_3
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-boolean v0, v0, Landroid/support/v7/widget/RecyclerView$State;->j:Z
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
.line 3759
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->s()V
|
|
|
|
.line 3760
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-boolean v0, v0, Landroid/support/v7/widget/RecyclerView$State;->e:Z
|
|
|
|
.line 3761
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iput-boolean v2, v1, Landroid/support/v7/widget/RecyclerView$State;->e:Z
|
|
|
|
.line 3763
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v1, v3, v4}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->c(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)V
|
|
|
|
.line 3764
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iput-boolean v0, v1, Landroid/support/v7/widget/RecyclerView$State;->e:Z
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 3766
|
|
:goto_3
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/ChildHelper;->b()I
|
|
|
|
move-result v1
|
|
|
|
if-ge v0, v1, :cond_8
|
|
|
|
.line 3767
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v1, v0}, Landroid/support/v7/widget/ChildHelper;->b(I)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
.line 3768
|
|
invoke-static {v1}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v1
|
|
|
|
.line 3769
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_4
|
|
|
|
goto :goto_4
|
|
|
|
.line 3772
|
|
:cond_4
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v3, v1}, Landroid/support/v7/widget/ViewInfoStore;->d(Landroid/support/v7/widget/RecyclerView$ViewHolder;)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_7
|
|
|
|
.line 3773
|
|
invoke-static {v1}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->e(Landroid/support/v7/widget/RecyclerView$ViewHolder;)I
|
|
|
|
move-result v3
|
|
|
|
const/16 v4, 0x2000
|
|
|
|
.line 3775
|
|
invoke-virtual {v1, v4}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a(I)Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_5
|
|
|
|
or-int/lit16 v3, v3, 0x1000
|
|
|
|
.line 3779
|
|
:cond_5
|
|
iget-object v5, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
iget-object v6, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
.line 3780
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->u()Ljava/util/List;
|
|
|
|
move-result-object v7
|
|
|
|
.line 3779
|
|
invoke-virtual {v5, v6, v1, v3, v7}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->a(Landroid/support/v7/widget/RecyclerView$State;Landroid/support/v7/widget/RecyclerView$ViewHolder;ILjava/util/List;)Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;
|
|
|
|
move-result-object v3
|
|
|
|
if-eqz v4, :cond_6
|
|
|
|
.line 3782
|
|
invoke-virtual {p0, v1, v3}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;)V
|
|
|
|
goto :goto_4
|
|
|
|
.line 3784
|
|
:cond_6
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v4, v1, v3}, Landroid/support/v7/widget/ViewInfoStore;->b(Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;)V
|
|
|
|
:cond_7
|
|
:goto_4
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
.line 3789
|
|
:cond_8
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->t()V
|
|
|
|
goto :goto_5
|
|
|
|
.line 3791
|
|
:cond_9
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->t()V
|
|
|
|
.line 3793
|
|
:goto_5
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->m()V
|
|
|
|
.line 3794
|
|
invoke-virtual {p0, v2}, Landroid/support/v7/widget/RecyclerView;->a(Z)V
|
|
|
|
.line 3795
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
const/4 v1, 0x2
|
|
|
|
iput v1, v0, Landroid/support/v7/widget/RecyclerView$State;->c:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private N()V
|
|
.locals 4
|
|
|
|
.line 3803
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->e()V
|
|
|
|
.line 3804
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->l()V
|
|
|
|
.line 3805
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
const/4 v1, 0x6
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$State;->a(I)V
|
|
|
|
.line 3806
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->e:Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/AdapterHelper;->e()V
|
|
|
|
.line 3807
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/RecyclerView$Adapter;->a()I
|
|
|
|
move-result v1
|
|
|
|
iput v1, v0, Landroid/support/v7/widget/RecyclerView$State;->d:I
|
|
|
|
.line 3808
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput v1, v0, Landroid/support/v7/widget/RecyclerView$State;->b:I
|
|
|
|
.line 3811
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iput-boolean v1, v0, Landroid/support/v7/widget/RecyclerView$State;->f:Z
|
|
|
|
.line 3812
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v0, v2, v3}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->c(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)V
|
|
|
|
.line 3814
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iput-boolean v1, v0, Landroid/support/v7/widget/RecyclerView$State;->e:Z
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 3815
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->Q:Landroid/support/v7/widget/RecyclerView$SavedState;
|
|
|
|
.line 3818
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-boolean v2, v2, Landroid/support/v7/widget/RecyclerView$State;->i:Z
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
iput-boolean v2, v0, Landroid/support/v7/widget/RecyclerView$State;->i:Z
|
|
|
|
.line 3819
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
const/4 v2, 0x4
|
|
|
|
iput v2, v0, Landroid/support/v7/widget/RecyclerView$State;->c:I
|
|
|
|
.line 3820
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->m()V
|
|
|
|
.line 3821
|
|
invoke-virtual {p0, v1}, Landroid/support/v7/widget/RecyclerView;->a(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private O()V
|
|
.locals 11
|
|
|
|
.line 3829
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
const/4 v1, 0x4
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$State;->a(I)V
|
|
|
|
.line 3830
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->e()V
|
|
|
|
.line 3831
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->l()V
|
|
|
|
.line 3832
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
iput v1, v0, Landroid/support/v7/widget/RecyclerView$State;->c:I
|
|
|
|
.line 3833
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-boolean v0, v0, Landroid/support/v7/widget/RecyclerView$State;->i:Z
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 3837
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->b()I
|
|
|
|
move-result v0
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_4
|
|
|
|
.line 3838
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v2, v0}, Landroid/support/v7/widget/ChildHelper;->b(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v5
|
|
|
|
.line 3839
|
|
invoke-virtual {v5}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 3842
|
|
:cond_0
|
|
invoke-virtual {p0, v5}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/support/v7/widget/RecyclerView$ViewHolder;)J
|
|
|
|
move-result-wide v2
|
|
|
|
.line 3843
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
iget-object v6, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
.line 3844
|
|
invoke-virtual {v4, v6, v5}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->a(Landroid/support/v7/widget/RecyclerView$State;Landroid/support/v7/widget/RecyclerView$ViewHolder;)Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;
|
|
|
|
move-result-object v4
|
|
|
|
.line 3845
|
|
iget-object v6, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v6, v2, v3}, Landroid/support/v7/widget/ViewInfoStore;->a(J)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v6
|
|
|
|
if-eqz v6, :cond_3
|
|
|
|
.line 3846
|
|
invoke-virtual {v6}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v7
|
|
|
|
if-nez v7, :cond_3
|
|
|
|
.line 3857
|
|
iget-object v7, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v7, v6}, Landroid/support/v7/widget/ViewInfoStore;->a(Landroid/support/v7/widget/RecyclerView$ViewHolder;)Z
|
|
|
|
move-result v8
|
|
|
|
.line 3859
|
|
iget-object v7, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v7, v5}, Landroid/support/v7/widget/ViewInfoStore;->a(Landroid/support/v7/widget/RecyclerView$ViewHolder;)Z
|
|
|
|
move-result v9
|
|
|
|
if-eqz v8, :cond_1
|
|
|
|
if-ne v6, v5, :cond_1
|
|
|
|
.line 3862
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v2, v5, v4}, Landroid/support/v7/widget/ViewInfoStore;->c(Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 3864
|
|
:cond_1
|
|
iget-object v7, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v7, v6}, Landroid/support/v7/widget/ViewInfoStore;->b(Landroid/support/v7/widget/RecyclerView$ViewHolder;)Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;
|
|
|
|
move-result-object v7
|
|
|
|
.line 3867
|
|
iget-object v10, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v10, v5, v4}, Landroid/support/v7/widget/ViewInfoStore;->c(Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;)V
|
|
|
|
.line 3868
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v4, v5}, Landroid/support/v7/widget/ViewInfoStore;->c(Landroid/support/v7/widget/RecyclerView$ViewHolder;)Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;
|
|
|
|
move-result-object v10
|
|
|
|
if-nez v7, :cond_2
|
|
|
|
.line 3870
|
|
invoke-direct {p0, v2, v3, v5, v6}, Landroid/support/v7/widget/RecyclerView;->a(JLandroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
move-object v3, p0
|
|
|
|
move-object v4, v6
|
|
|
|
move-object v6, v7
|
|
|
|
move-object v7, v10
|
|
|
|
.line 3872
|
|
invoke-direct/range {v3 .. v9}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;ZZ)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 3877
|
|
:cond_3
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v2, v5, v4}, Landroid/support/v7/widget/ViewInfoStore;->c(Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;)V
|
|
|
|
:goto_1
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 3882
|
|
:cond_4
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->aH:Landroid/support/v7/widget/ViewInfoStore$ProcessCallback;
|
|
|
|
invoke-virtual {v0, v2}, Landroid/support/v7/widget/ViewInfoStore;->a(Landroid/support/v7/widget/ViewInfoStore$ProcessCallback;)V
|
|
|
|
.line 3885
|
|
:cond_5
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0, v2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b(Landroid/support/v7/widget/RecyclerView$Recycler;)V
|
|
|
|
.line 3886
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget v2, v2, Landroid/support/v7/widget/RecyclerView$State;->d:I
|
|
|
|
iput v2, v0, Landroid/support/v7/widget/RecyclerView$State;->a:I
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 3887
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->w:Z
|
|
|
|
.line 3888
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->x:Z
|
|
|
|
.line 3889
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iput-boolean v0, v2, Landroid/support/v7/widget/RecyclerView$State;->i:Z
|
|
|
|
.line 3891
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iput-boolean v0, v2, Landroid/support/v7/widget/RecyclerView$State;->j:Z
|
|
|
|
.line 3892
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iput-boolean v0, v2, Landroid/support/v7/widget/RecyclerView$LayoutManager;->u:Z
|
|
|
|
.line 3893
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v2, v2, Landroid/support/v7/widget/RecyclerView$Recycler;->b:Ljava/util/ArrayList;
|
|
|
|
if-eqz v2, :cond_6
|
|
|
|
.line 3894
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v2, v2, Landroid/support/v7/widget/RecyclerView$Recycler;->b:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v2}, Ljava/util/ArrayList;->clear()V
|
|
|
|
.line 3896
|
|
:cond_6
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-boolean v2, v2, Landroid/support/v7/widget/RecyclerView$LayoutManager;->y:Z
|
|
|
|
if-eqz v2, :cond_7
|
|
|
|
.line 3899
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iput v0, v2, Landroid/support/v7/widget/RecyclerView$LayoutManager;->x:I
|
|
|
|
.line 3900
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iput-boolean v0, v2, Landroid/support/v7/widget/RecyclerView$LayoutManager;->y:Z
|
|
|
|
.line 3901
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v2}, Landroid/support/v7/widget/RecyclerView$Recycler;->b()V
|
|
|
|
.line 3904
|
|
:cond_7
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v2, v3}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView$State;)V
|
|
|
|
.line 3905
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->m()V
|
|
|
|
.line 3906
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView;->a(Z)V
|
|
|
|
.line 3907
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v2}, Landroid/support/v7/widget/ViewInfoStore;->a()V
|
|
|
|
.line 3908
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->aB:[I
|
|
|
|
aget v2, v2, v0
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->aB:[I
|
|
|
|
aget v1, v3, v1
|
|
|
|
invoke-direct {p0, v2, v1}, Landroid/support/v7/widget/RecyclerView;->j(II)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_8
|
|
|
|
.line 3909
|
|
invoke-virtual {p0, v0, v0}, Landroid/support/v7/widget/RecyclerView;->i(II)V
|
|
|
|
.line 3911
|
|
:cond_8
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->L()V
|
|
|
|
.line 3912
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->J()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 757
|
|
invoke-virtual {p2, v0}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x2e
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 758
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
const-string p1, "."
|
|
|
|
.line 760
|
|
invoke-virtual {p2, p1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
return-object p2
|
|
|
|
.line 763
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-class v0, Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getPackage()Ljava/lang/Package;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Package;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method private a(FFFF)V
|
|
.locals 6
|
|
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
cmpg-float v3, p2, v2
|
|
|
|
if-gez v3, :cond_0
|
|
|
|
.line 2259
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->g()V
|
|
|
|
.line 2260
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
neg-float v4, p2
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getWidth()I
|
|
|
|
move-result v5
|
|
|
|
int-to-float v5, v5
|
|
|
|
div-float/2addr v4, v5
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getHeight()I
|
|
|
|
move-result v5
|
|
|
|
int-to-float v5, v5
|
|
|
|
div-float/2addr p3, v5
|
|
|
|
sub-float p3, v0, p3
|
|
|
|
invoke-static {v3, v4, p3}, Landroid/support/v4/widget/EdgeEffectCompat;->onPull(Landroid/widget/EdgeEffect;FF)V
|
|
|
|
:goto_0
|
|
const/4 p3, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
cmpl-float v3, p2, v2
|
|
|
|
if-lez v3, :cond_1
|
|
|
|
.line 2263
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->h()V
|
|
|
|
.line 2264
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getWidth()I
|
|
|
|
move-result v4
|
|
|
|
int-to-float v4, v4
|
|
|
|
div-float v4, p2, v4
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getHeight()I
|
|
|
|
move-result v5
|
|
|
|
int-to-float v5, v5
|
|
|
|
div-float/2addr p3, v5
|
|
|
|
invoke-static {v3, v4, p3}, Landroid/support/v4/widget/EdgeEffectCompat;->onPull(Landroid/widget/EdgeEffect;FF)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p3, 0x0
|
|
|
|
:goto_1
|
|
cmpg-float v3, p4, v2
|
|
|
|
if-gez v3, :cond_2
|
|
|
|
.line 2269
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->i()V
|
|
|
|
.line 2270
|
|
iget-object p3, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
neg-float v0, p4
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getHeight()I
|
|
|
|
move-result v3
|
|
|
|
int-to-float v3, v3
|
|
|
|
div-float/2addr v0, v3
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getWidth()I
|
|
|
|
move-result v3
|
|
|
|
int-to-float v3, v3
|
|
|
|
div-float/2addr p1, v3
|
|
|
|
invoke-static {p3, v0, p1}, Landroid/support/v4/widget/EdgeEffectCompat;->onPull(Landroid/widget/EdgeEffect;FF)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
cmpl-float v3, p4, v2
|
|
|
|
if-lez v3, :cond_3
|
|
|
|
.line 2273
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->j()V
|
|
|
|
.line 2274
|
|
iget-object p3, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getHeight()I
|
|
|
|
move-result v3
|
|
|
|
int-to-float v3, v3
|
|
|
|
div-float v3, p4, v3
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getWidth()I
|
|
|
|
move-result v4
|
|
|
|
int-to-float v4, v4
|
|
|
|
div-float/2addr p1, v4
|
|
|
|
sub-float/2addr v0, p1
|
|
|
|
invoke-static {p3, v3, v0}, Landroid/support/v4/widget/EdgeEffectCompat;->onPull(Landroid/widget/EdgeEffect;FF)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
move v1, p3
|
|
|
|
:goto_2
|
|
if-nez v1, :cond_4
|
|
|
|
cmpl-float p1, p2, v2
|
|
|
|
if-nez p1, :cond_4
|
|
|
|
cmpl-float p1, p4, v2
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
.line 2279
|
|
:cond_4
|
|
invoke-static {p0}, Landroid/support/v4/view/ViewCompat;->postInvalidateOnAnimation(Landroid/view/View;)V
|
|
|
|
:cond_5
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(JLandroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
.locals 6
|
|
|
|
.line 3933
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->b()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_3
|
|
|
|
.line 3935
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v2, v1}, Landroid/support/v7/widget/ChildHelper;->b(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
.line 3936
|
|
invoke-static {v2}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v2
|
|
|
|
if-ne v2, p3, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 3940
|
|
:cond_0
|
|
invoke-virtual {p0, v2}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/support/v7/widget/RecyclerView$ViewHolder;)J
|
|
|
|
move-result-wide v3
|
|
|
|
cmp-long v5, v3, p1
|
|
|
|
if-nez v5, :cond_2
|
|
|
|
.line 3942
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$Adapter;->b()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 3943
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string p4, "Two different ViewHolders have the same stable ID. Stable IDs in your adapter MUST BE unique and SHOULD NOT change.\n ViewHolder 1:"
|
|
|
|
invoke-virtual {p2, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p4, " \n View Holder 2:"
|
|
|
|
invoke-virtual {p2, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
.line 3946
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->a()Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
.line 3948
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string p4, "Two different ViewHolders have the same change ID. This might happen due to inconsistent Adapter update events or if the LayoutManager lays out the same View multiple times.\n ViewHolder 1:"
|
|
|
|
invoke-virtual {p2, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p4, " \n View Holder 2:"
|
|
|
|
invoke-virtual {p2, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
.line 3952
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->a()Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_2
|
|
:goto_1
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const-string p1, "RecyclerView"
|
|
|
|
.line 3957
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v0, "Problem while matching changed view holders with the newones. The pre-layout information for the change holder "
|
|
|
|
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p4, " cannot be found but it is necessary for "
|
|
|
|
invoke-virtual {p2, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
.line 3959
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->a()Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
.line 3957
|
|
invoke-static {p1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Landroid/content/Context;Ljava/lang/String;Landroid/util/AttributeSet;II)V
|
|
.locals 6
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 706
|
|
invoke-virtual {p2}, Ljava/lang/String;->trim()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
.line 707
|
|
invoke-virtual {p2}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 708
|
|
invoke-direct {p0, p1, p2}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
.line 711
|
|
:try_start_0
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->isInEditMode()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 713
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
.line 715
|
|
:cond_0
|
|
invoke-virtual {p1}, Landroid/content/Context;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v0
|
|
|
|
.line 718
|
|
:goto_0
|
|
invoke-virtual {v0, p2}, Ljava/lang/ClassLoader;->loadClass(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
const-class v1, Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/Class;->asSubclass(Ljava/lang/Class;)Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
:try_end_0
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_6
|
|
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_5
|
|
.catch Ljava/lang/InstantiationException; {:try_start_0 .. :try_end_0} :catch_4
|
|
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_3
|
|
.catch Ljava/lang/ClassCastException; {:try_start_0 .. :try_end_0} :catch_2
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
.line 722
|
|
:try_start_1
|
|
sget-object v4, Landroid/support/v7/widget/RecyclerView;->O:[Ljava/lang/Class;
|
|
|
|
.line 723
|
|
invoke-virtual {v0, v4}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
|
|
|
|
move-result-object v4
|
|
|
|
const/4 v5, 0x4
|
|
|
|
.line 724
|
|
new-array v5, v5, [Ljava/lang/Object;
|
|
|
|
aput-object p1, v5, v3
|
|
|
|
aput-object p3, v5, v2
|
|
|
|
const/4 p1, 0x2
|
|
|
|
invoke-static {p4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p4
|
|
|
|
aput-object p4, v5, p1
|
|
|
|
const/4 p1, 0x3
|
|
|
|
invoke-static {p5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p4
|
|
|
|
aput-object p4, v5, p1
|
|
:try_end_1
|
|
.catch Ljava/lang/NoSuchMethodException; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_1 .. :try_end_1} :catch_6
|
|
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_1 .. :try_end_1} :catch_5
|
|
.catch Ljava/lang/InstantiationException; {:try_start_1 .. :try_end_1} :catch_4
|
|
.catch Ljava/lang/IllegalAccessException; {:try_start_1 .. :try_end_1} :catch_3
|
|
.catch Ljava/lang/ClassCastException; {:try_start_1 .. :try_end_1} :catch_2
|
|
|
|
move-object v1, v5
|
|
|
|
goto :goto_1
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 727
|
|
:try_start_2
|
|
new-array p4, v3, [Ljava/lang/Class;
|
|
|
|
invoke-virtual {v0, p4}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
|
|
|
|
move-result-object v4
|
|
:try_end_2
|
|
.catch Ljava/lang/NoSuchMethodException; {:try_start_2 .. :try_end_2} :catch_1
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_2 .. :try_end_2} :catch_6
|
|
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_2 .. :try_end_2} :catch_5
|
|
.catch Ljava/lang/InstantiationException; {:try_start_2 .. :try_end_2} :catch_4
|
|
.catch Ljava/lang/IllegalAccessException; {:try_start_2 .. :try_end_2} :catch_3
|
|
.catch Ljava/lang/ClassCastException; {:try_start_2 .. :try_end_2} :catch_2
|
|
|
|
.line 734
|
|
:goto_1
|
|
:try_start_3
|
|
invoke-virtual {v4, v2}, Ljava/lang/reflect/Constructor;->setAccessible(Z)V
|
|
|
|
.line 735
|
|
invoke-virtual {v4, v1}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->setLayoutManager(Landroid/support/v7/widget/RecyclerView$LayoutManager;)V
|
|
|
|
goto/16 :goto_2
|
|
|
|
:catch_1
|
|
move-exception p4
|
|
|
|
.line 729
|
|
invoke-virtual {p4, p1}, Ljava/lang/NoSuchMethodException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
.line 730
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance p5, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p5}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-interface {p3}, Landroid/util/AttributeSet;->getPositionDescription()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, ": Error creating LayoutManager "
|
|
|
|
invoke-virtual {p5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p5, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p5
|
|
|
|
invoke-direct {p1, p5, p4}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
:try_end_3
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_3 .. :try_end_3} :catch_6
|
|
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_3 .. :try_end_3} :catch_5
|
|
.catch Ljava/lang/InstantiationException; {:try_start_3 .. :try_end_3} :catch_4
|
|
.catch Ljava/lang/IllegalAccessException; {:try_start_3 .. :try_end_3} :catch_3
|
|
.catch Ljava/lang/ClassCastException; {:try_start_3 .. :try_end_3} :catch_2
|
|
|
|
:catch_2
|
|
move-exception p1
|
|
|
|
.line 749
|
|
new-instance p4, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance p5, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p5}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-interface {p3}, Landroid/util/AttributeSet;->getPositionDescription()Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p5, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p3, ": Class is not a LayoutManager "
|
|
|
|
invoke-virtual {p5, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p5, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p4, p2, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p4
|
|
|
|
:catch_3
|
|
move-exception p1
|
|
|
|
.line 746
|
|
new-instance p4, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance p5, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p5}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-interface {p3}, Landroid/util/AttributeSet;->getPositionDescription()Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p5, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p3, ": Cannot access non-public constructor "
|
|
|
|
invoke-virtual {p5, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p5, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p4, p2, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p4
|
|
|
|
:catch_4
|
|
move-exception p1
|
|
|
|
.line 743
|
|
new-instance p4, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance p5, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p5}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-interface {p3}, Landroid/util/AttributeSet;->getPositionDescription()Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p5, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p3, ": Could not instantiate the LayoutManager: "
|
|
|
|
invoke-virtual {p5, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p5, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p4, p2, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p4
|
|
|
|
:catch_5
|
|
move-exception p1
|
|
|
|
.line 740
|
|
new-instance p4, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance p5, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p5}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-interface {p3}, Landroid/util/AttributeSet;->getPositionDescription()Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p5, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p3, ": Could not instantiate the LayoutManager: "
|
|
|
|
invoke-virtual {p5, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p5, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p4, p2, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p4
|
|
|
|
:catch_6
|
|
move-exception p1
|
|
|
|
.line 737
|
|
new-instance p4, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance p5, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p5}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-interface {p3}, Landroid/util/AttributeSet;->getPositionDescription()Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p5, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p3, ": Unable to find LayoutManager "
|
|
|
|
invoke-virtual {p5, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p5, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p4, p2, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p4
|
|
|
|
:cond_1
|
|
:goto_2
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Landroid/support/v7/widget/RecyclerView$Adapter;ZZ)V
|
|
.locals 2
|
|
|
|
.line 1119
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1120
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->P:Landroid/support/v7/widget/RecyclerView$RecyclerViewDataObserver;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$Adapter;->b(Landroid/support/v7/widget/RecyclerView$AdapterDataObserver;)V
|
|
|
|
.line 1121
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {v0, p0}, Landroid/support/v7/widget/RecyclerView$Adapter;->b(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
:cond_0
|
|
if-eqz p2, :cond_1
|
|
|
|
if-eqz p3, :cond_2
|
|
|
|
.line 1124
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->c()V
|
|
|
|
.line 1126
|
|
:cond_2
|
|
iget-object p3, p0, Landroid/support/v7/widget/RecyclerView;->e:Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
invoke-virtual {p3}, Landroid/support/v7/widget/AdapterHelper;->a()V
|
|
|
|
.line 1127
|
|
iget-object p3, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
.line 1128
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 1130
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->P:Landroid/support/v7/widget/RecyclerView$RecyclerViewDataObserver;
|
|
|
|
invoke-virtual {p1, v0}, Landroid/support/v7/widget/RecyclerView$Adapter;->a(Landroid/support/v7/widget/RecyclerView$AdapterDataObserver;)V
|
|
|
|
.line 1131
|
|
invoke-virtual {p1, p0}, Landroid/support/v7/widget/RecyclerView$Adapter;->a(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
.line 1133
|
|
:cond_3
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
.line 1134
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {p1, p3, v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView$Adapter;Landroid/support/v7/widget/RecyclerView$Adapter;)V
|
|
|
|
.line 1136
|
|
:cond_4
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {p1, p3, v0, p2}, Landroid/support/v7/widget/RecyclerView$Recycler;->a(Landroid/support/v7/widget/RecyclerView$Adapter;Landroid/support/v7/widget/RecyclerView$Adapter;Z)V
|
|
|
|
.line 1137
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
const/4 p2, 0x1
|
|
|
|
iput-boolean p2, p1, Landroid/support/v7/widget/RecyclerView$State;->e:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;ZZ)V
|
|
.locals 1
|
|
.param p1 # Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p4 # Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 4059
|
|
invoke-virtual {p1, v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a(Z)V
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
.line 4061
|
|
invoke-direct {p0, p1}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
:cond_0
|
|
if-eq p1, p2, :cond_2
|
|
|
|
if-eqz p6, :cond_1
|
|
|
|
.line 4065
|
|
invoke-direct {p0, p2}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
.line 4067
|
|
:cond_1
|
|
iput-object p2, p1, Landroid/support/v7/widget/RecyclerView$ViewHolder;->h:Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
.line 4069
|
|
invoke-direct {p0, p1}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
.line 4070
|
|
iget-object p5, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {p5, p1}, Landroid/support/v7/widget/RecyclerView$Recycler;->c(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
.line 4071
|
|
invoke-virtual {p2, v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a(Z)V
|
|
|
|
.line 4072
|
|
iput-object p1, p2, Landroid/support/v7/widget/RecyclerView$ViewHolder;->i:Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
.line 4074
|
|
:cond_2
|
|
iget-object p5, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
invoke-virtual {p5, p1, p2, p3, p4}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->a(Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 4075
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->p()V
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Landroid/support/v7/widget/RecyclerView;I)V
|
|
.locals 0
|
|
|
|
.line 156
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->detachViewFromParent(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Landroid/support/v7/widget/RecyclerView;II)V
|
|
.locals 0
|
|
|
|
.line 156
|
|
invoke-virtual {p0, p1, p2}, Landroid/support/v7/widget/RecyclerView;->setMeasuredDimension(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Landroid/support/v7/widget/RecyclerView;Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
|
|
.locals 0
|
|
|
|
.line 156
|
|
invoke-virtual {p0, p1, p2, p3}, Landroid/support/v7/widget/RecyclerView;->attachViewToParent(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Landroid/view/View;Landroid/view/View;)V
|
|
.locals 11
|
|
.param p1 # Landroid/view/View;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroid/view/View;
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
move-object v0, p2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v0, p1
|
|
|
|
.line 2628
|
|
:goto_0
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
invoke-virtual {v0}, Landroid/view/View;->getWidth()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v0}, Landroid/view/View;->getHeight()I
|
|
|
|
move-result v3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
invoke-virtual {v1, v4, v4, v2, v3}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
.line 2633
|
|
invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
.line 2634
|
|
instance-of v1, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 2636
|
|
check-cast v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
.line 2637
|
|
iget-boolean v1, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->e:Z
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
.line 2638
|
|
iget-object v0, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->d:Landroid/graphics/Rect;
|
|
|
|
.line 2639
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v2, v1, Landroid/graphics/Rect;->left:I
|
|
|
|
iget v3, v0, Landroid/graphics/Rect;->left:I
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
iput v2, v1, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 2640
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v2, v1, Landroid/graphics/Rect;->right:I
|
|
|
|
iget v3, v0, Landroid/graphics/Rect;->right:I
|
|
|
|
add-int/2addr v2, v3
|
|
|
|
iput v2, v1, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 2641
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v2, v1, Landroid/graphics/Rect;->top:I
|
|
|
|
iget v3, v0, Landroid/graphics/Rect;->top:I
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
iput v2, v1, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 2642
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v2, v1, Landroid/graphics/Rect;->bottom:I
|
|
|
|
iget v0, v0, Landroid/graphics/Rect;->bottom:I
|
|
|
|
add-int/2addr v2, v0
|
|
|
|
iput v2, v1, Landroid/graphics/Rect;->bottom:I
|
|
|
|
:cond_1
|
|
if-eqz p2, :cond_2
|
|
|
|
.line 2647
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
invoke-virtual {p0, p2, v0}, Landroid/support/v7/widget/RecyclerView;->offsetDescendantRectToMyCoords(Landroid/view/View;Landroid/graphics/Rect;)V
|
|
|
|
.line 2648
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
invoke-virtual {p0, p1, v0}, Landroid/support/v7/widget/RecyclerView;->offsetRectIntoDescendantCoords(Landroid/view/View;Landroid/graphics/Rect;)V
|
|
|
|
.line 2650
|
|
:cond_2
|
|
iget-object v5, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v8, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->s:Z
|
|
|
|
const/4 v1, 0x1
|
|
|
|
xor-int/lit8 v9, v0, 0x1
|
|
|
|
if-nez p2, :cond_3
|
|
|
|
const/4 v10, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
const/4 v10, 0x0
|
|
|
|
:goto_1
|
|
move-object v6, p0
|
|
|
|
move-object v7, p1
|
|
|
|
invoke-virtual/range {v5 .. v10}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView;Landroid/view/View;Landroid/graphics/Rect;ZZ)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a([I)V
|
|
.locals 8
|
|
|
|
.line 3979
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->b()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 3981
|
|
aput v0, p1, v2
|
|
|
|
.line 3982
|
|
aput v0, p1, v1
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const v3, 0x7fffffff
|
|
|
|
const/high16 v4, -0x80000000
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const v4, 0x7fffffff
|
|
|
|
const/high16 v5, -0x80000000
|
|
|
|
:goto_0
|
|
if-ge v3, v0, :cond_4
|
|
|
|
.line 3988
|
|
iget-object v6, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v6, v3}, Landroid/support/v7/widget/ChildHelper;->b(I)Landroid/view/View;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-static {v6}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v6
|
|
|
|
.line 3989
|
|
invoke-virtual {v6}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
.line 3992
|
|
:cond_1
|
|
invoke-virtual {v6}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->d()I
|
|
|
|
move-result v6
|
|
|
|
if-ge v6, v4, :cond_2
|
|
|
|
move v4, v6
|
|
|
|
:cond_2
|
|
if-le v6, v5, :cond_3
|
|
|
|
move v5, v6
|
|
|
|
:cond_3
|
|
:goto_1
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 4000
|
|
:cond_4
|
|
aput v4, p1, v2
|
|
|
|
.line 4001
|
|
aput v5, p1, v1
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Landroid/view/MotionEvent;)Z
|
|
.locals 7
|
|
|
|
.line 2813
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x3
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
:cond_0
|
|
const/4 v2, 0x0
|
|
|
|
.line 2815
|
|
iput-object v2, p0, Landroid/support/v7/widget/RecyclerView;->T:Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;
|
|
|
|
.line 2818
|
|
:cond_1
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->S:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v2}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
:goto_0
|
|
if-ge v4, v2, :cond_3
|
|
|
|
.line 2820
|
|
iget-object v5, p0, Landroid/support/v7/widget/RecyclerView;->S:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v5, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;
|
|
|
|
.line 2821
|
|
invoke-interface {v5, p0, p1}, Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;->a(Landroid/support/v7/widget/RecyclerView;Landroid/view/MotionEvent;)Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_2
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
.line 2822
|
|
iput-object v5, p0, Landroid/support/v7/widget/RecyclerView;->T:Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_2
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
return v3
|
|
.end method
|
|
|
|
.method private a(Landroid/view/View;Landroid/view/View;I)Z
|
|
.locals 5
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p2, :cond_19
|
|
|
|
if-ne p2, p0, :cond_0
|
|
|
|
goto/16 :goto_3
|
|
|
|
.line 2556
|
|
:cond_0
|
|
invoke-virtual {p0, p2}, Landroid/support/v7/widget/RecyclerView;->c(Landroid/view/View;)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
const/4 v1, 0x1
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
return v1
|
|
|
|
.line 2563
|
|
:cond_2
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->c(Landroid/view/View;)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
if-nez v2, :cond_3
|
|
|
|
return v1
|
|
|
|
.line 2567
|
|
:cond_3
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getWidth()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getHeight()I
|
|
|
|
move-result v4
|
|
|
|
invoke-virtual {v2, v0, v0, v3, v4}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
.line 2568
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->R:Landroid/graphics/Rect;
|
|
|
|
invoke-virtual {p2}, Landroid/view/View;->getWidth()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p2}, Landroid/view/View;->getHeight()I
|
|
|
|
move-result v4
|
|
|
|
invoke-virtual {v2, v0, v0, v3, v4}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
.line 2569
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
invoke-virtual {p0, p1, v2}, Landroid/support/v7/widget/RecyclerView;->offsetDescendantRectToMyCoords(Landroid/view/View;Landroid/graphics/Rect;)V
|
|
|
|
.line 2570
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->R:Landroid/graphics/Rect;
|
|
|
|
invoke-virtual {p0, p2, p1}, Landroid/support/v7/widget/RecyclerView;->offsetDescendantRectToMyCoords(Landroid/view/View;Landroid/graphics/Rect;)V
|
|
|
|
.line 2571
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->x()I
|
|
|
|
move-result p1
|
|
|
|
const/4 p2, -0x1
|
|
|
|
if-ne p1, v1, :cond_4
|
|
|
|
const/4 p1, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
const/4 p1, 0x1
|
|
|
|
.line 2573
|
|
:goto_0
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v2, v2, Landroid/graphics/Rect;->left:I
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->R:Landroid/graphics/Rect;
|
|
|
|
iget v3, v3, Landroid/graphics/Rect;->left:I
|
|
|
|
if-lt v2, v3, :cond_5
|
|
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v2, v2, Landroid/graphics/Rect;->right:I
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->R:Landroid/graphics/Rect;
|
|
|
|
iget v3, v3, Landroid/graphics/Rect;->left:I
|
|
|
|
if-gt v2, v3, :cond_6
|
|
|
|
:cond_5
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v2, v2, Landroid/graphics/Rect;->right:I
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->R:Landroid/graphics/Rect;
|
|
|
|
iget v3, v3, Landroid/graphics/Rect;->right:I
|
|
|
|
if-ge v2, v3, :cond_6
|
|
|
|
const/4 v2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
.line 2577
|
|
:cond_6
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v2, v2, Landroid/graphics/Rect;->right:I
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->R:Landroid/graphics/Rect;
|
|
|
|
iget v3, v3, Landroid/graphics/Rect;->right:I
|
|
|
|
if-gt v2, v3, :cond_7
|
|
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v2, v2, Landroid/graphics/Rect;->left:I
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->R:Landroid/graphics/Rect;
|
|
|
|
iget v3, v3, Landroid/graphics/Rect;->right:I
|
|
|
|
if-lt v2, v3, :cond_8
|
|
|
|
:cond_7
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v2, v2, Landroid/graphics/Rect;->left:I
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->R:Landroid/graphics/Rect;
|
|
|
|
iget v3, v3, Landroid/graphics/Rect;->left:I
|
|
|
|
if-le v2, v3, :cond_8
|
|
|
|
const/4 v2, -0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_8
|
|
const/4 v2, 0x0
|
|
|
|
.line 2583
|
|
:goto_1
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v3, v3, Landroid/graphics/Rect;->top:I
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->R:Landroid/graphics/Rect;
|
|
|
|
iget v4, v4, Landroid/graphics/Rect;->top:I
|
|
|
|
if-lt v3, v4, :cond_9
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v3, v3, Landroid/graphics/Rect;->bottom:I
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->R:Landroid/graphics/Rect;
|
|
|
|
iget v4, v4, Landroid/graphics/Rect;->top:I
|
|
|
|
if-gt v3, v4, :cond_a
|
|
|
|
:cond_9
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v3, v3, Landroid/graphics/Rect;->bottom:I
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->R:Landroid/graphics/Rect;
|
|
|
|
iget v4, v4, Landroid/graphics/Rect;->bottom:I
|
|
|
|
if-ge v3, v4, :cond_a
|
|
|
|
const/4 p2, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
.line 2587
|
|
:cond_a
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v3, v3, Landroid/graphics/Rect;->bottom:I
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->R:Landroid/graphics/Rect;
|
|
|
|
iget v4, v4, Landroid/graphics/Rect;->bottom:I
|
|
|
|
if-gt v3, v4, :cond_b
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v3, v3, Landroid/graphics/Rect;->top:I
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->R:Landroid/graphics/Rect;
|
|
|
|
iget v4, v4, Landroid/graphics/Rect;->bottom:I
|
|
|
|
if-lt v3, v4, :cond_c
|
|
|
|
:cond_b
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v3, v3, Landroid/graphics/Rect;->top:I
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->R:Landroid/graphics/Rect;
|
|
|
|
iget v4, v4, Landroid/graphics/Rect;->top:I
|
|
|
|
if-le v3, v4, :cond_c
|
|
|
|
goto :goto_2
|
|
|
|
:cond_c
|
|
const/4 p2, 0x0
|
|
|
|
:goto_2
|
|
const/16 v3, 0x11
|
|
|
|
if-eq p3, v3, :cond_17
|
|
|
|
const/16 v3, 0x21
|
|
|
|
if-eq p3, v3, :cond_15
|
|
|
|
const/16 v3, 0x42
|
|
|
|
if-eq p3, v3, :cond_13
|
|
|
|
const/16 v3, 0x82
|
|
|
|
if-eq p3, v3, :cond_11
|
|
|
|
packed-switch p3, :pswitch_data_0
|
|
|
|
.line 2606
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v0, "Invalid direction: "
|
|
|
|
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->a()Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_0
|
|
if-gtz p2, :cond_d
|
|
|
|
if-nez p2, :cond_e
|
|
|
|
mul-int v2, v2, p1
|
|
|
|
if-ltz v2, :cond_e
|
|
|
|
:cond_d
|
|
const/4 v0, 0x1
|
|
|
|
:cond_e
|
|
return v0
|
|
|
|
:pswitch_1
|
|
if-ltz p2, :cond_f
|
|
|
|
if-nez p2, :cond_10
|
|
|
|
mul-int v2, v2, p1
|
|
|
|
if-gtz v2, :cond_10
|
|
|
|
:cond_f
|
|
const/4 v0, 0x1
|
|
|
|
:cond_10
|
|
return v0
|
|
|
|
:cond_11
|
|
if-lez p2, :cond_12
|
|
|
|
const/4 v0, 0x1
|
|
|
|
:cond_12
|
|
return v0
|
|
|
|
:cond_13
|
|
if-lez v2, :cond_14
|
|
|
|
const/4 v0, 0x1
|
|
|
|
:cond_14
|
|
return v0
|
|
|
|
:cond_15
|
|
if-gez p2, :cond_16
|
|
|
|
const/4 v0, 0x1
|
|
|
|
:cond_16
|
|
return v0
|
|
|
|
:cond_17
|
|
if-gez v2, :cond_18
|
|
|
|
const/4 v0, 0x1
|
|
|
|
:cond_18
|
|
return v0
|
|
|
|
:cond_19
|
|
:goto_3
|
|
return v0
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method static synthetic a(Landroid/support/v7/widget/RecyclerView;)[I
|
|
.locals 0
|
|
|
|
.line 156
|
|
iget-object p0, p0, Landroid/support/v7/widget/RecyclerView;->aE:[I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static b(Landroid/view/View;Landroid/graphics/Rect;)V
|
|
.locals 6
|
|
|
|
.line 4769
|
|
invoke-virtual {p0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
.line 4770
|
|
iget-object v1, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->d:Landroid/graphics/Rect;
|
|
|
|
.line 4771
|
|
invoke-virtual {p0}, Landroid/view/View;->getLeft()I
|
|
|
|
move-result v2
|
|
|
|
iget v3, v1, Landroid/graphics/Rect;->left:I
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
iget v3, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->leftMargin:I
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
.line 4772
|
|
invoke-virtual {p0}, Landroid/view/View;->getTop()I
|
|
|
|
move-result v3
|
|
|
|
iget v4, v1, Landroid/graphics/Rect;->top:I
|
|
|
|
sub-int/2addr v3, v4
|
|
|
|
iget v4, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->topMargin:I
|
|
|
|
sub-int/2addr v3, v4
|
|
|
|
.line 4773
|
|
invoke-virtual {p0}, Landroid/view/View;->getRight()I
|
|
|
|
move-result v4
|
|
|
|
iget v5, v1, Landroid/graphics/Rect;->right:I
|
|
|
|
add-int/2addr v4, v5
|
|
|
|
iget v5, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->rightMargin:I
|
|
|
|
add-int/2addr v4, v5
|
|
|
|
.line 4774
|
|
invoke-virtual {p0}, Landroid/view/View;->getBottom()I
|
|
|
|
move-result p0
|
|
|
|
iget v1, v1, Landroid/graphics/Rect;->bottom:I
|
|
|
|
add-int/2addr p0, v1
|
|
|
|
iget v0, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->bottomMargin:I
|
|
|
|
add-int/2addr p0, v0
|
|
|
|
.line 4771
|
|
invoke-virtual {p1, v2, v3, v4, p0}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic b(Landroid/support/v7/widget/RecyclerView;)Z
|
|
.locals 0
|
|
|
|
.line 156
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->awakenScrollBars()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private b(Landroid/view/MotionEvent;)Z
|
|
.locals 6
|
|
|
|
.line 2830
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
|
|
|
|
move-result v0
|
|
|
|
.line 2831
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->T:Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2834
|
|
iput-object v1, p0, Landroid/support/v7/widget/RecyclerView;->T:Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;
|
|
|
|
goto :goto_0
|
|
|
|
.line 2836
|
|
:cond_0
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->T:Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;
|
|
|
|
invoke-interface {v3, p0, p1}, Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;->b(Landroid/support/v7/widget/RecyclerView;Landroid/view/MotionEvent;)V
|
|
|
|
const/4 p1, 0x3
|
|
|
|
if-eq v0, p1, :cond_1
|
|
|
|
if-ne v0, v2, :cond_2
|
|
|
|
.line 2839
|
|
:cond_1
|
|
iput-object v1, p0, Landroid/support/v7/widget/RecyclerView;->T:Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;
|
|
|
|
:cond_2
|
|
return v2
|
|
|
|
:cond_3
|
|
:goto_0
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 2848
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->S:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
:goto_1
|
|
if-ge v3, v0, :cond_5
|
|
|
|
.line 2850
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->S:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;
|
|
|
|
.line 2851
|
|
invoke-interface {v4, p0, p1}, Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;->a(Landroid/support/v7/widget/RecyclerView;Landroid/view/MotionEvent;)Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_4
|
|
|
|
.line 2852
|
|
iput-object v4, p0, Landroid/support/v7/widget/RecyclerView;->T:Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;
|
|
|
|
return v2
|
|
|
|
:cond_4
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
return v1
|
|
.end method
|
|
|
|
.method static c(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
.locals 3
|
|
.param p0 # Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 5488
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$ViewHolder;->b:Ljava/lang/ref/WeakReference;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 5489
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$ViewHolder;->b:Ljava/lang/ref/WeakReference;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
:goto_0
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 5491
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
if-ne v0, v2, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 5495
|
|
:cond_0
|
|
invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v0
|
|
|
|
.line 5496
|
|
instance-of v2, v0, Landroid/view/View;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 5497
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
move-object v0, v1
|
|
|
|
goto :goto_0
|
|
|
|
.line 5502
|
|
:cond_2
|
|
iput-object v1, p0, Landroid/support/v7/widget/RecyclerView$ViewHolder;->b:Ljava/lang/ref/WeakReference;
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method private c(Landroid/view/MotionEvent;)V
|
|
.locals 3
|
|
|
|
.line 3133
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionIndex()I
|
|
|
|
move-result v0
|
|
|
|
.line 3134
|
|
invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->getPointerId(I)I
|
|
|
|
move-result v1
|
|
|
|
iget v2, p0, Landroid/support/v7/widget/RecyclerView;->ak:I
|
|
|
|
if-ne v1, v2, :cond_1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 3137
|
|
:goto_0
|
|
invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->getPointerId(I)I
|
|
|
|
move-result v1
|
|
|
|
iput v1, p0, Landroid/support/v7/widget/RecyclerView;->ak:I
|
|
|
|
.line 3138
|
|
invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->getX(I)F
|
|
|
|
move-result v1
|
|
|
|
const/high16 v2, 0x3f000000 # 0.5f
|
|
|
|
add-float/2addr v1, v2
|
|
|
|
float-to-int v1, v1
|
|
|
|
iput v1, p0, Landroid/support/v7/widget/RecyclerView;->ao:I
|
|
|
|
iput v1, p0, Landroid/support/v7/widget/RecyclerView;->am:I
|
|
|
|
.line 3139
|
|
invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->getY(I)F
|
|
|
|
move-result p1
|
|
|
|
add-float/2addr p1, v2
|
|
|
|
float-to-int p1, p1
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->ap:I
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->an:I
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method static e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
.locals 0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 4497
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
iget-object p0, p0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->c:Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private e(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
.locals 5
|
|
|
|
.line 1350
|
|
iget-object v0, p1, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
.line 1351
|
|
invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-ne v1, p0, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
.line 1352
|
|
:goto_0
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView;->b(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v3, v4}, Landroid/support/v7/widget/RecyclerView$Recycler;->c(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
.line 1353
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->r()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 1355
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
const/4 v1, -0x1
|
|
|
|
invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {p1, v0, v1, v3, v2}, Landroid/support/v7/widget/ChildHelper;->a(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;Z)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
if-nez v1, :cond_2
|
|
|
|
.line 1357
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {p1, v0, v2}, Landroid/support/v7/widget/ChildHelper;->a(Landroid/view/View;Z)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 1359
|
|
:cond_2
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {p1, v0}, Landroid/support/v7/widget/ChildHelper;->d(Landroid/view/View;)V
|
|
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method private getScrollingChildHelper()Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
.locals 1
|
|
|
|
.line 13035
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->aC:Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 13036
|
|
new-instance v0, Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
invoke-direct {v0, p0}, Landroid/support/v4/view/NestedScrollingChildHelper;-><init>(Landroid/view/View;)V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->aC:Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
.line 13038
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->aC:Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private j(II)Z
|
|
.locals 3
|
|
|
|
.line 4005
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->aB:[I
|
|
|
|
invoke-direct {p0, v0}, Landroid/support/v7/widget/RecyclerView;->a([I)V
|
|
|
|
.line 4006
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->aB:[I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
aget v0, v0, v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->aB:[I
|
|
|
|
aget p1, p1, v2
|
|
|
|
if-eq p1, p2, :cond_1
|
|
|
|
:cond_0
|
|
const/4 v1, 0x1
|
|
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method static k(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView;
|
|
.locals 4
|
|
.param p0 # Landroid/view/View;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 5466
|
|
instance-of v0, p0, Landroid/view/ViewGroup;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object v1
|
|
|
|
.line 5469
|
|
:cond_0
|
|
instance-of v0, p0, Landroid/support/v7/widget/RecyclerView;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 5470
|
|
check-cast p0, Landroid/support/v7/widget/RecyclerView;
|
|
|
|
return-object p0
|
|
|
|
.line 5472
|
|
:cond_1
|
|
check-cast p0, Landroid/view/ViewGroup;
|
|
|
|
.line 5473
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_3
|
|
|
|
.line 5475
|
|
invoke-virtual {p0, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v3
|
|
|
|
.line 5476
|
|
invoke-static {v3}, Landroid/support/v7/widget/RecyclerView;->k(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView;
|
|
|
|
move-result-object v3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
return-object v3
|
|
|
|
:cond_2
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
return-object v1
|
|
.end method
|
|
|
|
.method private n(Landroid/view/View;)I
|
|
.locals 3
|
|
|
|
.line 3681
|
|
invoke-virtual {p1}, Landroid/view/View;->getId()I
|
|
|
|
move-result v0
|
|
|
|
.line 3682
|
|
:cond_0
|
|
:goto_0
|
|
invoke-virtual {p1}, Landroid/view/View;->isFocused()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
instance-of v1, p1, Landroid/view/ViewGroup;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->hasFocus()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 3683
|
|
check-cast p1, Landroid/view/ViewGroup;
|
|
|
|
invoke-virtual {p1}, Landroid/view/ViewGroup;->getFocusedChild()Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
.line 3684
|
|
invoke-virtual {p1}, Landroid/view/View;->getId()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, -0x1
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
.line 3686
|
|
invoke-virtual {p1}, Landroid/view/View;->getId()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return v0
|
|
.end method
|
|
|
|
.method static synthetic y()Z
|
|
.locals 1
|
|
|
|
.line 156
|
|
sget-boolean v0, Landroid/support/v7/widget/RecyclerView;->L:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method private z()V
|
|
.locals 2
|
|
|
|
.line 767
|
|
new-instance v0, Landroid/support/v7/widget/ChildHelper;
|
|
|
|
new-instance v1, Landroid/support/v7/widget/RecyclerView$5;
|
|
|
|
invoke-direct {v1, p0}, Landroid/support/v7/widget/RecyclerView$5;-><init>(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
invoke-direct {v0, v1}, Landroid/support/v7/widget/ChildHelper;-><init>(Landroid/support/v7/widget/ChildHelper$Callback;)V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method a(Landroid/support/v7/widget/RecyclerView$ViewHolder;)J
|
|
.locals 2
|
|
|
|
.line 4036
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$Adapter;->b()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->g()J
|
|
|
|
move-result-wide v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget p1, p1, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c:I
|
|
|
|
int-to-long v0, p1
|
|
|
|
:goto_0
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method a(IZ)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
.locals 5
|
|
|
|
.line 4620
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->c()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_4
|
|
|
|
.line 4623
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v3, v2}, Landroid/support/v7/widget/ChildHelper;->d(I)Landroid/view/View;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v3
|
|
|
|
if-eqz v3, :cond_3
|
|
|
|
.line 4624
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->q()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_3
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 4626
|
|
iget v4, v3, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c:I
|
|
|
|
if-eq v4, p1, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
.line 4629
|
|
:cond_0
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->d()I
|
|
|
|
move-result v4
|
|
|
|
if-eq v4, p1, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
.line 4632
|
|
:cond_1
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
iget-object v4, v3, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
invoke-virtual {v1, v4}, Landroid/support/v7/widget/ChildHelper;->c(Landroid/view/View;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
move-object v1, v3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
return-object v3
|
|
|
|
:cond_3
|
|
:goto_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public a(J)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
.locals 7
|
|
|
|
.line 4660
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$Adapter;->b()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_2
|
|
|
|
.line 4663
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->c()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_3
|
|
|
|
.line 4666
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v3, v2}, Landroid/support/v7/widget/ChildHelper;->d(I)Landroid/view/View;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
.line 4667
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->q()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->g()J
|
|
|
|
move-result-wide v4
|
|
|
|
cmp-long v6, v4, p1
|
|
|
|
if-nez v6, :cond_2
|
|
|
|
.line 4668
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
iget-object v4, v3, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
invoke-virtual {v1, v4}, Landroid/support/v7/widget/ChildHelper;->c(Landroid/view/View;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
move-object v1, v3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
return-object v3
|
|
|
|
:cond_2
|
|
:goto_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
return-object v1
|
|
|
|
:cond_4
|
|
:goto_2
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public a(FF)Landroid/view/View;
|
|
.locals 5
|
|
|
|
.line 4686
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->b()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_1
|
|
|
|
.line 4688
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v1, v0}, Landroid/support/v7/widget/ChildHelper;->b(I)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
.line 4689
|
|
invoke-virtual {v1}, Landroid/view/View;->getTranslationX()F
|
|
|
|
move-result v2
|
|
|
|
.line 4690
|
|
invoke-virtual {v1}, Landroid/view/View;->getTranslationY()F
|
|
|
|
move-result v3
|
|
|
|
.line 4691
|
|
invoke-virtual {v1}, Landroid/view/View;->getLeft()I
|
|
|
|
move-result v4
|
|
|
|
int-to-float v4, v4
|
|
|
|
add-float/2addr v4, v2
|
|
|
|
cmpl-float v4, p1, v4
|
|
|
|
if-ltz v4, :cond_0
|
|
|
|
.line 4692
|
|
invoke-virtual {v1}, Landroid/view/View;->getRight()I
|
|
|
|
move-result v4
|
|
|
|
int-to-float v4, v4
|
|
|
|
add-float/2addr v4, v2
|
|
|
|
cmpg-float v2, p1, v4
|
|
|
|
if-gtz v2, :cond_0
|
|
|
|
.line 4693
|
|
invoke-virtual {v1}, Landroid/view/View;->getTop()I
|
|
|
|
move-result v2
|
|
|
|
int-to-float v2, v2
|
|
|
|
add-float/2addr v2, v3
|
|
|
|
cmpl-float v2, p2, v2
|
|
|
|
if-ltz v2, :cond_0
|
|
|
|
.line 4694
|
|
invoke-virtual {v1}, Landroid/view/View;->getBottom()I
|
|
|
|
move-result v2
|
|
|
|
int-to-float v2, v2
|
|
|
|
add-float/2addr v2, v3
|
|
|
|
cmpg-float v2, p2, v2
|
|
|
|
if-gtz v2, :cond_0
|
|
|
|
return-object v1
|
|
|
|
:cond_0
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method a()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 676
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v1, " "
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-super {p0}, Landroid/view/ViewGroup;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", adapter:"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", layout:"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", context:"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 679
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public a(I)V
|
|
.locals 1
|
|
|
|
.line 1655
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->u:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 1658
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->f()V
|
|
|
|
.line 1659
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const-string p1, "RecyclerView"
|
|
|
|
const-string v0, "Cannot scroll to position a LayoutManager set. Call setLayoutManager with a non-null argument."
|
|
|
|
.line 1660
|
|
invoke-static {p1, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
|
|
.line 1664
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->e(I)V
|
|
|
|
.line 1665
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->awakenScrollBars()Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(II)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2120
|
|
invoke-virtual {p0, p1, p2, v0}, Landroid/support/v7/widget/RecyclerView;->a(IILandroid/view/animation/Interpolator;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(IILandroid/view/animation/Interpolator;)V
|
|
.locals 2
|
|
|
|
.line 2132
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string p1, "RecyclerView"
|
|
|
|
const-string p2, "Cannot smooth scroll without a LayoutManager set. Call setLayoutManager with a non-null argument."
|
|
|
|
.line 2133
|
|
invoke-static {p1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
|
|
.line 2137
|
|
:cond_0
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->u:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
return-void
|
|
|
|
.line 2140
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f()Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 2143
|
|
:cond_2
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
const/4 p2, 0x0
|
|
|
|
:cond_3
|
|
if-nez p1, :cond_4
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
.line 2147
|
|
:cond_4
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->z:Landroid/support/v7/widget/RecyclerView$ViewFlinger;
|
|
|
|
invoke-virtual {v0, p1, p2, p3}, Landroid/support/v7/widget/RecyclerView$ViewFlinger;->a(IILandroid/view/animation/Interpolator;)V
|
|
|
|
:cond_5
|
|
return-void
|
|
.end method
|
|
|
|
.method a(IILjava/lang/Object;)V
|
|
.locals 6
|
|
|
|
.line 4330
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->c()I
|
|
|
|
move-result v0
|
|
|
|
add-int v1, p1, p2
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_2
|
|
|
|
.line 4334
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v3, v2}, Landroid/support/v7/widget/ChildHelper;->d(I)Landroid/view/View;
|
|
|
|
move-result-object v3
|
|
|
|
.line 4335
|
|
invoke-static {v3}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v4
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
.line 4336
|
|
invoke-virtual {v4}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 4339
|
|
:cond_0
|
|
iget v5, v4, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c:I
|
|
|
|
if-lt v5, p1, :cond_1
|
|
|
|
iget v5, v4, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c:I
|
|
|
|
if-ge v5, v1, :cond_1
|
|
|
|
const/4 v5, 0x2
|
|
|
|
.line 4342
|
|
invoke-virtual {v4, v5}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->b(I)V
|
|
|
|
.line 4343
|
|
invoke-virtual {v4, p3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a(Ljava/lang/Object;)V
|
|
|
|
.line 4345
|
|
invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
const/4 v4, 0x1
|
|
|
|
iput-boolean v4, v3, Landroid/support/v7/widget/RecyclerView$LayoutParams;->e:Z
|
|
|
|
:cond_1
|
|
:goto_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 4348
|
|
:cond_2
|
|
iget-object p3, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {p3, p1, p2}, Landroid/support/v7/widget/RecyclerView$Recycler;->c(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method a(IIZ)V
|
|
.locals 7
|
|
|
|
add-int v0, p1, p2
|
|
|
|
.line 4296
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/ChildHelper;->c()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v1, :cond_2
|
|
|
|
.line 4298
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v3, v2}, Landroid/support/v7/widget/ChildHelper;->d(I)Landroid/view/View;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v3
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
.line 4299
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_1
|
|
|
|
.line 4300
|
|
iget v4, v3, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c:I
|
|
|
|
const/4 v5, 0x1
|
|
|
|
if-lt v4, v0, :cond_0
|
|
|
|
neg-int v4, p2
|
|
|
|
.line 4306
|
|
invoke-virtual {v3, v4, p3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a(IZ)V
|
|
|
|
.line 4307
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iput-boolean v5, v3, Landroid/support/v7/widget/RecyclerView$State;->e:Z
|
|
|
|
goto :goto_1
|
|
|
|
.line 4308
|
|
:cond_0
|
|
iget v4, v3, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c:I
|
|
|
|
if-lt v4, p1, :cond_1
|
|
|
|
add-int/lit8 v4, p1, -0x1
|
|
|
|
neg-int v6, p2
|
|
|
|
.line 4313
|
|
invoke-virtual {v3, v4, v6, p3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a(IIZ)V
|
|
|
|
.line 4315
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iput-boolean v5, v3, Landroid/support/v7/widget/RecyclerView$State;->e:Z
|
|
|
|
:cond_1
|
|
:goto_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 4319
|
|
:cond_2
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0, p1, p2, p3}, Landroid/support/v7/widget/RecyclerView$Recycler;->a(IIZ)V
|
|
|
|
.line 4320
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->requestLayout()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method a(Landroid/graphics/drawable/StateListDrawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/StateListDrawable;Landroid/graphics/drawable/Drawable;)V
|
|
.locals 10
|
|
.annotation build Landroid/support/annotation/VisibleForTesting;
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
if-eqz p4, :cond_0
|
|
|
|
.line 11109
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v0
|
|
|
|
.line 11110
|
|
new-instance v1, Landroid/support/v7/widget/FastScroller;
|
|
|
|
sget v2, Landroid/support/v7/recyclerview/R$dimen;->fastscroll_default_thickness:I
|
|
|
|
.line 11112
|
|
invoke-virtual {v0, v2}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
|
|
|
|
move-result v7
|
|
|
|
sget v2, Landroid/support/v7/recyclerview/R$dimen;->fastscroll_minimum_range:I
|
|
|
|
.line 11113
|
|
invoke-virtual {v0, v2}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
|
|
|
|
move-result v8
|
|
|
|
sget v2, Landroid/support/v7/recyclerview/R$dimen;->fastscroll_margin:I
|
|
|
|
.line 11114
|
|
invoke-virtual {v0, v2}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I
|
|
|
|
move-result v9
|
|
|
|
move-object v2, p0
|
|
|
|
move-object v3, p1
|
|
|
|
move-object v4, p2
|
|
|
|
move-object v5, p3
|
|
|
|
move-object v6, p4
|
|
|
|
invoke-direct/range {v1 .. v9}, Landroid/support/v7/widget/FastScroller;-><init>(Landroid/support/v7/widget/RecyclerView;Landroid/graphics/drawable/StateListDrawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/StateListDrawable;Landroid/graphics/drawable/Drawable;III)V
|
|
|
|
return-void
|
|
|
|
.line 11105
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string p3, "Trying to set fast scroller without both required drawables."
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 11106
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->a()Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView$ItemDecoration;)V
|
|
.locals 1
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 1514
|
|
invoke-virtual {p0, p1, v0}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/support/v7/widget/RecyclerView$ItemDecoration;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView$ItemDecoration;I)V
|
|
.locals 2
|
|
|
|
.line 1485
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1486
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
const-string v1, "Cannot add item decoration during a scroll or layout"
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Ljava/lang/String;)V
|
|
|
|
.line 1489
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1490
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView;->setWillNotDraw(Z)V
|
|
|
|
:cond_1
|
|
if-gez p2, :cond_2
|
|
|
|
.line 1493
|
|
iget-object p2, p0, Landroid/support/v7/widget/RecyclerView;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {p2, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
.line 1495
|
|
:cond_2
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p2, p1}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V
|
|
|
|
.line 1497
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->r()V
|
|
|
|
.line 1498
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->requestLayout()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView$OnChildAttachStateChangeListener;)V
|
|
.locals 1
|
|
|
|
.line 1193
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ab:Ljava/util/List;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 1194
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ab:Ljava/util/List;
|
|
|
|
.line 1196
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ab:Ljava/util/List;
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;)V
|
|
.locals 1
|
|
|
|
.line 2797
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->S:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/support/v7/widget/RecyclerView$OnScrollListener;)V
|
|
.locals 1
|
|
|
|
.line 1620
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ay:Ljava/util/List;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 1621
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ay:Ljava/util/List;
|
|
|
|
.line 1623
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ay:Ljava/util/List;
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method final a(Landroid/support/v7/widget/RecyclerView$State;)V
|
|
.locals 3
|
|
|
|
.line 3693
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getScrollState()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x2
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 3694
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->z:Landroid/support/v7/widget/RecyclerView$ViewFlinger;
|
|
|
|
invoke-static {v0}, Landroid/support/v7/widget/RecyclerView$ViewFlinger;->a(Landroid/support/v7/widget/RecyclerView$ViewFlinger;)Landroid/widget/OverScroller;
|
|
|
|
move-result-object v0
|
|
|
|
.line 3695
|
|
invoke-virtual {v0}, Landroid/widget/OverScroller;->getFinalX()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {v0}, Landroid/widget/OverScroller;->getCurrX()I
|
|
|
|
move-result v2
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
iput v1, p1, Landroid/support/v7/widget/RecyclerView$State;->n:I
|
|
|
|
.line 3696
|
|
invoke-virtual {v0}, Landroid/widget/OverScroller;->getFinalY()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {v0}, Landroid/widget/OverScroller;->getCurrY()I
|
|
|
|
move-result v0
|
|
|
|
sub-int/2addr v1, v0
|
|
|
|
iput v1, p1, Landroid/support/v7/widget/RecyclerView$State;->o:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 3698
|
|
iput v0, p1, Landroid/support/v7/widget/RecyclerView$State;->n:I
|
|
|
|
.line 3699
|
|
iput v0, p1, Landroid/support/v7/widget/RecyclerView$State;->o:I
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method a(Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;)V
|
|
.locals 3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/16 v1, 0x2000
|
|
|
|
.line 3969
|
|
invoke-virtual {p1, v0, v1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a(II)V
|
|
|
|
.line 3970
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-boolean v0, v0, Landroid/support/v7/widget/RecyclerView$State;->g:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->x()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3971
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->q()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 3972
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/support/v7/widget/RecyclerView$ViewHolder;)J
|
|
|
|
move-result-wide v0
|
|
|
|
.line 3973
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v2, v0, v1, p1}, Landroid/support/v7/widget/ViewInfoStore;->a(JLandroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
.line 3975
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/support/v7/widget/ViewInfoStore;->a(Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method a(Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;)V
|
|
.locals 1
|
|
.param p1 # Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 4041
|
|
invoke-virtual {p1, v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a(Z)V
|
|
|
|
.line 4042
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
invoke-virtual {v0, p1, p2, p3}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->b(Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 4043
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->p()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/view/View;Landroid/graphics/Rect;)V
|
|
.locals 0
|
|
|
|
.line 4765
|
|
invoke-static {p1, p2}, Landroid/support/v7/widget/RecyclerView;->b(Landroid/view/View;Landroid/graphics/Rect;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method a(Ljava/lang/String;)V
|
|
.locals 4
|
|
|
|
.line 2766
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->o()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 2768
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v1, "Cannot call this method while RecyclerView is computing a layout or scrolling"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 2769
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->a()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
.line 2771
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
.line 2773
|
|
:cond_1
|
|
iget p1, p0, Landroid/support/v7/widget/RecyclerView;->ad:I
|
|
|
|
if-lez p1, :cond_2
|
|
|
|
const-string p1, "RecyclerView"
|
|
|
|
const-string v0, "Cannot call this method in a scroll callback. Scroll callbacks mightbe run during a measure & layout pass where you cannot change theRecyclerView data. Any method call that might change the structureof the RecyclerView or the adapter contents should be postponed tothe next frame."
|
|
|
|
.line 2774
|
|
new-instance v1, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v3, ""
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 2779
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->a()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 2774
|
|
invoke-static {p1, v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method a(Z)V
|
|
.locals 3
|
|
|
|
.line 2027
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView;->U:I
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
.line 2034
|
|
iput v1, p0, Landroid/support/v7/widget/RecyclerView;->U:I
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
.line 2036
|
|
iget-boolean v2, p0, Landroid/support/v7/widget/RecyclerView;->u:Z
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
.line 2045
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->t:Z
|
|
|
|
.line 2047
|
|
:cond_1
|
|
iget v2, p0, Landroid/support/v7/widget/RecyclerView;->U:I
|
|
|
|
if-ne v2, v1, :cond_3
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 2049
|
|
iget-boolean p1, p0, Landroid/support/v7/widget/RecyclerView;->t:Z
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
iget-boolean p1, p0, Landroid/support/v7/widget/RecyclerView;->u:Z
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 2051
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->q()V
|
|
|
|
.line 2053
|
|
:cond_2
|
|
iget-boolean p1, p0, Landroid/support/v7/widget/RecyclerView;->u:Z
|
|
|
|
if-nez p1, :cond_3
|
|
|
|
.line 2054
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->t:Z
|
|
|
|
.line 2057
|
|
:cond_3
|
|
iget p1, p0, Landroid/support/v7/widget/RecyclerView;->U:I
|
|
|
|
sub-int/2addr p1, v1
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->U:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method a(IILandroid/view/MotionEvent;)Z
|
|
.locals 12
|
|
|
|
.line 1804
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->d()V
|
|
|
|
.line 1805
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 1806
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->e()V
|
|
|
|
.line 1807
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->l()V
|
|
|
|
const-string v0, "RV Scroll"
|
|
|
|
.line 1808
|
|
invoke-static {v0}, Landroid/support/v4/os/TraceCompat;->beginSection(Ljava/lang/String;)V
|
|
|
|
.line 1809
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/support/v7/widget/RecyclerView$State;)V
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 1811
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v0, p1, v2, v3}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(ILandroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)I
|
|
|
|
move-result v0
|
|
|
|
sub-int v2, p1, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 1815
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v5, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v3, p2, v4, v5}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b(ILandroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)I
|
|
|
|
move-result v3
|
|
|
|
sub-int v4, p2, v3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
.line 1818
|
|
:goto_1
|
|
invoke-static {}, Landroid/support/v4/os/TraceCompat;->endSection()V
|
|
|
|
.line 1819
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->w()V
|
|
|
|
.line 1820
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->m()V
|
|
|
|
.line 1821
|
|
invoke-virtual {p0, v1}, Landroid/support/v7/widget/RecyclerView;->a(Z)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
.line 1823
|
|
:goto_2
|
|
iget-object v5, p0, Landroid/support/v7/widget/RecyclerView;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v5}, Ljava/util/ArrayList;->isEmpty()Z
|
|
|
|
move-result v5
|
|
|
|
if-nez v5, :cond_3
|
|
|
|
.line 1824
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->invalidate()V
|
|
|
|
.line 1827
|
|
:cond_3
|
|
iget-object v10, p0, Landroid/support/v7/widget/RecyclerView;->aD:[I
|
|
|
|
const/4 v11, 0x0
|
|
|
|
move-object v5, p0
|
|
|
|
move v6, v0
|
|
|
|
move v7, v3
|
|
|
|
move v8, v2
|
|
|
|
move v9, v4
|
|
|
|
invoke-virtual/range {v5 .. v11}, Landroid/support/v7/widget/RecyclerView;->dispatchNestedScroll(IIII[II)Z
|
|
|
|
move-result v5
|
|
|
|
const/4 v6, 0x1
|
|
|
|
if-eqz v5, :cond_5
|
|
|
|
.line 1830
|
|
iget p1, p0, Landroid/support/v7/widget/RecyclerView;->ao:I
|
|
|
|
iget-object p2, p0, Landroid/support/v7/widget/RecyclerView;->aD:[I
|
|
|
|
aget p2, p2, v1
|
|
|
|
sub-int/2addr p1, p2
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->ao:I
|
|
|
|
.line 1831
|
|
iget p1, p0, Landroid/support/v7/widget/RecyclerView;->ap:I
|
|
|
|
iget-object p2, p0, Landroid/support/v7/widget/RecyclerView;->aD:[I
|
|
|
|
aget p2, p2, v6
|
|
|
|
sub-int/2addr p1, p2
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->ap:I
|
|
|
|
if-eqz p3, :cond_4
|
|
|
|
.line 1833
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->aD:[I
|
|
|
|
aget p1, p1, v1
|
|
|
|
int-to-float p1, p1
|
|
|
|
iget-object p2, p0, Landroid/support/v7/widget/RecyclerView;->aD:[I
|
|
|
|
aget p2, p2, v6
|
|
|
|
int-to-float p2, p2
|
|
|
|
invoke-virtual {p3, p1, p2}, Landroid/view/MotionEvent;->offsetLocation(FF)V
|
|
|
|
.line 1835
|
|
:cond_4
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->aF:[I
|
|
|
|
aget p2, p1, v1
|
|
|
|
iget-object p3, p0, Landroid/support/v7/widget/RecyclerView;->aD:[I
|
|
|
|
aget p3, p3, v1
|
|
|
|
add-int/2addr p2, p3
|
|
|
|
aput p2, p1, v1
|
|
|
|
.line 1836
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->aF:[I
|
|
|
|
aget p2, p1, v6
|
|
|
|
iget-object p3, p0, Landroid/support/v7/widget/RecyclerView;->aD:[I
|
|
|
|
aget p3, p3, v6
|
|
|
|
add-int/2addr p2, p3
|
|
|
|
aput p2, p1, v6
|
|
|
|
goto :goto_3
|
|
|
|
.line 1837
|
|
:cond_5
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getOverScrollMode()I
|
|
|
|
move-result v5
|
|
|
|
const/4 v7, 0x2
|
|
|
|
if-eq v5, v7, :cond_7
|
|
|
|
if-eqz p3, :cond_6
|
|
|
|
const/16 v5, 0x2002
|
|
|
|
.line 1838
|
|
invoke-static {p3, v5}, Landroid/support/v4/view/MotionEventCompat;->isFromSource(Landroid/view/MotionEvent;I)Z
|
|
|
|
move-result v5
|
|
|
|
if-nez v5, :cond_6
|
|
|
|
.line 1839
|
|
invoke-virtual {p3}, Landroid/view/MotionEvent;->getX()F
|
|
|
|
move-result v5
|
|
|
|
int-to-float v2, v2
|
|
|
|
invoke-virtual {p3}, Landroid/view/MotionEvent;->getY()F
|
|
|
|
move-result p3
|
|
|
|
int-to-float v4, v4
|
|
|
|
invoke-direct {p0, v5, v2, p3, v4}, Landroid/support/v7/widget/RecyclerView;->a(FFFF)V
|
|
|
|
.line 1841
|
|
:cond_6
|
|
invoke-virtual {p0, p1, p2}, Landroid/support/v7/widget/RecyclerView;->c(II)V
|
|
|
|
:cond_7
|
|
:goto_3
|
|
if-nez v0, :cond_8
|
|
|
|
if-eqz v3, :cond_9
|
|
|
|
.line 1844
|
|
:cond_8
|
|
invoke-virtual {p0, v0, v3}, Landroid/support/v7/widget/RecyclerView;->i(II)V
|
|
|
|
.line 1846
|
|
:cond_9
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->awakenScrollBars()Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_a
|
|
|
|
.line 1847
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->invalidate()V
|
|
|
|
:cond_a
|
|
if-nez v0, :cond_b
|
|
|
|
if-eqz v3, :cond_c
|
|
|
|
:cond_b
|
|
const/4 v1, 0x1
|
|
|
|
:cond_c
|
|
return v1
|
|
.end method
|
|
|
|
.method a(Landroid/support/v7/widget/RecyclerView$ViewHolder;I)Z
|
|
.locals 1
|
|
.annotation build Landroid/support/annotation/VisibleForTesting;
|
|
.end annotation
|
|
|
|
.line 11064
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->o()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 11065
|
|
iput p2, p1, Landroid/support/v7/widget/RecyclerView$ViewHolder;->l:I
|
|
|
|
.line 11066
|
|
iget-object p2, p0, Landroid/support/v7/widget/RecyclerView;->H:Ljava/util/List;
|
|
|
|
invoke-interface {p2, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
.line 11069
|
|
:cond_0
|
|
iget-object p1, p1, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
invoke-static {p1, p2}, Landroid/support/v4/view/ViewCompat;->setImportantForAccessibility(Landroid/view/View;I)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method a(Landroid/view/View;)Z
|
|
.locals 2
|
|
|
|
.line 1370
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->e()V
|
|
|
|
.line 1371
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/ChildHelper;->f(Landroid/view/View;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1373
|
|
invoke-static {p1}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object p1
|
|
|
|
.line 1374
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v1, p1}, Landroid/support/v7/widget/RecyclerView$Recycler;->c(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
.line 1375
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v1, p1}, Landroid/support/v7/widget/RecyclerView$Recycler;->b(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
:cond_0
|
|
xor-int/lit8 p1, v0, 0x1
|
|
|
|
.line 1381
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->a(Z)V
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method a(Landroid/view/accessibility/AccessibilityEvent;)Z
|
|
.locals 2
|
|
|
|
.line 3402
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->o()Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 3405
|
|
invoke-static {p1}, Landroid/support/v4/view/accessibility/AccessibilityEventCompat;->getContentChangeTypes(Landroid/view/accessibility/AccessibilityEvent;)I
|
|
|
|
move-result p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
if-nez p1, :cond_1
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 3410
|
|
:cond_1
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView;->W:I
|
|
|
|
or-int/2addr p1, v0
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->W:I
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_2
|
|
return v1
|
|
.end method
|
|
|
|
.method public addFocusables(Ljava/util/ArrayList;II)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/ArrayList<",
|
|
"Landroid/view/View;",
|
|
">;II)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 2661
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0, p0, p1, p2, p3}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView;Ljava/util/ArrayList;II)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 2662
|
|
:cond_0
|
|
invoke-super {p0, p1, p2, p3}, Landroid/view/ViewGroup;->addFocusables(Ljava/util/ArrayList;II)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
.locals 3
|
|
|
|
.line 4447
|
|
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
if-ne v0, p0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 4449
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v2, "View "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, " is not a direct child of "
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
.line 4452
|
|
:cond_1
|
|
:goto_0
|
|
invoke-static {p1}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method b()V
|
|
.locals 2
|
|
|
|
.line 890
|
|
new-instance v0, Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
new-instance v1, Landroid/support/v7/widget/RecyclerView$6;
|
|
|
|
invoke-direct {v1, p0}, Landroid/support/v7/widget/RecyclerView$6;-><init>(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
invoke-direct {v0, v1}, Landroid/support/v7/widget/AdapterHelper;-><init>(Landroid/support/v7/widget/AdapterHelper$Callback;)V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->e:Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method b(I)V
|
|
.locals 1
|
|
|
|
.line 1669
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 1672
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->e(I)V
|
|
|
|
.line 1673
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->awakenScrollBars()Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Landroid/support/v7/widget/RecyclerView$ItemDecoration;)V
|
|
.locals 2
|
|
|
|
.line 1565
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1566
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
const-string v1, "Cannot remove item decoration during a scroll or layout"
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Ljava/lang/String;)V
|
|
|
|
.line 1569
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
|
|
|
|
.line 1570
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {p1}, Ljava/util/ArrayList;->isEmpty()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 1571
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getOverScrollMode()I
|
|
|
|
move-result p1
|
|
|
|
const/4 v0, 0x2
|
|
|
|
if-ne p1, v0, :cond_1
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->setWillNotDraw(Z)V
|
|
|
|
.line 1573
|
|
:cond_2
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->r()V
|
|
|
|
.line 1574
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->requestLayout()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Landroid/support/v7/widget/RecyclerView$OnChildAttachStateChangeListener;)V
|
|
.locals 1
|
|
|
|
.line 1205
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ab:Ljava/util/List;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 1208
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ab:Ljava/util/List;
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;)V
|
|
.locals 1
|
|
|
|
.line 2806
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->S:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
|
|
|
|
.line 2807
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->T:Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 2808
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView;->T:Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Landroid/support/v7/widget/RecyclerView$OnScrollListener;)V
|
|
.locals 1
|
|
|
|
.line 1632
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ay:Ljava/util/List;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1633
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ay:Ljava/util/List;
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method b(Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;)V
|
|
.locals 1
|
|
.param p1 # Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 4049
|
|
invoke-direct {p0, p1}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 4050
|
|
invoke-virtual {p1, v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a(Z)V
|
|
|
|
.line 4051
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
invoke-virtual {v0, p1, p2, p3}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->a(Landroid/support/v7/widget/RecyclerView$ViewHolder;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemHolderInfo;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 4052
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->p()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method b(Z)V
|
|
.locals 2
|
|
|
|
.line 3341
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView;->ac:I
|
|
|
|
const/4 v1, 0x1
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView;->ac:I
|
|
|
|
.line 3342
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView;->ac:I
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 3347
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView;->ac:I
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 3349
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->F()V
|
|
|
|
.line 3350
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->x()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(II)Z
|
|
.locals 7
|
|
|
|
.line 2165
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string p1, "RecyclerView"
|
|
|
|
const-string p2, "Cannot fling without a LayoutManager set. Call setLayoutManager with a non-null argument."
|
|
|
|
.line 2166
|
|
invoke-static {p1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return v1
|
|
|
|
.line 2170
|
|
:cond_0
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->u:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
return v1
|
|
|
|
.line 2174
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f()Z
|
|
|
|
move-result v0
|
|
|
|
.line 2175
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 2177
|
|
invoke-static {p1}, Ljava/lang/Math;->abs(I)I
|
|
|
|
move-result v3
|
|
|
|
iget v4, p0, Landroid/support/v7/widget/RecyclerView;->as:I
|
|
|
|
if-ge v3, v4, :cond_3
|
|
|
|
:cond_2
|
|
const/4 p1, 0x0
|
|
|
|
:cond_3
|
|
if-eqz v2, :cond_4
|
|
|
|
.line 2180
|
|
invoke-static {p2}, Ljava/lang/Math;->abs(I)I
|
|
|
|
move-result v3
|
|
|
|
iget v4, p0, Landroid/support/v7/widget/RecyclerView;->as:I
|
|
|
|
if-ge v3, v4, :cond_5
|
|
|
|
:cond_4
|
|
const/4 p2, 0x0
|
|
|
|
:cond_5
|
|
if-nez p1, :cond_6
|
|
|
|
if-nez p2, :cond_6
|
|
|
|
return v1
|
|
|
|
:cond_6
|
|
int-to-float v3, p1
|
|
|
|
int-to-float v4, p2
|
|
|
|
.line 2188
|
|
invoke-virtual {p0, v3, v4}, Landroid/support/v7/widget/RecyclerView;->dispatchNestedPreFling(FF)Z
|
|
|
|
move-result v5
|
|
|
|
if-nez v5, :cond_c
|
|
|
|
const/4 v5, 0x1
|
|
|
|
if-nez v0, :cond_8
|
|
|
|
if-eqz v2, :cond_7
|
|
|
|
goto :goto_0
|
|
|
|
:cond_7
|
|
const/4 v6, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_8
|
|
:goto_0
|
|
const/4 v6, 0x1
|
|
|
|
.line 2190
|
|
:goto_1
|
|
invoke-virtual {p0, v3, v4, v6}, Landroid/support/v7/widget/RecyclerView;->dispatchNestedFling(FFZ)Z
|
|
|
|
.line 2192
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->ar:Landroid/support/v7/widget/RecyclerView$OnFlingListener;
|
|
|
|
if-eqz v3, :cond_9
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->ar:Landroid/support/v7/widget/RecyclerView$OnFlingListener;
|
|
|
|
invoke-virtual {v3, p1, p2}, Landroid/support/v7/widget/RecyclerView$OnFlingListener;->a(II)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_9
|
|
|
|
return v5
|
|
|
|
:cond_9
|
|
if-eqz v6, :cond_c
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:cond_a
|
|
if-eqz v2, :cond_b
|
|
|
|
or-int/lit8 v1, v1, 0x2
|
|
|
|
.line 2204
|
|
:cond_b
|
|
invoke-virtual {p0, v1, v5}, Landroid/support/v7/widget/RecyclerView;->startNestedScroll(II)Z
|
|
|
|
.line 2206
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView;->at:I
|
|
|
|
neg-int v0, v0
|
|
|
|
iget v1, p0, Landroid/support/v7/widget/RecyclerView;->at:I
|
|
|
|
invoke-static {p1, v1}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result p1
|
|
|
|
invoke-static {v0, p1}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result p1
|
|
|
|
.line 2207
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView;->at:I
|
|
|
|
neg-int v0, v0
|
|
|
|
iget v1, p0, Landroid/support/v7/widget/RecyclerView;->at:I
|
|
|
|
invoke-static {p2, v1}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result p2
|
|
|
|
invoke-static {v0, p2}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result p2
|
|
|
|
.line 2208
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->z:Landroid/support/v7/widget/RecyclerView$ViewFlinger;
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/support/v7/widget/RecyclerView$ViewFlinger;->a(II)V
|
|
|
|
return v5
|
|
|
|
:cond_c
|
|
return v1
|
|
.end method
|
|
|
|
.method b(Landroid/support/v7/widget/RecyclerView$ViewHolder;)Z
|
|
.locals 2
|
|
|
|
.line 4352
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
.line 4353
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->u()Ljava/util/List;
|
|
|
|
move-result-object v1
|
|
|
|
.line 4352
|
|
invoke-virtual {v0, p1, v1}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->a(Landroid/support/v7/widget/RecyclerView$ViewHolder;Ljava/util/List;)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 c(Landroid/view/View;)Landroid/view/View;
|
|
.locals 2
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 4470
|
|
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
if-eqz v0, :cond_0
|
|
|
|
if-eq v0, p0, :cond_0
|
|
|
|
.line 4471
|
|
instance-of v1, v0, Landroid/view/View;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 4472
|
|
move-object p1, v0
|
|
|
|
check-cast p1, Landroid/view/View;
|
|
|
|
.line 4473
|
|
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-ne v0, p0, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
:goto_1
|
|
return-object p1
|
|
.end method
|
|
|
|
.method c()V
|
|
.locals 2
|
|
|
|
.line 1093
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1094
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->d()V
|
|
|
|
.line 1100
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 1101
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->c(Landroid/support/v7/widget/RecyclerView$Recycler;)V
|
|
|
|
.line 1102
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b(Landroid/support/v7/widget/RecyclerView$Recycler;)V
|
|
|
|
.line 1105
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$Recycler;->a()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public c(I)V
|
|
.locals 2
|
|
|
|
.line 1692
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->u:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 1695
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const-string p1, "RecyclerView"
|
|
|
|
const-string v0, "Cannot smooth scroll without a LayoutManager set. Call setLayoutManager with a non-null argument."
|
|
|
|
.line 1696
|
|
invoke-static {p1, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
|
|
.line 1700
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v0, p0, v1, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView;Landroid/support/v7/widget/RecyclerView$State;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method c(II)V
|
|
.locals 2
|
|
|
|
.line 2308
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v0}, Landroid/widget/EdgeEffect;->isFinished()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
if-lez p1, :cond_0
|
|
|
|
.line 2309
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v0}, Landroid/widget/EdgeEffect;->onRelease()V
|
|
|
|
.line 2310
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v0}, Landroid/widget/EdgeEffect;->isFinished()Z
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 2312
|
|
:goto_0
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v1}, Landroid/widget/EdgeEffect;->isFinished()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
if-gez p1, :cond_1
|
|
|
|
.line 2313
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p1}, Landroid/widget/EdgeEffect;->onRelease()V
|
|
|
|
.line 2314
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p1}, Landroid/widget/EdgeEffect;->isFinished()Z
|
|
|
|
move-result p1
|
|
|
|
or-int/2addr v0, p1
|
|
|
|
.line 2316
|
|
:cond_1
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p1}, Landroid/widget/EdgeEffect;->isFinished()Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
if-lez p2, :cond_2
|
|
|
|
.line 2317
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p1}, Landroid/widget/EdgeEffect;->onRelease()V
|
|
|
|
.line 2318
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p1}, Landroid/widget/EdgeEffect;->isFinished()Z
|
|
|
|
move-result p1
|
|
|
|
or-int/2addr v0, p1
|
|
|
|
.line 2320
|
|
:cond_2
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p1}, Landroid/widget/EdgeEffect;->isFinished()Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_3
|
|
|
|
if-gez p2, :cond_3
|
|
|
|
.line 2321
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p1}, Landroid/widget/EdgeEffect;->onRelease()V
|
|
|
|
.line 2322
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p1}, Landroid/widget/EdgeEffect;->isFinished()Z
|
|
|
|
move-result p1
|
|
|
|
or-int/2addr v0, p1
|
|
|
|
:cond_3
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 2325
|
|
invoke-static {p0}, Landroid/support/v4/view/ViewCompat;->postInvalidateOnAnimation(Landroid/view/View;)V
|
|
|
|
:cond_4
|
|
return-void
|
|
.end method
|
|
|
|
.method c(Z)V
|
|
.locals 1
|
|
|
|
.line 4370
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->x:Z
|
|
|
|
or-int/2addr p1, v0
|
|
|
|
iput-boolean p1, p0, Landroid/support/v7/widget/RecyclerView;->x:Z
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 4371
|
|
iput-boolean p1, p0, Landroid/support/v7/widget/RecyclerView;->w:Z
|
|
|
|
.line 4372
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->u()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected checkLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Z
|
|
.locals 1
|
|
|
|
.line 4178
|
|
instance-of v0, p1, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
check-cast p1, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView$LayoutParams;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
return p1
|
|
.end method
|
|
|
|
.method public computeHorizontalScrollExtent()I
|
|
.locals 2
|
|
|
|
.line 1897
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
.line 1900
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->e(Landroid/support/v7/widget/RecyclerView$State;)I
|
|
|
|
move-result v1
|
|
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public computeHorizontalScrollOffset()I
|
|
.locals 2
|
|
|
|
.line 1872
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
.line 1875
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->c(Landroid/support/v7/widget/RecyclerView$State;)I
|
|
|
|
move-result v1
|
|
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public computeHorizontalScrollRange()I
|
|
.locals 2
|
|
|
|
.line 1920
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
.line 1923
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g(Landroid/support/v7/widget/RecyclerView$State;)I
|
|
|
|
move-result v1
|
|
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public computeVerticalScrollExtent()I
|
|
.locals 2
|
|
|
|
.line 1969
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
.line 1972
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f(Landroid/support/v7/widget/RecyclerView$State;)I
|
|
|
|
move-result v1
|
|
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public computeVerticalScrollOffset()I
|
|
.locals 2
|
|
|
|
.line 1945
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
.line 1948
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->d(Landroid/support/v7/widget/RecyclerView$State;)I
|
|
|
|
move-result v1
|
|
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public computeVerticalScrollRange()I
|
|
.locals 2
|
|
|
|
.line 1992
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
.line 1995
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->h(Landroid/support/v7/widget/RecyclerView$State;)I
|
|
|
|
move-result v1
|
|
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method d(Landroid/support/v7/widget/RecyclerView$ViewHolder;)I
|
|
.locals 1
|
|
|
|
const/16 v0, 0x20c
|
|
|
|
.line 11091
|
|
invoke-virtual {p1, v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a(I)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 11093
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->p()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 11096
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->e:Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
iget p1, p1, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c:I
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/AdapterHelper;->c(I)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, -0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public d(I)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
.locals 5
|
|
|
|
.line 4599
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->w:Z
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-object v1
|
|
|
|
.line 4602
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->c()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_3
|
|
|
|
.line 4606
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v3, v2}, Landroid/support/v7/widget/ChildHelper;->d(I)Landroid/view/View;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
.line 4607
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->q()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
.line 4608
|
|
invoke-virtual {p0, v3}, Landroid/support/v7/widget/RecyclerView;->d(Landroid/support/v7/widget/RecyclerView$ViewHolder;)I
|
|
|
|
move-result v4
|
|
|
|
if-ne v4, p1, :cond_2
|
|
|
|
.line 4609
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
iget-object v4, v3, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
invoke-virtual {v1, v4}, Landroid/support/v7/widget/ChildHelper;->c(Landroid/view/View;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
move-object v1, v3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
return-object v3
|
|
|
|
:cond_2
|
|
:goto_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public d(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
.locals 0
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 4488
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->c(Landroid/view/View;)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
.line 4489
|
|
:cond_0
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->b(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method d()V
|
|
.locals 2
|
|
|
|
.line 1735
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->s:Z
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->w:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_2
|
|
|
|
.line 1741
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->e:Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/AdapterHelper;->d()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
return-void
|
|
|
|
.line 1747
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->e:Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
const/4 v1, 0x4
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/AdapterHelper;->a(I)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->e:Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
const/16 v1, 0xb
|
|
|
|
.line 1748
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/AdapterHelper;->a(I)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_4
|
|
|
|
const-string v0, "RV PartialInvalidate"
|
|
|
|
.line 1750
|
|
invoke-static {v0}, Landroid/support/v4/os/TraceCompat;->beginSection(Ljava/lang/String;)V
|
|
|
|
.line 1751
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->e()V
|
|
|
|
.line 1752
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->l()V
|
|
|
|
.line 1753
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->e:Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/AdapterHelper;->b()V
|
|
|
|
.line 1754
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->t:Z
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
.line 1755
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->A()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 1756
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->q()V
|
|
|
|
goto :goto_0
|
|
|
|
.line 1759
|
|
:cond_2
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->e:Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/AdapterHelper;->c()V
|
|
|
|
:cond_3
|
|
:goto_0
|
|
const/4 v0, 0x1
|
|
|
|
.line 1762
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView;->a(Z)V
|
|
|
|
.line 1763
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->m()V
|
|
|
|
.line 1764
|
|
invoke-static {}, Landroid/support/v4/os/TraceCompat;->endSection()V
|
|
|
|
goto :goto_1
|
|
|
|
.line 1765
|
|
:cond_4
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->e:Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/AdapterHelper;->d()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
const-string v0, "RV FullInvalidate"
|
|
|
|
.line 1766
|
|
invoke-static {v0}, Landroid/support/v4/os/TraceCompat;->beginSection(Ljava/lang/String;)V
|
|
|
|
.line 1767
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->q()V
|
|
|
|
.line 1768
|
|
invoke-static {}, Landroid/support/v4/os/TraceCompat;->endSection()V
|
|
|
|
:cond_5
|
|
:goto_1
|
|
return-void
|
|
|
|
:cond_6
|
|
:goto_2
|
|
const-string v0, "RV FullInvalidate"
|
|
|
|
.line 1736
|
|
invoke-static {v0}, Landroid/support/v4/os/TraceCompat;->beginSection(Ljava/lang/String;)V
|
|
|
|
.line 1737
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->q()V
|
|
|
|
.line 1738
|
|
invoke-static {}, Landroid/support/v4/os/TraceCompat;->endSection()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method d(II)V
|
|
.locals 2
|
|
|
|
if-gez p1, :cond_0
|
|
|
|
.line 2331
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->g()V
|
|
|
|
.line 2332
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
neg-int v1, p1
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/EdgeEffect;->onAbsorb(I)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-lez p1, :cond_1
|
|
|
|
.line 2334
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->h()V
|
|
|
|
.line 2335
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/widget/EdgeEffect;->onAbsorb(I)V
|
|
|
|
:cond_1
|
|
:goto_0
|
|
if-gez p2, :cond_2
|
|
|
|
.line 2339
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->i()V
|
|
|
|
.line 2340
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
neg-int v1, p2
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/EdgeEffect;->onAbsorb(I)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
if-lez p2, :cond_3
|
|
|
|
.line 2342
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->j()V
|
|
|
|
.line 2343
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v0, p2}, Landroid/widget/EdgeEffect;->onAbsorb(I)V
|
|
|
|
:cond_3
|
|
:goto_1
|
|
if-nez p1, :cond_4
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
.line 2347
|
|
:cond_4
|
|
invoke-static {p0}, Landroid/support/v4/view/ViewCompat;->postInvalidateOnAnimation(Landroid/view/View;)V
|
|
|
|
:cond_5
|
|
return-void
|
|
.end method
|
|
|
|
.method public dispatchNestedFling(FFZ)Z
|
|
.locals 1
|
|
|
|
.line 11187
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->getScrollingChildHelper()Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1, p2, p3}, Landroid/support/v4/view/NestedScrollingChildHelper;->dispatchNestedFling(FFZ)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public dispatchNestedPreFling(FF)Z
|
|
.locals 1
|
|
|
|
.line 11192
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->getScrollingChildHelper()Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/support/v4/view/NestedScrollingChildHelper;->dispatchNestedPreFling(FF)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public dispatchNestedPreScroll(II[I[I)Z
|
|
.locals 1
|
|
|
|
.line 11175
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->getScrollingChildHelper()Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1, p2, p3, p4}, Landroid/support/v4/view/NestedScrollingChildHelper;->dispatchNestedPreScroll(II[I[I)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public dispatchNestedPreScroll(II[I[II)Z
|
|
.locals 6
|
|
|
|
.line 11181
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->getScrollingChildHelper()Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
move-result-object v0
|
|
|
|
move v1, p1
|
|
|
|
move v2, p2
|
|
|
|
move-object v3, p3
|
|
|
|
move-object v4, p4
|
|
|
|
move v5, p5
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroid/support/v4/view/NestedScrollingChildHelper;->dispatchNestedPreScroll(II[I[II)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public dispatchNestedScroll(IIII[I)Z
|
|
.locals 6
|
|
|
|
.line 11162
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->getScrollingChildHelper()Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
move-result-object v0
|
|
|
|
move v1, p1
|
|
|
|
move v2, p2
|
|
|
|
move v3, p3
|
|
|
|
move v4, p4
|
|
|
|
move-object v5, p5
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroid/support/v4/view/NestedScrollingChildHelper;->dispatchNestedScroll(IIII[I)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public dispatchNestedScroll(IIII[II)Z
|
|
.locals 7
|
|
|
|
.line 11169
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->getScrollingChildHelper()Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
move-result-object v0
|
|
|
|
move v1, p1
|
|
|
|
move v2, p2
|
|
|
|
move v3, p3
|
|
|
|
move v4, p4
|
|
|
|
move-object v5, p5
|
|
|
|
move v6, p6
|
|
|
|
invoke-virtual/range {v0 .. v6}, Landroid/support/v4/view/NestedScrollingChildHelper;->dispatchNestedScroll(IIII[II)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method protected dispatchRestoreInstanceState(Landroid/util/SparseArray;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/util/SparseArray<",
|
|
"Landroid/os/Parcelable;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1338
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->dispatchThawSelfOnly(Landroid/util/SparseArray;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected dispatchSaveInstanceState(Landroid/util/SparseArray;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/util/SparseArray<",
|
|
"Landroid/os/Parcelable;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1330
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->dispatchFreezeSelfOnly(Landroid/util/SparseArray;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public draw(Landroid/graphics/Canvas;)V
|
|
.locals 7
|
|
|
|
.line 4107
|
|
invoke-super {p0, p1}, Landroid/view/ViewGroup;->draw(Landroid/graphics/Canvas;)V
|
|
|
|
.line 4109
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_0
|
|
|
|
.line 4111
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v3, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroid/support/v7/widget/RecyclerView$ItemDecoration;
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v3, p1, p0, v4}, Landroid/support/v7/widget/RecyclerView$ItemDecoration;->b(Landroid/graphics/Canvas;Landroid/support/v7/widget/RecyclerView;Landroid/support/v7/widget/RecyclerView$State;)V
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 4116
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v0}, Landroid/widget/EdgeEffect;->isFinished()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
.line 4117
|
|
invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I
|
|
|
|
move-result v0
|
|
|
|
.line 4118
|
|
iget-boolean v3, p0, Landroid/support/v7/widget/RecyclerView;->h:Z
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingBottom()I
|
|
|
|
move-result v3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v3, 0x0
|
|
|
|
:goto_1
|
|
const/high16 v4, 0x43870000 # 270.0f
|
|
|
|
.line 4119
|
|
invoke-virtual {p1, v4}, Landroid/graphics/Canvas;->rotate(F)V
|
|
|
|
.line 4120
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getHeight()I
|
|
|
|
move-result v4
|
|
|
|
neg-int v4, v4
|
|
|
|
add-int/2addr v4, v3
|
|
|
|
int-to-float v3, v4
|
|
|
|
const/4 v4, 0x0
|
|
|
|
invoke-virtual {p1, v3, v4}, Landroid/graphics/Canvas;->translate(FF)V
|
|
|
|
.line 4121
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v3, p1}, Landroid/widget/EdgeEffect;->draw(Landroid/graphics/Canvas;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v3, 0x0
|
|
|
|
.line 4122
|
|
:goto_2
|
|
invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
const/4 v3, 0x0
|
|
|
|
.line 4124
|
|
:goto_3
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v0}, Landroid/widget/EdgeEffect;->isFinished()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_6
|
|
|
|
.line 4125
|
|
invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I
|
|
|
|
move-result v0
|
|
|
|
.line 4126
|
|
iget-boolean v4, p0, Landroid/support/v7/widget/RecyclerView;->h:Z
|
|
|
|
if-eqz v4, :cond_4
|
|
|
|
.line 4127
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingLeft()I
|
|
|
|
move-result v4
|
|
|
|
int-to-float v4, v4
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingTop()I
|
|
|
|
move-result v5
|
|
|
|
int-to-float v5, v5
|
|
|
|
invoke-virtual {p1, v4, v5}, Landroid/graphics/Canvas;->translate(FF)V
|
|
|
|
.line 4129
|
|
:cond_4
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz v4, :cond_5
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v4, p1}, Landroid/widget/EdgeEffect;->draw(Landroid/graphics/Canvas;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_5
|
|
|
|
const/4 v4, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_5
|
|
const/4 v4, 0x0
|
|
|
|
:goto_4
|
|
or-int/2addr v3, v4
|
|
|
|
.line 4130
|
|
invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
.line 4132
|
|
:cond_6
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v0}, Landroid/widget/EdgeEffect;->isFinished()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_9
|
|
|
|
.line 4133
|
|
invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I
|
|
|
|
move-result v0
|
|
|
|
.line 4134
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getWidth()I
|
|
|
|
move-result v4
|
|
|
|
.line 4135
|
|
iget-boolean v5, p0, Landroid/support/v7/widget/RecyclerView;->h:Z
|
|
|
|
if-eqz v5, :cond_7
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingTop()I
|
|
|
|
move-result v5
|
|
|
|
goto :goto_5
|
|
|
|
:cond_7
|
|
const/4 v5, 0x0
|
|
|
|
:goto_5
|
|
const/high16 v6, 0x42b40000 # 90.0f
|
|
|
|
.line 4136
|
|
invoke-virtual {p1, v6}, Landroid/graphics/Canvas;->rotate(F)V
|
|
|
|
neg-int v5, v5
|
|
|
|
int-to-float v5, v5
|
|
|
|
neg-int v4, v4
|
|
|
|
int-to-float v4, v4
|
|
|
|
.line 4137
|
|
invoke-virtual {p1, v5, v4}, Landroid/graphics/Canvas;->translate(FF)V
|
|
|
|
.line 4138
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz v4, :cond_8
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v4, p1}, Landroid/widget/EdgeEffect;->draw(Landroid/graphics/Canvas;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_8
|
|
|
|
const/4 v4, 0x1
|
|
|
|
goto :goto_6
|
|
|
|
:cond_8
|
|
const/4 v4, 0x0
|
|
|
|
:goto_6
|
|
or-int/2addr v3, v4
|
|
|
|
.line 4139
|
|
invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
.line 4141
|
|
:cond_9
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz v0, :cond_c
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v0}, Landroid/widget/EdgeEffect;->isFinished()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_c
|
|
|
|
.line 4142
|
|
invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I
|
|
|
|
move-result v0
|
|
|
|
const/high16 v4, 0x43340000 # 180.0f
|
|
|
|
.line 4143
|
|
invoke-virtual {p1, v4}, Landroid/graphics/Canvas;->rotate(F)V
|
|
|
|
.line 4144
|
|
iget-boolean v4, p0, Landroid/support/v7/widget/RecyclerView;->h:Z
|
|
|
|
if-eqz v4, :cond_a
|
|
|
|
.line 4145
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getWidth()I
|
|
|
|
move-result v4
|
|
|
|
neg-int v4, v4
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingRight()I
|
|
|
|
move-result v5
|
|
|
|
add-int/2addr v4, v5
|
|
|
|
int-to-float v4, v4
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getHeight()I
|
|
|
|
move-result v5
|
|
|
|
neg-int v5, v5
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingBottom()I
|
|
|
|
move-result v6
|
|
|
|
add-int/2addr v5, v6
|
|
|
|
int-to-float v5, v5
|
|
|
|
invoke-virtual {p1, v4, v5}, Landroid/graphics/Canvas;->translate(FF)V
|
|
|
|
goto :goto_7
|
|
|
|
.line 4147
|
|
:cond_a
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getWidth()I
|
|
|
|
move-result v4
|
|
|
|
neg-int v4, v4
|
|
|
|
int-to-float v4, v4
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getHeight()I
|
|
|
|
move-result v5
|
|
|
|
neg-int v5, v5
|
|
|
|
int-to-float v5, v5
|
|
|
|
invoke-virtual {p1, v4, v5}, Landroid/graphics/Canvas;->translate(FF)V
|
|
|
|
.line 4149
|
|
:goto_7
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz v4, :cond_b
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {v4, p1}, Landroid/widget/EdgeEffect;->draw(Landroid/graphics/Canvas;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_b
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:cond_b
|
|
or-int/2addr v1, v3
|
|
|
|
.line 4150
|
|
invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
goto :goto_8
|
|
|
|
:cond_c
|
|
move v1, v3
|
|
|
|
:goto_8
|
|
if-nez v1, :cond_d
|
|
|
|
.line 4156
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
if-eqz p1, :cond_d
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result p1
|
|
|
|
if-lez p1, :cond_d
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
.line 4157
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->b()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_d
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:cond_d
|
|
if-eqz v1, :cond_e
|
|
|
|
.line 4162
|
|
invoke-static {p0}, Landroid/support/v4/view/ViewCompat;->postInvalidateOnAnimation(Landroid/view/View;)V
|
|
|
|
:cond_e
|
|
return-void
|
|
.end method
|
|
|
|
.method public drawChild(Landroid/graphics/Canvas;Landroid/view/View;J)Z
|
|
.locals 0
|
|
|
|
.line 4703
|
|
invoke-super {p0, p1, p2, p3, p4}, Landroid/view/ViewGroup;->drawChild(Landroid/graphics/Canvas;Landroid/view/View;J)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method e()V
|
|
.locals 2
|
|
|
|
.line 2010
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView;->U:I
|
|
|
|
const/4 v1, 0x1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView;->U:I
|
|
|
|
.line 2011
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView;->U:I
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->u:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2012
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->t:Z
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public e(I)V
|
|
.locals 3
|
|
|
|
.line 4713
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->b()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_0
|
|
|
|
.line 4715
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v2, v1}, Landroid/support/v7/widget/ChildHelper;->b(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2, p1}, Landroid/view/View;->offsetTopAndBottom(I)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method e(II)V
|
|
.locals 2
|
|
|
|
.line 3292
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingLeft()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingRight()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
.line 3293
|
|
invoke-static {p0}, Landroid/support/v4/view/ViewCompat;->getMinimumWidth(Landroid/view/View;)I
|
|
|
|
move-result v1
|
|
|
|
.line 3291
|
|
invoke-static {p1, v0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(III)I
|
|
|
|
move-result p1
|
|
|
|
.line 3295
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingTop()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingBottom()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
.line 3296
|
|
invoke-static {p0}, Landroid/support/v4/view/ViewCompat;->getMinimumHeight(Landroid/view/View;)I
|
|
|
|
move-result v1
|
|
|
|
.line 3294
|
|
invoke-static {p2, v0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(III)I
|
|
|
|
move-result p2
|
|
|
|
.line 3298
|
|
invoke-virtual {p0, p1, p2}, Landroid/support/v7/widget/RecyclerView;->setMeasuredDimension(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public f(Landroid/view/View;)I
|
|
.locals 0
|
|
|
|
.line 4516
|
|
invoke-static {p1}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 4517
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->e()I
|
|
|
|
move-result p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, -0x1
|
|
|
|
:goto_0
|
|
return p1
|
|
.end method
|
|
|
|
.method public f()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2220
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView;->setScrollState(I)V
|
|
|
|
.line 2221
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->B()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public f(I)V
|
|
.locals 3
|
|
|
|
.line 4751
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->b()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_0
|
|
|
|
.line 4753
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v2, v1}, Landroid/support/v7/widget/ChildHelper;->b(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2, p1}, Landroid/view/View;->offsetLeftAndRight(I)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method f(II)V
|
|
.locals 9
|
|
|
|
.line 4243
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->c()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-ge p1, p2, :cond_0
|
|
|
|
const/4 v2, -0x1
|
|
|
|
move v2, p1
|
|
|
|
move v3, p2
|
|
|
|
const/4 v4, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v3, p1
|
|
|
|
move v2, p2
|
|
|
|
const/4 v4, 0x1
|
|
|
|
:goto_0
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
:goto_1
|
|
if-ge v6, v0, :cond_4
|
|
|
|
.line 4256
|
|
iget-object v7, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v7, v6}, Landroid/support/v7/widget/ChildHelper;->d(I)Landroid/view/View;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-static {v7}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v7
|
|
|
|
if-eqz v7, :cond_3
|
|
|
|
.line 4257
|
|
iget v8, v7, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c:I
|
|
|
|
if-lt v8, v2, :cond_3
|
|
|
|
iget v8, v7, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c:I
|
|
|
|
if-le v8, v3, :cond_1
|
|
|
|
goto :goto_3
|
|
|
|
.line 4264
|
|
:cond_1
|
|
iget v8, v7, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c:I
|
|
|
|
if-ne v8, p1, :cond_2
|
|
|
|
sub-int v8, p2, p1
|
|
|
|
.line 4265
|
|
invoke-virtual {v7, v8, v5}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a(IZ)V
|
|
|
|
goto :goto_2
|
|
|
|
.line 4267
|
|
:cond_2
|
|
invoke-virtual {v7, v4, v5}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a(IZ)V
|
|
|
|
.line 4270
|
|
:goto_2
|
|
iget-object v7, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iput-boolean v1, v7, Landroid/support/v7/widget/RecyclerView$State;->e:Z
|
|
|
|
:cond_3
|
|
:goto_3
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
.line 4272
|
|
:cond_4
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/support/v7/widget/RecyclerView$Recycler;->a(II)V
|
|
|
|
.line 4273
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->requestLayout()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public focusSearch(Landroid/view/View;I)Landroid/view/View;
|
|
.locals 8
|
|
|
|
.line 2466
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->d(Landroid/view/View;I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-object v0
|
|
|
|
.line 2470
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 2471
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->o()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->u:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2473
|
|
:goto_0
|
|
invoke-static {}, Landroid/view/FocusFinder;->getInstance()Landroid/view/FocusFinder;
|
|
|
|
move-result-object v3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
if-eqz v0, :cond_e
|
|
|
|
const/4 v5, 0x2
|
|
|
|
if-eq p2, v5, :cond_2
|
|
|
|
if-ne p2, v1, :cond_e
|
|
|
|
.line 2479
|
|
:cond_2
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
if-ne p2, v5, :cond_3
|
|
|
|
const/16 v0, 0x82
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
const/16 v0, 0x21
|
|
|
|
.line 2482
|
|
:goto_1
|
|
invoke-virtual {v3, p0, p1, v0}, Landroid/view/FocusFinder;->findNextFocus(Landroid/view/ViewGroup;Landroid/view/View;I)Landroid/view/View;
|
|
|
|
move-result-object v6
|
|
|
|
if-nez v6, :cond_4
|
|
|
|
const/4 v6, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
const/4 v6, 0x0
|
|
|
|
.line 2484
|
|
:goto_2
|
|
sget-boolean v7, Landroid/support/v7/widget/RecyclerView;->M:Z
|
|
|
|
if-eqz v7, :cond_6
|
|
|
|
move p2, v0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_5
|
|
const/4 v6, 0x0
|
|
|
|
:cond_6
|
|
:goto_3
|
|
if-nez v6, :cond_b
|
|
|
|
.line 2489
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_b
|
|
|
|
.line 2490
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->x()I
|
|
|
|
move-result v0
|
|
|
|
if-ne v0, v1, :cond_7
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_7
|
|
const/4 v0, 0x0
|
|
|
|
:goto_4
|
|
if-ne p2, v5, :cond_8
|
|
|
|
const/4 v5, 0x1
|
|
|
|
goto :goto_5
|
|
|
|
:cond_8
|
|
const/4 v5, 0x0
|
|
|
|
:goto_5
|
|
xor-int/2addr v0, v5
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
const/16 v0, 0x42
|
|
|
|
goto :goto_6
|
|
|
|
:cond_9
|
|
const/16 v0, 0x11
|
|
|
|
.line 2493
|
|
:goto_6
|
|
invoke-virtual {v3, p0, p1, v0}, Landroid/view/FocusFinder;->findNextFocus(Landroid/view/ViewGroup;Landroid/view/View;I)Landroid/view/View;
|
|
|
|
move-result-object v5
|
|
|
|
if-nez v5, :cond_a
|
|
|
|
const/4 v6, 0x1
|
|
|
|
goto :goto_7
|
|
|
|
:cond_a
|
|
const/4 v6, 0x0
|
|
|
|
.line 2495
|
|
:goto_7
|
|
sget-boolean v1, Landroid/support/v7/widget/RecyclerView;->M:Z
|
|
|
|
if-eqz v1, :cond_b
|
|
|
|
move p2, v0
|
|
|
|
:cond_b
|
|
if-eqz v6, :cond_d
|
|
|
|
.line 2501
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->d()V
|
|
|
|
.line 2502
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->c(Landroid/view/View;)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_c
|
|
|
|
return-object v4
|
|
|
|
.line 2507
|
|
:cond_c
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->e()V
|
|
|
|
.line 2508
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v5, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v0, p1, p2, v1, v5}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/view/View;ILandroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)Landroid/view/View;
|
|
|
|
.line 2509
|
|
invoke-virtual {p0, v2}, Landroid/support/v7/widget/RecyclerView;->a(Z)V
|
|
|
|
.line 2511
|
|
:cond_d
|
|
invoke-virtual {v3, p0, p1, p2}, Landroid/view/FocusFinder;->findNextFocus(Landroid/view/ViewGroup;Landroid/view/View;I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_8
|
|
|
|
.line 2513
|
|
:cond_e
|
|
invoke-virtual {v3, p0, p1, p2}, Landroid/view/FocusFinder;->findNextFocus(Landroid/view/ViewGroup;Landroid/view/View;I)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
if-nez v1, :cond_10
|
|
|
|
if-eqz v0, :cond_10
|
|
|
|
.line 2515
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->d()V
|
|
|
|
.line 2516
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->c(Landroid/view/View;)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_f
|
|
|
|
return-object v4
|
|
|
|
.line 2521
|
|
:cond_f
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->e()V
|
|
|
|
.line 2522
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v0, p1, p2, v1, v3}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/view/View;ILandroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
.line 2523
|
|
invoke-virtual {p0, v2}, Landroid/support/v7/widget/RecyclerView;->a(Z)V
|
|
|
|
goto :goto_8
|
|
|
|
:cond_10
|
|
move-object v0, v1
|
|
|
|
:goto_8
|
|
if-eqz v0, :cond_12
|
|
|
|
.line 2526
|
|
invoke-virtual {v0}, Landroid/view/View;->hasFocusable()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_12
|
|
|
|
.line 2527
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getFocusedChild()Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
if-nez v1, :cond_11
|
|
|
|
.line 2530
|
|
invoke-super {p0, p1, p2}, Landroid/view/ViewGroup;->focusSearch(Landroid/view/View;I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 2536
|
|
:cond_11
|
|
invoke-direct {p0, v0, v4}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/view/View;Landroid/view/View;)V
|
|
|
|
return-object p1
|
|
|
|
.line 2539
|
|
:cond_12
|
|
invoke-direct {p0, p1, v0, p2}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/view/View;Landroid/view/View;I)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_13
|
|
|
|
goto :goto_9
|
|
|
|
.line 2540
|
|
:cond_13
|
|
invoke-super {p0, p1, p2}, Landroid/view/ViewGroup;->focusSearch(Landroid/view/View;I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_9
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public g(Landroid/view/View;)I
|
|
.locals 0
|
|
|
|
.line 4531
|
|
invoke-static {p1}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 4532
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->d()I
|
|
|
|
move-result p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, -0x1
|
|
|
|
:goto_0
|
|
return p1
|
|
.end method
|
|
|
|
.method g()V
|
|
.locals 4
|
|
|
|
.line 2352
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 2355
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ae:Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {v0, p0, v1}, Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;->a(Landroid/support/v7/widget/RecyclerView;I)Landroid/widget/EdgeEffect;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
.line 2356
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->h:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 2357
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredHeight()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingTop()I
|
|
|
|
move-result v2
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingBottom()I
|
|
|
|
move-result v2
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
.line 2358
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredWidth()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingLeft()I
|
|
|
|
move-result v3
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingRight()I
|
|
|
|
move-result v3
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
.line 2357
|
|
invoke-virtual {v0, v1, v2}, Landroid/widget/EdgeEffect;->setSize(II)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 2360
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredHeight()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredWidth()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/widget/EdgeEffect;->setSize(II)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public g(I)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method g(II)V
|
|
.locals 5
|
|
|
|
.line 4277
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->c()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_1
|
|
|
|
.line 4279
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v3, v2}, Landroid/support/v7/widget/ChildHelper;->d(I)Landroid/view/View;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 4280
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
iget v4, v3, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c:I
|
|
|
|
if-lt v4, p1, :cond_0
|
|
|
|
.line 4285
|
|
invoke-virtual {v3, p2, v1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a(IZ)V
|
|
|
|
.line 4286
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
const/4 v4, 0x1
|
|
|
|
iput-boolean v4, v3, Landroid/support/v7/widget/RecyclerView$State;->e:Z
|
|
|
|
:cond_0
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 4289
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/support/v7/widget/RecyclerView$Recycler;->b(II)V
|
|
|
|
.line 4290
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->requestLayout()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected generateDefaultLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
.locals 3
|
|
|
|
.line 4183
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4186
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a()Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
.line 4184
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v2, "RecyclerView has no LayoutManager"
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->a()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public generateLayoutParams(Landroid/util/AttributeSet;)Landroid/view/ViewGroup$LayoutParams;
|
|
.locals 2
|
|
|
|
.line 4191
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4194
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 4192
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v1, "RecyclerView has no LayoutManager"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->a()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method protected generateLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Landroid/view/ViewGroup$LayoutParams;
|
|
.locals 2
|
|
|
|
.line 4199
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4202
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/view/ViewGroup$LayoutParams;)Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 4200
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v1, "RecyclerView has no LayoutManager"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->a()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public getAdapter()Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
.locals 1
|
|
|
|
.line 1147
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getBaseline()I
|
|
.locals 1
|
|
|
|
.line 1174
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1175
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->z()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
|
|
.line 1177
|
|
:cond_0
|
|
invoke-super {p0}, Landroid/view/ViewGroup;->getBaseline()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method protected getChildDrawingOrder(II)I
|
|
.locals 1
|
|
|
|
.line 13005
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->aA:Landroid/support/v7/widget/RecyclerView$ChildDrawingOrderCallback;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 13006
|
|
invoke-super {p0, p1, p2}, Landroid/view/ViewGroup;->getChildDrawingOrder(II)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
.line 13008
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->aA:Landroid/support/v7/widget/RecyclerView$ChildDrawingOrderCallback;
|
|
|
|
invoke-interface {v0, p1, p2}, Landroid/support/v7/widget/RecyclerView$ChildDrawingOrderCallback;->a(II)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public getClipToPadding()Z
|
|
.locals 1
|
|
|
|
.line 1021
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->h:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getCompatAccessibilityDelegate()Landroid/support/v7/widget/RecyclerViewAccessibilityDelegate;
|
|
.locals 1
|
|
|
|
.line 687
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->G:Landroid/support/v7/widget/RecyclerViewAccessibilityDelegate;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getEdgeEffectFactory()Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;
|
|
.locals 1
|
|
|
|
.line 2431
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ae:Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getItemAnimator()Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
.locals 1
|
|
|
|
.line 3434
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getItemDecorationCount()I
|
|
.locals 1
|
|
|
|
.line 1538
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getLayoutManager()Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
.locals 1
|
|
|
|
.line 1392
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getMaxFlingVelocity()I
|
|
.locals 1
|
|
|
|
.line 2250
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView;->at:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getMinFlingVelocity()I
|
|
.locals 1
|
|
|
|
.line 2240
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView;->as:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method getNanoTime()J
|
|
.locals 2
|
|
|
|
.line 5513
|
|
sget-boolean v0, Landroid/support/v7/widget/RecyclerView;->L:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 5514
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
|
|
:cond_0
|
|
const-wide/16 v0, 0x0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getOnFlingListener()Landroid/support/v7/widget/RecyclerView$OnFlingListener;
|
|
.locals 1
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1294
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ar:Landroid/support/v7/widget/RecyclerView$OnFlingListener;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getPreserveFocusAfterLayout()Z
|
|
.locals 1
|
|
|
|
.line 4419
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->aw:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getRecycledViewPool()Landroid/support/v7/widget/RecyclerView$RecycledViewPool;
|
|
.locals 1
|
|
|
|
.line 1404
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$Recycler;->g()Landroid/support/v7/widget/RecyclerView$RecycledViewPool;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getScrollState()I
|
|
.locals 1
|
|
|
|
.line 1452
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView;->aj:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method h()V
|
|
.locals 4
|
|
|
|
.line 2365
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 2368
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ae:Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;
|
|
|
|
const/4 v1, 0x2
|
|
|
|
invoke-virtual {v0, p0, v1}, Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;->a(Landroid/support/v7/widget/RecyclerView;I)Landroid/widget/EdgeEffect;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
.line 2369
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->h:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 2370
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredHeight()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingTop()I
|
|
|
|
move-result v2
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingBottom()I
|
|
|
|
move-result v2
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
.line 2371
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredWidth()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingLeft()I
|
|
|
|
move-result v3
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingRight()I
|
|
|
|
move-result v3
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
.line 2370
|
|
invoke-virtual {v0, v1, v2}, Landroid/widget/EdgeEffect;->setSize(II)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 2373
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredHeight()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredWidth()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/widget/EdgeEffect;->setSize(II)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method h(I)V
|
|
.locals 2
|
|
|
|
.line 4867
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4868
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->l(I)V
|
|
|
|
.line 4873
|
|
:cond_0
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->g(I)V
|
|
|
|
.line 4876
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ax:Landroid/support/v7/widget/RecyclerView$OnScrollListener;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 4877
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ax:Landroid/support/v7/widget/RecyclerView$OnScrollListener;
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/support/v7/widget/RecyclerView$OnScrollListener;->a(Landroid/support/v7/widget/RecyclerView;I)V
|
|
|
|
.line 4879
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ay:Ljava/util/List;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 4880
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ay:Ljava/util/List;
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_2
|
|
|
|
.line 4881
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->ay:Ljava/util/List;
|
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/support/v7/widget/RecyclerView$OnScrollListener;
|
|
|
|
invoke-virtual {v1, p0, p1}, Landroid/support/v7/widget/RecyclerView$OnScrollListener;->a(Landroid/support/v7/widget/RecyclerView;I)V
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public h(II)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public h(Landroid/view/View;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public hasNestedScrollingParent()Z
|
|
.locals 1
|
|
|
|
.line 11151
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->getScrollingChildHelper()Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Landroid/support/v4/view/NestedScrollingChildHelper;->hasNestedScrollingParent()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public hasNestedScrollingParent(I)Z
|
|
.locals 1
|
|
|
|
.line 11156
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->getScrollingChildHelper()Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v4/view/NestedScrollingChildHelper;->hasNestedScrollingParent(I)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method i()V
|
|
.locals 4
|
|
|
|
.line 2378
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 2381
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ae:Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-virtual {v0, p0, v1}, Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;->a(Landroid/support/v7/widget/RecyclerView;I)Landroid/widget/EdgeEffect;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
.line 2382
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->h:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 2383
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredWidth()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingLeft()I
|
|
|
|
move-result v2
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingRight()I
|
|
|
|
move-result v2
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
.line 2384
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredHeight()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingTop()I
|
|
|
|
move-result v3
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingBottom()I
|
|
|
|
move-result v3
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
.line 2383
|
|
invoke-virtual {v0, v1, v2}, Landroid/widget/EdgeEffect;->setSize(II)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 2386
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredWidth()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredHeight()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/widget/EdgeEffect;->setSize(II)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method i(II)V
|
|
.locals 2
|
|
|
|
.line 4827
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView;->ad:I
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView;->ad:I
|
|
|
|
.line 4830
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getScrollX()I
|
|
|
|
move-result v0
|
|
|
|
.line 4831
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getScrollY()I
|
|
|
|
move-result v1
|
|
|
|
.line 4832
|
|
invoke-virtual {p0, v0, v1, v0, v1}, Landroid/support/v7/widget/RecyclerView;->onScrollChanged(IIII)V
|
|
|
|
.line 4835
|
|
invoke-virtual {p0, p1, p2}, Landroid/support/v7/widget/RecyclerView;->h(II)V
|
|
|
|
.line 4839
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ax:Landroid/support/v7/widget/RecyclerView$OnScrollListener;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4840
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ax:Landroid/support/v7/widget/RecyclerView$OnScrollListener;
|
|
|
|
invoke-virtual {v0, p0, p1, p2}, Landroid/support/v7/widget/RecyclerView$OnScrollListener;->a(Landroid/support/v7/widget/RecyclerView;II)V
|
|
|
|
.line 4842
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ay:Ljava/util/List;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 4843
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ay:Ljava/util/List;
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_1
|
|
|
|
.line 4844
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->ay:Ljava/util/List;
|
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/support/v7/widget/RecyclerView$OnScrollListener;
|
|
|
|
invoke-virtual {v1, p0, p1, p2}, Landroid/support/v7/widget/RecyclerView$OnScrollListener;->a(Landroid/support/v7/widget/RecyclerView;II)V
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 4847
|
|
:cond_1
|
|
iget p1, p0, Landroid/support/v7/widget/RecyclerView;->ad:I
|
|
|
|
add-int/lit8 p1, p1, -0x1
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->ad:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public i(Landroid/view/View;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public isAttachedToWindow()Z
|
|
.locals 1
|
|
|
|
.line 2737
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->p:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public isNestedScrollingEnabled()Z
|
|
.locals 1
|
|
|
|
.line 11126
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->getScrollingChildHelper()Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Landroid/support/v4/view/NestedScrollingChildHelper;->isNestedScrollingEnabled()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method j(Landroid/view/View;)Landroid/graphics/Rect;
|
|
.locals 8
|
|
|
|
.line 4778
|
|
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 4779
|
|
iget-boolean v1, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->e:Z
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 4780
|
|
iget-object p1, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->d:Landroid/graphics/Rect;
|
|
|
|
return-object p1
|
|
|
|
.line 4783
|
|
:cond_0
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/RecyclerView$State;->a()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutParams;->e()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutParams;->c()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 4785
|
|
:cond_1
|
|
iget-object p1, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->d:Landroid/graphics/Rect;
|
|
|
|
return-object p1
|
|
|
|
.line 4787
|
|
:cond_2
|
|
iget-object v1, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->d:Landroid/graphics/Rect;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 4788
|
|
invoke-virtual {v1, v2, v2, v2, v2}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
.line 4789
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v3}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
:goto_0
|
|
if-ge v4, v3, :cond_3
|
|
|
|
.line 4791
|
|
iget-object v5, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
invoke-virtual {v5, v2, v2, v2, v2}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
.line 4792
|
|
iget-object v5, p0, Landroid/support/v7/widget/RecyclerView;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v5, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Landroid/support/v7/widget/RecyclerView$ItemDecoration;
|
|
|
|
iget-object v6, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget-object v7, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v5, v6, p1, p0, v7}, Landroid/support/v7/widget/RecyclerView$ItemDecoration;->a(Landroid/graphics/Rect;Landroid/view/View;Landroid/support/v7/widget/RecyclerView;Landroid/support/v7/widget/RecyclerView$State;)V
|
|
|
|
.line 4793
|
|
iget v5, v1, Landroid/graphics/Rect;->left:I
|
|
|
|
iget-object v6, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v6, v6, Landroid/graphics/Rect;->left:I
|
|
|
|
add-int/2addr v5, v6
|
|
|
|
iput v5, v1, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 4794
|
|
iget v5, v1, Landroid/graphics/Rect;->top:I
|
|
|
|
iget-object v6, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v6, v6, Landroid/graphics/Rect;->top:I
|
|
|
|
add-int/2addr v5, v6
|
|
|
|
iput v5, v1, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 4795
|
|
iget v5, v1, Landroid/graphics/Rect;->right:I
|
|
|
|
iget-object v6, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v6, v6, Landroid/graphics/Rect;->right:I
|
|
|
|
add-int/2addr v5, v6
|
|
|
|
iput v5, v1, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 4796
|
|
iget v5, v1, Landroid/graphics/Rect;->bottom:I
|
|
|
|
iget-object v6, p0, Landroid/support/v7/widget/RecyclerView;->j:Landroid/graphics/Rect;
|
|
|
|
iget v6, v6, Landroid/graphics/Rect;->bottom:I
|
|
|
|
add-int/2addr v5, v6
|
|
|
|
iput v5, v1, Landroid/graphics/Rect;->bottom:I
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 4798
|
|
:cond_3
|
|
iput-boolean v2, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->e:Z
|
|
|
|
return-object v1
|
|
.end method
|
|
|
|
.method j()V
|
|
.locals 4
|
|
|
|
.line 2392
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 2395
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ae:Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;
|
|
|
|
const/4 v1, 0x3
|
|
|
|
invoke-virtual {v0, p0, v1}, Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;->a(Landroid/support/v7/widget/RecyclerView;I)Landroid/widget/EdgeEffect;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
.line 2396
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->h:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 2397
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredWidth()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingLeft()I
|
|
|
|
move-result v2
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingRight()I
|
|
|
|
move-result v2
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
.line 2398
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredHeight()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingTop()I
|
|
|
|
move-result v3
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getPaddingBottom()I
|
|
|
|
move-result v3
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
.line 2397
|
|
invoke-virtual {v0, v1, v2}, Landroid/widget/EdgeEffect;->setSize(II)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 2400
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredWidth()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredHeight()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/widget/EdgeEffect;->setSize(II)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method k()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2405
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ai:Landroid/widget/EdgeEffect;
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ag:Landroid/widget/EdgeEffect;
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ah:Landroid/widget/EdgeEffect;
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->af:Landroid/widget/EdgeEffect;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method l()V
|
|
.locals 1
|
|
|
|
.line 3333
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView;->ac:I
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView;->ac:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method l(Landroid/view/View;)V
|
|
.locals 2
|
|
|
|
.line 7144
|
|
invoke-static {p1}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v0
|
|
|
|
.line 7145
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->i(Landroid/view/View;)V
|
|
|
|
.line 7146
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7147
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {v1, v0}, Landroid/support/v7/widget/RecyclerView$Adapter;->d(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
.line 7149
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ab:Ljava/util/List;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 7150
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ab:Ljava/util/List;
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_1
|
|
|
|
.line 7152
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->ab:Ljava/util/List;
|
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/support/v7/widget/RecyclerView$OnChildAttachStateChangeListener;
|
|
|
|
invoke-interface {v1, p1}, Landroid/support/v7/widget/RecyclerView$OnChildAttachStateChangeListener;->b(Landroid/view/View;)V
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method m()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 3337
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView;->b(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method m(Landroid/view/View;)V
|
|
.locals 2
|
|
|
|
.line 7158
|
|
invoke-static {p1}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v0
|
|
|
|
.line 7159
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->h(Landroid/view/View;)V
|
|
|
|
.line 7160
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7161
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {v1, v0}, Landroid/support/v7/widget/RecyclerView$Adapter;->c(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V
|
|
|
|
.line 7163
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ab:Ljava/util/List;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 7164
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->ab:Ljava/util/List;
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_1
|
|
|
|
.line 7166
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->ab:Ljava/util/List;
|
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/support/v7/widget/RecyclerView$OnChildAttachStateChangeListener;
|
|
|
|
invoke-interface {v1, p1}, Landroid/support/v7/widget/RecyclerView$OnChildAttachStateChangeListener;->a(Landroid/view/View;)V
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method n()Z
|
|
.locals 1
|
|
|
|
.line 3356
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->aa:Landroid/view/accessibility/AccessibilityManager;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->aa:Landroid/view/accessibility/AccessibilityManager;
|
|
|
|
invoke-virtual {v0}, Landroid/view/accessibility/AccessibilityManager;->isEnabled()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 o()Z
|
|
.locals 1
|
|
|
|
.line 3390
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView;->ac:I
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method protected onAttachedToWindow()V
|
|
.locals 4
|
|
|
|
.line 2678
|
|
invoke-super {p0}, Landroid/view/ViewGroup;->onAttachedToWindow()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2679
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView;->ac:I
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 2680
|
|
iput-boolean v1, p0, Landroid/support/v7/widget/RecyclerView;->p:Z
|
|
|
|
.line 2681
|
|
iget-boolean v2, p0, Landroid/support/v7/widget/RecyclerView;->s:Z
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->isLayoutRequested()Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
iput-boolean v1, p0, Landroid/support/v7/widget/RecyclerView;->s:Z
|
|
|
|
.line 2682
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 2683
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v1, p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->c(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
.line 2685
|
|
:cond_1
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->F:Z
|
|
|
|
.line 2687
|
|
sget-boolean v0, Landroid/support/v7/widget/RecyclerView;->L:Z
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 2689
|
|
sget-object v0, Landroid/support/v7/widget/GapWorker;->a:Ljava/lang/ThreadLocal;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/support/v7/widget/GapWorker;
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->A:Landroid/support/v7/widget/GapWorker;
|
|
|
|
.line 2690
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->A:Landroid/support/v7/widget/GapWorker;
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
.line 2691
|
|
new-instance v0, Landroid/support/v7/widget/GapWorker;
|
|
|
|
invoke-direct {v0}, Landroid/support/v7/widget/GapWorker;-><init>()V
|
|
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->A:Landroid/support/v7/widget/GapWorker;
|
|
|
|
.line 2695
|
|
invoke-static {p0}, Landroid/support/v4/view/ViewCompat;->getDisplay(Landroid/view/View;)Landroid/view/Display;
|
|
|
|
move-result-object v0
|
|
|
|
const/high16 v1, 0x42700000 # 60.0f
|
|
|
|
.line 2697
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->isInEditMode()Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 2698
|
|
invoke-virtual {v0}, Landroid/view/Display;->getRefreshRate()F
|
|
|
|
move-result v0
|
|
|
|
const/high16 v2, 0x41f00000 # 30.0f
|
|
|
|
cmpl-float v2, v0, v2
|
|
|
|
if-ltz v2, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const/high16 v0, 0x42700000 # 60.0f
|
|
|
|
.line 2703
|
|
:goto_1
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->A:Landroid/support/v7/widget/GapWorker;
|
|
|
|
const v2, 0x4e6e6b28 # 1.0E9f
|
|
|
|
div-float/2addr v2, v0
|
|
|
|
float-to-long v2, v2
|
|
|
|
iput-wide v2, v1, Landroid/support/v7/widget/GapWorker;->d:J
|
|
|
|
.line 2704
|
|
sget-object v0, Landroid/support/v7/widget/GapWorker;->a:Ljava/lang/ThreadLocal;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->A:Landroid/support/v7/widget/GapWorker;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
|
|
|
|
.line 2706
|
|
:cond_3
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->A:Landroid/support/v7/widget/GapWorker;
|
|
|
|
invoke-virtual {v0, p0}, Landroid/support/v7/widget/GapWorker;->a(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
:cond_4
|
|
return-void
|
|
.end method
|
|
|
|
.method protected onDetachedFromWindow()V
|
|
.locals 2
|
|
|
|
.line 2712
|
|
invoke-super {p0}, Landroid/view/ViewGroup;->onDetachedFromWindow()V
|
|
|
|
.line 2713
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2714
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->d()V
|
|
|
|
.line 2716
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->f()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2717
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->p:Z
|
|
|
|
.line 2718
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 2719
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0, p0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b(Landroid/support/v7/widget/RecyclerView;Landroid/support/v7/widget/RecyclerView$Recycler;)V
|
|
|
|
.line 2721
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->H:Ljava/util/List;
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->clear()V
|
|
|
|
.line 2722
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->aG:Ljava/lang/Runnable;
|
|
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView;->removeCallbacks(Ljava/lang/Runnable;)Z
|
|
|
|
.line 2723
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->g:Landroid/support/v7/widget/ViewInfoStore;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ViewInfoStore;->b()V
|
|
|
|
.line 2725
|
|
sget-boolean v0, Landroid/support/v7/widget/RecyclerView;->L:Z
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->A:Landroid/support/v7/widget/GapWorker;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 2727
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->A:Landroid/support/v7/widget/GapWorker;
|
|
|
|
invoke-virtual {v0, p0}, Landroid/support/v7/widget/GapWorker;->b(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2728
|
|
iput-object v0, p0, Landroid/support/v7/widget/RecyclerView;->A:Landroid/support/v7/widget/GapWorker;
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public onDraw(Landroid/graphics/Canvas;)V
|
|
.locals 4
|
|
|
|
.line 4168
|
|
invoke-super {p0, p1}, Landroid/view/ViewGroup;->onDraw(Landroid/graphics/Canvas;)V
|
|
|
|
.line 4170
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_0
|
|
|
|
.line 4172
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroid/support/v7/widget/RecyclerView$ItemDecoration;
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v2, p1, p0, v3}, Landroid/support/v7/widget/RecyclerView$ItemDecoration;->a(Landroid/graphics/Canvas;Landroid/support/v7/widget/RecyclerView;Landroid/support/v7/widget/RecyclerView$State;)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onGenericMotionEvent(Landroid/view/MotionEvent;)Z
|
|
.locals 5
|
|
|
|
.line 3145
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
.line 3148
|
|
:cond_0
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->u:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
return v1
|
|
|
|
.line 3151
|
|
:cond_1
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
|
|
|
|
move-result v0
|
|
|
|
const/16 v2, 0x8
|
|
|
|
if-ne v0, v2, :cond_8
|
|
|
|
.line 3153
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getSource()I
|
|
|
|
move-result v0
|
|
|
|
and-int/lit8 v0, v0, 0x2
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 3154
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
const/16 v0, 0x9
|
|
|
|
.line 3157
|
|
invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->getAxisValue(I)F
|
|
|
|
move-result v0
|
|
|
|
neg-float v0, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/4 v0, 0x0
|
|
|
|
.line 3161
|
|
:goto_0
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_6
|
|
|
|
const/16 v3, 0xa
|
|
|
|
.line 3162
|
|
invoke-virtual {p1, v3}, Landroid/view/MotionEvent;->getAxisValue(I)F
|
|
|
|
move-result v3
|
|
|
|
goto :goto_2
|
|
|
|
.line 3166
|
|
:cond_3
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getSource()I
|
|
|
|
move-result v0
|
|
|
|
const/high16 v3, 0x400000
|
|
|
|
and-int/2addr v0, v3
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
const/16 v0, 0x1a
|
|
|
|
.line 3167
|
|
invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->getAxisValue(I)F
|
|
|
|
move-result v0
|
|
|
|
.line 3168
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_4
|
|
|
|
neg-float v0, v0
|
|
|
|
goto :goto_1
|
|
|
|
.line 3173
|
|
:cond_4
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_5
|
|
|
|
move v3, v0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
const/4 v0, 0x0
|
|
|
|
:cond_6
|
|
:goto_1
|
|
const/4 v3, 0x0
|
|
|
|
:goto_2
|
|
cmpl-float v4, v0, v2
|
|
|
|
if-nez v4, :cond_7
|
|
|
|
cmpl-float v2, v3, v2
|
|
|
|
if-eqz v2, :cond_8
|
|
|
|
.line 3186
|
|
:cond_7
|
|
iget v2, p0, Landroid/support/v7/widget/RecyclerView;->au:F
|
|
|
|
mul-float v3, v3, v2
|
|
|
|
float-to-int v2, v3
|
|
|
|
iget v3, p0, Landroid/support/v7/widget/RecyclerView;->av:F
|
|
|
|
mul-float v0, v0, v3
|
|
|
|
float-to-int v0, v0
|
|
|
|
invoke-virtual {p0, v2, v0, p1}, Landroid/support/v7/widget/RecyclerView;->a(IILandroid/view/MotionEvent;)Z
|
|
|
|
:cond_8
|
|
return v1
|
|
.end method
|
|
|
|
.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
|
|
.locals 7
|
|
|
|
.line 2862
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->u:Z
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return v1
|
|
|
|
.line 2867
|
|
:cond_0
|
|
invoke-direct {p0, p1}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/view/MotionEvent;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 2868
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->E()V
|
|
|
|
return v2
|
|
|
|
.line 2872
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
return v1
|
|
|
|
.line 2876
|
|
:cond_2
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f()Z
|
|
|
|
move-result v0
|
|
|
|
.line 2877
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g()Z
|
|
|
|
move-result v3
|
|
|
|
.line 2879
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->al:Landroid/view/VelocityTracker;
|
|
|
|
if-nez v4, :cond_3
|
|
|
|
.line 2880
|
|
invoke-static {}, Landroid/view/VelocityTracker;->obtain()Landroid/view/VelocityTracker;
|
|
|
|
move-result-object v4
|
|
|
|
iput-object v4, p0, Landroid/support/v7/widget/RecyclerView;->al:Landroid/view/VelocityTracker;
|
|
|
|
.line 2882
|
|
:cond_3
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->al:Landroid/view/VelocityTracker;
|
|
|
|
invoke-virtual {v4, p1}, Landroid/view/VelocityTracker;->addMovement(Landroid/view/MotionEvent;)V
|
|
|
|
.line 2884
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionMasked()I
|
|
|
|
move-result v4
|
|
|
|
.line 2885
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionIndex()I
|
|
|
|
move-result v5
|
|
|
|
const/high16 v6, 0x3f000000 # 0.5f
|
|
|
|
packed-switch v4, :pswitch_data_0
|
|
|
|
:pswitch_0
|
|
goto/16 :goto_2
|
|
|
|
.line 2949
|
|
:pswitch_1
|
|
invoke-direct {p0, p1}, Landroid/support/v7/widget/RecyclerView;->c(Landroid/view/MotionEvent;)V
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 2915
|
|
:pswitch_2
|
|
invoke-virtual {p1, v5}, Landroid/view/MotionEvent;->getPointerId(I)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView;->ak:I
|
|
|
|
.line 2916
|
|
invoke-virtual {p1, v5}, Landroid/view/MotionEvent;->getX(I)F
|
|
|
|
move-result v0
|
|
|
|
add-float/2addr v0, v6
|
|
|
|
float-to-int v0, v0
|
|
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView;->ao:I
|
|
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView;->am:I
|
|
|
|
.line 2917
|
|
invoke-virtual {p1, v5}, Landroid/view/MotionEvent;->getY(I)F
|
|
|
|
move-result p1
|
|
|
|
add-float/2addr p1, v6
|
|
|
|
float-to-int p1, p1
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->ap:I
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->an:I
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 2958
|
|
:pswitch_3
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->E()V
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 2921
|
|
:pswitch_4
|
|
iget v4, p0, Landroid/support/v7/widget/RecyclerView;->ak:I
|
|
|
|
invoke-virtual {p1, v4}, Landroid/view/MotionEvent;->findPointerIndex(I)I
|
|
|
|
move-result v4
|
|
|
|
if-gez v4, :cond_4
|
|
|
|
const-string p1, "RecyclerView"
|
|
|
|
.line 2923
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v2, "Error processing scroll; pointer index for id "
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v2, p0, Landroid/support/v7/widget/RecyclerView;->ak:I
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, " not found. Did any MotionEvents get skipped?"
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {p1, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return v1
|
|
|
|
.line 2928
|
|
:cond_4
|
|
invoke-virtual {p1, v4}, Landroid/view/MotionEvent;->getX(I)F
|
|
|
|
move-result v5
|
|
|
|
add-float/2addr v5, v6
|
|
|
|
float-to-int v5, v5
|
|
|
|
.line 2929
|
|
invoke-virtual {p1, v4}, Landroid/view/MotionEvent;->getY(I)F
|
|
|
|
move-result p1
|
|
|
|
add-float/2addr p1, v6
|
|
|
|
float-to-int p1, p1
|
|
|
|
.line 2930
|
|
iget v4, p0, Landroid/support/v7/widget/RecyclerView;->aj:I
|
|
|
|
if-eq v4, v2, :cond_b
|
|
|
|
.line 2931
|
|
iget v4, p0, Landroid/support/v7/widget/RecyclerView;->am:I
|
|
|
|
sub-int v4, v5, v4
|
|
|
|
.line 2932
|
|
iget v6, p0, Landroid/support/v7/widget/RecyclerView;->an:I
|
|
|
|
sub-int v6, p1, v6
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 2934
|
|
invoke-static {v4}, Ljava/lang/Math;->abs(I)I
|
|
|
|
move-result v0
|
|
|
|
iget v4, p0, Landroid/support/v7/widget/RecyclerView;->aq:I
|
|
|
|
if-le v0, v4, :cond_5
|
|
|
|
.line 2935
|
|
iput v5, p0, Landroid/support/v7/widget/RecyclerView;->ao:I
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-eqz v3, :cond_6
|
|
|
|
.line 2938
|
|
invoke-static {v6}, Ljava/lang/Math;->abs(I)I
|
|
|
|
move-result v3
|
|
|
|
iget v4, p0, Landroid/support/v7/widget/RecyclerView;->aq:I
|
|
|
|
if-le v3, v4, :cond_6
|
|
|
|
.line 2939
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->ap:I
|
|
|
|
const/4 v0, 0x1
|
|
|
|
:cond_6
|
|
if-eqz v0, :cond_b
|
|
|
|
.line 2943
|
|
invoke-virtual {p0, v2}, Landroid/support/v7/widget/RecyclerView;->setScrollState(I)V
|
|
|
|
goto :goto_2
|
|
|
|
.line 2953
|
|
:pswitch_5
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->al:Landroid/view/VelocityTracker;
|
|
|
|
invoke-virtual {p1}, Landroid/view/VelocityTracker;->clear()V
|
|
|
|
.line 2954
|
|
invoke-virtual {p0, v1}, Landroid/support/v7/widget/RecyclerView;->stopNestedScroll(I)V
|
|
|
|
goto :goto_2
|
|
|
|
.line 2889
|
|
:pswitch_6
|
|
iget-boolean v4, p0, Landroid/support/v7/widget/RecyclerView;->V:Z
|
|
|
|
if-eqz v4, :cond_7
|
|
|
|
.line 2890
|
|
iput-boolean v1, p0, Landroid/support/v7/widget/RecyclerView;->V:Z
|
|
|
|
.line 2892
|
|
:cond_7
|
|
invoke-virtual {p1, v1}, Landroid/view/MotionEvent;->getPointerId(I)I
|
|
|
|
move-result v4
|
|
|
|
iput v4, p0, Landroid/support/v7/widget/RecyclerView;->ak:I
|
|
|
|
.line 2893
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F
|
|
|
|
move-result v4
|
|
|
|
add-float/2addr v4, v6
|
|
|
|
float-to-int v4, v4
|
|
|
|
iput v4, p0, Landroid/support/v7/widget/RecyclerView;->ao:I
|
|
|
|
iput v4, p0, Landroid/support/v7/widget/RecyclerView;->am:I
|
|
|
|
.line 2894
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
|
|
|
|
move-result p1
|
|
|
|
add-float/2addr p1, v6
|
|
|
|
float-to-int p1, p1
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->ap:I
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->an:I
|
|
|
|
.line 2896
|
|
iget p1, p0, Landroid/support/v7/widget/RecyclerView;->aj:I
|
|
|
|
const/4 v4, 0x2
|
|
|
|
if-ne p1, v4, :cond_8
|
|
|
|
.line 2897
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1, v2}, Landroid/view/ViewParent;->requestDisallowInterceptTouchEvent(Z)V
|
|
|
|
.line 2898
|
|
invoke-virtual {p0, v2}, Landroid/support/v7/widget/RecyclerView;->setScrollState(I)V
|
|
|
|
.line 2902
|
|
:cond_8
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->aF:[I
|
|
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->aF:[I
|
|
|
|
aput v1, v4, v2
|
|
|
|
aput v1, p1, v1
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_9
|
|
const/4 p1, 0x0
|
|
|
|
:goto_1
|
|
if-eqz v3, :cond_a
|
|
|
|
or-int/lit8 p1, p1, 0x2
|
|
|
|
.line 2911
|
|
:cond_a
|
|
invoke-virtual {p0, p1, v1}, Landroid/support/v7/widget/RecyclerView;->startNestedScroll(II)Z
|
|
|
|
.line 2961
|
|
:cond_b
|
|
:goto_2
|
|
iget p1, p0, Landroid/support/v7/widget/RecyclerView;->aj:I
|
|
|
|
if-ne p1, v2, :cond_c
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:cond_c
|
|
return v1
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_0
|
|
:pswitch_2
|
|
:pswitch_1
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method protected onLayout(ZIIII)V
|
|
.locals 0
|
|
|
|
const-string p1, "RV OnLayout"
|
|
|
|
.line 4081
|
|
invoke-static {p1}, Landroid/support/v4/os/TraceCompat;->beginSection(Ljava/lang/String;)V
|
|
|
|
.line 4082
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->q()V
|
|
|
|
.line 4083
|
|
invoke-static {}, Landroid/support/v4/os/TraceCompat;->endSection()V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 4084
|
|
iput-boolean p1, p0, Landroid/support/v7/widget/RecyclerView;->s:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected onMeasure(II)V
|
|
.locals 7
|
|
|
|
.line 3195
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 3196
|
|
invoke-virtual {p0, p1, p2}, Landroid/support/v7/widget/RecyclerView;->e(II)V
|
|
|
|
return-void
|
|
|
|
.line 3199
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->d()Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 3200
|
|
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
|
|
|
|
move-result v0
|
|
|
|
.line 3201
|
|
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getMode(I)I
|
|
|
|
move-result v3
|
|
|
|
.line 3210
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v5, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v6, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v4, v5, v6, p1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;II)V
|
|
|
|
const/high16 v4, 0x40000000 # 2.0f
|
|
|
|
if-ne v0, v4, :cond_1
|
|
|
|
if-ne v3, v4, :cond_1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
:cond_1
|
|
if-nez v2, :cond_4
|
|
|
|
.line 3214
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
.line 3218
|
|
:cond_2
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget v0, v0, Landroid/support/v7/widget/RecyclerView$State;->c:I
|
|
|
|
if-ne v0, v1, :cond_3
|
|
|
|
.line 3219
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->M()V
|
|
|
|
.line 3223
|
|
:cond_3
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->d(II)V
|
|
|
|
.line 3224
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iput-boolean v1, v0, Landroid/support/v7/widget/RecyclerView$State;->h:Z
|
|
|
|
.line 3225
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->N()V
|
|
|
|
.line 3228
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->e(II)V
|
|
|
|
.line 3232
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->n()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_b
|
|
|
|
.line 3233
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
.line 3234
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredWidth()I
|
|
|
|
move-result v2
|
|
|
|
invoke-static {v2, v4}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
move-result v2
|
|
|
|
.line 3235
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredHeight()I
|
|
|
|
move-result v3
|
|
|
|
invoke-static {v3, v4}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
move-result v3
|
|
|
|
.line 3233
|
|
invoke-virtual {v0, v2, v3}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->d(II)V
|
|
|
|
.line 3236
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iput-boolean v1, v0, Landroid/support/v7/widget/RecyclerView$State;->h:Z
|
|
|
|
.line 3237
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->N()V
|
|
|
|
.line 3239
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->e(II)V
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
:goto_0
|
|
return-void
|
|
|
|
.line 3242
|
|
:cond_5
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->q:Z
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
.line 3243
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v0, v1, v2, p1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;II)V
|
|
|
|
return-void
|
|
|
|
.line 3247
|
|
:cond_6
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->v:Z
|
|
|
|
if-eqz v0, :cond_8
|
|
|
|
.line 3248
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->e()V
|
|
|
|
.line 3249
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->l()V
|
|
|
|
.line 3250
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->H()V
|
|
|
|
.line 3251
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->m()V
|
|
|
|
.line 3253
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-boolean v0, v0, Landroid/support/v7/widget/RecyclerView$State;->j:Z
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
.line 3254
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iput-boolean v1, v0, Landroid/support/v7/widget/RecyclerView$State;->f:Z
|
|
|
|
goto :goto_1
|
|
|
|
.line 3257
|
|
:cond_7
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->e:Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/AdapterHelper;->e()V
|
|
|
|
.line 3258
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iput-boolean v2, v0, Landroid/support/v7/widget/RecyclerView$State;->f:Z
|
|
|
|
.line 3260
|
|
:goto_1
|
|
iput-boolean v2, p0, Landroid/support/v7/widget/RecyclerView;->v:Z
|
|
|
|
.line 3261
|
|
invoke-virtual {p0, v2}, Landroid/support/v7/widget/RecyclerView;->a(Z)V
|
|
|
|
goto :goto_2
|
|
|
|
.line 3262
|
|
:cond_8
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-boolean v0, v0, Landroid/support/v7/widget/RecyclerView$State;->j:Z
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
.line 3268
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredWidth()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getMeasuredHeight()I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroid/support/v7/widget/RecyclerView;->setMeasuredDimension(II)V
|
|
|
|
return-void
|
|
|
|
.line 3272
|
|
:cond_9
|
|
:goto_2
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
.line 3273
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/RecyclerView$Adapter;->a()I
|
|
|
|
move-result v1
|
|
|
|
iput v1, v0, Landroid/support/v7/widget/RecyclerView$State;->d:I
|
|
|
|
goto :goto_3
|
|
|
|
.line 3275
|
|
:cond_a
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iput v2, v0, Landroid/support/v7/widget/RecyclerView$State;->d:I
|
|
|
|
.line 3277
|
|
:goto_3
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->e()V
|
|
|
|
.line 3278
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v0, v1, v3, p1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView$Recycler;Landroid/support/v7/widget/RecyclerView$State;II)V
|
|
|
|
.line 3279
|
|
invoke-virtual {p0, v2}, Landroid/support/v7/widget/RecyclerView;->a(Z)V
|
|
|
|
.line 3280
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iput-boolean v2, p1, Landroid/support/v7/widget/RecyclerView$State;->f:Z
|
|
|
|
:cond_b
|
|
:goto_4
|
|
return-void
|
|
.end method
|
|
|
|
.method protected onRequestFocusInDescendants(ILandroid/graphics/Rect;)Z
|
|
.locals 1
|
|
|
|
.line 2668
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->o()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
.line 2673
|
|
:cond_0
|
|
invoke-super {p0, p1, p2}, Landroid/view/ViewGroup;->onRequestFocusInDescendants(ILandroid/graphics/Rect;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method protected onRestoreInstanceState(Landroid/os/Parcelable;)V
|
|
.locals 1
|
|
|
|
.line 1313
|
|
instance-of v0, p1, Landroid/support/v7/widget/RecyclerView$SavedState;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 1314
|
|
invoke-super {p0, p1}, Landroid/view/ViewGroup;->onRestoreInstanceState(Landroid/os/Parcelable;)V
|
|
|
|
return-void
|
|
|
|
.line 1318
|
|
:cond_0
|
|
check-cast p1, Landroid/support/v7/widget/RecyclerView$SavedState;
|
|
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView;->Q:Landroid/support/v7/widget/RecyclerView$SavedState;
|
|
|
|
.line 1319
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->Q:Landroid/support/v7/widget/RecyclerView$SavedState;
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$SavedState;->getSuperState()Landroid/os/Parcelable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-super {p0, p1}, Landroid/view/ViewGroup;->onRestoreInstanceState(Landroid/os/Parcelable;)V
|
|
|
|
.line 1320
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->Q:Landroid/support/v7/widget/RecyclerView$SavedState;
|
|
|
|
iget-object p1, p1, Landroid/support/v7/widget/RecyclerView$SavedState;->mLayoutState:Landroid/os/Parcelable;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 1321
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->Q:Landroid/support/v7/widget/RecyclerView$SavedState;
|
|
|
|
iget-object v0, v0, Landroid/support/v7/widget/RecyclerView$SavedState;->mLayoutState:Landroid/os/Parcelable;
|
|
|
|
invoke-virtual {p1, v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/os/Parcelable;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method protected onSaveInstanceState()Landroid/os/Parcelable;
|
|
.locals 2
|
|
|
|
.line 1299
|
|
new-instance v0, Landroid/support/v7/widget/RecyclerView$SavedState;
|
|
|
|
invoke-super {p0}, Landroid/view/ViewGroup;->onSaveInstanceState()Landroid/os/Parcelable;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Landroid/support/v7/widget/RecyclerView$SavedState;-><init>(Landroid/os/Parcelable;)V
|
|
|
|
.line 1300
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->Q:Landroid/support/v7/widget/RecyclerView$SavedState;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 1301
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->Q:Landroid/support/v7/widget/RecyclerView$SavedState;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$SavedState;->copyFrom(Landroid/support/v7/widget/RecyclerView$SavedState;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 1302
|
|
:cond_0
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 1303
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->e()Landroid/os/Parcelable;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, v0, Landroid/support/v7/widget/RecyclerView$SavedState;->mLayoutState:Landroid/os/Parcelable;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v1, 0x0
|
|
|
|
.line 1305
|
|
iput-object v1, v0, Landroid/support/v7/widget/RecyclerView$SavedState;->mLayoutState:Landroid/os/Parcelable;
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method protected onSizeChanged(IIII)V
|
|
.locals 0
|
|
|
|
.line 3303
|
|
invoke-super {p0, p1, p2, p3, p4}, Landroid/view/ViewGroup;->onSizeChanged(IIII)V
|
|
|
|
if-ne p1, p3, :cond_0
|
|
|
|
if-eq p2, p4, :cond_1
|
|
|
|
.line 3305
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->k()V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
.locals 14
|
|
|
|
.line 2976
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->u:Z
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_19
|
|
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->V:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto/16 :goto_9
|
|
|
|
.line 2979
|
|
:cond_0
|
|
invoke-direct {p0, p1}, Landroid/support/v7/widget/RecyclerView;->b(Landroid/view/MotionEvent;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 2980
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->E()V
|
|
|
|
return v2
|
|
|
|
.line 2984
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
return v1
|
|
|
|
.line 2988
|
|
:cond_2
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f()Z
|
|
|
|
move-result v0
|
|
|
|
.line 2989
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v3}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g()Z
|
|
|
|
move-result v3
|
|
|
|
.line 2991
|
|
iget-object v4, p0, Landroid/support/v7/widget/RecyclerView;->al:Landroid/view/VelocityTracker;
|
|
|
|
if-nez v4, :cond_3
|
|
|
|
.line 2992
|
|
invoke-static {}, Landroid/view/VelocityTracker;->obtain()Landroid/view/VelocityTracker;
|
|
|
|
move-result-object v4
|
|
|
|
iput-object v4, p0, Landroid/support/v7/widget/RecyclerView;->al:Landroid/view/VelocityTracker;
|
|
|
|
.line 2996
|
|
:cond_3
|
|
invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;
|
|
|
|
move-result-object v4
|
|
|
|
.line 2997
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionMasked()I
|
|
|
|
move-result v5
|
|
|
|
.line 2998
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionIndex()I
|
|
|
|
move-result v6
|
|
|
|
if-nez v5, :cond_4
|
|
|
|
.line 3001
|
|
iget-object v7, p0, Landroid/support/v7/widget/RecyclerView;->aF:[I
|
|
|
|
iget-object v8, p0, Landroid/support/v7/widget/RecyclerView;->aF:[I
|
|
|
|
aput v1, v8, v2
|
|
|
|
aput v1, v7, v1
|
|
|
|
.line 3003
|
|
:cond_4
|
|
iget-object v7, p0, Landroid/support/v7/widget/RecyclerView;->aF:[I
|
|
|
|
aget v7, v7, v1
|
|
|
|
int-to-float v7, v7
|
|
|
|
iget-object v8, p0, Landroid/support/v7/widget/RecyclerView;->aF:[I
|
|
|
|
aget v8, v8, v2
|
|
|
|
int-to-float v8, v8
|
|
|
|
invoke-virtual {v4, v7, v8}, Landroid/view/MotionEvent;->offsetLocation(FF)V
|
|
|
|
const/high16 v7, 0x3f000000 # 0.5f
|
|
|
|
packed-switch v5, :pswitch_data_0
|
|
|
|
:pswitch_0
|
|
goto/16 :goto_8
|
|
|
|
.line 3089
|
|
:pswitch_1
|
|
invoke-direct {p0, p1}, Landroid/support/v7/widget/RecyclerView;->c(Landroid/view/MotionEvent;)V
|
|
|
|
goto/16 :goto_8
|
|
|
|
.line 3022
|
|
:pswitch_2
|
|
invoke-virtual {p1, v6}, Landroid/view/MotionEvent;->getPointerId(I)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView;->ak:I
|
|
|
|
.line 3023
|
|
invoke-virtual {p1, v6}, Landroid/view/MotionEvent;->getX(I)F
|
|
|
|
move-result v0
|
|
|
|
add-float/2addr v0, v7
|
|
|
|
float-to-int v0, v0
|
|
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView;->ao:I
|
|
|
|
iput v0, p0, Landroid/support/v7/widget/RecyclerView;->am:I
|
|
|
|
.line 3024
|
|
invoke-virtual {p1, v6}, Landroid/view/MotionEvent;->getY(I)F
|
|
|
|
move-result p1
|
|
|
|
add-float/2addr p1, v7
|
|
|
|
float-to-int p1, p1
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->ap:I
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->an:I
|
|
|
|
goto/16 :goto_8
|
|
|
|
.line 3107
|
|
:pswitch_3
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->E()V
|
|
|
|
goto/16 :goto_8
|
|
|
|
.line 3028
|
|
:pswitch_4
|
|
iget v5, p0, Landroid/support/v7/widget/RecyclerView;->ak:I
|
|
|
|
invoke-virtual {p1, v5}, Landroid/view/MotionEvent;->findPointerIndex(I)I
|
|
|
|
move-result v5
|
|
|
|
if-gez v5, :cond_5
|
|
|
|
const-string p1, "RecyclerView"
|
|
|
|
.line 3030
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v2, "Error processing scroll; pointer index for id "
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v2, p0, Landroid/support/v7/widget/RecyclerView;->ak:I
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, " not found. Did any MotionEvents get skipped?"
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {p1, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return v1
|
|
|
|
.line 3035
|
|
:cond_5
|
|
invoke-virtual {p1, v5}, Landroid/view/MotionEvent;->getX(I)F
|
|
|
|
move-result v6
|
|
|
|
add-float/2addr v6, v7
|
|
|
|
float-to-int v6, v6
|
|
|
|
.line 3036
|
|
invoke-virtual {p1, v5}, Landroid/view/MotionEvent;->getY(I)F
|
|
|
|
move-result p1
|
|
|
|
add-float/2addr p1, v7
|
|
|
|
float-to-int p1, p1
|
|
|
|
.line 3037
|
|
iget v5, p0, Landroid/support/v7/widget/RecyclerView;->ao:I
|
|
|
|
sub-int/2addr v5, v6
|
|
|
|
.line 3038
|
|
iget v7, p0, Landroid/support/v7/widget/RecyclerView;->ap:I
|
|
|
|
sub-int v13, v7, p1
|
|
|
|
.line 3040
|
|
iget-object v10, p0, Landroid/support/v7/widget/RecyclerView;->aE:[I
|
|
|
|
iget-object v11, p0, Landroid/support/v7/widget/RecyclerView;->aD:[I
|
|
|
|
const/4 v12, 0x0
|
|
|
|
move-object v7, p0
|
|
|
|
move v8, v5
|
|
|
|
move v9, v13
|
|
|
|
invoke-virtual/range {v7 .. v12}, Landroid/support/v7/widget/RecyclerView;->dispatchNestedPreScroll(II[I[II)Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_6
|
|
|
|
.line 3041
|
|
iget-object v7, p0, Landroid/support/v7/widget/RecyclerView;->aE:[I
|
|
|
|
aget v7, v7, v1
|
|
|
|
sub-int/2addr v5, v7
|
|
|
|
.line 3042
|
|
iget-object v7, p0, Landroid/support/v7/widget/RecyclerView;->aE:[I
|
|
|
|
aget v7, v7, v2
|
|
|
|
sub-int/2addr v13, v7
|
|
|
|
.line 3043
|
|
iget-object v7, p0, Landroid/support/v7/widget/RecyclerView;->aD:[I
|
|
|
|
aget v7, v7, v1
|
|
|
|
int-to-float v7, v7
|
|
|
|
iget-object v8, p0, Landroid/support/v7/widget/RecyclerView;->aD:[I
|
|
|
|
aget v8, v8, v2
|
|
|
|
int-to-float v8, v8
|
|
|
|
invoke-virtual {v4, v7, v8}, Landroid/view/MotionEvent;->offsetLocation(FF)V
|
|
|
|
.line 3045
|
|
iget-object v7, p0, Landroid/support/v7/widget/RecyclerView;->aF:[I
|
|
|
|
aget v8, v7, v1
|
|
|
|
iget-object v9, p0, Landroid/support/v7/widget/RecyclerView;->aD:[I
|
|
|
|
aget v9, v9, v1
|
|
|
|
add-int/2addr v8, v9
|
|
|
|
aput v8, v7, v1
|
|
|
|
.line 3046
|
|
iget-object v7, p0, Landroid/support/v7/widget/RecyclerView;->aF:[I
|
|
|
|
aget v8, v7, v2
|
|
|
|
iget-object v9, p0, Landroid/support/v7/widget/RecyclerView;->aD:[I
|
|
|
|
aget v9, v9, v2
|
|
|
|
add-int/2addr v8, v9
|
|
|
|
aput v8, v7, v2
|
|
|
|
.line 3049
|
|
:cond_6
|
|
iget v7, p0, Landroid/support/v7/widget/RecyclerView;->aj:I
|
|
|
|
if-eq v7, v2, :cond_b
|
|
|
|
if-eqz v0, :cond_8
|
|
|
|
.line 3051
|
|
invoke-static {v5}, Ljava/lang/Math;->abs(I)I
|
|
|
|
move-result v7
|
|
|
|
iget v8, p0, Landroid/support/v7/widget/RecyclerView;->aq:I
|
|
|
|
if-le v7, v8, :cond_8
|
|
|
|
if-lez v5, :cond_7
|
|
|
|
.line 3053
|
|
iget v7, p0, Landroid/support/v7/widget/RecyclerView;->aq:I
|
|
|
|
sub-int/2addr v5, v7
|
|
|
|
goto :goto_0
|
|
|
|
.line 3055
|
|
:cond_7
|
|
iget v7, p0, Landroid/support/v7/widget/RecyclerView;->aq:I
|
|
|
|
add-int/2addr v5, v7
|
|
|
|
:goto_0
|
|
const/4 v7, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_8
|
|
const/4 v7, 0x0
|
|
|
|
:goto_1
|
|
if-eqz v3, :cond_a
|
|
|
|
.line 3059
|
|
invoke-static {v13}, Ljava/lang/Math;->abs(I)I
|
|
|
|
move-result v8
|
|
|
|
iget v9, p0, Landroid/support/v7/widget/RecyclerView;->aq:I
|
|
|
|
if-le v8, v9, :cond_a
|
|
|
|
if-lez v13, :cond_9
|
|
|
|
.line 3061
|
|
iget v7, p0, Landroid/support/v7/widget/RecyclerView;->aq:I
|
|
|
|
sub-int/2addr v13, v7
|
|
|
|
goto :goto_2
|
|
|
|
.line 3063
|
|
:cond_9
|
|
iget v7, p0, Landroid/support/v7/widget/RecyclerView;->aq:I
|
|
|
|
add-int/2addr v13, v7
|
|
|
|
:goto_2
|
|
const/4 v7, 0x1
|
|
|
|
:cond_a
|
|
if-eqz v7, :cond_b
|
|
|
|
.line 3068
|
|
invoke-virtual {p0, v2}, Landroid/support/v7/widget/RecyclerView;->setScrollState(I)V
|
|
|
|
.line 3072
|
|
:cond_b
|
|
iget v7, p0, Landroid/support/v7/widget/RecyclerView;->aj:I
|
|
|
|
if-ne v7, v2, :cond_17
|
|
|
|
.line 3073
|
|
iget-object v7, p0, Landroid/support/v7/widget/RecyclerView;->aD:[I
|
|
|
|
aget v7, v7, v1
|
|
|
|
sub-int/2addr v6, v7
|
|
|
|
iput v6, p0, Landroid/support/v7/widget/RecyclerView;->ao:I
|
|
|
|
.line 3074
|
|
iget-object v6, p0, Landroid/support/v7/widget/RecyclerView;->aD:[I
|
|
|
|
aget v6, v6, v2
|
|
|
|
sub-int/2addr p1, v6
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->ap:I
|
|
|
|
if-eqz v0, :cond_c
|
|
|
|
move p1, v5
|
|
|
|
goto :goto_3
|
|
|
|
:cond_c
|
|
const/4 p1, 0x0
|
|
|
|
:goto_3
|
|
if-eqz v3, :cond_d
|
|
|
|
move v0, v13
|
|
|
|
goto :goto_4
|
|
|
|
:cond_d
|
|
const/4 v0, 0x0
|
|
|
|
.line 3076
|
|
:goto_4
|
|
invoke-virtual {p0, p1, v0, v4}, Landroid/support/v7/widget/RecyclerView;->a(IILandroid/view/MotionEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_e
|
|
|
|
.line 3080
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1, v2}, Landroid/view/ViewParent;->requestDisallowInterceptTouchEvent(Z)V
|
|
|
|
.line 3082
|
|
:cond_e
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->A:Landroid/support/v7/widget/GapWorker;
|
|
|
|
if-eqz p1, :cond_17
|
|
|
|
if-nez v5, :cond_f
|
|
|
|
if-eqz v13, :cond_17
|
|
|
|
.line 3083
|
|
:cond_f
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->A:Landroid/support/v7/widget/GapWorker;
|
|
|
|
invoke-virtual {p1, p0, v5, v13}, Landroid/support/v7/widget/GapWorker;->a(Landroid/support/v7/widget/RecyclerView;II)V
|
|
|
|
goto :goto_8
|
|
|
|
.line 3093
|
|
:pswitch_5
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->al:Landroid/view/VelocityTracker;
|
|
|
|
invoke-virtual {p1, v4}, Landroid/view/VelocityTracker;->addMovement(Landroid/view/MotionEvent;)V
|
|
|
|
.line 3095
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->al:Landroid/view/VelocityTracker;
|
|
|
|
const/16 v5, 0x3e8
|
|
|
|
iget v6, p0, Landroid/support/v7/widget/RecyclerView;->at:I
|
|
|
|
int-to-float v6, v6
|
|
|
|
invoke-virtual {p1, v5, v6}, Landroid/view/VelocityTracker;->computeCurrentVelocity(IF)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
if-eqz v0, :cond_10
|
|
|
|
.line 3096
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->al:Landroid/view/VelocityTracker;
|
|
|
|
iget v5, p0, Landroid/support/v7/widget/RecyclerView;->ak:I
|
|
|
|
.line 3097
|
|
invoke-virtual {v0, v5}, Landroid/view/VelocityTracker;->getXVelocity(I)F
|
|
|
|
move-result v0
|
|
|
|
neg-float v0, v0
|
|
|
|
goto :goto_5
|
|
|
|
:cond_10
|
|
const/4 v0, 0x0
|
|
|
|
:goto_5
|
|
if-eqz v3, :cond_11
|
|
|
|
.line 3098
|
|
iget-object v3, p0, Landroid/support/v7/widget/RecyclerView;->al:Landroid/view/VelocityTracker;
|
|
|
|
iget v5, p0, Landroid/support/v7/widget/RecyclerView;->ak:I
|
|
|
|
.line 3099
|
|
invoke-virtual {v3, v5}, Landroid/view/VelocityTracker;->getYVelocity(I)F
|
|
|
|
move-result v3
|
|
|
|
neg-float v3, v3
|
|
|
|
goto :goto_6
|
|
|
|
:cond_11
|
|
const/4 v3, 0x0
|
|
|
|
:goto_6
|
|
cmpl-float v5, v0, p1
|
|
|
|
if-nez v5, :cond_12
|
|
|
|
cmpl-float p1, v3, p1
|
|
|
|
if-eqz p1, :cond_13
|
|
|
|
:cond_12
|
|
float-to-int p1, v0
|
|
|
|
float-to-int v0, v3
|
|
|
|
.line 3100
|
|
invoke-virtual {p0, p1, v0}, Landroid/support/v7/widget/RecyclerView;->b(II)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_14
|
|
|
|
.line 3101
|
|
:cond_13
|
|
invoke-virtual {p0, v1}, Landroid/support/v7/widget/RecyclerView;->setScrollState(I)V
|
|
|
|
.line 3103
|
|
:cond_14
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->D()V
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_8
|
|
|
|
.line 3007
|
|
:pswitch_6
|
|
invoke-virtual {p1, v1}, Landroid/view/MotionEvent;->getPointerId(I)I
|
|
|
|
move-result v5
|
|
|
|
iput v5, p0, Landroid/support/v7/widget/RecyclerView;->ak:I
|
|
|
|
.line 3008
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F
|
|
|
|
move-result v5
|
|
|
|
add-float/2addr v5, v7
|
|
|
|
float-to-int v5, v5
|
|
|
|
iput v5, p0, Landroid/support/v7/widget/RecyclerView;->ao:I
|
|
|
|
iput v5, p0, Landroid/support/v7/widget/RecyclerView;->am:I
|
|
|
|
.line 3009
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
|
|
|
|
move-result p1
|
|
|
|
add-float/2addr p1, v7
|
|
|
|
float-to-int p1, p1
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->ap:I
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->an:I
|
|
|
|
if-eqz v0, :cond_15
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_7
|
|
|
|
:cond_15
|
|
const/4 p1, 0x0
|
|
|
|
:goto_7
|
|
if-eqz v3, :cond_16
|
|
|
|
or-int/lit8 p1, p1, 0x2
|
|
|
|
.line 3018
|
|
:cond_16
|
|
invoke-virtual {p0, p1, v1}, Landroid/support/v7/widget/RecyclerView;->startNestedScroll(II)Z
|
|
|
|
:cond_17
|
|
:goto_8
|
|
if-nez v1, :cond_18
|
|
|
|
.line 3112
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->al:Landroid/view/VelocityTracker;
|
|
|
|
invoke-virtual {p1, v4}, Landroid/view/VelocityTracker;->addMovement(Landroid/view/MotionEvent;)V
|
|
|
|
.line 3114
|
|
:cond_18
|
|
invoke-virtual {v4}, Landroid/view/MotionEvent;->recycle()V
|
|
|
|
return v2
|
|
|
|
:cond_19
|
|
:goto_9
|
|
return v1
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_0
|
|
:pswitch_2
|
|
:pswitch_1
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method p()V
|
|
.locals 1
|
|
|
|
.line 3442
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->F:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->p:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3443
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->aG:Ljava/lang/Runnable;
|
|
|
|
invoke-static {p0, v0}, Landroid/support/v4/view/ViewCompat;->postOnAnimation(Landroid/view/View;Ljava/lang/Runnable;)V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 3444
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->F:Z
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method q()V
|
|
.locals 2
|
|
|
|
.line 3515
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v0, "RecyclerView"
|
|
|
|
const-string v1, "No adapter attached; skipping layout"
|
|
|
|
.line 3516
|
|
invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
|
|
.line 3520
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const-string v0, "RecyclerView"
|
|
|
|
const-string v1, "No layout manager attached; skipping layout"
|
|
|
|
.line 3521
|
|
invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
|
|
.line 3525
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-boolean v1, v0, Landroid/support/v7/widget/RecyclerView$State;->h:Z
|
|
|
|
.line 3526
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
iget v0, v0, Landroid/support/v7/widget/RecyclerView$State;->c:I
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-ne v0, v1, :cond_2
|
|
|
|
.line 3527
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->M()V
|
|
|
|
.line 3528
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0, p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
.line 3529
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->N()V
|
|
|
|
goto :goto_1
|
|
|
|
.line 3530
|
|
:cond_2
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->e:Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/AdapterHelper;->f()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_4
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->D()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getWidth()I
|
|
|
|
move-result v1
|
|
|
|
if-ne v0, v1, :cond_4
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
.line 3531
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->E()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getHeight()I
|
|
|
|
move-result v1
|
|
|
|
if-eq v0, v1, :cond_3
|
|
|
|
goto :goto_0
|
|
|
|
.line 3538
|
|
:cond_3
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0, p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 3534
|
|
:cond_4
|
|
:goto_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0, p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
.line 3535
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->N()V
|
|
|
|
.line 3540
|
|
:goto_1
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->O()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method r()V
|
|
.locals 4
|
|
|
|
.line 4097
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->c()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_0
|
|
|
|
.line 4099
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v2, v1}, Landroid/support/v7/widget/ChildHelper;->d(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
.line 4100
|
|
invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
const/4 v3, 0x1
|
|
|
|
iput-boolean v3, v2, Landroid/support/v7/widget/RecyclerView$LayoutParams;->e:Z
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 4102
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$Recycler;->j()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected removeDetachedView(Landroid/view/View;Z)V
|
|
.locals 2
|
|
|
|
.line 4012
|
|
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_2
|
|
|
|
.line 4014
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->r()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 4015
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->m()V
|
|
|
|
goto :goto_0
|
|
|
|
.line 4016
|
|
:cond_0
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
.line 4017
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v1, "Called removeDetachedView with a view which is not flagged as tmp detached."
|
|
|
|
invoke-virtual {p2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
.line 4018
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->a()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
.line 4025
|
|
:cond_2
|
|
:goto_0
|
|
invoke-virtual {p1}, Landroid/view/View;->clearAnimation()V
|
|
|
|
.line 4027
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->l(Landroid/view/View;)V
|
|
|
|
.line 4028
|
|
invoke-super {p0, p1, p2}, Landroid/view/ViewGroup;->removeDetachedView(Landroid/view/View;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public requestChildFocus(Landroid/view/View;Landroid/view/View;)V
|
|
.locals 2
|
|
|
|
.line 2611
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->C:Landroid/support/v7/widget/RecyclerView$State;
|
|
|
|
invoke-virtual {v0, p0, v1, p1, p2}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView;Landroid/support/v7/widget/RecyclerView$State;Landroid/view/View;Landroid/view/View;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 2612
|
|
invoke-direct {p0, p1, p2}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/view/View;Landroid/view/View;)V
|
|
|
|
.line 2614
|
|
:cond_0
|
|
invoke-super {p0, p1, p2}, Landroid/view/ViewGroup;->requestChildFocus(Landroid/view/View;Landroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public requestChildRectangleOnScreen(Landroid/view/View;Landroid/graphics/Rect;Z)Z
|
|
.locals 1
|
|
|
|
.line 2656
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0, p0, p1, p2, p3}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->a(Landroid/support/v7/widget/RecyclerView;Landroid/view/View;Landroid/graphics/Rect;Z)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public requestDisallowInterceptTouchEvent(Z)V
|
|
.locals 3
|
|
|
|
.line 2966
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->S:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_0
|
|
|
|
.line 2968
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->S:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;
|
|
|
|
.line 2969
|
|
invoke-interface {v2, p1}, Landroid/support/v7/widget/RecyclerView$OnItemTouchListener;->a(Z)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 2971
|
|
:cond_0
|
|
invoke-super {p0, p1}, Landroid/view/ViewGroup;->requestDisallowInterceptTouchEvent(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public requestLayout()V
|
|
.locals 1
|
|
|
|
.line 4089
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView;->U:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->u:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4090
|
|
invoke-super {p0}, Landroid/view/ViewGroup;->requestLayout()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
.line 4092
|
|
iput-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->t:Z
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method s()V
|
|
.locals 4
|
|
|
|
.line 4218
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->c()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
.line 4220
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v2, v1}, Landroid/support/v7/widget/ChildHelper;->d(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v2
|
|
|
|
.line 4225
|
|
invoke-virtual {v2}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
.line 4226
|
|
invoke-virtual {v2}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->b()V
|
|
|
|
:cond_0
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public scrollBy(II)V
|
|
.locals 3
|
|
|
|
.line 1711
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string p1, "RecyclerView"
|
|
|
|
const-string p2, "Cannot scroll without a LayoutManager set. Call setLayoutManager with a non-null argument."
|
|
|
|
.line 1712
|
|
invoke-static {p1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
|
|
.line 1716
|
|
:cond_0
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->u:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
return-void
|
|
|
|
.line 1719
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->f()Z
|
|
|
|
move-result v0
|
|
|
|
.line 1720
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->g()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
:cond_2
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
if-eqz v1, :cond_4
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
const/4 p2, 0x0
|
|
|
|
:goto_1
|
|
const/4 v0, 0x0
|
|
|
|
.line 1722
|
|
invoke-virtual {p0, p1, p2, v0}, Landroid/support/v7/widget/RecyclerView;->a(IILandroid/view/MotionEvent;)Z
|
|
|
|
:cond_5
|
|
return-void
|
|
.end method
|
|
|
|
.method public scrollTo(II)V
|
|
.locals 0
|
|
|
|
const-string p1, "RecyclerView"
|
|
|
|
const-string p2, "RecyclerView does not support scrolling to an absolute position. Use scrollToPosition instead"
|
|
|
|
.line 1705
|
|
invoke-static {p1, p2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public sendAccessibilityEventUnchecked(Landroid/view/accessibility/AccessibilityEvent;)V
|
|
.locals 1
|
|
|
|
.line 3418
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/view/accessibility/AccessibilityEvent;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 3421
|
|
:cond_0
|
|
invoke-super {p0, p1}, Landroid/view/ViewGroup;->sendAccessibilityEventUnchecked(Landroid/view/accessibility/AccessibilityEvent;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setAccessibilityDelegateCompat(Landroid/support/v7/widget/RecyclerViewAccessibilityDelegate;)V
|
|
.locals 0
|
|
|
|
.line 696
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView;->G:Landroid/support/v7/widget/RecyclerViewAccessibilityDelegate;
|
|
|
|
.line 697
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->G:Landroid/support/v7/widget/RecyclerViewAccessibilityDelegate;
|
|
|
|
invoke-static {p0, p1}, Landroid/support/v4/view/ViewCompat;->setAccessibilityDelegate(Landroid/view/View;Landroid/support/v4/view/AccessibilityDelegateCompat;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setAdapter(Landroid/support/v7/widget/RecyclerView$Adapter;)V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1082
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView;->setLayoutFrozen(Z)V
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 1083
|
|
invoke-direct {p0, p1, v0, v1}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/support/v7/widget/RecyclerView$Adapter;ZZ)V
|
|
|
|
.line 1084
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView;->c(Z)V
|
|
|
|
.line 1085
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->requestLayout()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setChildDrawingOrderCallback(Landroid/support/v7/widget/RecyclerView$ChildDrawingOrderCallback;)V
|
|
.locals 1
|
|
|
|
.line 1590
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->aA:Landroid/support/v7/widget/RecyclerView$ChildDrawingOrderCallback;
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 1593
|
|
:cond_0
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView;->aA:Landroid/support/v7/widget/RecyclerView$ChildDrawingOrderCallback;
|
|
|
|
.line 1594
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->aA:Landroid/support/v7/widget/RecyclerView$ChildDrawingOrderCallback;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->setChildrenDrawingOrderEnabled(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setClipToPadding(Z)V
|
|
.locals 1
|
|
|
|
.line 997
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->h:Z
|
|
|
|
if-eq p1, v0, :cond_0
|
|
|
|
.line 998
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->k()V
|
|
|
|
.line 1000
|
|
:cond_0
|
|
iput-boolean p1, p0, Landroid/support/v7/widget/RecyclerView;->h:Z
|
|
|
|
.line 1001
|
|
invoke-super {p0, p1}, Landroid/view/ViewGroup;->setClipToPadding(Z)V
|
|
|
|
.line 1002
|
|
iget-boolean p1, p0, Landroid/support/v7/widget/RecyclerView;->s:Z
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 1003
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->requestLayout()V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public setEdgeEffectFactory(Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;)V
|
|
.locals 0
|
|
.param p1 # Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 2418
|
|
invoke-static {p1}, Landroid/support/v4/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 2419
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView;->ae:Landroid/support/v7/widget/RecyclerView$EdgeEffectFactory;
|
|
|
|
.line 2420
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->k()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setHasFixedSize(Z)V
|
|
.locals 0
|
|
|
|
.line 984
|
|
iput-boolean p1, p0, Landroid/support/v7/widget/RecyclerView;->q:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setItemAnimator(Landroid/support/v7/widget/RecyclerView$ItemAnimator;)V
|
|
.locals 2
|
|
|
|
.line 3322
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3323
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->d()V
|
|
|
|
.line 3324
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->a(Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemAnimatorListener;)V
|
|
|
|
.line 3326
|
|
:cond_0
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
.line 3327
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 3328
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->az:Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemAnimatorListener;
|
|
|
|
invoke-virtual {p1, v0}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->a(Landroid/support/v7/widget/RecyclerView$ItemAnimator$ItemAnimatorListener;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public setItemViewCacheSize(I)V
|
|
.locals 1
|
|
|
|
.line 1442
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/RecyclerView$Recycler;->a(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setLayoutFrozen(Z)V
|
|
.locals 9
|
|
|
|
.line 2083
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->u:Z
|
|
|
|
if-eq p1, v0, :cond_2
|
|
|
|
const-string v0, "Do not setLayoutFrozen in layout or scroll"
|
|
|
|
.line 2084
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/widget/RecyclerView;->a(Ljava/lang/String;)V
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 2086
|
|
iput-boolean p1, p0, Landroid/support/v7/widget/RecyclerView;->u:Z
|
|
|
|
.line 2087
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->t:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->l:Landroid/support/v7/widget/RecyclerView$Adapter;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2088
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->requestLayout()V
|
|
|
|
.line 2090
|
|
:cond_0
|
|
iput-boolean p1, p0, Landroid/support/v7/widget/RecyclerView;->t:Z
|
|
|
|
goto :goto_0
|
|
|
|
.line 2092
|
|
:cond_1
|
|
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
|
|
|
|
move-result-wide v3
|
|
|
|
const/4 v5, 0x3
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/4 v8, 0x0
|
|
|
|
move-wide v1, v3
|
|
|
|
.line 2093
|
|
invoke-static/range {v1 .. v8}, Landroid/view/MotionEvent;->obtain(JJIFFI)Landroid/view/MotionEvent;
|
|
|
|
move-result-object p1
|
|
|
|
.line 2095
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 2096
|
|
iput-boolean p1, p0, Landroid/support/v7/widget/RecyclerView;->u:Z
|
|
|
|
.line 2097
|
|
iput-boolean p1, p0, Landroid/support/v7/widget/RecyclerView;->V:Z
|
|
|
|
.line 2098
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->f()V
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setLayoutManager(Landroid/support/v7/widget/RecyclerView$LayoutManager;)V
|
|
.locals 3
|
|
|
|
.line 1234
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 1237
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->f()V
|
|
|
|
.line 1240
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 1242
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 1243
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->y:Landroid/support/v7/widget/RecyclerView$ItemAnimator;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$ItemAnimator;->d()V
|
|
|
|
.line 1245
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->c(Landroid/support/v7/widget/RecyclerView$Recycler;)V
|
|
|
|
.line 1246
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b(Landroid/support/v7/widget/RecyclerView$Recycler;)V
|
|
|
|
.line 1247
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$Recycler;->a()V
|
|
|
|
.line 1249
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->p:Z
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 1250
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0, p0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b(Landroid/support/v7/widget/RecyclerView;Landroid/support/v7/widget/RecyclerView$Recycler;)V
|
|
|
|
.line 1252
|
|
:cond_2
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
.line 1253
|
|
iput-object v1, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
goto :goto_0
|
|
|
|
.line 1255
|
|
:cond_3
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$Recycler;->a()V
|
|
|
|
.line 1258
|
|
:goto_0
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->a()V
|
|
|
|
.line 1259
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
.line 1261
|
|
iget-object v0, p1, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
if-nez v0, :cond_4
|
|
|
|
.line 1266
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {p1, p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->b(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
.line 1267
|
|
iget-boolean p1, p0, Landroid/support/v7/widget/RecyclerView;->p:Z
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
.line 1268
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->m:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {p1, p0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->c(Landroid/support/v7/widget/RecyclerView;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 1262
|
|
:cond_4
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v2, "LayoutManager "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, " is already attached to a RecyclerView:"
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object p1, p1, Landroid/support/v7/widget/RecyclerView$LayoutManager;->q:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
.line 1264
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView;->a()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
.line 1271
|
|
:cond_5
|
|
:goto_1
|
|
iget-object p1, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$Recycler;->b()V
|
|
|
|
.line 1272
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->requestLayout()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setNestedScrollingEnabled(Z)V
|
|
.locals 1
|
|
|
|
.line 11121
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->getScrollingChildHelper()Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v4/view/NestedScrollingChildHelper;->setNestedScrollingEnabled(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setOnFlingListener(Landroid/support/v7/widget/RecyclerView$OnFlingListener;)V
|
|
.locals 0
|
|
.param p1 # Landroid/support/v7/widget/RecyclerView$OnFlingListener;
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1284
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView;->ar:Landroid/support/v7/widget/RecyclerView$OnFlingListener;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setOnScrollListener(Landroid/support/v7/widget/RecyclerView$OnScrollListener;)V
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1607
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView;->ax:Landroid/support/v7/widget/RecyclerView$OnScrollListener;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setPreserveFocusAfterLayout(Z)V
|
|
.locals 0
|
|
|
|
.line 4437
|
|
iput-boolean p1, p0, Landroid/support/v7/widget/RecyclerView;->aw:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setRecycledViewPool(Landroid/support/v7/widget/RecyclerView$RecycledViewPool;)V
|
|
.locals 1
|
|
|
|
.line 1416
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/RecyclerView$Recycler;->a(Landroid/support/v7/widget/RecyclerView$RecycledViewPool;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setRecyclerListener(Landroid/support/v7/widget/RecyclerView$RecyclerListener;)V
|
|
.locals 0
|
|
|
|
.line 1161
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView;->n:Landroid/support/v7/widget/RecyclerView$RecyclerListener;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method setScrollState(I)V
|
|
.locals 1
|
|
|
|
.line 1456
|
|
iget v0, p0, Landroid/support/v7/widget/RecyclerView;->aj:I
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 1463
|
|
:cond_0
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->aj:I
|
|
|
|
const/4 v0, 0x2
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
.line 1465
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->B()V
|
|
|
|
.line 1467
|
|
:cond_1
|
|
invoke-virtual {p0, p1}, Landroid/support/v7/widget/RecyclerView;->h(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setScrollingTouchSlop(I)V
|
|
.locals 4
|
|
|
|
.line 1034
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Landroid/view/ViewConfiguration;->get(Landroid/content/Context;)Landroid/view/ViewConfiguration;
|
|
|
|
move-result-object v0
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
const-string v1, "RecyclerView"
|
|
|
|
.line 1037
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v3, "setScrollingTouchSlop(): bad argument constant "
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, "; using default value"
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v1, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
goto :goto_0
|
|
|
|
.line 1045
|
|
:pswitch_0
|
|
invoke-virtual {v0}, Landroid/view/ViewConfiguration;->getScaledPagingTouchSlop()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->aq:I
|
|
|
|
goto :goto_1
|
|
|
|
.line 1041
|
|
:goto_0
|
|
:pswitch_1
|
|
invoke-virtual {v0}, Landroid/view/ViewConfiguration;->getScaledTouchSlop()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroid/support/v7/widget/RecyclerView;->aq:I
|
|
|
|
:goto_1
|
|
return-void
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public setViewCacheExtension(Landroid/support/v7/widget/RecyclerView$ViewCacheExtension;)V
|
|
.locals 1
|
|
|
|
.line 1427
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/RecyclerView$Recycler;->a(Landroid/support/v7/widget/RecyclerView$ViewCacheExtension;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public startNestedScroll(I)Z
|
|
.locals 1
|
|
|
|
.line 11131
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->getScrollingChildHelper()Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v4/view/NestedScrollingChildHelper;->startNestedScroll(I)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public startNestedScroll(II)Z
|
|
.locals 1
|
|
|
|
.line 11136
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->getScrollingChildHelper()Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/support/v4/view/NestedScrollingChildHelper;->startNestedScroll(II)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public stopNestedScroll()V
|
|
.locals 1
|
|
|
|
.line 11141
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->getScrollingChildHelper()Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Landroid/support/v4/view/NestedScrollingChildHelper;->stopNestedScroll()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public stopNestedScroll(I)V
|
|
.locals 1
|
|
|
|
.line 11146
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView;->getScrollingChildHelper()Landroid/support/v4/view/NestedScrollingChildHelper;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v4/view/NestedScrollingChildHelper;->stopNestedScroll(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method t()V
|
|
.locals 4
|
|
|
|
.line 4232
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->c()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
.line 4234
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v2, v1}, Landroid/support/v7/widget/ChildHelper;->d(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v2
|
|
|
|
.line 4235
|
|
invoke-virtual {v2}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
.line 4236
|
|
invoke-virtual {v2}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a()V
|
|
|
|
:cond_0
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 4239
|
|
:cond_1
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$Recycler;->i()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method u()V
|
|
.locals 4
|
|
|
|
.line 4380
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->c()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
.line 4382
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v2, v1}, Landroid/support/v7/widget/ChildHelper;->d(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2}, Landroid/support/v7/widget/RecyclerView;->e(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 4383
|
|
invoke-virtual {v2}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
const/4 v3, 0x6
|
|
|
|
.line 4384
|
|
invoke-virtual {v2, v3}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->b(I)V
|
|
|
|
:cond_0
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 4387
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroid/support/v7/widget/RecyclerView;->r()V
|
|
|
|
.line 4388
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->d:Landroid/support/v7/widget/RecyclerView$Recycler;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$Recycler;->h()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public v()Z
|
|
.locals 1
|
|
|
|
.line 4900
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->s:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-boolean v0, p0, Landroid/support/v7/widget/RecyclerView;->w:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->e:Landroid/support/v7/widget/AdapterHelper;
|
|
|
|
.line 4901
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/AdapterHelper;->d()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v0, 0x1
|
|
|
|
:goto_1
|
|
return v0
|
|
.end method
|
|
|
|
.method w()V
|
|
.locals 7
|
|
|
|
.line 5154
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/ChildHelper;->b()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_2
|
|
|
|
.line 5156
|
|
iget-object v2, p0, Landroid/support/v7/widget/RecyclerView;->f:Landroid/support/v7/widget/ChildHelper;
|
|
|
|
invoke-virtual {v2, v1}, Landroid/support/v7/widget/ChildHelper;->b(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
.line 5157
|
|
invoke-virtual {p0, v2}, Landroid/support/v7/widget/RecyclerView;->b(Landroid/view/View;)Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
move-result-object v3
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
.line 5158
|
|
iget-object v4, v3, Landroid/support/v7/widget/RecyclerView$ViewHolder;->i:Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
.line 5159
|
|
iget-object v3, v3, Landroid/support/v7/widget/RecyclerView$ViewHolder;->i:Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
iget-object v3, v3, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
.line 5160
|
|
invoke-virtual {v2}, Landroid/view/View;->getLeft()I
|
|
|
|
move-result v4
|
|
|
|
.line 5161
|
|
invoke-virtual {v2}, Landroid/view/View;->getTop()I
|
|
|
|
move-result v2
|
|
|
|
.line 5162
|
|
invoke-virtual {v3}, Landroid/view/View;->getLeft()I
|
|
|
|
move-result v5
|
|
|
|
if-ne v4, v5, :cond_0
|
|
|
|
invoke-virtual {v3}, Landroid/view/View;->getTop()I
|
|
|
|
move-result v5
|
|
|
|
if-eq v2, v5, :cond_1
|
|
|
|
.line 5164
|
|
:cond_0
|
|
invoke-virtual {v3}, Landroid/view/View;->getWidth()I
|
|
|
|
move-result v5
|
|
|
|
add-int/2addr v5, v4
|
|
|
|
.line 5165
|
|
invoke-virtual {v3}, Landroid/view/View;->getHeight()I
|
|
|
|
move-result v6
|
|
|
|
add-int/2addr v6, v2
|
|
|
|
.line 5163
|
|
invoke-virtual {v3, v4, v2, v5, v6}, Landroid/view/View;->layout(IIII)V
|
|
|
|
:cond_1
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method x()V
|
|
.locals 5
|
|
|
|
.line 11074
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->H:Ljava/util/List;
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_2
|
|
|
|
.line 11075
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView;->H:Ljava/util/List;
|
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
|
|
.line 11076
|
|
iget-object v2, v1, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v2
|
|
|
|
if-ne v2, p0, :cond_1
|
|
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->c()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 11079
|
|
:cond_0
|
|
iget v2, v1, Landroid/support/v7/widget/RecyclerView$ViewHolder;->l:I
|
|
|
|
const/4 v3, -0x1
|
|
|
|
if-eq v2, v3, :cond_1
|
|
|
|
.line 11082
|
|
iget-object v4, v1, Landroid/support/v7/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
invoke-static {v4, v2}, Landroid/support/v4/view/ViewCompat;->setImportantForAccessibility(Landroid/view/View;I)V
|
|
|
|
.line 11083
|
|
iput v3, v1, Landroid/support/v7/widget/RecyclerView$ViewHolder;->l:I
|
|
|
|
:cond_1
|
|
:goto_1
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 11087
|
|
:cond_2
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView;->H:Ljava/util/List;
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->clear()V
|
|
|
|
return-void
|
|
.end method
|