554 lines
16 KiB
Smali
554 lines
16 KiB
Smali
.class public abstract Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;
|
|
.super Ljava/lang/Object;
|
|
.source "RecyclerView.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/recyclerview/widget/RecyclerView;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x409
|
|
name = "ItemAnimator"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;,
|
|
Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$a;,
|
|
Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$b;,
|
|
Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$AdapterChanges;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final g:I = 0x2
|
|
|
|
.field public static final h:I = 0x8
|
|
|
|
.field public static final i:I = 0x4
|
|
|
|
.field public static final j:I = 0x800
|
|
|
|
.field public static final k:I = 0x1000
|
|
|
|
|
|
# instance fields
|
|
.field public a:Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$b;
|
|
|
|
.field public b:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$a;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public c:J
|
|
|
|
.field public d:J
|
|
|
|
.field public e:J
|
|
|
|
.field public f:J
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
iput-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->a:Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$b;
|
|
|
|
.line 3
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->b:Ljava/util/ArrayList;
|
|
|
|
const-wide/16 v0, 0x78
|
|
|
|
.line 4
|
|
iput-wide v0, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->c:J
|
|
|
|
.line 5
|
|
iput-wide v0, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->d:J
|
|
|
|
const-wide/16 v0, 0xfa
|
|
|
|
.line 6
|
|
iput-wide v0, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->e:J
|
|
|
|
.line 7
|
|
iput-wide v0, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->f:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static e(Landroidx/recyclerview/widget/RecyclerView$a0;)I
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/recyclerview/widget/RecyclerView$a0;->mFlags:I
|
|
|
|
and-int/lit8 v0, v0, 0xe
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$a0;->isInvalid()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const/4 p0, 0x4
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
and-int/lit8 v1, v0, 0x4
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
.line 3
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$a0;->getOldPosition()I
|
|
|
|
move-result v1
|
|
|
|
.line 4
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$a0;->getAbsoluteAdapterPosition()I
|
|
|
|
move-result p0
|
|
|
|
const/4 v2, -0x1
|
|
|
|
if-eq v1, v2, :cond_1
|
|
|
|
if-eq p0, v2, :cond_1
|
|
|
|
if-eq v1, p0, :cond_1
|
|
|
|
or-int/lit16 v0, v0, 0x800
|
|
|
|
:cond_1
|
|
return v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public A(Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$b;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->a:Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$b;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public B(J)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-wide p1, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->e:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public C(J)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-wide p1, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->d:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract a(Landroidx/recyclerview/widget/RecyclerView$a0;Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;)Z
|
|
.param p1 # Landroidx/recyclerview/widget/RecyclerView$a0;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.end method
|
|
|
|
.method public abstract b(Landroidx/recyclerview/widget/RecyclerView$a0;Landroidx/recyclerview/widget/RecyclerView$a0;Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;)Z
|
|
.param p1 # Landroidx/recyclerview/widget/RecyclerView$a0;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroidx/recyclerview/widget/RecyclerView$a0;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p4 # Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.end method
|
|
|
|
.method public abstract c(Landroidx/recyclerview/widget/RecyclerView$a0;Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;)Z
|
|
.param p1 # Landroidx/recyclerview/widget/RecyclerView$a0;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.end method
|
|
|
|
.method public abstract d(Landroidx/recyclerview/widget/RecyclerView$a0;Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;)Z
|
|
.param p1 # Landroidx/recyclerview/widget/RecyclerView$a0;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.end method
|
|
|
|
.method public f(Landroidx/recyclerview/widget/RecyclerView$a0;)Z
|
|
.locals 0
|
|
.param p1 # Landroidx/recyclerview/widget/RecyclerView$a0;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public g(Landroidx/recyclerview/widget/RecyclerView$a0;Ljava/util/List;)Z
|
|
.locals 0
|
|
.param p1 # Landroidx/recyclerview/widget/RecyclerView$a0;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/util/List;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroidx/recyclerview/widget/RecyclerView$a0;",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/Object;",
|
|
">;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->f(Landroidx/recyclerview/widget/RecyclerView$a0;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final h(Landroidx/recyclerview/widget/RecyclerView$a0;)V
|
|
.locals 1
|
|
.param p1 # Landroidx/recyclerview/widget/RecyclerView$a0;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->t(Landroidx/recyclerview/widget/RecyclerView$a0;)V
|
|
|
|
.line 2
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->a:Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3
|
|
invoke-interface {v0, p1}, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$b;->a(Landroidx/recyclerview/widget/RecyclerView$a0;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final i(Landroidx/recyclerview/widget/RecyclerView$a0;)V
|
|
.locals 0
|
|
.param p1 # Landroidx/recyclerview/widget/RecyclerView$a0;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->u(Landroidx/recyclerview/widget/RecyclerView$a0;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final j()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->b:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_0
|
|
|
|
.line 2
|
|
iget-object v2, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->b:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$a;
|
|
|
|
invoke-interface {v2}, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$a;->a()V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->b:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract k(Landroidx/recyclerview/widget/RecyclerView$a0;)V
|
|
.param p1 # Landroidx/recyclerview/widget/RecyclerView$a0;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.end method
|
|
|
|
.method public abstract l()V
|
|
.end method
|
|
|
|
.method public m()J
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-wide v0, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->c:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public n()J
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-wide v0, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->f:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public o()J
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-wide v0, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->e:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public p()J
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-wide v0, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->d:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public abstract q()Z
|
|
.end method
|
|
|
|
.method public final r(Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$a;)Z
|
|
.locals 2
|
|
.param p1 # Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$a;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->q()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-interface {p1}, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$a;->a()V
|
|
|
|
goto :goto_0
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->b:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v1, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public s()Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;
|
|
|
|
invoke-direct {v0}, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;-><init>()V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public t(Landroidx/recyclerview/widget/RecyclerView$a0;)V
|
|
.locals 0
|
|
.param p1 # Landroidx/recyclerview/widget/RecyclerView$a0;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public u(Landroidx/recyclerview/widget/RecyclerView$a0;)V
|
|
.locals 0
|
|
.param p1 # Landroidx/recyclerview/widget/RecyclerView$a0;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public v(Landroidx/recyclerview/widget/RecyclerView$x;Landroidx/recyclerview/widget/RecyclerView$a0;)Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;
|
|
.locals 0
|
|
.param p1 # Landroidx/recyclerview/widget/RecyclerView$x;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroidx/recyclerview/widget/RecyclerView$a0;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->s()Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, p2}, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;->a(Landroidx/recyclerview/widget/RecyclerView$a0;)Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public w(Landroidx/recyclerview/widget/RecyclerView$x;Landroidx/recyclerview/widget/RecyclerView$a0;ILjava/util/List;)Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;
|
|
.locals 0
|
|
.param p1 # Landroidx/recyclerview/widget/RecyclerView$x;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroidx/recyclerview/widget/RecyclerView$a0;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p4 # Ljava/util/List;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroidx/recyclerview/widget/RecyclerView$x;",
|
|
"Landroidx/recyclerview/widget/RecyclerView$a0;",
|
|
"I",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/Object;",
|
|
">;)",
|
|
"Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->s()Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, p2}, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;->a(Landroidx/recyclerview/widget/RecyclerView$a0;)Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$c;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public abstract x()V
|
|
.end method
|
|
|
|
.method public y(J)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-wide p1, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->c:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public z(J)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-wide p1, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->f:J
|
|
|
|
return-void
|
|
.end method
|