.class public Landroidx/recyclerview/widget/LinearLayoutManager$SavedState; .super Ljava/lang/Object; .source "LinearLayoutManager.java" # interfaces .implements Landroid/os/Parcelable; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/recyclerview/widget/LinearLayoutManager; .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<", "Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;", ">;" } .end annotation .end field # instance fields .field mAnchorLayoutFromEnd:Z .field mAnchorOffset:I .field mAnchorPosition:I # direct methods .method static constructor ()V .locals 1 .line 2491 new-instance v0, Landroidx/recyclerview/widget/LinearLayoutManager$SavedState$1; invoke-direct {v0}, Landroidx/recyclerview/widget/LinearLayoutManager$SavedState$1;->()V sput-object v0, Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;->CREATOR:Landroid/os/Parcelable$Creator; return-void .end method .method public constructor ()V .locals 0 .line 2454 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method constructor (Landroid/os/Parcel;)V .locals 1 .line 2458 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2459 invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I move-result v0 iput v0, p0, Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;->mAnchorPosition:I .line 2460 invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I move-result v0 iput v0, p0, Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;->mAnchorOffset:I .line 2461 invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I move-result p1 const/4 v0, 0x1 if-ne p1, v0, :cond_0 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 iput-boolean v0, p0, Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;->mAnchorLayoutFromEnd:Z return-void .end method .method public constructor (Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;)V .locals 1 .line 2465 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2466 iget v0, p1, Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;->mAnchorPosition:I iput v0, p0, Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;->mAnchorPosition:I .line 2467 iget v0, p1, Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;->mAnchorOffset:I iput v0, p0, Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;->mAnchorOffset:I .line 2468 iget-boolean p1, p1, Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;->mAnchorLayoutFromEnd:Z iput-boolean p1, p0, Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;->mAnchorLayoutFromEnd:Z return-void .end method # virtual methods .method public describeContents()I .locals 0 const/4 p0, 0x0 return p0 .end method .method hasValidAnchor()Z .locals 0 iget p0, p0, Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;->mAnchorPosition:I if-ltz p0, :cond_0 const/4 p0, 0x1 goto :goto_0 :cond_0 const/4 p0, 0x0 :goto_0 return p0 .end method .method invalidateAnchor()V .locals 1 const/4 v0, -0x1 iput v0, p0, Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;->mAnchorPosition:I return-void .end method .method public writeToParcel(Landroid/os/Parcel;I)V .locals 0 iget p2, p0, Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;->mAnchorPosition:I .line 2486 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V iget p2, p0, Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;->mAnchorOffset:I .line 2487 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V iget-boolean p0, p0, Landroidx/recyclerview/widget/LinearLayoutManager$SavedState;->mAnchorLayoutFromEnd:Z .line 2488 invoke-virtual {p1, p0}, Landroid/os/Parcel;->writeInt(I)V return-void .end method