287 lines
9.2 KiB
Smali
287 lines
9.2 KiB
Smali
|
.class final Landroidx/recyclerview/widget/OrientationHelper$2;
|
||
|
.super Landroidx/recyclerview/widget/OrientationHelper;
|
||
|
.source "OrientationHelper.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Landroidx/recyclerview/widget/OrientationHelper;->createVerticalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x8
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V
|
||
|
.locals 1
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
invoke-direct {p0, p1, v0}, Landroidx/recyclerview/widget/OrientationHelper;-><init>(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;Landroidx/recyclerview/widget/OrientationHelper$1;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final getDecoratedEnd(Landroid/view/View;)I
|
||
|
.locals 2
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||
|
|
||
|
invoke-virtual {v1, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getDecoratedBottom(Landroid/view/View;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
iget v0, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->bottomMargin:I
|
||
|
|
||
|
add-int/2addr p1, v0
|
||
|
|
||
|
return p1
|
||
|
.end method
|
||
|
|
||
|
.method public final getDecoratedMeasurement(Landroid/view/View;)I
|
||
|
.locals 2
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||
|
|
||
|
invoke-virtual {v1, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getDecoratedMeasuredHeight(Landroid/view/View;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
iget v1, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->topMargin:I
|
||
|
|
||
|
add-int/2addr p1, v1
|
||
|
|
||
|
iget v0, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->bottomMargin:I
|
||
|
|
||
|
add-int/2addr p1, v0
|
||
|
|
||
|
return p1
|
||
|
.end method
|
||
|
|
||
|
.method public final getDecoratedMeasurementInOther(Landroid/view/View;)I
|
||
|
.locals 2
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||
|
|
||
|
invoke-virtual {v1, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getDecoratedMeasuredWidth(Landroid/view/View;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
iget v1, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->leftMargin:I
|
||
|
|
||
|
add-int/2addr p1, v1
|
||
|
|
||
|
iget v0, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->rightMargin:I
|
||
|
|
||
|
add-int/2addr p1, v0
|
||
|
|
||
|
return p1
|
||
|
.end method
|
||
|
|
||
|
.method public final getDecoratedStart(Landroid/view/View;)I
|
||
|
.locals 2
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||
|
|
||
|
invoke-virtual {v1, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getDecoratedTop(Landroid/view/View;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
iget v0, v0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->topMargin:I
|
||
|
|
||
|
sub-int/2addr p1, v0
|
||
|
|
||
|
return p1
|
||
|
.end method
|
||
|
|
||
|
.method public final getEnd()I
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeight()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public final getEndAfterPadding()I
|
||
|
.locals 2
|
||
|
|
||
|
iget-object v0, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeight()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
iget-object v1, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||
|
|
||
|
invoke-virtual {v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingBottom()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
sub-int/2addr v0, v1
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public final getEndPadding()I
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingBottom()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public final getMode()I
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeightMode()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public final getModeInOther()I
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getWidthMode()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public final getStartAfterPadding()I
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingTop()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public final getTotalSpace()I
|
||
|
.locals 2
|
||
|
|
||
|
iget-object v0, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getHeight()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
iget-object v1, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||
|
|
||
|
invoke-virtual {v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingTop()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
sub-int/2addr v0, v1
|
||
|
|
||
|
iget-object v1, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||
|
|
||
|
invoke-virtual {v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPaddingBottom()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
sub-int/2addr v0, v1
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public final getTransformedEndWithDecoration(Landroid/view/View;)I
|
||
|
.locals 3
|
||
|
|
||
|
iget-object v0, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mTmpRect:Landroid/graphics/Rect;
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
invoke-virtual {v0, p1, v2, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getTransformedBoundingBox(Landroid/view/View;ZLandroid/graphics/Rect;)V
|
||
|
|
||
|
iget-object p1, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mTmpRect:Landroid/graphics/Rect;
|
||
|
|
||
|
iget p1, p1, Landroid/graphics/Rect;->bottom:I
|
||
|
|
||
|
return p1
|
||
|
.end method
|
||
|
|
||
|
.method public final getTransformedStartWithDecoration(Landroid/view/View;)I
|
||
|
.locals 3
|
||
|
|
||
|
iget-object v0, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mTmpRect:Landroid/graphics/Rect;
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
invoke-virtual {v0, p1, v2, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getTransformedBoundingBox(Landroid/view/View;ZLandroid/graphics/Rect;)V
|
||
|
|
||
|
iget-object p1, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mTmpRect:Landroid/graphics/Rect;
|
||
|
|
||
|
iget p1, p1, Landroid/graphics/Rect;->top:I
|
||
|
|
||
|
return p1
|
||
|
.end method
|
||
|
|
||
|
.method public final offsetChild(Landroid/view/View;I)V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-virtual {p1, p2}, Landroid/view/View;->offsetTopAndBottom(I)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public final offsetChildren(I)V
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/recyclerview/widget/OrientationHelper$2;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||
|
|
||
|
invoke-virtual {v0, p1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->offsetChildrenVertical(I)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|