117 lines
3.1 KiB
Smali
117 lines
3.1 KiB
Smali
.class public Landroid/support/v7/widget/RecyclerView$SavedState;
|
|
.super Landroid/support/v4/view/AbsSavedState;
|
|
.source "RecyclerView.java"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroid/support/annotation/RestrictTo;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroid/support/v7/widget/RecyclerView;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "SavedState"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroid/os/Parcelable$Creator<",
|
|
"Landroid/support/v7/widget/RecyclerView$SavedState;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field mLayoutState:Landroid/os/Parcelable;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 11866
|
|
new-instance v0, Landroid/support/v7/widget/RecyclerView$SavedState$1;
|
|
|
|
invoke-direct {v0}, Landroid/support/v7/widget/RecyclerView$SavedState$1;-><init>()V
|
|
|
|
sput-object v0, Landroid/support/v7/widget/RecyclerView$SavedState;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method constructor <init>(Landroid/os/Parcel;Ljava/lang/ClassLoader;)V
|
|
.locals 0
|
|
|
|
.line 11844
|
|
invoke-direct {p0, p1, p2}, Landroid/support/v4/view/AbsSavedState;-><init>(Landroid/os/Parcel;Ljava/lang/ClassLoader;)V
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 11845
|
|
:cond_0
|
|
const-class p2, Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
.line 11846
|
|
invoke-virtual {p2}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object p2
|
|
|
|
.line 11845
|
|
:goto_0
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->readParcelable(Ljava/lang/ClassLoader;)Landroid/os/Parcelable;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView$SavedState;->mLayoutState:Landroid/os/Parcelable;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method constructor <init>(Landroid/os/Parcelable;)V
|
|
.locals 0
|
|
|
|
.line 11853
|
|
invoke-direct {p0, p1}, Landroid/support/v4/view/AbsSavedState;-><init>(Landroid/os/Parcelable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method copyFrom(Landroid/support/v7/widget/RecyclerView$SavedState;)V
|
|
.locals 0
|
|
|
|
.line 11863
|
|
iget-object p1, p1, Landroid/support/v7/widget/RecyclerView$SavedState;->mLayoutState:Landroid/os/Parcelable;
|
|
|
|
iput-object p1, p0, Landroid/support/v7/widget/RecyclerView$SavedState;->mLayoutState:Landroid/os/Parcelable;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeToParcel(Landroid/os/Parcel;I)V
|
|
.locals 1
|
|
|
|
.line 11858
|
|
invoke-super {p0, p1, p2}, Landroid/support/v4/view/AbsSavedState;->writeToParcel(Landroid/os/Parcel;I)V
|
|
|
|
.line 11859
|
|
iget-object p2, p0, Landroid/support/v7/widget/RecyclerView$SavedState;->mLayoutState:Landroid/os/Parcelable;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p1, p2, v0}, Landroid/os/Parcel;->writeParcelable(Landroid/os/Parcelable;I)V
|
|
|
|
return-void
|
|
.end method
|