* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
4950 lines
99 KiB
Smali
4950 lines
99 KiB
Smali
.class public Landroidx/recyclerview/widget/GridLayoutManager;
|
|
.super Landroidx/recyclerview/widget/LinearLayoutManager;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;,
|
|
Landroidx/recyclerview/widget/GridLayoutManager$DefaultSpanSizeLookup;,
|
|
Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public E:Z
|
|
|
|
.field public F:I
|
|
|
|
.field public G:[I
|
|
|
|
.field public H:[Landroid/view/View;
|
|
|
|
.field public final I:Landroid/util/SparseIntArray;
|
|
|
|
.field public final J:Landroid/util/SparseIntArray;
|
|
|
|
.field public K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.field public final L:Landroid/graphics/Rect;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(I)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 22
|
|
invoke-direct {p0, v0}, Landroidx/recyclerview/widget/LinearLayoutManager;-><init>(I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 23
|
|
iput-boolean v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->E:Z
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 24
|
|
iput v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 25
|
|
new-instance v0, Landroid/util/SparseIntArray;
|
|
|
|
invoke-direct {v0}, Landroid/util/SparseIntArray;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->I:Landroid/util/SparseIntArray;
|
|
|
|
.line 26
|
|
new-instance v0, Landroid/util/SparseIntArray;
|
|
|
|
invoke-direct {v0}, Landroid/util/SparseIntArray;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->J:Landroid/util/SparseIntArray;
|
|
|
|
.line 27
|
|
new-instance v0, Landroidx/recyclerview/widget/GridLayoutManager$DefaultSpanSizeLookup;
|
|
|
|
.line 28
|
|
invoke-direct {v0}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;-><init>()V
|
|
|
|
.line 29
|
|
iput-object v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 30
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->L:Landroid/graphics/Rect;
|
|
|
|
.line 31
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/GridLayoutManager;->x1(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(II)V
|
|
.locals 0
|
|
|
|
const/4 p2, 0x1
|
|
|
|
.line 12
|
|
invoke-direct {p0, p2}, Landroidx/recyclerview/widget/LinearLayoutManager;-><init>(I)V
|
|
|
|
const/4 p2, 0x0
|
|
|
|
.line 13
|
|
iput-boolean p2, p0, Landroidx/recyclerview/widget/GridLayoutManager;->E:Z
|
|
|
|
const/4 p2, -0x1
|
|
|
|
.line 14
|
|
iput p2, p0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 15
|
|
new-instance p2, Landroid/util/SparseIntArray;
|
|
|
|
invoke-direct {p2}, Landroid/util/SparseIntArray;-><init>()V
|
|
|
|
iput-object p2, p0, Landroidx/recyclerview/widget/GridLayoutManager;->I:Landroid/util/SparseIntArray;
|
|
|
|
.line 16
|
|
new-instance p2, Landroid/util/SparseIntArray;
|
|
|
|
invoke-direct {p2}, Landroid/util/SparseIntArray;-><init>()V
|
|
|
|
iput-object p2, p0, Landroidx/recyclerview/widget/GridLayoutManager;->J:Landroid/util/SparseIntArray;
|
|
|
|
.line 17
|
|
new-instance p2, Landroidx/recyclerview/widget/GridLayoutManager$DefaultSpanSizeLookup;
|
|
|
|
.line 18
|
|
invoke-direct {p2}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;-><init>()V
|
|
|
|
.line 19
|
|
iput-object p2, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 20
|
|
new-instance p2, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {p2}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
iput-object p2, p0, Landroidx/recyclerview/widget/GridLayoutManager;->L:Landroid/graphics/Rect;
|
|
|
|
.line 21
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/GridLayoutManager;->x1(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1, p2, p3, p4}, Landroidx/recyclerview/widget/LinearLayoutManager;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
iput-boolean v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->E:Z
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 3
|
|
iput v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 4
|
|
new-instance v0, Landroid/util/SparseIntArray;
|
|
|
|
invoke-direct {v0}, Landroid/util/SparseIntArray;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->I:Landroid/util/SparseIntArray;
|
|
|
|
.line 5
|
|
new-instance v0, Landroid/util/SparseIntArray;
|
|
|
|
invoke-direct {v0}, Landroid/util/SparseIntArray;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->J:Landroid/util/SparseIntArray;
|
|
|
|
.line 6
|
|
new-instance v0, Landroidx/recyclerview/widget/GridLayoutManager$DefaultSpanSizeLookup;
|
|
|
|
.line 7
|
|
invoke-direct {v0}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;-><init>()V
|
|
|
|
.line 8
|
|
iput-object v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 9
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->L:Landroid/graphics/Rect;
|
|
|
|
.line 10
|
|
invoke-static {p1, p2, p3, p4}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->O(Landroid/content/Context;Landroid/util/AttributeSet;II)Landroidx/recyclerview/widget/RecyclerView$LayoutManager$Properties;
|
|
|
|
move-result-object p1
|
|
|
|
.line 11
|
|
iget p1, p1, Landroidx/recyclerview/widget/RecyclerView$LayoutManager$Properties;->b:I
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/GridLayoutManager;->x1(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final B0(Landroid/graphics/Rect;II)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->G:[I
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-super {p0, p1, p2, p3}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->B0(Landroid/graphics/Rect;II)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->K()I
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result v0
|
|
|
|
.line 12
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->L()I
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result v1
|
|
|
|
.line 16
|
|
add-int/2addr v1, v0
|
|
|
|
.line 17
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->M()I
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result v0
|
|
|
|
.line 21
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->J()I
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result v2
|
|
|
|
.line 25
|
|
add-int/2addr v2, v0
|
|
|
|
.line 26
|
|
iget v0, p0, Landroidx/recyclerview/widget/LinearLayoutManager;->p:I
|
|
|
|
.line 27
|
|
.line 28
|
|
const/4 v3, 0x1
|
|
|
|
.line 29
|
|
if-ne v0, v3, :cond_1
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-virtual {p1}, Landroid/graphics/Rect;->height()I
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result p1
|
|
|
|
.line 35
|
|
add-int/2addr p1, v2
|
|
|
|
.line 36
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->b:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 37
|
|
.line 38
|
|
sget-object v2, Landroidx/core/view/ViewCompat;->a:Ljava/util/WeakHashMap;
|
|
|
|
.line 39
|
|
.line 40
|
|
invoke-virtual {v0}, Landroid/view/View;->getMinimumHeight()I
|
|
|
|
.line 41
|
|
.line 42
|
|
.line 43
|
|
move-result v0
|
|
|
|
.line 44
|
|
invoke-static {p3, p1, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->i(III)I
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
move-result p1
|
|
|
|
.line 48
|
|
iget-object p3, p0, Landroidx/recyclerview/widget/GridLayoutManager;->G:[I
|
|
|
|
.line 49
|
|
.line 50
|
|
array-length v0, p3
|
|
|
|
.line 51
|
|
sub-int/2addr v0, v3
|
|
|
|
.line 52
|
|
aget p3, p3, v0
|
|
|
|
.line 53
|
|
.line 54
|
|
add-int/2addr p3, v1
|
|
|
|
.line 55
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->b:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 56
|
|
.line 57
|
|
invoke-virtual {v0}, Landroid/view/View;->getMinimumWidth()I
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
move-result v0
|
|
|
|
.line 61
|
|
invoke-static {p2, p3, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->i(III)I
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
move-result p2
|
|
|
|
.line 65
|
|
goto :goto_0
|
|
|
|
.line 66
|
|
:cond_1
|
|
invoke-virtual {p1}, Landroid/graphics/Rect;->width()I
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
move-result p1
|
|
|
|
.line 70
|
|
add-int/2addr p1, v1
|
|
|
|
.line 71
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->b:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 72
|
|
.line 73
|
|
sget-object v1, Landroidx/core/view/ViewCompat;->a:Ljava/util/WeakHashMap;
|
|
|
|
.line 74
|
|
.line 75
|
|
invoke-virtual {v0}, Landroid/view/View;->getMinimumWidth()I
|
|
|
|
.line 76
|
|
.line 77
|
|
.line 78
|
|
move-result v0
|
|
|
|
.line 79
|
|
invoke-static {p2, p1, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->i(III)I
|
|
|
|
.line 80
|
|
.line 81
|
|
.line 82
|
|
move-result p2
|
|
|
|
.line 83
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->G:[I
|
|
|
|
.line 84
|
|
.line 85
|
|
array-length v0, p1
|
|
|
|
.line 86
|
|
sub-int/2addr v0, v3
|
|
|
|
.line 87
|
|
aget p1, p1, v0
|
|
|
|
.line 88
|
|
.line 89
|
|
add-int/2addr p1, v2
|
|
|
|
.line 90
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->b:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 91
|
|
.line 92
|
|
invoke-virtual {v0}, Landroid/view/View;->getMinimumHeight()I
|
|
|
|
.line 93
|
|
.line 94
|
|
.line 95
|
|
move-result v0
|
|
|
|
.line 96
|
|
invoke-static {p3, p1, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->i(III)I
|
|
|
|
.line 97
|
|
.line 98
|
|
.line 99
|
|
move-result p1
|
|
|
|
.line 100
|
|
:goto_0
|
|
iget-object p3, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->b:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 101
|
|
.line 102
|
|
invoke-static {p3, p2, p1}, Landroidx/recyclerview/widget/RecyclerView;->g(Landroidx/recyclerview/widget/RecyclerView;II)V
|
|
|
|
.line 103
|
|
.line 104
|
|
.line 105
|
|
return-void
|
|
.end method
|
|
|
|
.method public final J0()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/LinearLayoutManager;->z:Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-boolean v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->E:Z
|
|
|
|
.line 6
|
|
.line 7
|
|
if-nez v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
const/4 v0, 0x1
|
|
|
|
.line 10
|
|
return v0
|
|
|
|
.line 11
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 12
|
|
return v0
|
|
.end method
|
|
|
|
.method public final L0(Landroidx/recyclerview/widget/RecyclerView$State;Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;Landroidx/recyclerview/widget/RecyclerView$LayoutManager$LayoutPrefetchRegistry;)V
|
|
.locals 6
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x0
|
|
|
|
.line 4
|
|
move v2, v1
|
|
|
|
.line 5
|
|
:goto_0
|
|
iget v3, p0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 6
|
|
.line 7
|
|
if-ge v2, v3, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
iget v3, p2, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->d:I
|
|
|
|
.line 10
|
|
.line 11
|
|
if-ltz v3, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$State;->b()I
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result v4
|
|
|
|
.line 17
|
|
if-ge v3, v4, :cond_0
|
|
|
|
.line 18
|
|
.line 19
|
|
if-lez v0, :cond_0
|
|
|
|
.line 20
|
|
.line 21
|
|
iget v3, p2, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->d:I
|
|
|
|
.line 22
|
|
.line 23
|
|
iget v4, p2, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->g:I
|
|
|
|
.line 24
|
|
.line 25
|
|
invoke-static {v1, v4}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result v4
|
|
|
|
.line 29
|
|
move-object v5, p3
|
|
|
|
.line 30
|
|
check-cast v5, Landroidx/recyclerview/widget/GapWorker$LayoutPrefetchRegistryImpl;
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-virtual {v5, v3, v4}, Landroidx/recyclerview/widget/GapWorker$LayoutPrefetchRegistryImpl;->a(II)V
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
iget-object v4, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 36
|
|
.line 37
|
|
invoke-virtual {v4, v3}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->c(I)I
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
move-result v3
|
|
|
|
.line 41
|
|
sub-int/2addr v0, v3
|
|
|
|
.line 42
|
|
iget v3, p2, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->d:I
|
|
|
|
.line 43
|
|
.line 44
|
|
iget v4, p2, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->e:I
|
|
|
|
.line 45
|
|
.line 46
|
|
add-int/2addr v3, v4
|
|
|
|
.line 47
|
|
iput v3, p2, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->d:I
|
|
|
|
.line 48
|
|
.line 49
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
.line 50
|
|
.line 51
|
|
goto :goto_0
|
|
|
|
.line 52
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final P(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/recyclerview/widget/LinearLayoutManager;->p:I
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iget p1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 6
|
|
.line 7
|
|
return p1
|
|
|
|
.line 8
|
|
:cond_0
|
|
invoke-virtual {p2}, Landroidx/recyclerview/widget/RecyclerView$State;->b()I
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result v0
|
|
|
|
.line 12
|
|
const/4 v1, 0x1
|
|
|
|
.line 13
|
|
if-ge v0, v1, :cond_1
|
|
|
|
.line 14
|
|
.line 15
|
|
const/4 p1, 0x0
|
|
|
|
.line 16
|
|
return p1
|
|
|
|
.line 17
|
|
:cond_1
|
|
invoke-virtual {p2}, Landroidx/recyclerview/widget/RecyclerView$State;->b()I
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result v0
|
|
|
|
.line 21
|
|
sub-int/2addr v0, v1
|
|
|
|
.line 22
|
|
invoke-virtual {p0, v0, p1, p2}, Landroidx/recyclerview/widget/GridLayoutManager;->t1(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result p1
|
|
|
|
.line 26
|
|
add-int/2addr p1, v1
|
|
|
|
.line 27
|
|
return p1
|
|
.end method
|
|
|
|
.method public final Y0(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;ZZ)Landroid/view/View;
|
|
.locals 9
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->x()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result p3
|
|
|
|
.line 5
|
|
const/4 v0, 0x1
|
|
|
|
.line 6
|
|
if-eqz p4, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->x()I
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result p3
|
|
|
|
.line 12
|
|
sub-int/2addr p3, v0
|
|
|
|
.line 13
|
|
const/4 p4, -0x1
|
|
|
|
.line 14
|
|
move v0, p4
|
|
|
|
.line 15
|
|
goto :goto_0
|
|
|
|
.line 16
|
|
:cond_0
|
|
const/4 p4, 0x0
|
|
|
|
.line 17
|
|
move v8, p4
|
|
|
|
.line 18
|
|
move p4, p3
|
|
|
|
.line 19
|
|
move p3, v8
|
|
|
|
.line 20
|
|
:goto_0
|
|
invoke-virtual {p2}, Landroidx/recyclerview/widget/RecyclerView$State;->b()I
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result v1
|
|
|
|
.line 24
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/LinearLayoutManager;->Q0()V
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
iget-object v2, p0, Landroidx/recyclerview/widget/LinearLayoutManager;->r:Landroidx/recyclerview/widget/OrientationHelper;
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-virtual {v2}, Landroidx/recyclerview/widget/OrientationHelper;->k()I
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result v2
|
|
|
|
.line 33
|
|
iget-object v3, p0, Landroidx/recyclerview/widget/LinearLayoutManager;->r:Landroidx/recyclerview/widget/OrientationHelper;
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-virtual {v3}, Landroidx/recyclerview/widget/OrientationHelper;->g()I
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result v3
|
|
|
|
.line 39
|
|
const/4 v4, 0x0
|
|
|
|
.line 40
|
|
move-object v5, v4
|
|
|
|
.line 41
|
|
:goto_1
|
|
if-eq p3, p4, :cond_6
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-virtual {p0, p3}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->w(I)Landroid/view/View;
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
move-result-object v6
|
|
|
|
.line 47
|
|
invoke-static {v6}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->N(Landroid/view/View;)I
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
move-result v7
|
|
|
|
.line 51
|
|
if-ltz v7, :cond_5
|
|
|
|
.line 52
|
|
.line 53
|
|
if-ge v7, v1, :cond_5
|
|
|
|
.line 54
|
|
.line 55
|
|
invoke-virtual {p0, v7, p1, p2}, Landroidx/recyclerview/widget/GridLayoutManager;->u1(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
move-result v7
|
|
|
|
.line 59
|
|
if-eqz v7, :cond_1
|
|
|
|
.line 60
|
|
.line 61
|
|
goto :goto_3
|
|
|
|
.line 62
|
|
:cond_1
|
|
invoke-virtual {v6}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 63
|
|
.line 64
|
|
.line 65
|
|
move-result-object v7
|
|
|
|
.line 66
|
|
check-cast v7, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
.line 67
|
|
.line 68
|
|
iget-object v7, v7, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->a:Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
.line 69
|
|
.line 70
|
|
invoke-virtual {v7}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->j()Z
|
|
|
|
.line 71
|
|
.line 72
|
|
.line 73
|
|
move-result v7
|
|
|
|
.line 74
|
|
if-eqz v7, :cond_2
|
|
|
|
.line 75
|
|
.line 76
|
|
if-nez v5, :cond_5
|
|
|
|
.line 77
|
|
.line 78
|
|
move-object v5, v6
|
|
|
|
.line 79
|
|
goto :goto_3
|
|
|
|
.line 80
|
|
:cond_2
|
|
iget-object v7, p0, Landroidx/recyclerview/widget/LinearLayoutManager;->r:Landroidx/recyclerview/widget/OrientationHelper;
|
|
|
|
.line 81
|
|
.line 82
|
|
invoke-virtual {v7, v6}, Landroidx/recyclerview/widget/OrientationHelper;->e(Landroid/view/View;)I
|
|
|
|
.line 83
|
|
.line 84
|
|
.line 85
|
|
move-result v7
|
|
|
|
.line 86
|
|
if-ge v7, v3, :cond_4
|
|
|
|
.line 87
|
|
.line 88
|
|
iget-object v7, p0, Landroidx/recyclerview/widget/LinearLayoutManager;->r:Landroidx/recyclerview/widget/OrientationHelper;
|
|
|
|
.line 89
|
|
.line 90
|
|
invoke-virtual {v7, v6}, Landroidx/recyclerview/widget/OrientationHelper;->b(Landroid/view/View;)I
|
|
|
|
.line 91
|
|
.line 92
|
|
.line 93
|
|
move-result v7
|
|
|
|
.line 94
|
|
if-ge v7, v2, :cond_3
|
|
|
|
.line 95
|
|
.line 96
|
|
goto :goto_2
|
|
|
|
.line 97
|
|
:cond_3
|
|
return-object v6
|
|
|
|
.line 98
|
|
:cond_4
|
|
:goto_2
|
|
if-nez v4, :cond_5
|
|
|
|
.line 99
|
|
.line 100
|
|
move-object v4, v6
|
|
|
|
.line 101
|
|
:cond_5
|
|
:goto_3
|
|
add-int/2addr p3, v0
|
|
|
|
.line 102
|
|
goto :goto_1
|
|
|
|
.line 103
|
|
:cond_6
|
|
if-eqz v4, :cond_7
|
|
|
|
.line 104
|
|
.line 105
|
|
return-object v4
|
|
|
|
.line 106
|
|
:cond_7
|
|
return-object v5
|
|
.end method
|
|
|
|
.method public final Z(Landroid/view/View;ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)Landroid/view/View;
|
|
.locals 22
|
|
|
|
.line 1
|
|
move-object/from16 v0, p0
|
|
|
|
.line 2
|
|
.line 3
|
|
move-object/from16 v1, p3
|
|
|
|
.line 4
|
|
.line 5
|
|
move-object/from16 v2, p4
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-object v3, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->b:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 8
|
|
.line 9
|
|
const/4 v4, 0x0
|
|
|
|
.line 10
|
|
if-nez v3, :cond_0
|
|
|
|
.line 11
|
|
.line 12
|
|
move-object/from16 v5, p1
|
|
|
|
.line 13
|
|
.line 14
|
|
goto :goto_0
|
|
|
|
.line 15
|
|
:cond_0
|
|
move-object/from16 v5, p1
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-virtual {v3, v5}, Landroidx/recyclerview/widget/RecyclerView;->E(Landroid/view/View;)Landroid/view/View;
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result-object v3
|
|
|
|
.line 21
|
|
if-nez v3, :cond_1
|
|
|
|
.line 22
|
|
.line 23
|
|
goto :goto_0
|
|
|
|
.line 24
|
|
:cond_1
|
|
iget-object v6, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->a:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
.line 25
|
|
.line 26
|
|
iget-object v6, v6, Landroidx/recyclerview/widget/ChildHelper;->c:Ljava/util/ArrayList;
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-virtual {v6, v3}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result v6
|
|
|
|
.line 32
|
|
if-eqz v6, :cond_2
|
|
|
|
.line 33
|
|
.line 34
|
|
:goto_0
|
|
move-object v3, v4
|
|
|
|
.line 35
|
|
:cond_2
|
|
if-nez v3, :cond_3
|
|
|
|
.line 36
|
|
.line 37
|
|
goto :goto_1
|
|
|
|
.line 38
|
|
:cond_3
|
|
invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
move-result-object v6
|
|
|
|
.line 42
|
|
check-cast v6, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;
|
|
|
|
.line 43
|
|
.line 44
|
|
iget v7, v6, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->e:I
|
|
|
|
.line 45
|
|
.line 46
|
|
iget v6, v6, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->f:I
|
|
|
|
.line 47
|
|
.line 48
|
|
add-int/2addr v6, v7
|
|
|
|
.line 49
|
|
invoke-super/range {p0 .. p4}, Landroidx/recyclerview/widget/LinearLayoutManager;->Z(Landroid/view/View;ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)Landroid/view/View;
|
|
|
|
.line 50
|
|
.line 51
|
|
.line 52
|
|
move-result-object v5
|
|
|
|
.line 53
|
|
if-nez v5, :cond_4
|
|
|
|
.line 54
|
|
.line 55
|
|
:goto_1
|
|
return-object v4
|
|
|
|
.line 56
|
|
:cond_4
|
|
move/from16 v5, p2
|
|
|
|
.line 57
|
|
.line 58
|
|
invoke-virtual {v0, v5}, Landroidx/recyclerview/widget/LinearLayoutManager;->P0(I)I
|
|
|
|
.line 59
|
|
.line 60
|
|
.line 61
|
|
move-result v5
|
|
|
|
.line 62
|
|
const/4 v9, 0x1
|
|
|
|
.line 63
|
|
if-ne v5, v9, :cond_5
|
|
|
|
.line 64
|
|
.line 65
|
|
move v5, v9
|
|
|
|
.line 66
|
|
goto :goto_2
|
|
|
|
.line 67
|
|
:cond_5
|
|
const/4 v5, 0x0
|
|
|
|
.line 68
|
|
:goto_2
|
|
iget-boolean v10, v0, Landroidx/recyclerview/widget/LinearLayoutManager;->u:Z
|
|
|
|
.line 69
|
|
.line 70
|
|
const/4 v11, -0x1
|
|
|
|
.line 71
|
|
if-eq v5, v10, :cond_6
|
|
|
|
.line 72
|
|
.line 73
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->x()I
|
|
|
|
.line 74
|
|
.line 75
|
|
.line 76
|
|
move-result v5
|
|
|
|
.line 77
|
|
sub-int/2addr v5, v9
|
|
|
|
.line 78
|
|
move v10, v11
|
|
|
|
.line 79
|
|
move v12, v10
|
|
|
|
.line 80
|
|
goto :goto_3
|
|
|
|
.line 81
|
|
:cond_6
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->x()I
|
|
|
|
.line 82
|
|
.line 83
|
|
.line 84
|
|
move-result v5
|
|
|
|
.line 85
|
|
move v10, v5
|
|
|
|
.line 86
|
|
move v12, v9
|
|
|
|
.line 87
|
|
const/4 v5, 0x0
|
|
|
|
.line 88
|
|
:goto_3
|
|
iget v13, v0, Landroidx/recyclerview/widget/LinearLayoutManager;->p:I
|
|
|
|
.line 89
|
|
.line 90
|
|
if-ne v13, v9, :cond_7
|
|
|
|
.line 91
|
|
.line 92
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/LinearLayoutManager;->d1()Z
|
|
|
|
.line 93
|
|
.line 94
|
|
.line 95
|
|
move-result v13
|
|
|
|
.line 96
|
|
if-eqz v13, :cond_7
|
|
|
|
.line 97
|
|
.line 98
|
|
move v13, v9
|
|
|
|
.line 99
|
|
goto :goto_4
|
|
|
|
.line 100
|
|
:cond_7
|
|
const/4 v13, 0x0
|
|
|
|
.line 101
|
|
:goto_4
|
|
invoke-virtual {v0, v5, v1, v2}, Landroidx/recyclerview/widget/GridLayoutManager;->t1(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 102
|
|
.line 103
|
|
.line 104
|
|
move-result v14
|
|
|
|
.line 105
|
|
move-object/from16 v16, v4
|
|
|
|
.line 106
|
|
.line 107
|
|
move v8, v11
|
|
|
|
.line 108
|
|
move v15, v8
|
|
|
|
.line 109
|
|
const/4 v9, 0x0
|
|
|
|
.line 110
|
|
move v11, v5
|
|
|
|
.line 111
|
|
const/4 v4, 0x0
|
|
|
|
.line 112
|
|
move-object/from16 v5, v16
|
|
|
|
.line 113
|
|
.line 114
|
|
:goto_5
|
|
move-object/from16 v17, v5
|
|
|
|
.line 115
|
|
.line 116
|
|
if-eq v11, v10, :cond_18
|
|
|
|
.line 117
|
|
.line 118
|
|
invoke-virtual {v0, v11, v1, v2}, Landroidx/recyclerview/widget/GridLayoutManager;->t1(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 119
|
|
.line 120
|
|
.line 121
|
|
move-result v5
|
|
|
|
.line 122
|
|
invoke-virtual {v0, v11}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->w(I)Landroid/view/View;
|
|
|
|
.line 123
|
|
.line 124
|
|
.line 125
|
|
move-result-object v1
|
|
|
|
.line 126
|
|
if-ne v1, v3, :cond_8
|
|
|
|
.line 127
|
|
.line 128
|
|
goto/16 :goto_c
|
|
|
|
.line 129
|
|
.line 130
|
|
:cond_8
|
|
invoke-virtual {v1}, Landroid/view/View;->hasFocusable()Z
|
|
|
|
.line 131
|
|
.line 132
|
|
.line 133
|
|
move-result v18
|
|
|
|
.line 134
|
|
if-eqz v18, :cond_a
|
|
|
|
.line 135
|
|
.line 136
|
|
if-eq v5, v14, :cond_a
|
|
|
|
.line 137
|
|
.line 138
|
|
if-eqz v16, :cond_9
|
|
|
|
.line 139
|
|
.line 140
|
|
goto/16 :goto_c
|
|
|
|
.line 141
|
|
.line 142
|
|
:cond_9
|
|
move-object/from16 v18, v3
|
|
|
|
.line 143
|
|
.line 144
|
|
move/from16 v19, v9
|
|
|
|
.line 145
|
|
.line 146
|
|
move/from16 v21, v10
|
|
|
|
.line 147
|
|
.line 148
|
|
goto/16 :goto_a
|
|
|
|
.line 149
|
|
.line 150
|
|
:cond_a
|
|
invoke-virtual {v1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 151
|
|
.line 152
|
|
.line 153
|
|
move-result-object v5
|
|
|
|
.line 154
|
|
check-cast v5, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;
|
|
|
|
.line 155
|
|
.line 156
|
|
iget v2, v5, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->e:I
|
|
|
|
.line 157
|
|
.line 158
|
|
move-object/from16 v18, v3
|
|
|
|
.line 159
|
|
.line 160
|
|
iget v3, v5, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->f:I
|
|
|
|
.line 161
|
|
.line 162
|
|
add-int/2addr v3, v2
|
|
|
|
.line 163
|
|
invoke-virtual {v1}, Landroid/view/View;->hasFocusable()Z
|
|
|
|
.line 164
|
|
.line 165
|
|
.line 166
|
|
move-result v19
|
|
|
|
.line 167
|
|
if-eqz v19, :cond_b
|
|
|
|
.line 168
|
|
.line 169
|
|
if-ne v2, v7, :cond_b
|
|
|
|
.line 170
|
|
.line 171
|
|
if-ne v3, v6, :cond_b
|
|
|
|
.line 172
|
|
.line 173
|
|
return-object v1
|
|
|
|
.line 174
|
|
:cond_b
|
|
invoke-virtual {v1}, Landroid/view/View;->hasFocusable()Z
|
|
|
|
.line 175
|
|
.line 176
|
|
.line 177
|
|
move-result v19
|
|
|
|
.line 178
|
|
if-eqz v19, :cond_c
|
|
|
|
.line 179
|
|
.line 180
|
|
if-eqz v16, :cond_d
|
|
|
|
.line 181
|
|
.line 182
|
|
:cond_c
|
|
invoke-virtual {v1}, Landroid/view/View;->hasFocusable()Z
|
|
|
|
.line 183
|
|
.line 184
|
|
.line 185
|
|
move-result v19
|
|
|
|
.line 186
|
|
if-nez v19, :cond_e
|
|
|
|
.line 187
|
|
.line 188
|
|
if-nez v17, :cond_e
|
|
|
|
.line 189
|
|
.line 190
|
|
:cond_d
|
|
move/from16 v19, v9
|
|
|
|
.line 191
|
|
.line 192
|
|
move/from16 v21, v10
|
|
|
|
.line 193
|
|
.line 194
|
|
goto :goto_9
|
|
|
|
.line 195
|
|
:cond_e
|
|
invoke-static {v2, v7}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 196
|
|
.line 197
|
|
.line 198
|
|
move-result v19
|
|
|
|
.line 199
|
|
invoke-static {v3, v6}, Ljava/lang/Math;->min(II)I
|
|
|
|
.line 200
|
|
.line 201
|
|
.line 202
|
|
move-result v20
|
|
|
|
.line 203
|
|
move/from16 v21, v10
|
|
|
|
.line 204
|
|
.line 205
|
|
sub-int v10, v20, v19
|
|
|
|
.line 206
|
|
.line 207
|
|
invoke-virtual {v1}, Landroid/view/View;->hasFocusable()Z
|
|
|
|
.line 208
|
|
.line 209
|
|
.line 210
|
|
move-result v19
|
|
|
|
.line 211
|
|
if-eqz v19, :cond_12
|
|
|
|
.line 212
|
|
.line 213
|
|
if-le v10, v9, :cond_f
|
|
|
|
.line 214
|
|
.line 215
|
|
:goto_6
|
|
move/from16 v19, v9
|
|
|
|
.line 216
|
|
.line 217
|
|
goto :goto_9
|
|
|
|
.line 218
|
|
:cond_f
|
|
if-ne v10, v9, :cond_11
|
|
|
|
.line 219
|
|
.line 220
|
|
if-le v2, v15, :cond_10
|
|
|
|
.line 221
|
|
.line 222
|
|
const/4 v10, 0x1
|
|
|
|
.line 223
|
|
goto :goto_7
|
|
|
|
.line 224
|
|
:cond_10
|
|
const/4 v10, 0x0
|
|
|
|
.line 225
|
|
:goto_7
|
|
if-ne v13, v10, :cond_11
|
|
|
|
.line 226
|
|
.line 227
|
|
goto :goto_6
|
|
|
|
.line 228
|
|
:cond_11
|
|
move/from16 v19, v9
|
|
|
|
.line 229
|
|
.line 230
|
|
goto :goto_a
|
|
|
|
.line 231
|
|
:cond_12
|
|
if-nez v16, :cond_11
|
|
|
|
.line 232
|
|
.line 233
|
|
move/from16 v19, v9
|
|
|
|
.line 234
|
|
.line 235
|
|
iget-object v9, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->c:Landroidx/recyclerview/widget/ViewBoundsCheck;
|
|
|
|
.line 236
|
|
.line 237
|
|
invoke-virtual {v9, v1}, Landroidx/recyclerview/widget/ViewBoundsCheck;->b(Landroid/view/View;)Z
|
|
|
|
.line 238
|
|
.line 239
|
|
.line 240
|
|
move-result v9
|
|
|
|
.line 241
|
|
if-eqz v9, :cond_13
|
|
|
|
.line 242
|
|
.line 243
|
|
iget-object v9, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->d:Landroidx/recyclerview/widget/ViewBoundsCheck;
|
|
|
|
.line 244
|
|
.line 245
|
|
invoke-virtual {v9, v1}, Landroidx/recyclerview/widget/ViewBoundsCheck;->b(Landroid/view/View;)Z
|
|
|
|
.line 246
|
|
.line 247
|
|
.line 248
|
|
move-result v9
|
|
|
|
.line 249
|
|
if-eqz v9, :cond_13
|
|
|
|
.line 250
|
|
.line 251
|
|
goto :goto_a
|
|
|
|
.line 252
|
|
:cond_13
|
|
if-le v10, v4, :cond_14
|
|
|
|
.line 253
|
|
.line 254
|
|
goto :goto_9
|
|
|
|
.line 255
|
|
:cond_14
|
|
if-ne v10, v4, :cond_17
|
|
|
|
.line 256
|
|
.line 257
|
|
if-le v2, v8, :cond_15
|
|
|
|
.line 258
|
|
.line 259
|
|
const/4 v9, 0x1
|
|
|
|
.line 260
|
|
goto :goto_8
|
|
|
|
.line 261
|
|
:cond_15
|
|
const/4 v9, 0x0
|
|
|
|
.line 262
|
|
:goto_8
|
|
if-ne v13, v9, :cond_17
|
|
|
|
.line 263
|
|
.line 264
|
|
:goto_9
|
|
invoke-virtual {v1}, Landroid/view/View;->hasFocusable()Z
|
|
|
|
.line 265
|
|
.line 266
|
|
.line 267
|
|
move-result v9
|
|
|
|
.line 268
|
|
if-eqz v9, :cond_16
|
|
|
|
.line 269
|
|
.line 270
|
|
iget v5, v5, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->e:I
|
|
|
|
.line 271
|
|
.line 272
|
|
invoke-static {v3, v6}, Ljava/lang/Math;->min(II)I
|
|
|
|
.line 273
|
|
.line 274
|
|
.line 275
|
|
move-result v3
|
|
|
|
.line 276
|
|
invoke-static {v2, v7}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 277
|
|
.line 278
|
|
.line 279
|
|
move-result v2
|
|
|
|
.line 280
|
|
sub-int v9, v3, v2
|
|
|
|
.line 281
|
|
.line 282
|
|
move-object/from16 v16, v1
|
|
|
|
.line 283
|
|
.line 284
|
|
move v15, v5
|
|
|
|
.line 285
|
|
move-object/from16 v5, v17
|
|
|
|
.line 286
|
|
.line 287
|
|
goto :goto_b
|
|
|
|
.line 288
|
|
:cond_16
|
|
iget v4, v5, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->e:I
|
|
|
|
.line 289
|
|
.line 290
|
|
invoke-static {v3, v6}, Ljava/lang/Math;->min(II)I
|
|
|
|
.line 291
|
|
.line 292
|
|
.line 293
|
|
move-result v3
|
|
|
|
.line 294
|
|
invoke-static {v2, v7}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 295
|
|
.line 296
|
|
.line 297
|
|
move-result v2
|
|
|
|
.line 298
|
|
sub-int v2, v3, v2
|
|
|
|
.line 299
|
|
.line 300
|
|
move-object v5, v1
|
|
|
|
.line 301
|
|
move v8, v4
|
|
|
|
.line 302
|
|
move/from16 v9, v19
|
|
|
|
.line 303
|
|
.line 304
|
|
move v4, v2
|
|
|
|
.line 305
|
|
goto :goto_b
|
|
|
|
.line 306
|
|
:cond_17
|
|
:goto_a
|
|
move-object/from16 v5, v17
|
|
|
|
.line 307
|
|
.line 308
|
|
move/from16 v9, v19
|
|
|
|
.line 309
|
|
.line 310
|
|
:goto_b
|
|
add-int/2addr v11, v12
|
|
|
|
.line 311
|
|
move-object/from16 v1, p3
|
|
|
|
.line 312
|
|
.line 313
|
|
move-object/from16 v2, p4
|
|
|
|
.line 314
|
|
.line 315
|
|
move-object/from16 v3, v18
|
|
|
|
.line 316
|
|
.line 317
|
|
move/from16 v10, v21
|
|
|
|
.line 318
|
|
.line 319
|
|
goto/16 :goto_5
|
|
|
|
.line 320
|
|
.line 321
|
|
:cond_18
|
|
:goto_c
|
|
if-eqz v16, :cond_19
|
|
|
|
.line 322
|
|
.line 323
|
|
return-object v16
|
|
|
|
.line 324
|
|
:cond_19
|
|
return-object v17
|
|
.end method
|
|
|
|
.method public final b0(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-super {p0, p1, p2, p3}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->b0(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
const-class p1, Landroid/widget/GridView;
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object p1
|
|
|
|
.line 10
|
|
invoke-virtual {p3, p1}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->k(Ljava/lang/CharSequence;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
return-void
|
|
.end method
|
|
|
|
.method public final d0(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Landroid/view/View;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-virtual {p3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
instance-of v1, v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-nez v1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {p0, p3, p4}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->c0(Landroid/view/View;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
return-void
|
|
|
|
.line 13
|
|
:cond_0
|
|
check-cast v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;
|
|
|
|
.line 14
|
|
.line 15
|
|
iget-object p3, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->a:Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-virtual {p3}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->d()I
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result p3
|
|
|
|
.line 21
|
|
invoke-virtual {p0, p3, p1, p2}, Landroidx/recyclerview/widget/GridLayoutManager;->t1(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result p1
|
|
|
|
.line 25
|
|
iget p2, p0, Landroidx/recyclerview/widget/LinearLayoutManager;->p:I
|
|
|
|
.line 26
|
|
.line 27
|
|
const/4 p3, 0x0
|
|
|
|
.line 28
|
|
const/4 v1, 0x1
|
|
|
|
.line 29
|
|
if-nez p2, :cond_1
|
|
|
|
.line 30
|
|
.line 31
|
|
iget p2, v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->e:I
|
|
|
|
.line 32
|
|
.line 33
|
|
iget v0, v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->f:I
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-static {p3, p2, v0, p1, v1}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat$CollectionItemInfoCompat;->a(ZIIII)Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat$CollectionItemInfoCompat;
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result-object p1
|
|
|
|
.line 39
|
|
invoke-virtual {p4, p1}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->m(Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat$CollectionItemInfoCompat;)V
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
return-void
|
|
|
|
.line 43
|
|
:cond_1
|
|
iget p2, v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->e:I
|
|
|
|
.line 44
|
|
.line 45
|
|
iget v0, v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->f:I
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-static {p3, p1, v1, p2, v0}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat$CollectionItemInfoCompat;->a(ZIIII)Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat$CollectionItemInfoCompat;
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
move-result-object p1
|
|
|
|
.line 51
|
|
invoke-virtual {p4, p1}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->m(Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat$CollectionItemInfoCompat;)V
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
return-void
|
|
.end method
|
|
|
|
.method public e0(Landroidx/recyclerview/widget/RecyclerView;II)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p1}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->d()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 7
|
|
.line 8
|
|
iget-object p1, p1, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->b:Landroid/util/SparseIntArray;
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {p1}, Landroid/util/SparseIntArray;->clear()V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
return-void
|
|
.end method
|
|
|
|
.method public final e1(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;Landroidx/recyclerview/widget/LinearLayoutManager$LayoutChunkResult;)V
|
|
.locals 18
|
|
|
|
.line 1
|
|
move-object/from16 v0, p0
|
|
|
|
.line 2
|
|
.line 3
|
|
move-object/from16 v1, p1
|
|
|
|
.line 4
|
|
.line 5
|
|
move-object/from16 v2, p2
|
|
|
|
.line 6
|
|
.line 7
|
|
move-object/from16 v3, p3
|
|
|
|
.line 8
|
|
.line 9
|
|
move-object/from16 v4, p4
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v5, v0, Landroidx/recyclerview/widget/LinearLayoutManager;->r:Landroidx/recyclerview/widget/OrientationHelper;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {v5}, Landroidx/recyclerview/widget/OrientationHelper;->j()I
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result v5
|
|
|
|
.line 17
|
|
const/4 v6, 0x1
|
|
|
|
.line 18
|
|
const/high16 v8, 0x40000000 # 2.0f
|
|
|
|
.line 19
|
|
.line 20
|
|
if-eq v5, v8, :cond_0
|
|
|
|
.line 21
|
|
.line 22
|
|
move v9, v6
|
|
|
|
.line 23
|
|
goto :goto_0
|
|
|
|
.line 24
|
|
:cond_0
|
|
const/4 v9, 0x0
|
|
|
|
.line 25
|
|
:goto_0
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->x()I
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result v10
|
|
|
|
.line 29
|
|
if-lez v10, :cond_1
|
|
|
|
.line 30
|
|
.line 31
|
|
iget-object v10, v0, Landroidx/recyclerview/widget/GridLayoutManager;->G:[I
|
|
|
|
.line 32
|
|
.line 33
|
|
iget v11, v0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 34
|
|
.line 35
|
|
aget v10, v10, v11
|
|
|
|
.line 36
|
|
.line 37
|
|
goto :goto_1
|
|
|
|
.line 38
|
|
:cond_1
|
|
const/4 v10, 0x0
|
|
|
|
.line 39
|
|
:goto_1
|
|
if-eqz v9, :cond_2
|
|
|
|
.line 40
|
|
.line 41
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/GridLayoutManager;->y1()V
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
:cond_2
|
|
iget v11, v3, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->e:I
|
|
|
|
.line 45
|
|
.line 46
|
|
if-ne v11, v6, :cond_3
|
|
|
|
.line 47
|
|
.line 48
|
|
move v11, v6
|
|
|
|
.line 49
|
|
goto :goto_2
|
|
|
|
.line 50
|
|
:cond_3
|
|
const/4 v11, 0x0
|
|
|
|
.line 51
|
|
:goto_2
|
|
iget v12, v0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 52
|
|
.line 53
|
|
if-nez v11, :cond_4
|
|
|
|
.line 54
|
|
.line 55
|
|
iget v12, v3, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->d:I
|
|
|
|
.line 56
|
|
.line 57
|
|
invoke-virtual {v0, v12, v1, v2}, Landroidx/recyclerview/widget/GridLayoutManager;->u1(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
move-result v12
|
|
|
|
.line 61
|
|
iget v13, v3, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->d:I
|
|
|
|
.line 62
|
|
.line 63
|
|
invoke-virtual {v0, v13, v1, v2}, Landroidx/recyclerview/widget/GridLayoutManager;->v1(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 64
|
|
.line 65
|
|
.line 66
|
|
move-result v13
|
|
|
|
.line 67
|
|
add-int/2addr v12, v13
|
|
|
|
.line 68
|
|
:cond_4
|
|
const/4 v13, 0x0
|
|
|
|
.line 69
|
|
:goto_3
|
|
iget v14, v0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 70
|
|
.line 71
|
|
if-ge v13, v14, :cond_8
|
|
|
|
.line 72
|
|
.line 73
|
|
iget v14, v3, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->d:I
|
|
|
|
.line 74
|
|
.line 75
|
|
if-ltz v14, :cond_8
|
|
|
|
.line 76
|
|
.line 77
|
|
invoke-virtual {v2}, Landroidx/recyclerview/widget/RecyclerView$State;->b()I
|
|
|
|
.line 78
|
|
.line 79
|
|
.line 80
|
|
move-result v15
|
|
|
|
.line 81
|
|
if-ge v14, v15, :cond_8
|
|
|
|
.line 82
|
|
.line 83
|
|
if-lez v12, :cond_8
|
|
|
|
.line 84
|
|
.line 85
|
|
iget v14, v3, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->d:I
|
|
|
|
.line 86
|
|
.line 87
|
|
invoke-virtual {v0, v14, v1, v2}, Landroidx/recyclerview/widget/GridLayoutManager;->v1(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 88
|
|
.line 89
|
|
.line 90
|
|
move-result v15
|
|
|
|
.line 91
|
|
iget v8, v0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 92
|
|
.line 93
|
|
if-gt v15, v8, :cond_7
|
|
|
|
.line 94
|
|
.line 95
|
|
sub-int/2addr v12, v15
|
|
|
|
.line 96
|
|
if-gez v12, :cond_5
|
|
|
|
.line 97
|
|
.line 98
|
|
goto :goto_4
|
|
|
|
.line 99
|
|
:cond_5
|
|
invoke-virtual {v3, v1}, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->b(Landroidx/recyclerview/widget/RecyclerView$Recycler;)Landroid/view/View;
|
|
|
|
.line 100
|
|
.line 101
|
|
.line 102
|
|
move-result-object v8
|
|
|
|
.line 103
|
|
if-nez v8, :cond_6
|
|
|
|
.line 104
|
|
.line 105
|
|
goto :goto_4
|
|
|
|
.line 106
|
|
:cond_6
|
|
iget-object v14, v0, Landroidx/recyclerview/widget/GridLayoutManager;->H:[Landroid/view/View;
|
|
|
|
.line 107
|
|
.line 108
|
|
aput-object v8, v14, v13
|
|
|
|
.line 109
|
|
.line 110
|
|
add-int/lit8 v13, v13, 0x1
|
|
|
|
.line 111
|
|
.line 112
|
|
const/high16 v8, 0x40000000 # 2.0f
|
|
|
|
.line 113
|
|
.line 114
|
|
goto :goto_3
|
|
|
|
.line 115
|
|
:cond_7
|
|
new-instance v1, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 116
|
|
.line 117
|
|
const-string v2, " requires "
|
|
|
|
.line 118
|
|
.line 119
|
|
const-string v3, " spans but GridLayoutManager has only "
|
|
|
|
.line 120
|
|
.line 121
|
|
const-string v4, "Item at position "
|
|
|
|
.line 122
|
|
.line 123
|
|
invoke-static {v4, v14, v15, v2, v3}, Landroid/support/v4/media/a;->u(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 124
|
|
.line 125
|
|
.line 126
|
|
move-result-object v2
|
|
|
|
.line 127
|
|
iget v3, v0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 128
|
|
.line 129
|
|
const-string v4, " spans."
|
|
|
|
.line 130
|
|
.line 131
|
|
invoke-static {v3, v4, v2}, Landroid/support/v4/media/a;->g(ILjava/lang/String;Ljava/lang/StringBuilder;)Ljava/lang/String;
|
|
|
|
.line 132
|
|
.line 133
|
|
.line 134
|
|
move-result-object v2
|
|
|
|
.line 135
|
|
invoke-direct {v1, v2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 136
|
|
.line 137
|
|
.line 138
|
|
throw v1
|
|
|
|
.line 139
|
|
:cond_8
|
|
:goto_4
|
|
if-nez v13, :cond_9
|
|
|
|
.line 140
|
|
.line 141
|
|
iput-boolean v6, v4, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutChunkResult;->b:Z
|
|
|
|
.line 142
|
|
.line 143
|
|
return-void
|
|
|
|
.line 144
|
|
:cond_9
|
|
if-eqz v11, :cond_a
|
|
|
|
.line 145
|
|
.line 146
|
|
move v15, v6
|
|
|
|
.line 147
|
|
move v14, v13
|
|
|
|
.line 148
|
|
const/4 v12, 0x0
|
|
|
|
.line 149
|
|
goto :goto_5
|
|
|
|
.line 150
|
|
:cond_a
|
|
add-int/lit8 v12, v13, -0x1
|
|
|
|
.line 151
|
|
.line 152
|
|
const/4 v14, -0x1
|
|
|
|
.line 153
|
|
const/4 v15, -0x1
|
|
|
|
.line 154
|
|
:goto_5
|
|
const/4 v6, 0x0
|
|
|
|
.line 155
|
|
:goto_6
|
|
if-eq v12, v14, :cond_b
|
|
|
|
.line 156
|
|
.line 157
|
|
iget-object v7, v0, Landroidx/recyclerview/widget/GridLayoutManager;->H:[Landroid/view/View;
|
|
|
|
.line 158
|
|
.line 159
|
|
aget-object v7, v7, v12
|
|
|
|
.line 160
|
|
.line 161
|
|
invoke-virtual {v7}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 162
|
|
.line 163
|
|
.line 164
|
|
move-result-object v16
|
|
|
|
.line 165
|
|
move-object/from16 v8, v16
|
|
|
|
.line 166
|
|
.line 167
|
|
check-cast v8, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;
|
|
|
|
.line 168
|
|
.line 169
|
|
invoke-static {v7}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->N(Landroid/view/View;)I
|
|
|
|
.line 170
|
|
.line 171
|
|
.line 172
|
|
move-result v7
|
|
|
|
.line 173
|
|
invoke-virtual {v0, v7, v1, v2}, Landroidx/recyclerview/widget/GridLayoutManager;->v1(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 174
|
|
.line 175
|
|
.line 176
|
|
move-result v7
|
|
|
|
.line 177
|
|
iput v7, v8, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->f:I
|
|
|
|
.line 178
|
|
.line 179
|
|
iput v6, v8, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->e:I
|
|
|
|
.line 180
|
|
.line 181
|
|
add-int/2addr v6, v7
|
|
|
|
.line 182
|
|
add-int/2addr v12, v15
|
|
|
|
.line 183
|
|
goto :goto_6
|
|
|
|
.line 184
|
|
:cond_b
|
|
const/4 v1, 0x0
|
|
|
|
.line 185
|
|
const/4 v2, 0x0
|
|
|
|
.line 186
|
|
const/4 v6, 0x0
|
|
|
|
.line 187
|
|
:goto_7
|
|
if-ge v2, v13, :cond_11
|
|
|
|
.line 188
|
|
.line 189
|
|
iget-object v7, v0, Landroidx/recyclerview/widget/GridLayoutManager;->H:[Landroid/view/View;
|
|
|
|
.line 190
|
|
.line 191
|
|
aget-object v7, v7, v2
|
|
|
|
.line 192
|
|
.line 193
|
|
iget-object v8, v3, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->k:Ljava/util/List;
|
|
|
|
.line 194
|
|
.line 195
|
|
if-nez v8, :cond_d
|
|
|
|
.line 196
|
|
.line 197
|
|
if-eqz v11, :cond_c
|
|
|
|
.line 198
|
|
.line 199
|
|
const/4 v8, -0x1
|
|
|
|
.line 200
|
|
const/4 v12, 0x0
|
|
|
|
.line 201
|
|
invoke-virtual {v0, v8, v7, v12}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->c(ILandroid/view/View;Z)V
|
|
|
|
.line 202
|
|
.line 203
|
|
.line 204
|
|
goto :goto_8
|
|
|
|
.line 205
|
|
:cond_c
|
|
const/4 v8, -0x1
|
|
|
|
.line 206
|
|
const/4 v12, 0x0
|
|
|
|
.line 207
|
|
invoke-virtual {v0, v12, v7, v12}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->c(ILandroid/view/View;Z)V
|
|
|
|
.line 208
|
|
.line 209
|
|
.line 210
|
|
goto :goto_8
|
|
|
|
.line 211
|
|
:cond_d
|
|
const/4 v8, -0x1
|
|
|
|
.line 212
|
|
const/4 v12, 0x0
|
|
|
|
.line 213
|
|
if-eqz v11, :cond_e
|
|
|
|
.line 214
|
|
.line 215
|
|
const/4 v14, 0x1
|
|
|
|
.line 216
|
|
invoke-virtual {v0, v8, v7, v14}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->c(ILandroid/view/View;Z)V
|
|
|
|
.line 217
|
|
.line 218
|
|
.line 219
|
|
goto :goto_8
|
|
|
|
.line 220
|
|
:cond_e
|
|
const/4 v14, 0x1
|
|
|
|
.line 221
|
|
invoke-virtual {v0, v12, v7, v14}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->c(ILandroid/view/View;Z)V
|
|
|
|
.line 222
|
|
.line 223
|
|
.line 224
|
|
:goto_8
|
|
iget-object v8, v0, Landroidx/recyclerview/widget/GridLayoutManager;->L:Landroid/graphics/Rect;
|
|
|
|
.line 225
|
|
.line 226
|
|
invoke-virtual {v0, v8, v7}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->e(Landroid/graphics/Rect;Landroid/view/View;)V
|
|
|
|
.line 227
|
|
.line 228
|
|
.line 229
|
|
invoke-virtual {v0, v5, v7, v12}, Landroidx/recyclerview/widget/GridLayoutManager;->w1(ILandroid/view/View;Z)V
|
|
|
|
.line 230
|
|
.line 231
|
|
.line 232
|
|
iget-object v8, v0, Landroidx/recyclerview/widget/LinearLayoutManager;->r:Landroidx/recyclerview/widget/OrientationHelper;
|
|
|
|
.line 233
|
|
.line 234
|
|
invoke-virtual {v8, v7}, Landroidx/recyclerview/widget/OrientationHelper;->c(Landroid/view/View;)I
|
|
|
|
.line 235
|
|
.line 236
|
|
.line 237
|
|
move-result v8
|
|
|
|
.line 238
|
|
if-le v8, v6, :cond_f
|
|
|
|
.line 239
|
|
.line 240
|
|
move v6, v8
|
|
|
|
.line 241
|
|
:cond_f
|
|
invoke-virtual {v7}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 242
|
|
.line 243
|
|
.line 244
|
|
move-result-object v8
|
|
|
|
.line 245
|
|
check-cast v8, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;
|
|
|
|
.line 246
|
|
.line 247
|
|
iget-object v12, v0, Landroidx/recyclerview/widget/LinearLayoutManager;->r:Landroidx/recyclerview/widget/OrientationHelper;
|
|
|
|
.line 248
|
|
.line 249
|
|
invoke-virtual {v12, v7}, Landroidx/recyclerview/widget/OrientationHelper;->d(Landroid/view/View;)I
|
|
|
|
.line 250
|
|
.line 251
|
|
.line 252
|
|
move-result v7
|
|
|
|
.line 253
|
|
int-to-float v7, v7
|
|
|
|
.line 254
|
|
const/high16 v12, 0x3f800000 # 1.0f
|
|
|
|
.line 255
|
|
.line 256
|
|
mul-float/2addr v7, v12
|
|
|
|
.line 257
|
|
iget v8, v8, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->f:I
|
|
|
|
.line 258
|
|
.line 259
|
|
int-to-float v8, v8
|
|
|
|
.line 260
|
|
div-float/2addr v7, v8
|
|
|
|
.line 261
|
|
cmpl-float v8, v7, v1
|
|
|
|
.line 262
|
|
.line 263
|
|
if-lez v8, :cond_10
|
|
|
|
.line 264
|
|
.line 265
|
|
move v1, v7
|
|
|
|
.line 266
|
|
:cond_10
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
.line 267
|
|
.line 268
|
|
goto :goto_7
|
|
|
|
.line 269
|
|
:cond_11
|
|
if-eqz v9, :cond_13
|
|
|
|
.line 270
|
|
.line 271
|
|
iget v2, v0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 272
|
|
.line 273
|
|
int-to-float v2, v2
|
|
|
|
.line 274
|
|
mul-float/2addr v1, v2
|
|
|
|
.line 275
|
|
invoke-static {v1}, Ljava/lang/Math;->round(F)I
|
|
|
|
.line 276
|
|
.line 277
|
|
.line 278
|
|
move-result v1
|
|
|
|
.line 279
|
|
invoke-static {v1, v10}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 280
|
|
.line 281
|
|
.line 282
|
|
move-result v1
|
|
|
|
.line 283
|
|
invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/GridLayoutManager;->q1(I)V
|
|
|
|
.line 284
|
|
.line 285
|
|
.line 286
|
|
const/4 v6, 0x0
|
|
|
|
.line 287
|
|
const/4 v12, 0x0
|
|
|
|
.line 288
|
|
:goto_9
|
|
if-ge v12, v13, :cond_13
|
|
|
|
.line 289
|
|
.line 290
|
|
iget-object v1, v0, Landroidx/recyclerview/widget/GridLayoutManager;->H:[Landroid/view/View;
|
|
|
|
.line 291
|
|
.line 292
|
|
aget-object v1, v1, v12
|
|
|
|
.line 293
|
|
.line 294
|
|
const/high16 v2, 0x40000000 # 2.0f
|
|
|
|
.line 295
|
|
.line 296
|
|
const/4 v14, 0x1
|
|
|
|
.line 297
|
|
invoke-virtual {v0, v2, v1, v14}, Landroidx/recyclerview/widget/GridLayoutManager;->w1(ILandroid/view/View;Z)V
|
|
|
|
.line 298
|
|
.line 299
|
|
.line 300
|
|
iget-object v2, v0, Landroidx/recyclerview/widget/LinearLayoutManager;->r:Landroidx/recyclerview/widget/OrientationHelper;
|
|
|
|
.line 301
|
|
.line 302
|
|
invoke-virtual {v2, v1}, Landroidx/recyclerview/widget/OrientationHelper;->c(Landroid/view/View;)I
|
|
|
|
.line 303
|
|
.line 304
|
|
.line 305
|
|
move-result v1
|
|
|
|
.line 306
|
|
if-le v1, v6, :cond_12
|
|
|
|
.line 307
|
|
.line 308
|
|
move v6, v1
|
|
|
|
.line 309
|
|
:cond_12
|
|
add-int/lit8 v12, v12, 0x1
|
|
|
|
.line 310
|
|
.line 311
|
|
goto :goto_9
|
|
|
|
.line 312
|
|
:cond_13
|
|
const/4 v12, 0x0
|
|
|
|
.line 313
|
|
:goto_a
|
|
if-ge v12, v13, :cond_17
|
|
|
|
.line 314
|
|
.line 315
|
|
iget-object v1, v0, Landroidx/recyclerview/widget/GridLayoutManager;->H:[Landroid/view/View;
|
|
|
|
.line 316
|
|
.line 317
|
|
aget-object v1, v1, v12
|
|
|
|
.line 318
|
|
.line 319
|
|
iget-object v2, v0, Landroidx/recyclerview/widget/LinearLayoutManager;->r:Landroidx/recyclerview/widget/OrientationHelper;
|
|
|
|
.line 320
|
|
.line 321
|
|
invoke-virtual {v2, v1}, Landroidx/recyclerview/widget/OrientationHelper;->c(Landroid/view/View;)I
|
|
|
|
.line 322
|
|
.line 323
|
|
.line 324
|
|
move-result v2
|
|
|
|
.line 325
|
|
if-eq v2, v6, :cond_15
|
|
|
|
.line 326
|
|
.line 327
|
|
invoke-virtual {v1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 328
|
|
.line 329
|
|
.line 330
|
|
move-result-object v2
|
|
|
|
.line 331
|
|
check-cast v2, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;
|
|
|
|
.line 332
|
|
.line 333
|
|
iget-object v5, v2, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->b:Landroid/graphics/Rect;
|
|
|
|
.line 334
|
|
.line 335
|
|
iget v7, v5, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 336
|
|
.line 337
|
|
iget v8, v5, Landroid/graphics/Rect;->bottom:I
|
|
|
|
.line 338
|
|
.line 339
|
|
add-int/2addr v7, v8
|
|
|
|
.line 340
|
|
iget v8, v2, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
|
|
|
|
.line 341
|
|
.line 342
|
|
add-int/2addr v7, v8
|
|
|
|
.line 343
|
|
iget v8, v2, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
|
|
|
|
.line 344
|
|
.line 345
|
|
add-int/2addr v7, v8
|
|
|
|
.line 346
|
|
iget v8, v5, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 347
|
|
.line 348
|
|
iget v5, v5, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 349
|
|
.line 350
|
|
add-int/2addr v8, v5
|
|
|
|
.line 351
|
|
iget v5, v2, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
|
|
|
|
.line 352
|
|
.line 353
|
|
add-int/2addr v8, v5
|
|
|
|
.line 354
|
|
iget v5, v2, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
|
|
|
|
.line 355
|
|
.line 356
|
|
add-int/2addr v8, v5
|
|
|
|
.line 357
|
|
iget v5, v2, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->e:I
|
|
|
|
.line 358
|
|
.line 359
|
|
iget v9, v2, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->f:I
|
|
|
|
.line 360
|
|
.line 361
|
|
invoke-virtual {v0, v5, v9}, Landroidx/recyclerview/widget/GridLayoutManager;->s1(II)I
|
|
|
|
.line 362
|
|
.line 363
|
|
.line 364
|
|
move-result v5
|
|
|
|
.line 365
|
|
iget v9, v0, Landroidx/recyclerview/widget/LinearLayoutManager;->p:I
|
|
|
|
.line 366
|
|
.line 367
|
|
const/4 v14, 0x1
|
|
|
|
.line 368
|
|
if-ne v9, v14, :cond_14
|
|
|
|
.line 369
|
|
.line 370
|
|
iget v2, v2, Landroid/view/ViewGroup$MarginLayoutParams;->width:I
|
|
|
|
.line 371
|
|
.line 372
|
|
const/4 v9, 0x0
|
|
|
|
.line 373
|
|
const/high16 v10, 0x40000000 # 2.0f
|
|
|
|
.line 374
|
|
.line 375
|
|
invoke-static {v9, v5, v10, v8, v2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->y(ZIIII)I
|
|
|
|
.line 376
|
|
.line 377
|
|
.line 378
|
|
move-result v2
|
|
|
|
.line 379
|
|
sub-int v5, v6, v7
|
|
|
|
.line 380
|
|
.line 381
|
|
invoke-static {v5, v10}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
.line 382
|
|
.line 383
|
|
.line 384
|
|
move-result v5
|
|
|
|
.line 385
|
|
goto :goto_b
|
|
|
|
.line 386
|
|
:cond_14
|
|
const/4 v9, 0x0
|
|
|
|
.line 387
|
|
const/high16 v10, 0x40000000 # 2.0f
|
|
|
|
.line 388
|
|
.line 389
|
|
sub-int v8, v6, v8
|
|
|
|
.line 390
|
|
.line 391
|
|
invoke-static {v8, v10}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
.line 392
|
|
.line 393
|
|
.line 394
|
|
move-result v8
|
|
|
|
.line 395
|
|
iget v2, v2, Landroid/view/ViewGroup$MarginLayoutParams;->height:I
|
|
|
|
.line 396
|
|
.line 397
|
|
invoke-static {v9, v5, v10, v7, v2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->y(ZIIII)I
|
|
|
|
.line 398
|
|
.line 399
|
|
.line 400
|
|
move-result v5
|
|
|
|
.line 401
|
|
move v2, v8
|
|
|
|
.line 402
|
|
:goto_b
|
|
invoke-virtual {v1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 403
|
|
.line 404
|
|
.line 405
|
|
move-result-object v7
|
|
|
|
.line 406
|
|
check-cast v7, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
.line 407
|
|
.line 408
|
|
invoke-virtual {v0, v1, v2, v5, v7}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->G0(Landroid/view/View;IILandroidx/recyclerview/widget/RecyclerView$LayoutParams;)Z
|
|
|
|
.line 409
|
|
.line 410
|
|
.line 411
|
|
move-result v7
|
|
|
|
.line 412
|
|
if-eqz v7, :cond_16
|
|
|
|
.line 413
|
|
.line 414
|
|
invoke-virtual {v1, v2, v5}, Landroid/view/View;->measure(II)V
|
|
|
|
.line 415
|
|
.line 416
|
|
.line 417
|
|
goto :goto_c
|
|
|
|
.line 418
|
|
:cond_15
|
|
const/4 v9, 0x0
|
|
|
|
.line 419
|
|
const/high16 v10, 0x40000000 # 2.0f
|
|
|
|
.line 420
|
|
.line 421
|
|
:cond_16
|
|
:goto_c
|
|
add-int/lit8 v12, v12, 0x1
|
|
|
|
.line 422
|
|
.line 423
|
|
goto :goto_a
|
|
|
|
.line 424
|
|
:cond_17
|
|
const/4 v9, 0x0
|
|
|
|
.line 425
|
|
iput v6, v4, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutChunkResult;->a:I
|
|
|
|
.line 426
|
|
.line 427
|
|
iget v1, v0, Landroidx/recyclerview/widget/LinearLayoutManager;->p:I
|
|
|
|
.line 428
|
|
.line 429
|
|
const/4 v14, 0x1
|
|
|
|
.line 430
|
|
if-ne v1, v14, :cond_19
|
|
|
|
.line 431
|
|
.line 432
|
|
iget v1, v3, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->f:I
|
|
|
|
.line 433
|
|
.line 434
|
|
const/4 v8, -0x1
|
|
|
|
.line 435
|
|
if-ne v1, v8, :cond_18
|
|
|
|
.line 436
|
|
.line 437
|
|
iget v12, v3, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->b:I
|
|
|
|
.line 438
|
|
.line 439
|
|
sub-int v1, v12, v6
|
|
|
|
.line 440
|
|
.line 441
|
|
move v3, v1
|
|
|
|
.line 442
|
|
move v1, v9
|
|
|
|
.line 443
|
|
move v2, v1
|
|
|
|
.line 444
|
|
goto :goto_e
|
|
|
|
.line 445
|
|
:cond_18
|
|
iget v12, v3, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->b:I
|
|
|
|
.line 446
|
|
.line 447
|
|
add-int v1, v12, v6
|
|
|
|
.line 448
|
|
.line 449
|
|
move v2, v9
|
|
|
|
.line 450
|
|
move v3, v12
|
|
|
|
.line 451
|
|
move v12, v1
|
|
|
|
.line 452
|
|
move v1, v2
|
|
|
|
.line 453
|
|
goto :goto_e
|
|
|
|
.line 454
|
|
:cond_19
|
|
const/4 v8, -0x1
|
|
|
|
.line 455
|
|
iget v1, v3, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->f:I
|
|
|
|
.line 456
|
|
.line 457
|
|
if-ne v1, v8, :cond_1a
|
|
|
|
.line 458
|
|
.line 459
|
|
iget v12, v3, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->b:I
|
|
|
|
.line 460
|
|
.line 461
|
|
sub-int v1, v12, v6
|
|
|
|
.line 462
|
|
.line 463
|
|
move v3, v9
|
|
|
|
.line 464
|
|
move v2, v12
|
|
|
|
.line 465
|
|
:goto_d
|
|
move v12, v3
|
|
|
|
.line 466
|
|
goto :goto_e
|
|
|
|
.line 467
|
|
:cond_1a
|
|
iget v12, v3, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutState;->b:I
|
|
|
|
.line 468
|
|
.line 469
|
|
add-int v1, v12, v6
|
|
|
|
.line 470
|
|
.line 471
|
|
move v2, v1
|
|
|
|
.line 472
|
|
move v3, v9
|
|
|
|
.line 473
|
|
move v1, v12
|
|
|
|
.line 474
|
|
goto :goto_d
|
|
|
|
.line 475
|
|
:goto_e
|
|
move v7, v9
|
|
|
|
.line 476
|
|
:goto_f
|
|
if-ge v7, v13, :cond_1f
|
|
|
|
.line 477
|
|
.line 478
|
|
iget-object v5, v0, Landroidx/recyclerview/widget/GridLayoutManager;->H:[Landroid/view/View;
|
|
|
|
.line 479
|
|
.line 480
|
|
aget-object v5, v5, v7
|
|
|
|
.line 481
|
|
.line 482
|
|
invoke-virtual {v5}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 483
|
|
.line 484
|
|
.line 485
|
|
move-result-object v6
|
|
|
|
.line 486
|
|
check-cast v6, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;
|
|
|
|
.line 487
|
|
.line 488
|
|
iget v8, v0, Landroidx/recyclerview/widget/LinearLayoutManager;->p:I
|
|
|
|
.line 489
|
|
.line 490
|
|
const/4 v14, 0x1
|
|
|
|
.line 491
|
|
if-ne v8, v14, :cond_1c
|
|
|
|
.line 492
|
|
.line 493
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/LinearLayoutManager;->d1()Z
|
|
|
|
.line 494
|
|
.line 495
|
|
.line 496
|
|
move-result v1
|
|
|
|
.line 497
|
|
if-eqz v1, :cond_1b
|
|
|
|
.line 498
|
|
.line 499
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->K()I
|
|
|
|
.line 500
|
|
.line 501
|
|
.line 502
|
|
move-result v1
|
|
|
|
.line 503
|
|
iget-object v2, v0, Landroidx/recyclerview/widget/GridLayoutManager;->G:[I
|
|
|
|
.line 504
|
|
.line 505
|
|
iget v8, v0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 506
|
|
.line 507
|
|
iget v9, v6, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->e:I
|
|
|
|
.line 508
|
|
.line 509
|
|
sub-int/2addr v8, v9
|
|
|
|
.line 510
|
|
aget v2, v2, v8
|
|
|
|
.line 511
|
|
.line 512
|
|
add-int/2addr v1, v2
|
|
|
|
.line 513
|
|
iget-object v2, v0, Landroidx/recyclerview/widget/LinearLayoutManager;->r:Landroidx/recyclerview/widget/OrientationHelper;
|
|
|
|
.line 514
|
|
.line 515
|
|
invoke-virtual {v2, v5}, Landroidx/recyclerview/widget/OrientationHelper;->d(Landroid/view/View;)I
|
|
|
|
.line 516
|
|
.line 517
|
|
.line 518
|
|
move-result v2
|
|
|
|
.line 519
|
|
sub-int v2, v1, v2
|
|
|
|
.line 520
|
|
.line 521
|
|
move/from16 v17, v2
|
|
|
|
.line 522
|
|
.line 523
|
|
move v2, v1
|
|
|
|
.line 524
|
|
move/from16 v1, v17
|
|
|
|
.line 525
|
|
.line 526
|
|
goto :goto_10
|
|
|
|
.line 527
|
|
:cond_1b
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->K()I
|
|
|
|
.line 528
|
|
.line 529
|
|
.line 530
|
|
move-result v1
|
|
|
|
.line 531
|
|
iget-object v2, v0, Landroidx/recyclerview/widget/GridLayoutManager;->G:[I
|
|
|
|
.line 532
|
|
.line 533
|
|
iget v8, v6, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->e:I
|
|
|
|
.line 534
|
|
.line 535
|
|
aget v2, v2, v8
|
|
|
|
.line 536
|
|
.line 537
|
|
add-int/2addr v1, v2
|
|
|
|
.line 538
|
|
iget-object v2, v0, Landroidx/recyclerview/widget/LinearLayoutManager;->r:Landroidx/recyclerview/widget/OrientationHelper;
|
|
|
|
.line 539
|
|
.line 540
|
|
invoke-virtual {v2, v5}, Landroidx/recyclerview/widget/OrientationHelper;->d(Landroid/view/View;)I
|
|
|
|
.line 541
|
|
.line 542
|
|
.line 543
|
|
move-result v2
|
|
|
|
.line 544
|
|
add-int/2addr v2, v1
|
|
|
|
.line 545
|
|
goto :goto_10
|
|
|
|
.line 546
|
|
:cond_1c
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->M()I
|
|
|
|
.line 547
|
|
.line 548
|
|
.line 549
|
|
move-result v3
|
|
|
|
.line 550
|
|
iget-object v8, v0, Landroidx/recyclerview/widget/GridLayoutManager;->G:[I
|
|
|
|
.line 551
|
|
.line 552
|
|
iget v9, v6, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->e:I
|
|
|
|
.line 553
|
|
.line 554
|
|
aget v8, v8, v9
|
|
|
|
.line 555
|
|
.line 556
|
|
add-int/2addr v3, v8
|
|
|
|
.line 557
|
|
iget-object v8, v0, Landroidx/recyclerview/widget/LinearLayoutManager;->r:Landroidx/recyclerview/widget/OrientationHelper;
|
|
|
|
.line 558
|
|
.line 559
|
|
invoke-virtual {v8, v5}, Landroidx/recyclerview/widget/OrientationHelper;->d(Landroid/view/View;)I
|
|
|
|
.line 560
|
|
.line 561
|
|
.line 562
|
|
move-result v8
|
|
|
|
.line 563
|
|
add-int/2addr v8, v3
|
|
|
|
.line 564
|
|
move v12, v8
|
|
|
|
.line 565
|
|
:goto_10
|
|
invoke-static {v5, v1, v3, v2, v12}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->T(Landroid/view/View;IIII)V
|
|
|
|
.line 566
|
|
.line 567
|
|
.line 568
|
|
iget-object v8, v6, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->a:Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
.line 569
|
|
.line 570
|
|
invoke-virtual {v8}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->j()Z
|
|
|
|
.line 571
|
|
.line 572
|
|
.line 573
|
|
move-result v8
|
|
|
|
.line 574
|
|
if-nez v8, :cond_1d
|
|
|
|
.line 575
|
|
.line 576
|
|
iget-object v6, v6, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->a:Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
.line 577
|
|
.line 578
|
|
invoke-virtual {v6}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->m()Z
|
|
|
|
.line 579
|
|
.line 580
|
|
.line 581
|
|
move-result v6
|
|
|
|
.line 582
|
|
if-eqz v6, :cond_1e
|
|
|
|
.line 583
|
|
.line 584
|
|
:cond_1d
|
|
const/4 v14, 0x1
|
|
|
|
.line 585
|
|
goto :goto_11
|
|
|
|
.line 586
|
|
:cond_1e
|
|
const/4 v14, 0x1
|
|
|
|
.line 587
|
|
goto :goto_12
|
|
|
|
.line 588
|
|
:goto_11
|
|
iput-boolean v14, v4, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutChunkResult;->c:Z
|
|
|
|
.line 589
|
|
.line 590
|
|
:goto_12
|
|
iget-boolean v6, v4, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutChunkResult;->d:Z
|
|
|
|
.line 591
|
|
.line 592
|
|
invoke-virtual {v5}, Landroid/view/View;->hasFocusable()Z
|
|
|
|
.line 593
|
|
.line 594
|
|
.line 595
|
|
move-result v5
|
|
|
|
.line 596
|
|
or-int/2addr v5, v6
|
|
|
|
.line 597
|
|
iput-boolean v5, v4, Landroidx/recyclerview/widget/LinearLayoutManager$LayoutChunkResult;->d:Z
|
|
|
|
.line 598
|
|
.line 599
|
|
add-int/lit8 v7, v7, 0x1
|
|
|
|
.line 600
|
|
.line 601
|
|
goto :goto_f
|
|
|
|
.line 602
|
|
:cond_1f
|
|
iget-object v1, v0, Landroidx/recyclerview/widget/GridLayoutManager;->H:[Landroid/view/View;
|
|
|
|
.line 603
|
|
.line 604
|
|
const/4 v2, 0x0
|
|
|
|
.line 605
|
|
invoke-static {v1, v2}, Ljava/util/Arrays;->fill([Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
.line 606
|
|
.line 607
|
|
.line 608
|
|
return-void
|
|
.end method
|
|
|
|
.method public final f0()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->d()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 7
|
|
.line 8
|
|
iget-object v0, v0, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->b:Landroid/util/SparseIntArray;
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {v0}, Landroid/util/SparseIntArray;->clear()V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
return-void
|
|
.end method
|
|
|
|
.method public final f1(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;Landroidx/recyclerview/widget/LinearLayoutManager$AnchorInfo;I)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/GridLayoutManager;->y1()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-virtual {p2}, Landroidx/recyclerview/widget/RecyclerView$State;->b()I
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result v0
|
|
|
|
.line 8
|
|
if-lez v0, :cond_3
|
|
|
|
.line 9
|
|
.line 10
|
|
iget-boolean v0, p2, Landroidx/recyclerview/widget/RecyclerView$State;->g:Z
|
|
|
|
.line 11
|
|
.line 12
|
|
if-nez v0, :cond_3
|
|
|
|
.line 13
|
|
.line 14
|
|
const/4 v0, 0x1
|
|
|
|
.line 15
|
|
if-ne p4, v0, :cond_0
|
|
|
|
.line 16
|
|
.line 17
|
|
move p4, v0
|
|
|
|
.line 18
|
|
goto :goto_0
|
|
|
|
.line 19
|
|
:cond_0
|
|
const/4 p4, 0x0
|
|
|
|
.line 20
|
|
:goto_0
|
|
iget v1, p3, Landroidx/recyclerview/widget/LinearLayoutManager$AnchorInfo;->b:I
|
|
|
|
.line 21
|
|
.line 22
|
|
invoke-virtual {p0, v1, p1, p2}, Landroidx/recyclerview/widget/GridLayoutManager;->u1(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result v1
|
|
|
|
.line 26
|
|
if-eqz p4, :cond_1
|
|
|
|
.line 27
|
|
.line 28
|
|
:goto_1
|
|
if-lez v1, :cond_3
|
|
|
|
.line 29
|
|
.line 30
|
|
iget p4, p3, Landroidx/recyclerview/widget/LinearLayoutManager$AnchorInfo;->b:I
|
|
|
|
.line 31
|
|
.line 32
|
|
if-lez p4, :cond_3
|
|
|
|
.line 33
|
|
.line 34
|
|
add-int/lit8 p4, p4, -0x1
|
|
|
|
.line 35
|
|
.line 36
|
|
iput p4, p3, Landroidx/recyclerview/widget/LinearLayoutManager$AnchorInfo;->b:I
|
|
|
|
.line 37
|
|
.line 38
|
|
invoke-virtual {p0, p4, p1, p2}, Landroidx/recyclerview/widget/GridLayoutManager;->u1(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
move-result v1
|
|
|
|
.line 42
|
|
goto :goto_1
|
|
|
|
.line 43
|
|
:cond_1
|
|
invoke-virtual {p2}, Landroidx/recyclerview/widget/RecyclerView$State;->b()I
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
move-result p4
|
|
|
|
.line 47
|
|
sub-int/2addr p4, v0
|
|
|
|
.line 48
|
|
iget v0, p3, Landroidx/recyclerview/widget/LinearLayoutManager$AnchorInfo;->b:I
|
|
|
|
.line 49
|
|
.line 50
|
|
:goto_2
|
|
if-ge v0, p4, :cond_2
|
|
|
|
.line 51
|
|
.line 52
|
|
add-int/lit8 v2, v0, 0x1
|
|
|
|
.line 53
|
|
.line 54
|
|
invoke-virtual {p0, v2, p1, p2}, Landroidx/recyclerview/widget/GridLayoutManager;->u1(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
move-result v3
|
|
|
|
.line 58
|
|
if-le v3, v1, :cond_2
|
|
|
|
.line 59
|
|
.line 60
|
|
move v0, v2
|
|
|
|
.line 61
|
|
move v1, v3
|
|
|
|
.line 62
|
|
goto :goto_2
|
|
|
|
.line 63
|
|
:cond_2
|
|
iput v0, p3, Landroidx/recyclerview/widget/LinearLayoutManager$AnchorInfo;->b:I
|
|
|
|
.line 64
|
|
.line 65
|
|
:cond_3
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/GridLayoutManager;->r1()V
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
return-void
|
|
.end method
|
|
|
|
.method public final g0(II)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p1}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->d()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 7
|
|
.line 8
|
|
iget-object p1, p1, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->b:Landroid/util/SparseIntArray;
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {p1}, Landroid/util/SparseIntArray;->clear()V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
return-void
|
|
.end method
|
|
|
|
.method public final h(Landroidx/recyclerview/widget/RecyclerView$LayoutParams;)Z
|
|
.locals 0
|
|
|
|
.line 1
|
|
instance-of p1, p1, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;
|
|
|
|
.line 2
|
|
.line 3
|
|
return p1
|
|
.end method
|
|
|
|
.method public h0(Landroidx/recyclerview/widget/RecyclerView;II)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p1}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->d()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 7
|
|
.line 8
|
|
iget-object p1, p1, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->b:Landroid/util/SparseIntArray;
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {p1}, Landroid/util/SparseIntArray;->clear()V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
return-void
|
|
.end method
|
|
|
|
.method public final i0(II)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p1}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->d()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 7
|
|
.line 8
|
|
iget-object p1, p1, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->b:Landroid/util/SparseIntArray;
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {p1}, Landroid/util/SparseIntArray;->clear()V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
return-void
|
|
.end method
|
|
|
|
.method public j0(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)V
|
|
.locals 7
|
|
|
|
.line 1
|
|
iget-boolean v0, p2, Landroidx/recyclerview/widget/RecyclerView$State;->g:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->J:Landroid/util/SparseIntArray;
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v2, p0, Landroidx/recyclerview/widget/GridLayoutManager;->I:Landroid/util/SparseIntArray;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->x()I
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result v0
|
|
|
|
.line 13
|
|
const/4 v3, 0x0
|
|
|
|
.line 14
|
|
:goto_0
|
|
if-ge v3, v0, :cond_0
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-virtual {p0, v3}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->w(I)Landroid/view/View;
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result-object v4
|
|
|
|
.line 20
|
|
invoke-virtual {v4}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result-object v4
|
|
|
|
.line 24
|
|
check-cast v4, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;
|
|
|
|
.line 25
|
|
.line 26
|
|
iget-object v5, v4, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->a:Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-virtual {v5}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->d()I
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result v5
|
|
|
|
.line 32
|
|
iget v6, v4, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->f:I
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-virtual {v2, v5, v6}, Landroid/util/SparseIntArray;->put(II)V
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
iget v4, v4, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->e:I
|
|
|
|
.line 38
|
|
.line 39
|
|
invoke-virtual {v1, v5, v4}, Landroid/util/SparseIntArray;->put(II)V
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
.line 43
|
|
.line 44
|
|
goto :goto_0
|
|
|
|
.line 45
|
|
:cond_0
|
|
invoke-super {p0, p1, p2}, Landroidx/recyclerview/widget/LinearLayoutManager;->j0(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)V
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
invoke-virtual {v2}, Landroid/util/SparseIntArray;->clear()V
|
|
|
|
.line 49
|
|
.line 50
|
|
.line 51
|
|
invoke-virtual {v1}, Landroid/util/SparseIntArray;->clear()V
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
return-void
|
|
.end method
|
|
|
|
.method public k0(Landroidx/recyclerview/widget/RecyclerView$State;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroidx/recyclerview/widget/LinearLayoutManager;->k0(Landroidx/recyclerview/widget/RecyclerView$State;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
const/4 p1, 0x0
|
|
|
|
.line 5
|
|
iput-boolean p1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->E:Z
|
|
|
|
.line 6
|
|
.line 7
|
|
return-void
|
|
.end method
|
|
|
|
.method public final m(Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/LinearLayoutManager;->N0(Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result p1
|
|
|
|
.line 5
|
|
return p1
|
|
.end method
|
|
|
|
.method public final m1(Z)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
if-nez p1, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 p1, 0x0
|
|
|
|
.line 4
|
|
invoke-super {p0, p1}, Landroidx/recyclerview/widget/LinearLayoutManager;->m1(Z)V
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
return-void
|
|
|
|
.line 8
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
.line 9
|
|
.line 10
|
|
const-string v0, "GridLayoutManager does not support stack from end. Consider using reverse layout"
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final n(Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/LinearLayoutManager;->O0(Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result p1
|
|
|
|
.line 5
|
|
return p1
|
|
.end method
|
|
|
|
.method public final p(Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/LinearLayoutManager;->N0(Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result p1
|
|
|
|
.line 5
|
|
return p1
|
|
.end method
|
|
|
|
.method public final q(Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/LinearLayoutManager;->O0(Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result p1
|
|
|
|
.line 5
|
|
return p1
|
|
.end method
|
|
|
|
.method public final q1(I)V
|
|
.locals 7
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->G:[I
|
|
|
|
.line 2
|
|
.line 3
|
|
iget v1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v2, 0x1
|
|
|
|
.line 6
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
array-length v3, v0
|
|
|
|
.line 9
|
|
add-int/lit8 v4, v1, 0x1
|
|
|
|
.line 10
|
|
.line 11
|
|
if-ne v3, v4, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
array-length v3, v0
|
|
|
|
.line 14
|
|
sub-int/2addr v3, v2
|
|
|
|
.line 15
|
|
aget v3, v0, v3
|
|
|
|
.line 16
|
|
.line 17
|
|
if-eq v3, p1, :cond_1
|
|
|
|
.line 18
|
|
.line 19
|
|
:cond_0
|
|
add-int/lit8 v0, v1, 0x1
|
|
|
|
.line 20
|
|
.line 21
|
|
new-array v0, v0, [I
|
|
|
|
.line 22
|
|
.line 23
|
|
:cond_1
|
|
const/4 v3, 0x0
|
|
|
|
.line 24
|
|
aput v3, v0, v3
|
|
|
|
.line 25
|
|
.line 26
|
|
div-int v4, p1, v1
|
|
|
|
.line 27
|
|
.line 28
|
|
rem-int/2addr p1, v1
|
|
|
|
.line 29
|
|
move v5, v3
|
|
|
|
.line 30
|
|
:goto_0
|
|
if-gt v2, v1, :cond_3
|
|
|
|
.line 31
|
|
.line 32
|
|
add-int/2addr v3, p1
|
|
|
|
.line 33
|
|
if-lez v3, :cond_2
|
|
|
|
.line 34
|
|
.line 35
|
|
sub-int v6, v1, v3
|
|
|
|
.line 36
|
|
.line 37
|
|
if-ge v6, p1, :cond_2
|
|
|
|
.line 38
|
|
.line 39
|
|
add-int/lit8 v6, v4, 0x1
|
|
|
|
.line 40
|
|
.line 41
|
|
sub-int/2addr v3, v1
|
|
|
|
.line 42
|
|
goto :goto_1
|
|
|
|
.line 43
|
|
:cond_2
|
|
move v6, v4
|
|
|
|
.line 44
|
|
:goto_1
|
|
add-int/2addr v5, v6
|
|
|
|
.line 45
|
|
aput v5, v0, v2
|
|
|
|
.line 46
|
|
.line 47
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
.line 48
|
|
.line 49
|
|
goto :goto_0
|
|
|
|
.line 50
|
|
:cond_3
|
|
iput-object v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->G:[I
|
|
|
|
.line 51
|
|
.line 52
|
|
return-void
|
|
.end method
|
|
|
|
.method public final r1()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->H:[Landroid/view/View;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 4
|
|
.line 5
|
|
array-length v0, v0
|
|
|
|
.line 6
|
|
iget v1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 7
|
|
.line 8
|
|
if-eq v0, v1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
goto :goto_0
|
|
|
|
.line 11
|
|
:cond_0
|
|
return-void
|
|
|
|
.line 12
|
|
:cond_1
|
|
:goto_0
|
|
iget v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 13
|
|
.line 14
|
|
new-array v0, v0, [Landroid/view/View;
|
|
|
|
.line 15
|
|
.line 16
|
|
iput-object v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->H:[Landroid/view/View;
|
|
|
|
.line 17
|
|
.line 18
|
|
return-void
|
|
.end method
|
|
|
|
.method public final s1(II)I
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/recyclerview/widget/LinearLayoutManager;->p:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x1
|
|
|
|
.line 4
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/LinearLayoutManager;->d1()Z
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result v0
|
|
|
|
.line 10
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 11
|
|
.line 12
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->G:[I
|
|
|
|
.line 13
|
|
.line 14
|
|
iget v1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 15
|
|
.line 16
|
|
sub-int v2, v1, p1
|
|
|
|
.line 17
|
|
.line 18
|
|
aget v2, v0, v2
|
|
|
|
.line 19
|
|
.line 20
|
|
sub-int/2addr v1, p1
|
|
|
|
.line 21
|
|
sub-int/2addr v1, p2
|
|
|
|
.line 22
|
|
aget p1, v0, v1
|
|
|
|
.line 23
|
|
.line 24
|
|
sub-int/2addr v2, p1
|
|
|
|
.line 25
|
|
return v2
|
|
|
|
.line 26
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->G:[I
|
|
|
|
.line 27
|
|
.line 28
|
|
add-int/2addr p2, p1
|
|
|
|
.line 29
|
|
aget p2, v0, p2
|
|
|
|
.line 30
|
|
.line 31
|
|
aget p1, v0, p1
|
|
|
|
.line 32
|
|
.line 33
|
|
sub-int/2addr p2, p1
|
|
|
|
.line 34
|
|
return p2
|
|
.end method
|
|
|
|
.method public final t()Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/recyclerview/widget/LinearLayoutManager;->p:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, -0x1
|
|
|
|
.line 4
|
|
const/4 v2, -0x2
|
|
|
|
.line 5
|
|
if-nez v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
new-instance v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-direct {v0, v2, v1}, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;-><init>(II)V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
return-object v0
|
|
|
|
.line 13
|
|
:cond_0
|
|
new-instance v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-direct {v0, v1, v2}, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;-><init>(II)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final t1(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-boolean p3, p3, Landroidx/recyclerview/widget/RecyclerView$State;->g:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez p3, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object p2, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 6
|
|
.line 7
|
|
iget p3, p0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {p2, p1, p3}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->a(II)I
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result p1
|
|
|
|
.line 13
|
|
return p1
|
|
|
|
.line 14
|
|
:cond_0
|
|
invoke-virtual {p2, p1}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->b(I)I
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result p2
|
|
|
|
.line 18
|
|
const/4 p3, -0x1
|
|
|
|
.line 19
|
|
if-ne p2, p3, :cond_1
|
|
|
|
.line 20
|
|
.line 21
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
.line 22
|
|
.line 23
|
|
const-string p3, "Cannot find span size for pre layout position. "
|
|
|
|
.line 24
|
|
.line 25
|
|
invoke-direct {p2, p3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result-object p1
|
|
|
|
.line 35
|
|
const-string p2, "GridLayoutManager"
|
|
|
|
.line 36
|
|
.line 37
|
|
invoke-static {p2, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
const/4 p1, 0x0
|
|
|
|
.line 41
|
|
return p1
|
|
|
|
.line 42
|
|
:cond_1
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 43
|
|
.line 44
|
|
iget p3, p0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 45
|
|
.line 46
|
|
invoke-virtual {p1, p2, p3}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->a(II)I
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
move-result p1
|
|
|
|
.line 50
|
|
return p1
|
|
.end method
|
|
|
|
.method public final u(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 p1, -0x1
|
|
|
|
.line 7
|
|
iput p1, v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->e:I
|
|
|
|
.line 8
|
|
.line 9
|
|
const/4 p1, 0x0
|
|
|
|
.line 10
|
|
iput p1, v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->f:I
|
|
|
|
.line 11
|
|
.line 12
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final u1(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean p3, p3, Landroidx/recyclerview/widget/RecyclerView$State;->g:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez p3, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object p2, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 6
|
|
.line 7
|
|
iget p3, p0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {p2, p1, p3}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->b(II)I
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result p1
|
|
|
|
.line 13
|
|
return p1
|
|
|
|
.line 14
|
|
:cond_0
|
|
iget-object p3, p0, Landroidx/recyclerview/widget/GridLayoutManager;->J:Landroid/util/SparseIntArray;
|
|
|
|
.line 15
|
|
.line 16
|
|
const/4 v0, -0x1
|
|
|
|
.line 17
|
|
invoke-virtual {p3, p1, v0}, Landroid/util/SparseIntArray;->get(II)I
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result p3
|
|
|
|
.line 21
|
|
if-eq p3, v0, :cond_1
|
|
|
|
.line 22
|
|
.line 23
|
|
return p3
|
|
|
|
.line 24
|
|
:cond_1
|
|
invoke-virtual {p2, p1}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->b(I)I
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
move-result p2
|
|
|
|
.line 28
|
|
if-ne p2, v0, :cond_2
|
|
|
|
.line 29
|
|
.line 30
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
.line 31
|
|
.line 32
|
|
const-string p3, "Cannot find span size for pre layout position. It is not cached, not in the adapter. Pos:"
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-direct {p2, p3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 41
|
|
.line 42
|
|
.line 43
|
|
move-result-object p1
|
|
|
|
.line 44
|
|
const-string p2, "GridLayoutManager"
|
|
|
|
.line 45
|
|
.line 46
|
|
invoke-static {p2, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
const/4 p1, 0x0
|
|
|
|
.line 50
|
|
return p1
|
|
|
|
.line 51
|
|
:cond_2
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 52
|
|
.line 53
|
|
iget p3, p0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 54
|
|
.line 55
|
|
invoke-virtual {p1, p2, p3}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->b(II)I
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
move-result p1
|
|
|
|
.line 59
|
|
return p1
|
|
.end method
|
|
|
|
.method public final v(Landroid/view/ViewGroup$LayoutParams;)Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
.locals 3
|
|
|
|
.line 1
|
|
instance-of v0, p1, Landroid/view/ViewGroup$MarginLayoutParams;
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x0
|
|
|
|
.line 4
|
|
const/4 v2, -0x1
|
|
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
new-instance v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;
|
|
|
|
.line 8
|
|
.line 9
|
|
check-cast p1, Landroid/view/ViewGroup$MarginLayoutParams;
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-direct {v0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;-><init>(Landroid/view/ViewGroup$MarginLayoutParams;)V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
iput v2, v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->e:I
|
|
|
|
.line 15
|
|
.line 16
|
|
iput v1, v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->f:I
|
|
|
|
.line 17
|
|
.line 18
|
|
return-object v0
|
|
|
|
.line 19
|
|
:cond_0
|
|
new-instance v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-direct {v0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
iput v2, v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->e:I
|
|
|
|
.line 25
|
|
.line 26
|
|
iput v1, v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->f:I
|
|
|
|
.line 27
|
|
.line 28
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final v1(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean p3, p3, Landroidx/recyclerview/widget/RecyclerView$State;->g:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez p3, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object p2, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p2, p1}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->c(I)I
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result p1
|
|
|
|
.line 11
|
|
return p1
|
|
|
|
.line 12
|
|
:cond_0
|
|
iget-object p3, p0, Landroidx/recyclerview/widget/GridLayoutManager;->I:Landroid/util/SparseIntArray;
|
|
|
|
.line 13
|
|
.line 14
|
|
const/4 v0, -0x1
|
|
|
|
.line 15
|
|
invoke-virtual {p3, p1, v0}, Landroid/util/SparseIntArray;->get(II)I
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result p3
|
|
|
|
.line 19
|
|
if-eq p3, v0, :cond_1
|
|
|
|
.line 20
|
|
.line 21
|
|
return p3
|
|
|
|
.line 22
|
|
:cond_1
|
|
invoke-virtual {p2, p1}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->b(I)I
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result p2
|
|
|
|
.line 26
|
|
if-ne p2, v0, :cond_2
|
|
|
|
.line 27
|
|
.line 28
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
.line 29
|
|
.line 30
|
|
const-string p3, "Cannot find span size for pre layout position. It is not cached, not in the adapter. Pos:"
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-direct {p2, p3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
move-result-object p1
|
|
|
|
.line 42
|
|
const-string p2, "GridLayoutManager"
|
|
|
|
.line 43
|
|
.line 44
|
|
invoke-static {p2, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
const/4 p1, 0x1
|
|
|
|
.line 48
|
|
return p1
|
|
|
|
.line 49
|
|
:cond_2
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 50
|
|
.line 51
|
|
invoke-virtual {p1, p2}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->c(I)I
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
move-result p1
|
|
|
|
.line 55
|
|
return p1
|
|
.end method
|
|
|
|
.method public final w0(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/GridLayoutManager;->y1()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/GridLayoutManager;->r1()V
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
invoke-super {p0, p1, p2, p3}, Landroidx/recyclerview/widget/LinearLayoutManager;->w0(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result p1
|
|
|
|
.line 11
|
|
return p1
|
|
.end method
|
|
|
|
.method public final w1(ILandroid/view/View;Z)V
|
|
.locals 8
|
|
|
|
.line 1
|
|
invoke-virtual {p2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
check-cast v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-object v1, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->b:Landroid/graphics/Rect;
|
|
|
|
.line 8
|
|
.line 9
|
|
iget v2, v1, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 10
|
|
.line 11
|
|
iget v3, v1, Landroid/graphics/Rect;->bottom:I
|
|
|
|
.line 12
|
|
.line 13
|
|
add-int/2addr v2, v3
|
|
|
|
.line 14
|
|
iget v3, v0, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
|
|
|
|
.line 15
|
|
.line 16
|
|
add-int/2addr v2, v3
|
|
|
|
.line 17
|
|
iget v3, v0, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
|
|
|
|
.line 18
|
|
.line 19
|
|
add-int/2addr v2, v3
|
|
|
|
.line 20
|
|
iget v3, v1, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 21
|
|
.line 22
|
|
iget v1, v1, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 23
|
|
.line 24
|
|
add-int/2addr v3, v1
|
|
|
|
.line 25
|
|
iget v1, v0, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
|
|
|
|
.line 26
|
|
.line 27
|
|
add-int/2addr v3, v1
|
|
|
|
.line 28
|
|
iget v1, v0, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
|
|
|
|
.line 29
|
|
.line 30
|
|
add-int/2addr v3, v1
|
|
|
|
.line 31
|
|
iget v1, v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->e:I
|
|
|
|
.line 32
|
|
.line 33
|
|
iget v4, v0, Landroidx/recyclerview/widget/GridLayoutManager$LayoutParams;->f:I
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-virtual {p0, v1, v4}, Landroidx/recyclerview/widget/GridLayoutManager;->s1(II)I
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result v1
|
|
|
|
.line 39
|
|
iget v4, p0, Landroidx/recyclerview/widget/LinearLayoutManager;->p:I
|
|
|
|
.line 40
|
|
.line 41
|
|
const/4 v5, 0x0
|
|
|
|
.line 42
|
|
const/4 v6, 0x1
|
|
|
|
.line 43
|
|
if-ne v4, v6, :cond_0
|
|
|
|
.line 44
|
|
.line 45
|
|
iget v4, v0, Landroid/view/ViewGroup$MarginLayoutParams;->width:I
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-static {v5, v1, p1, v3, v4}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->y(ZIIII)I
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
move-result p1
|
|
|
|
.line 51
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/LinearLayoutManager;->r:Landroidx/recyclerview/widget/OrientationHelper;
|
|
|
|
.line 52
|
|
.line 53
|
|
invoke-virtual {v1}, Landroidx/recyclerview/widget/OrientationHelper;->l()I
|
|
|
|
.line 54
|
|
.line 55
|
|
.line 56
|
|
move-result v1
|
|
|
|
.line 57
|
|
iget v3, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->m:I
|
|
|
|
.line 58
|
|
.line 59
|
|
iget v0, v0, Landroid/view/ViewGroup$MarginLayoutParams;->height:I
|
|
|
|
.line 60
|
|
.line 61
|
|
invoke-static {v6, v1, v3, v2, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->y(ZIIII)I
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
move-result v0
|
|
|
|
.line 65
|
|
goto :goto_0
|
|
|
|
.line 66
|
|
:cond_0
|
|
iget v4, v0, Landroid/view/ViewGroup$MarginLayoutParams;->height:I
|
|
|
|
.line 67
|
|
.line 68
|
|
invoke-static {v5, v1, p1, v2, v4}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->y(ZIIII)I
|
|
|
|
.line 69
|
|
.line 70
|
|
.line 71
|
|
move-result p1
|
|
|
|
.line 72
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/LinearLayoutManager;->r:Landroidx/recyclerview/widget/OrientationHelper;
|
|
|
|
.line 73
|
|
.line 74
|
|
invoke-virtual {v1}, Landroidx/recyclerview/widget/OrientationHelper;->l()I
|
|
|
|
.line 75
|
|
.line 76
|
|
.line 77
|
|
move-result v1
|
|
|
|
.line 78
|
|
iget v2, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->l:I
|
|
|
|
.line 79
|
|
.line 80
|
|
iget v0, v0, Landroid/view/ViewGroup$MarginLayoutParams;->width:I
|
|
|
|
.line 81
|
|
.line 82
|
|
invoke-static {v6, v1, v2, v3, v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->y(ZIIII)I
|
|
|
|
.line 83
|
|
.line 84
|
|
.line 85
|
|
move-result v0
|
|
|
|
.line 86
|
|
move v7, v0
|
|
|
|
.line 87
|
|
move v0, p1
|
|
|
|
.line 88
|
|
move p1, v7
|
|
|
|
.line 89
|
|
:goto_0
|
|
invoke-virtual {p2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 90
|
|
.line 91
|
|
.line 92
|
|
move-result-object v1
|
|
|
|
.line 93
|
|
check-cast v1, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
|
|
|
.line 94
|
|
.line 95
|
|
if-eqz p3, :cond_1
|
|
|
|
.line 96
|
|
.line 97
|
|
invoke-virtual {p0, p2, p1, v0, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->G0(Landroid/view/View;IILandroidx/recyclerview/widget/RecyclerView$LayoutParams;)Z
|
|
|
|
.line 98
|
|
.line 99
|
|
.line 100
|
|
move-result p3
|
|
|
|
.line 101
|
|
goto :goto_1
|
|
|
|
.line 102
|
|
:cond_1
|
|
invoke-virtual {p0, p2, p1, v0, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->E0(Landroid/view/View;IILandroidx/recyclerview/widget/RecyclerView$LayoutParams;)Z
|
|
|
|
.line 103
|
|
.line 104
|
|
.line 105
|
|
move-result p3
|
|
|
|
.line 106
|
|
:goto_1
|
|
if-eqz p3, :cond_2
|
|
|
|
.line 107
|
|
.line 108
|
|
invoke-virtual {p2, p1, v0}, Landroid/view/View;->measure(II)V
|
|
|
|
.line 109
|
|
.line 110
|
|
.line 111
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public final x1(I)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 2
|
|
.line 3
|
|
if-ne p1, v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
return-void
|
|
|
|
.line 6
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
.line 7
|
|
iput-boolean v0, p0, Landroidx/recyclerview/widget/GridLayoutManager;->E:Z
|
|
|
|
.line 8
|
|
.line 9
|
|
if-lt p1, v0, :cond_1
|
|
|
|
.line 10
|
|
.line 11
|
|
iput p1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->K:Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {p1}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;->d()V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->v0()V
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
return-void
|
|
|
|
.line 22
|
|
:cond_1
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 23
|
|
.line 24
|
|
const-string v1, "Span count should be at least 1. Provided "
|
|
|
|
.line 25
|
|
.line 26
|
|
invoke-static {p1, v1}, Landroid/support/v4/media/a;->e(ILjava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
move-result-object p1
|
|
|
|
.line 30
|
|
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final y0(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/GridLayoutManager;->y1()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/GridLayoutManager;->r1()V
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
invoke-super {p0, p1, p2, p3}, Landroidx/recyclerview/widget/LinearLayoutManager;->y0(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result p1
|
|
|
|
.line 11
|
|
return p1
|
|
.end method
|
|
|
|
.method public final y1()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/recyclerview/widget/LinearLayoutManager;->p:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x1
|
|
|
|
.line 4
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
iget v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->n:I
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->L()I
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result v1
|
|
|
|
.line 12
|
|
sub-int/2addr v0, v1
|
|
|
|
.line 13
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->K()I
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result v1
|
|
|
|
.line 17
|
|
:goto_0
|
|
sub-int/2addr v0, v1
|
|
|
|
.line 18
|
|
goto :goto_1
|
|
|
|
.line 19
|
|
:cond_0
|
|
iget v0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->o:I
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->J()I
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result v1
|
|
|
|
.line 25
|
|
sub-int/2addr v0, v1
|
|
|
|
.line 26
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->M()I
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
move-result v1
|
|
|
|
.line 30
|
|
goto :goto_0
|
|
|
|
.line 31
|
|
:goto_1
|
|
invoke-virtual {p0, v0}, Landroidx/recyclerview/widget/GridLayoutManager;->q1(I)V
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
return-void
|
|
.end method
|
|
|
|
.method public final z(Landroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/recyclerview/widget/LinearLayoutManager;->p:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x1
|
|
|
|
.line 4
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
iget p1, p0, Landroidx/recyclerview/widget/GridLayoutManager;->F:I
|
|
|
|
.line 7
|
|
.line 8
|
|
return p1
|
|
|
|
.line 9
|
|
:cond_0
|
|
invoke-virtual {p2}, Landroidx/recyclerview/widget/RecyclerView$State;->b()I
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result v0
|
|
|
|
.line 13
|
|
if-ge v0, v1, :cond_1
|
|
|
|
.line 14
|
|
.line 15
|
|
const/4 p1, 0x0
|
|
|
|
.line 16
|
|
return p1
|
|
|
|
.line 17
|
|
:cond_1
|
|
invoke-virtual {p2}, Landroidx/recyclerview/widget/RecyclerView$State;->b()I
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result v0
|
|
|
|
.line 21
|
|
sub-int/2addr v0, v1
|
|
|
|
.line 22
|
|
invoke-virtual {p0, v0, p1, p2}, Landroidx/recyclerview/widget/GridLayoutManager;->t1(ILandroidx/recyclerview/widget/RecyclerView$Recycler;Landroidx/recyclerview/widget/RecyclerView$State;)I
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result p1
|
|
|
|
.line 26
|
|
add-int/2addr p1, v1
|
|
|
|
.line 27
|
|
return p1
|
|
.end method
|