137 lines
3.7 KiB
Smali
137 lines
3.7 KiB
Smali
.class public Landroidx/recyclerview/widget/ViewInfoStore$InfoRecord;
|
|
.super Ljava/lang/Object;
|
|
.source "ViewInfoStore.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/recyclerview/widget/ViewInfoStore;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "InfoRecord"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final FLAG_APPEAR:I = 0x2
|
|
|
|
.field public static final FLAG_APPEAR_AND_DISAPPEAR:I = 0x3
|
|
|
|
.field public static final FLAG_APPEAR_PRE_AND_POST:I = 0xe
|
|
|
|
.field public static final FLAG_DISAPPEARED:I = 0x1
|
|
|
|
.field public static final FLAG_POST:I = 0x8
|
|
|
|
.field public static final FLAG_PRE:I = 0x4
|
|
|
|
.field public static final FLAG_PRE_AND_POST:I = 0xc
|
|
|
|
.field public static sPool:Landroidx/core/util/Pools$Pool;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroidx/core/util/Pools$Pool<",
|
|
"Landroidx/recyclerview/widget/ViewInfoStore$InfoRecord;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field public flags:I
|
|
|
|
.field public postInfo:Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$ItemHolderInfo;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public preInfo:Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$ItemHolderInfo;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
new-instance v0, Landroidx/core/util/Pools$SimplePool;
|
|
|
|
const/16 v1, 0x14
|
|
|
|
invoke-direct {v0, v1}, Landroidx/core/util/Pools$SimplePool;-><init>(I)V
|
|
|
|
sput-object v0, Landroidx/recyclerview/widget/ViewInfoStore$InfoRecord;->sPool:Landroidx/core/util/Pools$Pool;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static drainCache()V
|
|
.locals 1
|
|
|
|
:goto_0
|
|
sget-object v0, Landroidx/recyclerview/widget/ViewInfoStore$InfoRecord;->sPool:Landroidx/core/util/Pools$Pool;
|
|
|
|
invoke-interface {v0}, Landroidx/core/util/Pools$Pool;->acquire()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static obtain()Landroidx/recyclerview/widget/ViewInfoStore$InfoRecord;
|
|
.locals 1
|
|
|
|
sget-object v0, Landroidx/recyclerview/widget/ViewInfoStore$InfoRecord;->sPool:Landroidx/core/util/Pools$Pool;
|
|
|
|
invoke-interface {v0}, Landroidx/core/util/Pools$Pool;->acquire()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/recyclerview/widget/ViewInfoStore$InfoRecord;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
new-instance v0, Landroidx/recyclerview/widget/ViewInfoStore$InfoRecord;
|
|
|
|
invoke-direct {v0}, Landroidx/recyclerview/widget/ViewInfoStore$InfoRecord;-><init>()V
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static recycle(Landroidx/recyclerview/widget/ViewInfoStore$InfoRecord;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Landroidx/recyclerview/widget/ViewInfoStore$InfoRecord;->flags:I
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Landroidx/recyclerview/widget/ViewInfoStore$InfoRecord;->preInfo:Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$ItemHolderInfo;
|
|
|
|
iput-object v0, p0, Landroidx/recyclerview/widget/ViewInfoStore$InfoRecord;->postInfo:Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$ItemHolderInfo;
|
|
|
|
sget-object v0, Landroidx/recyclerview/widget/ViewInfoStore$InfoRecord;->sPool:Landroidx/core/util/Pools$Pool;
|
|
|
|
invoke-interface {v0, p0}, Landroidx/core/util/Pools$Pool;->release(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
.end method
|