82 lines
2.1 KiB
Smali
82 lines
2.1 KiB
Smali
.class public Landroidx/recyclerview/widget/ItemTouchHelper$5;
|
|
.super Ljava/lang/Object;
|
|
.source "ItemTouchHelper.java"
|
|
|
|
# interfaces
|
|
.implements Landroidx/recyclerview/widget/RecyclerView$ChildDrawingOrderCallback;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Landroidx/recyclerview/widget/ItemTouchHelper;->addChildDrawingOrderCallback()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Landroidx/recyclerview/widget/ItemTouchHelper;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/recyclerview/widget/ItemTouchHelper;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Landroidx/recyclerview/widget/ItemTouchHelper$5;->this$0:Landroidx/recyclerview/widget/ItemTouchHelper;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onGetChildDrawingOrder(II)I
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/ItemTouchHelper$5;->this$0:Landroidx/recyclerview/widget/ItemTouchHelper;
|
|
|
|
iget-object v1, v0, Landroidx/recyclerview/widget/ItemTouchHelper;->mOverdrawChild:Landroid/view/View;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
return p2
|
|
|
|
:cond_0
|
|
iget v2, v0, Landroidx/recyclerview/widget/ItemTouchHelper;->mOverdrawChildPosition:I
|
|
|
|
const/4 v3, -0x1
|
|
|
|
if-ne v2, v3, :cond_1
|
|
|
|
iget-object v0, v0, Landroidx/recyclerview/widget/ItemTouchHelper;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->indexOfChild(Landroid/view/View;)I
|
|
|
|
move-result v2
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/ItemTouchHelper$5;->this$0:Landroidx/recyclerview/widget/ItemTouchHelper;
|
|
|
|
iput v2, v0, Landroidx/recyclerview/widget/ItemTouchHelper;->mOverdrawChildPosition:I
|
|
|
|
:cond_1
|
|
add-int/lit8 p1, p1, -0x1
|
|
|
|
if-ne p2, p1, :cond_2
|
|
|
|
return v2
|
|
|
|
:cond_2
|
|
if-ge p2, v2, :cond_3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
:goto_0
|
|
return p2
|
|
.end method
|