133 lines
3.6 KiB
Smali
133 lines
3.6 KiB
Smali
.class Landroid/support/v7/widget/RecyclerView$LayoutManager$2;
|
|
.super Ljava/lang/Object;
|
|
.source "RecyclerView.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/support/v7/widget/ViewBoundsCheck$Callback;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroid/support/v7/widget/RecyclerView$LayoutManager;)V
|
|
.locals 0
|
|
|
|
.line 7242
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager$2;->a:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()I
|
|
.locals 1
|
|
|
|
.line 7260
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager$2;->a:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->G()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public a(Landroid/view/View;)I
|
|
.locals 2
|
|
|
|
.line 7272
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
.line 7273
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager$2;->a:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v1, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->j(Landroid/view/View;)I
|
|
|
|
move-result p1
|
|
|
|
iget v0, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->topMargin:I
|
|
|
|
sub-int/2addr p1, v0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public a(I)Landroid/view/View;
|
|
.locals 1
|
|
|
|
.line 7255
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager$2;->a:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->i(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public b()I
|
|
.locals 2
|
|
|
|
.line 7265
|
|
iget-object v0, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager$2;->a:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->E()I
|
|
|
|
move-result v0
|
|
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager$2;->a:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
.line 7266
|
|
invoke-virtual {v1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->I()I
|
|
|
|
move-result v1
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public b(Landroid/view/View;)I
|
|
.locals 2
|
|
|
|
.line 7279
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;
|
|
|
|
.line 7280
|
|
iget-object v1, p0, Landroid/support/v7/widget/RecyclerView$LayoutManager$2;->a:Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
invoke-virtual {v1, p1}, Landroid/support/v7/widget/RecyclerView$LayoutManager;->l(Landroid/view/View;)I
|
|
|
|
move-result p1
|
|
|
|
iget v0, v0, Landroid/support/v7/widget/RecyclerView$LayoutParams;->bottomMargin:I
|
|
|
|
add-int/2addr p1, v0
|
|
|
|
return p1
|
|
.end method
|