673 lines
20 KiB
Smali
673 lines
20 KiB
Smali
|
.class public final Landroidx/fragment/app/BackStackState;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "BackStackState.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Landroid/os/Parcelable;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation build Landroid/annotation/SuppressLint;
|
||
|
value = {
|
||
|
"BanParcelableUsage"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Landroid/os/Parcelable$Creator<",
|
||
|
"Landroidx/fragment/app/BackStackState;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public static final TAG:Ljava/lang/String; = "FragmentManager"
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final mBreadCrumbShortTitleRes:I
|
||
|
|
||
|
.field public final mBreadCrumbShortTitleText:Ljava/lang/CharSequence;
|
||
|
|
||
|
.field public final mBreadCrumbTitleRes:I
|
||
|
|
||
|
.field public final mBreadCrumbTitleText:Ljava/lang/CharSequence;
|
||
|
|
||
|
.field public final mCurrentMaxLifecycleStates:[I
|
||
|
|
||
|
.field public final mFragmentWhos:Ljava/util/ArrayList;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/util/ArrayList<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public final mIndex:I
|
||
|
|
||
|
.field public final mName:Ljava/lang/String;
|
||
|
|
||
|
.field public final mOldMaxLifecycleStates:[I
|
||
|
|
||
|
.field public final mOps:[I
|
||
|
|
||
|
.field public final mReorderingAllowed:Z
|
||
|
|
||
|
.field public final mSharedElementSourceNames:Ljava/util/ArrayList;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/util/ArrayList<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public final mSharedElementTargetNames:Ljava/util/ArrayList;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/util/ArrayList<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public final mTransition:I
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public static constructor <clinit>()V
|
||
|
.locals 1
|
||
|
|
||
|
new-instance v0, Landroidx/fragment/app/BackStackState$1;
|
||
|
|
||
|
invoke-direct {v0}, Landroidx/fragment/app/BackStackState$1;-><init>()V
|
||
|
|
||
|
sput-object v0, Landroidx/fragment/app/BackStackState;->CREATOR:Landroid/os/Parcelable$Creator;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public constructor <init>(Landroid/os/Parcel;)V
|
||
|
.locals 1
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/os/Parcel;->createIntArray()[I
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mOps:[I
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/os/Parcel;->createStringArrayList()Ljava/util/ArrayList;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mFragmentWhos:Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/os/Parcel;->createIntArray()[I
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mOldMaxLifecycleStates:[I
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/os/Parcel;->createIntArray()[I
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mCurrentMaxLifecycleStates:[I
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
iput v0, p0, Landroidx/fragment/app/BackStackState;->mTransition:I
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mName:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
iput v0, p0, Landroidx/fragment/app/BackStackState;->mIndex:I
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
iput v0, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbTitleRes:I
|
||
|
|
||
|
sget-object v0, Landroid/text/TextUtils;->CHAR_SEQUENCE_CREATOR:Landroid/os/Parcelable$Creator;
|
||
|
|
||
|
invoke-interface {v0, p1}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/CharSequence;
|
||
|
|
||
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbTitleText:Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
iput v0, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbShortTitleRes:I
|
||
|
|
||
|
sget-object v0, Landroid/text/TextUtils;->CHAR_SEQUENCE_CREATOR:Landroid/os/Parcelable$Creator;
|
||
|
|
||
|
invoke-interface {v0, p1}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/CharSequence;
|
||
|
|
||
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbShortTitleText:Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/os/Parcel;->createStringArrayList()Ljava/util/ArrayList;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mSharedElementSourceNames:Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/os/Parcel;->createStringArrayList()Ljava/util/ArrayList;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mSharedElementTargetNames:Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
const/4 p1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
iput-boolean p1, p0, Landroidx/fragment/app/BackStackState;->mReorderingAllowed:Z
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public constructor <init>(Landroidx/fragment/app/BackStackRecord;)V
|
||
|
.locals 7
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iget-object v0, p1, Landroidx/fragment/app/FragmentTransaction;->mOps:Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
mul-int/lit8 v1, v0, 0x5
|
||
|
|
||
|
new-array v1, v1, [I
|
||
|
|
||
|
iput-object v1, p0, Landroidx/fragment/app/BackStackState;->mOps:[I
|
||
|
|
||
|
iget-boolean v1, p1, Landroidx/fragment/app/FragmentTransaction;->mAddToBackStack:Z
|
||
|
|
||
|
if-eqz v1, :cond_2
|
||
|
|
||
|
new-instance v1, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {v1, v0}, Ljava/util/ArrayList;-><init>(I)V
|
||
|
|
||
|
iput-object v1, p0, Landroidx/fragment/app/BackStackState;->mFragmentWhos:Ljava/util/ArrayList;
|
||
|
|
||
|
new-array v1, v0, [I
|
||
|
|
||
|
iput-object v1, p0, Landroidx/fragment/app/BackStackState;->mOldMaxLifecycleStates:[I
|
||
|
|
||
|
new-array v1, v0, [I
|
||
|
|
||
|
iput-object v1, p0, Landroidx/fragment/app/BackStackState;->mCurrentMaxLifecycleStates:[I
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v1, v0, :cond_1
|
||
|
|
||
|
iget-object v3, p1, Landroidx/fragment/app/FragmentTransaction;->mOps:Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
check-cast v3, Landroidx/fragment/app/FragmentTransaction$Op;
|
||
|
|
||
|
iget-object v4, p0, Landroidx/fragment/app/BackStackState;->mOps:[I
|
||
|
|
||
|
add-int/lit8 v5, v2, 0x1
|
||
|
|
||
|
iget v6, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mCmd:I
|
||
|
|
||
|
aput v6, v4, v2
|
||
|
|
||
|
iget-object v2, p0, Landroidx/fragment/app/BackStackState;->mFragmentWhos:Ljava/util/ArrayList;
|
||
|
|
||
|
iget-object v4, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mFragment:Landroidx/fragment/app/Fragment;
|
||
|
|
||
|
if-eqz v4, :cond_0
|
||
|
|
||
|
iget-object v4, v4, Landroidx/fragment/app/Fragment;->mWho:Ljava/lang/String;
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
:goto_1
|
||
|
invoke-virtual {v2, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
iget-object v2, p0, Landroidx/fragment/app/BackStackState;->mOps:[I
|
||
|
|
||
|
add-int/lit8 v4, v5, 0x1
|
||
|
|
||
|
iget v6, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mEnterAnim:I
|
||
|
|
||
|
aput v6, v2, v5
|
||
|
|
||
|
add-int/lit8 v5, v4, 0x1
|
||
|
|
||
|
iget v6, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mExitAnim:I
|
||
|
|
||
|
aput v6, v2, v4
|
||
|
|
||
|
add-int/lit8 v4, v5, 0x1
|
||
|
|
||
|
iget v6, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mPopEnterAnim:I
|
||
|
|
||
|
aput v6, v2, v5
|
||
|
|
||
|
add-int/lit8 v5, v4, 0x1
|
||
|
|
||
|
iget v6, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mPopExitAnim:I
|
||
|
|
||
|
aput v6, v2, v4
|
||
|
|
||
|
iget-object v2, p0, Landroidx/fragment/app/BackStackState;->mOldMaxLifecycleStates:[I
|
||
|
|
||
|
iget-object v4, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mOldMaxState:Landroidx/lifecycle/Lifecycle$State;
|
||
|
|
||
|
invoke-virtual {v4}, Ljava/lang/Enum;->ordinal()I
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
aput v4, v2, v1
|
||
|
|
||
|
iget-object v2, p0, Landroidx/fragment/app/BackStackState;->mCurrentMaxLifecycleStates:[I
|
||
|
|
||
|
iget-object v3, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mCurrentMaxState:Landroidx/lifecycle/Lifecycle$State;
|
||
|
|
||
|
invoke-virtual {v3}, Ljava/lang/Enum;->ordinal()I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
aput v3, v2, v1
|
||
|
|
||
|
add-int/lit8 v1, v1, 0x1
|
||
|
|
||
|
move v2, v5
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
iget v0, p1, Landroidx/fragment/app/FragmentTransaction;->mTransition:I
|
||
|
|
||
|
iput v0, p0, Landroidx/fragment/app/BackStackState;->mTransition:I
|
||
|
|
||
|
iget-object v0, p1, Landroidx/fragment/app/FragmentTransaction;->mName:Ljava/lang/String;
|
||
|
|
||
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mName:Ljava/lang/String;
|
||
|
|
||
|
iget v0, p1, Landroidx/fragment/app/BackStackRecord;->mIndex:I
|
||
|
|
||
|
iput v0, p0, Landroidx/fragment/app/BackStackState;->mIndex:I
|
||
|
|
||
|
iget v0, p1, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbTitleRes:I
|
||
|
|
||
|
iput v0, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbTitleRes:I
|
||
|
|
||
|
iget-object v0, p1, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbTitleText:Ljava/lang/CharSequence;
|
||
|
|
||
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbTitleText:Ljava/lang/CharSequence;
|
||
|
|
||
|
iget v0, p1, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbShortTitleRes:I
|
||
|
|
||
|
iput v0, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbShortTitleRes:I
|
||
|
|
||
|
iget-object v0, p1, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbShortTitleText:Ljava/lang/CharSequence;
|
||
|
|
||
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbShortTitleText:Ljava/lang/CharSequence;
|
||
|
|
||
|
iget-object v0, p1, Landroidx/fragment/app/FragmentTransaction;->mSharedElementSourceNames:Ljava/util/ArrayList;
|
||
|
|
||
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mSharedElementSourceNames:Ljava/util/ArrayList;
|
||
|
|
||
|
iget-object v0, p1, Landroidx/fragment/app/FragmentTransaction;->mSharedElementTargetNames:Ljava/util/ArrayList;
|
||
|
|
||
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mSharedElementTargetNames:Ljava/util/ArrayList;
|
||
|
|
||
|
iget-boolean p1, p1, Landroidx/fragment/app/FragmentTransaction;->mReorderingAllowed:Z
|
||
|
|
||
|
iput-boolean p1, p0, Landroidx/fragment/app/BackStackState;->mReorderingAllowed:Z
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_2
|
||
|
new-instance p1, Ljava/lang/IllegalStateException;
|
||
|
|
||
|
const-string v0, "Not on back stack"
|
||
|
|
||
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p1
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public describeContents()I
|
||
|
.locals 1
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public instantiate(Landroidx/fragment/app/FragmentManager;)Landroidx/fragment/app/BackStackRecord;
|
||
|
.locals 9
|
||
|
|
||
|
new-instance v0, Landroidx/fragment/app/BackStackRecord;
|
||
|
|
||
|
invoke-direct {v0, p1}, Landroidx/fragment/app/BackStackRecord;-><init>(Landroidx/fragment/app/FragmentManager;)V
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
iget-object v3, p0, Landroidx/fragment/app/BackStackState;->mOps:[I
|
||
|
|
||
|
array-length v3, v3
|
||
|
|
||
|
if-ge v1, v3, :cond_2
|
||
|
|
||
|
new-instance v3, Landroidx/fragment/app/FragmentTransaction$Op;
|
||
|
|
||
|
invoke-direct {v3}, Landroidx/fragment/app/FragmentTransaction$Op;-><init>()V
|
||
|
|
||
|
iget-object v4, p0, Landroidx/fragment/app/BackStackState;->mOps:[I
|
||
|
|
||
|
add-int/lit8 v5, v1, 0x1
|
||
|
|
||
|
aget v1, v4, v1
|
||
|
|
||
|
iput v1, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mCmd:I
|
||
|
|
||
|
const/4 v1, 0x2
|
||
|
|
||
|
invoke-static {v1}, Landroidx/fragment/app/FragmentManager;->isLoggingEnabled(I)Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
new-instance v1, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const-string v4, "Instantiate "
|
||
|
|
||
|
invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v4, " op #"
|
||
|
|
||
|
invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v4, " base fragment #"
|
||
|
|
||
|
invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
iget-object v4, p0, Landroidx/fragment/app/BackStackState;->mOps:[I
|
||
|
|
||
|
aget v4, v4, v5
|
||
|
|
||
|
invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
const-string v4, "FragmentManager"
|
||
|
|
||
|
invoke-static {v4, v1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
|
||
|
|
||
|
:cond_0
|
||
|
iget-object v1, p0, Landroidx/fragment/app/BackStackState;->mFragmentWhos:Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/String;
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
invoke-virtual {p1, v1}, Landroidx/fragment/app/FragmentManager;->findActiveFragment(Ljava/lang/String;)Landroidx/fragment/app/Fragment;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
iput-object v1, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mFragment:Landroidx/fragment/app/Fragment;
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
iput-object v1, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mFragment:Landroidx/fragment/app/Fragment;
|
||
|
|
||
|
:goto_1
|
||
|
invoke-static {}, Landroidx/lifecycle/Lifecycle$State;->values()[Landroidx/lifecycle/Lifecycle$State;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
iget-object v4, p0, Landroidx/fragment/app/BackStackState;->mOldMaxLifecycleStates:[I
|
||
|
|
||
|
aget v4, v4, v2
|
||
|
|
||
|
aget-object v1, v1, v4
|
||
|
|
||
|
iput-object v1, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mOldMaxState:Landroidx/lifecycle/Lifecycle$State;
|
||
|
|
||
|
invoke-static {}, Landroidx/lifecycle/Lifecycle$State;->values()[Landroidx/lifecycle/Lifecycle$State;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
iget-object v4, p0, Landroidx/fragment/app/BackStackState;->mCurrentMaxLifecycleStates:[I
|
||
|
|
||
|
aget v4, v4, v2
|
||
|
|
||
|
aget-object v1, v1, v4
|
||
|
|
||
|
iput-object v1, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mCurrentMaxState:Landroidx/lifecycle/Lifecycle$State;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/fragment/app/BackStackState;->mOps:[I
|
||
|
|
||
|
add-int/lit8 v4, v5, 0x1
|
||
|
|
||
|
aget v5, v1, v5
|
||
|
|
||
|
iput v5, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mEnterAnim:I
|
||
|
|
||
|
add-int/lit8 v6, v4, 0x1
|
||
|
|
||
|
aget v4, v1, v4
|
||
|
|
||
|
iput v4, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mExitAnim:I
|
||
|
|
||
|
add-int/lit8 v7, v6, 0x1
|
||
|
|
||
|
aget v6, v1, v6
|
||
|
|
||
|
iput v6, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mPopEnterAnim:I
|
||
|
|
||
|
add-int/lit8 v8, v7, 0x1
|
||
|
|
||
|
aget v1, v1, v7
|
||
|
|
||
|
iput v1, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mPopExitAnim:I
|
||
|
|
||
|
iput v5, v0, Landroidx/fragment/app/FragmentTransaction;->mEnterAnim:I
|
||
|
|
||
|
iput v4, v0, Landroidx/fragment/app/FragmentTransaction;->mExitAnim:I
|
||
|
|
||
|
iput v6, v0, Landroidx/fragment/app/FragmentTransaction;->mPopEnterAnim:I
|
||
|
|
||
|
iput v1, v0, Landroidx/fragment/app/FragmentTransaction;->mPopExitAnim:I
|
||
|
|
||
|
invoke-virtual {v0, v3}, Landroidx/fragment/app/FragmentTransaction;->addOp(Landroidx/fragment/app/FragmentTransaction$Op;)V
|
||
|
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
move v1, v8
|
||
|
|
||
|
goto/16 :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
iget p1, p0, Landroidx/fragment/app/BackStackState;->mTransition:I
|
||
|
|
||
|
iput p1, v0, Landroidx/fragment/app/FragmentTransaction;->mTransition:I
|
||
|
|
||
|
iget-object p1, p0, Landroidx/fragment/app/BackStackState;->mName:Ljava/lang/String;
|
||
|
|
||
|
iput-object p1, v0, Landroidx/fragment/app/FragmentTransaction;->mName:Ljava/lang/String;
|
||
|
|
||
|
iget p1, p0, Landroidx/fragment/app/BackStackState;->mIndex:I
|
||
|
|
||
|
iput p1, v0, Landroidx/fragment/app/BackStackRecord;->mIndex:I
|
||
|
|
||
|
const/4 p1, 0x1
|
||
|
|
||
|
iput-boolean p1, v0, Landroidx/fragment/app/FragmentTransaction;->mAddToBackStack:Z
|
||
|
|
||
|
iget v1, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbTitleRes:I
|
||
|
|
||
|
iput v1, v0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbTitleRes:I
|
||
|
|
||
|
iget-object v1, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbTitleText:Ljava/lang/CharSequence;
|
||
|
|
||
|
iput-object v1, v0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbTitleText:Ljava/lang/CharSequence;
|
||
|
|
||
|
iget v1, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbShortTitleRes:I
|
||
|
|
||
|
iput v1, v0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbShortTitleRes:I
|
||
|
|
||
|
iget-object v1, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbShortTitleText:Ljava/lang/CharSequence;
|
||
|
|
||
|
iput-object v1, v0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbShortTitleText:Ljava/lang/CharSequence;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/fragment/app/BackStackState;->mSharedElementSourceNames:Ljava/util/ArrayList;
|
||
|
|
||
|
iput-object v1, v0, Landroidx/fragment/app/FragmentTransaction;->mSharedElementSourceNames:Ljava/util/ArrayList;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/fragment/app/BackStackState;->mSharedElementTargetNames:Ljava/util/ArrayList;
|
||
|
|
||
|
iput-object v1, v0, Landroidx/fragment/app/FragmentTransaction;->mSharedElementTargetNames:Ljava/util/ArrayList;
|
||
|
|
||
|
iget-boolean v1, p0, Landroidx/fragment/app/BackStackState;->mReorderingAllowed:Z
|
||
|
|
||
|
iput-boolean v1, v0, Landroidx/fragment/app/FragmentTransaction;->mReorderingAllowed:Z
|
||
|
|
||
|
invoke-virtual {v0, p1}, Landroidx/fragment/app/BackStackRecord;->bumpBackStackNesting(I)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public writeToParcel(Landroid/os/Parcel;I)V
|
||
|
.locals 1
|
||
|
|
||
|
iget-object p2, p0, Landroidx/fragment/app/BackStackState;->mOps:[I
|
||
|
|
||
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeIntArray([I)V
|
||
|
|
||
|
iget-object p2, p0, Landroidx/fragment/app/BackStackState;->mFragmentWhos:Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeStringList(Ljava/util/List;)V
|
||
|
|
||
|
iget-object p2, p0, Landroidx/fragment/app/BackStackState;->mOldMaxLifecycleStates:[I
|
||
|
|
||
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeIntArray([I)V
|
||
|
|
||
|
iget-object p2, p0, Landroidx/fragment/app/BackStackState;->mCurrentMaxLifecycleStates:[I
|
||
|
|
||
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeIntArray([I)V
|
||
|
|
||
|
iget p2, p0, Landroidx/fragment/app/BackStackState;->mTransition:I
|
||
|
|
||
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
|
||
|
|
||
|
iget-object p2, p0, Landroidx/fragment/app/BackStackState;->mName:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
||
|
|
||
|
iget p2, p0, Landroidx/fragment/app/BackStackState;->mIndex:I
|
||
|
|
||
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
|
||
|
|
||
|
iget p2, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbTitleRes:I
|
||
|
|
||
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
|
||
|
|
||
|
iget-object p2, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbTitleText:Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
invoke-static {p2, p1, v0}, Landroid/text/TextUtils;->writeToParcel(Ljava/lang/CharSequence;Landroid/os/Parcel;I)V
|
||
|
|
||
|
iget p2, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbShortTitleRes:I
|
||
|
|
||
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
|
||
|
|
||
|
iget-object p2, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbShortTitleText:Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {p2, p1, v0}, Landroid/text/TextUtils;->writeToParcel(Ljava/lang/CharSequence;Landroid/os/Parcel;I)V
|
||
|
|
||
|
iget-object p2, p0, Landroidx/fragment/app/BackStackState;->mSharedElementSourceNames:Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeStringList(Ljava/util/List;)V
|
||
|
|
||
|
iget-object p2, p0, Landroidx/fragment/app/BackStackState;->mSharedElementTargetNames:Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeStringList(Ljava/util/List;)V
|
||
|
|
||
|
iget-boolean p2, p0, Landroidx/fragment/app/BackStackState;->mReorderingAllowed:Z
|
||
|
|
||
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|