2022-06-10 21:38:30 +09:00

88 lines
1.8 KiB
Smali

.class public Landroidx/recyclerview/widget/o$e;
.super Ljava/lang/Object;
.source "ItemTouchHelper.java"
# interfaces
.implements Landroidx/recyclerview/widget/RecyclerView$j;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/recyclerview/widget/o;->f()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:Landroidx/recyclerview/widget/o;
# direct methods
.method public constructor <init>(Landroidx/recyclerview/widget/o;)V
.locals 0
.line 1
iput-object p1, p0, Landroidx/recyclerview/widget/o$e;->a:Landroidx/recyclerview/widget/o;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(II)I
.locals 4
.line 1
iget-object v0, p0, Landroidx/recyclerview/widget/o$e;->a:Landroidx/recyclerview/widget/o;
iget-object v1, v0, Landroidx/recyclerview/widget/o;->c1:Landroid/view/View;
if-nez v1, :cond_0
return p2
.line 2
:cond_0
iget v2, v0, Landroidx/recyclerview/widget/o;->d1:I
const/4 v3, -0x1
if-ne v2, v3, :cond_1
.line 3
iget-object v0, v0, Landroidx/recyclerview/widget/o;->W0:Landroidx/recyclerview/widget/RecyclerView;
invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->indexOfChild(Landroid/view/View;)I
move-result v2
.line 4
iget-object v0, p0, Landroidx/recyclerview/widget/o$e;->a:Landroidx/recyclerview/widget/o;
iput v2, v0, Landroidx/recyclerview/widget/o;->d1: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