.class final Landroidx/fragment/app/FragmentState; .super Ljava/lang/Object; .source "FragmentState.java" # interfaces .implements Landroid/os/Parcelable; # static fields .field public static final CREATOR:Landroid/os/Parcelable$Creator; .annotation system Ldalvik/annotation/Signature; value = { "Landroid/os/Parcelable$Creator<", "Landroidx/fragment/app/FragmentState;", ">;" } .end annotation .end field # instance fields .field final mClassName:Ljava/lang/String; .field final mContainerId:I .field final mDetached:Z .field final mFragmentId:I .field final mFromLayout:Z .field final mHidden:Z .field final mMaxLifecycleState:I .field final mRemoving:Z .field final mRetainInstance:Z .field final mTag:Ljava/lang/String; .field final mTargetRequestCode:I .field final mTargetWho:Ljava/lang/String; .field final mUserVisibleHint:Z .field final mWho:Ljava/lang/String; # direct methods .method static constructor ()V .locals 1 .line 169 new-instance v0, Landroidx/fragment/app/FragmentState$1; invoke-direct {v0}, Landroidx/fragment/app/FragmentState$1;->()V sput-object v0, Landroidx/fragment/app/FragmentState;->CREATOR:Landroid/os/Parcelable$Creator; return-void .end method .method constructor (Landroid/os/Parcel;)V .locals 3 .line 60 invoke-direct {p0}, Ljava/lang/Object;->()V .line 61 invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String; move-result-object v0 iput-object v0, p0, Landroidx/fragment/app/FragmentState;->mClassName:Ljava/lang/String; .line 62 invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String; move-result-object v0 iput-object v0, p0, Landroidx/fragment/app/FragmentState;->mWho:Ljava/lang/String; .line 63 invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I move-result v0 const/4 v1, 0x1 const/4 v2, 0x0 if-eqz v0, :cond_0 move v0, v1 goto :goto_0 :cond_0 move v0, v2 :goto_0 iput-boolean v0, p0, Landroidx/fragment/app/FragmentState;->mFromLayout:Z .line 64 invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I move-result v0 iput v0, p0, Landroidx/fragment/app/FragmentState;->mFragmentId:I .line 65 invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I move-result v0 iput v0, p0, Landroidx/fragment/app/FragmentState;->mContainerId:I .line 66 invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String; move-result-object v0 iput-object v0, p0, Landroidx/fragment/app/FragmentState;->mTag:Ljava/lang/String; .line 67 invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I move-result v0 if-eqz v0, :cond_1 move v0, v1 goto :goto_1 :cond_1 move v0, v2 :goto_1 iput-boolean v0, p0, Landroidx/fragment/app/FragmentState;->mRetainInstance:Z .line 68 invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I move-result v0 if-eqz v0, :cond_2 move v0, v1 goto :goto_2 :cond_2 move v0, v2 :goto_2 iput-boolean v0, p0, Landroidx/fragment/app/FragmentState;->mRemoving:Z .line 69 invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I move-result v0 if-eqz v0, :cond_3 move v0, v1 goto :goto_3 :cond_3 move v0, v2 :goto_3 iput-boolean v0, p0, Landroidx/fragment/app/FragmentState;->mDetached:Z .line 70 invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I move-result v0 if-eqz v0, :cond_4 move v0, v1 goto :goto_4 :cond_4 move v0, v2 :goto_4 iput-boolean v0, p0, Landroidx/fragment/app/FragmentState;->mHidden:Z .line 71 invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I move-result v0 iput v0, p0, Landroidx/fragment/app/FragmentState;->mMaxLifecycleState:I .line 72 invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String; move-result-object v0 iput-object v0, p0, Landroidx/fragment/app/FragmentState;->mTargetWho:Ljava/lang/String; .line 73 invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I move-result v0 iput v0, p0, Landroidx/fragment/app/FragmentState;->mTargetRequestCode:I .line 74 invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I move-result p1 if-eqz p1, :cond_5 goto :goto_5 :cond_5 move v1, v2 :goto_5 iput-boolean v1, p0, Landroidx/fragment/app/FragmentState;->mUserVisibleHint:Z return-void .end method .method constructor (Landroidx/fragment/app/Fragment;)V .locals 1 .line 43 invoke-direct {p0}, Ljava/lang/Object;->()V .line 44 invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v0 invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String; move-result-object v0 iput-object v0, p0, Landroidx/fragment/app/FragmentState;->mClassName:Ljava/lang/String; .line 45 iget-object v0, p1, Landroidx/fragment/app/Fragment;->mWho:Ljava/lang/String; iput-object v0, p0, Landroidx/fragment/app/FragmentState;->mWho:Ljava/lang/String; .line 46 iget-boolean v0, p1, Landroidx/fragment/app/Fragment;->mFromLayout:Z iput-boolean v0, p0, Landroidx/fragment/app/FragmentState;->mFromLayout:Z .line 47 iget v0, p1, Landroidx/fragment/app/Fragment;->mFragmentId:I iput v0, p0, Landroidx/fragment/app/FragmentState;->mFragmentId:I .line 48 iget v0, p1, Landroidx/fragment/app/Fragment;->mContainerId:I iput v0, p0, Landroidx/fragment/app/FragmentState;->mContainerId:I .line 49 iget-object v0, p1, Landroidx/fragment/app/Fragment;->mTag:Ljava/lang/String; iput-object v0, p0, Landroidx/fragment/app/FragmentState;->mTag:Ljava/lang/String; .line 50 iget-boolean v0, p1, Landroidx/fragment/app/Fragment;->mRetainInstance:Z iput-boolean v0, p0, Landroidx/fragment/app/FragmentState;->mRetainInstance:Z .line 51 iget-boolean v0, p1, Landroidx/fragment/app/Fragment;->mRemoving:Z iput-boolean v0, p0, Landroidx/fragment/app/FragmentState;->mRemoving:Z .line 52 iget-boolean v0, p1, Landroidx/fragment/app/Fragment;->mDetached:Z iput-boolean v0, p0, Landroidx/fragment/app/FragmentState;->mDetached:Z .line 53 iget-boolean v0, p1, Landroidx/fragment/app/Fragment;->mHidden:Z iput-boolean v0, p0, Landroidx/fragment/app/FragmentState;->mHidden:Z .line 54 iget-object v0, p1, Landroidx/fragment/app/Fragment;->mMaxState:Landroidx/lifecycle/Lifecycle$State; invoke-virtual {v0}, Landroidx/lifecycle/Lifecycle$State;->ordinal()I move-result v0 iput v0, p0, Landroidx/fragment/app/FragmentState;->mMaxLifecycleState:I .line 55 iget-object v0, p1, Landroidx/fragment/app/Fragment;->mTargetWho:Ljava/lang/String; iput-object v0, p0, Landroidx/fragment/app/FragmentState;->mTargetWho:Ljava/lang/String; .line 56 iget v0, p1, Landroidx/fragment/app/Fragment;->mTargetRequestCode:I iput v0, p0, Landroidx/fragment/app/FragmentState;->mTargetRequestCode:I .line 57 iget-boolean p1, p1, Landroidx/fragment/app/Fragment;->mUserVisibleHint:Z iput-boolean p1, p0, Landroidx/fragment/app/FragmentState;->mUserVisibleHint:Z return-void .end method # virtual methods .method public describeContents()I .locals 0 const/4 p0, 0x0 return p0 .end method .method instantiate(Landroidx/fragment/app/FragmentFactory;Ljava/lang/ClassLoader;)Landroidx/fragment/app/Fragment; .locals 1 iget-object v0, p0, Landroidx/fragment/app/FragmentState;->mClassName:Ljava/lang/String; .line 84 invoke-virtual {p1, p2, v0}, Landroidx/fragment/app/FragmentFactory;->instantiate(Ljava/lang/ClassLoader;Ljava/lang/String;)Landroidx/fragment/app/Fragment; move-result-object p1 iget-object p2, p0, Landroidx/fragment/app/FragmentState;->mWho:Ljava/lang/String; .line 85 iput-object p2, p1, Landroidx/fragment/app/Fragment;->mWho:Ljava/lang/String; iget-boolean p2, p0, Landroidx/fragment/app/FragmentState;->mFromLayout:Z .line 86 iput-boolean p2, p1, Landroidx/fragment/app/Fragment;->mFromLayout:Z const/4 p2, 0x1 .line 87 iput-boolean p2, p1, Landroidx/fragment/app/Fragment;->mRestored:Z iget p2, p0, Landroidx/fragment/app/FragmentState;->mFragmentId:I .line 88 iput p2, p1, Landroidx/fragment/app/Fragment;->mFragmentId:I iget p2, p0, Landroidx/fragment/app/FragmentState;->mContainerId:I .line 89 iput p2, p1, Landroidx/fragment/app/Fragment;->mContainerId:I iget-object p2, p0, Landroidx/fragment/app/FragmentState;->mTag:Ljava/lang/String; .line 90 iput-object p2, p1, Landroidx/fragment/app/Fragment;->mTag:Ljava/lang/String; iget-boolean p2, p0, Landroidx/fragment/app/FragmentState;->mRetainInstance:Z .line 91 iput-boolean p2, p1, Landroidx/fragment/app/Fragment;->mRetainInstance:Z iget-boolean p2, p0, Landroidx/fragment/app/FragmentState;->mRemoving:Z .line 92 iput-boolean p2, p1, Landroidx/fragment/app/Fragment;->mRemoving:Z iget-boolean p2, p0, Landroidx/fragment/app/FragmentState;->mDetached:Z .line 93 iput-boolean p2, p1, Landroidx/fragment/app/Fragment;->mDetached:Z iget-boolean p2, p0, Landroidx/fragment/app/FragmentState;->mHidden:Z .line 94 iput-boolean p2, p1, Landroidx/fragment/app/Fragment;->mHidden:Z .line 95 invoke-static {}, Landroidx/lifecycle/Lifecycle$State;->values()[Landroidx/lifecycle/Lifecycle$State; move-result-object p2 iget v0, p0, Landroidx/fragment/app/FragmentState;->mMaxLifecycleState:I aget-object p2, p2, v0 iput-object p2, p1, Landroidx/fragment/app/Fragment;->mMaxState:Landroidx/lifecycle/Lifecycle$State; iget-object p2, p0, Landroidx/fragment/app/FragmentState;->mTargetWho:Ljava/lang/String; .line 96 iput-object p2, p1, Landroidx/fragment/app/Fragment;->mTargetWho:Ljava/lang/String; iget p2, p0, Landroidx/fragment/app/FragmentState;->mTargetRequestCode:I .line 97 iput p2, p1, Landroidx/fragment/app/Fragment;->mTargetRequestCode:I iget-boolean p0, p0, Landroidx/fragment/app/FragmentState;->mUserVisibleHint:Z .line 98 iput-boolean p0, p1, Landroidx/fragment/app/Fragment;->mUserVisibleHint:Z return-object p1 .end method .method public toString()Ljava/lang/String; .locals 2 .line 105 new-instance v0, Ljava/lang/StringBuilder; const/16 v1, 0x80 invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(I)V const-string v1, "FragmentState{" .line 106 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p0, Landroidx/fragment/app/FragmentState;->mClassName:Ljava/lang/String; .line 107 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v1, " (" .line 108 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p0, Landroidx/fragment/app/FragmentState;->mWho:Ljava/lang/String; .line 109 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v1, ")}:" .line 110 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-boolean v1, p0, Landroidx/fragment/app/FragmentState;->mFromLayout:Z if-eqz v1, :cond_0 const-string v1, " fromLayout" .line 112 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; :cond_0 iget v1, p0, Landroidx/fragment/app/FragmentState;->mContainerId:I if-eqz v1, :cond_1 const-string v1, " id=0x" .line 115 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget v1, p0, Landroidx/fragment/app/FragmentState;->mContainerId:I .line 116 invoke-static {v1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String; move-result-object v1 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; :cond_1 iget-object v1, p0, Landroidx/fragment/app/FragmentState;->mTag:Ljava/lang/String; if-eqz v1, :cond_2 .line 118 invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z move-result v1 if-nez v1, :cond_2 const-string v1, " tag=" .line 119 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p0, Landroidx/fragment/app/FragmentState;->mTag:Ljava/lang/String; .line 120 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; :cond_2 iget-boolean v1, p0, Landroidx/fragment/app/FragmentState;->mRetainInstance:Z if-eqz v1, :cond_3 const-string v1, " retainInstance" .line 123 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; :cond_3 iget-boolean v1, p0, Landroidx/fragment/app/FragmentState;->mRemoving:Z if-eqz v1, :cond_4 const-string v1, " removing" .line 126 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; :cond_4 iget-boolean v1, p0, Landroidx/fragment/app/FragmentState;->mDetached:Z if-eqz v1, :cond_5 const-string v1, " detached" .line 129 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; :cond_5 iget-boolean v1, p0, Landroidx/fragment/app/FragmentState;->mHidden:Z if-eqz v1, :cond_6 const-string v1, " hidden" .line 132 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; :cond_6 iget-object v1, p0, Landroidx/fragment/app/FragmentState;->mTargetWho:Ljava/lang/String; if-eqz v1, :cond_7 const-string v1, " targetWho=" .line 135 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p0, Landroidx/fragment/app/FragmentState;->mTargetWho:Ljava/lang/String; .line 136 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v1, " targetRequestCode=" .line 137 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget v1, p0, Landroidx/fragment/app/FragmentState;->mTargetRequestCode:I .line 138 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; :cond_7 iget-boolean p0, p0, Landroidx/fragment/app/FragmentState;->mUserVisibleHint:Z if-eqz p0, :cond_8 const-string p0, " userVisibleHint" .line 141 invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; .line 143 :cond_8 invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 return-object p0 .end method .method public writeToParcel(Landroid/os/Parcel;I)V .locals 0 iget-object p2, p0, Landroidx/fragment/app/FragmentState;->mClassName:Ljava/lang/String; .line 153 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V iget-object p2, p0, Landroidx/fragment/app/FragmentState;->mWho:Ljava/lang/String; .line 154 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V iget-boolean p2, p0, Landroidx/fragment/app/FragmentState;->mFromLayout:Z .line 155 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V iget p2, p0, Landroidx/fragment/app/FragmentState;->mFragmentId:I .line 156 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V iget p2, p0, Landroidx/fragment/app/FragmentState;->mContainerId:I .line 157 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V iget-object p2, p0, Landroidx/fragment/app/FragmentState;->mTag:Ljava/lang/String; .line 158 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V iget-boolean p2, p0, Landroidx/fragment/app/FragmentState;->mRetainInstance:Z .line 159 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V iget-boolean p2, p0, Landroidx/fragment/app/FragmentState;->mRemoving:Z .line 160 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V iget-boolean p2, p0, Landroidx/fragment/app/FragmentState;->mDetached:Z .line 161 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V iget-boolean p2, p0, Landroidx/fragment/app/FragmentState;->mHidden:Z .line 162 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V iget p2, p0, Landroidx/fragment/app/FragmentState;->mMaxLifecycleState:I .line 163 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V iget-object p2, p0, Landroidx/fragment/app/FragmentState;->mTargetWho:Ljava/lang/String; .line 164 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V iget p2, p0, Landroidx/fragment/app/FragmentState;->mTargetRequestCode:I .line 165 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V iget-boolean p0, p0, Landroidx/fragment/app/FragmentState;->mUserVisibleHint:Z .line 166 invoke-virtual {p1, p0}, Landroid/os/Parcel;->writeInt(I)V return-void .end method