2019-12-06 03:29:40 +00:00
|
|
|
.class public final Landroidx/fragment/app/BackStackState;
|
2019-07-24 11:27:29 +00:00
|
|
|
.super Ljava/lang/Object;
|
2019-10-07 23:23:22 +00:00
|
|
|
.source "BackStackState.java"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Landroid/os/Parcelable;
|
|
|
|
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
# annotations
|
|
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
|
|
value = {
|
|
|
|
"BanParcelableUsage"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final mBreadCrumbShortTitleRes:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final mBreadCrumbShortTitleText:Ljava/lang/CharSequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final mBreadCrumbTitleRes:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final mBreadCrumbTitleText:Ljava/lang/CharSequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final mCurrentMaxLifecycleStates:[I
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final mFragmentWhos:Ljava/util/ArrayList;
|
2019-10-07 23:23:22 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/ArrayList<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final mIndex:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final mName:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final mOldMaxLifecycleStates:[I
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final mOps:[I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final mReorderingAllowed:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final mSharedElementSourceNames:Ljava/util/ArrayList;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/ArrayList<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final mSharedElementTargetNames:Ljava/util/ArrayList;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/ArrayList<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final mTransition:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final mTransitionStyle:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static constructor <clinit>()V
|
2019-07-24 11:27:29 +00:00
|
|
|
.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
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
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
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
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;->readInt()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
iput v0, p0, Landroidx/fragment/app/BackStackState;->mTransitionStyle: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
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v0, p1, Landroidx/fragment/app/FragmentTransaction;->mOps:Ljava/util/ArrayList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
mul-int/lit8 v1, v0, 0x5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-array v1, v1, [I
|
|
|
|
|
|
|
|
iput-object v1, p0, Landroidx/fragment/app/BackStackState;->mOps:[I
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-boolean v1, p1, Landroidx/fragment/app/FragmentTransaction;->mAddToBackStack:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
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
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v1, v0, :cond_1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v3, p1, Landroidx/fragment/app/FragmentTransaction;->mOps:Ljava/util/ArrayList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
check-cast v3, Landroidx/fragment/app/FragmentTransaction$Op;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object v4, p0, Landroidx/fragment/app/BackStackState;->mOps:[I
|
|
|
|
|
|
|
|
add-int/lit8 v5, v2, 0x1
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget v6, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mCmd:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
aput v6, v4, v2
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget-object v2, p0, Landroidx/fragment/app/BackStackState;->mFragmentWhos:Ljava/util/ArrayList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget-object v4, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mFragment:Landroidx/fragment/app/Fragment;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
if-eqz v4, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget-object v4, v4, Landroidx/fragment/app/Fragment;->mWho:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-07 23:23:22 +00:00
|
|
|
const/4 v4, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_1
|
2019-10-07 23:23:22 +00:00
|
|
|
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
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
aput v6, v2, v5
|
|
|
|
|
|
|
|
add-int/lit8 v5, v4, 0x1
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget v6, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mExitAnim:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
aput v6, v2, v4
|
|
|
|
|
|
|
|
add-int/lit8 v4, v5, 0x1
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget v6, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mPopEnterAnim:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
aput v6, v2, v5
|
|
|
|
|
|
|
|
add-int/lit8 v5, v4, 0x1
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget v6, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mPopExitAnim:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
aput v6, v2, v4
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget-object v2, p0, Landroidx/fragment/app/BackStackState;->mOldMaxLifecycleStates:[I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget-object v4, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mOldMaxState:Landroidx/lifecycle/Lifecycle$State;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v4}, Ljava/lang/Enum;->ordinal()I
|
2019-10-07 23:23:22 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
aput v4, v2, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget-object v2, p0, Landroidx/fragment/app/BackStackState;->mCurrentMaxLifecycleStates:[I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget-object v3, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mCurrentMaxState:Landroidx/lifecycle/Lifecycle$State;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v3}, Ljava/lang/Enum;->ordinal()I
|
2019-10-07 23:23:22 +00:00
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
aput v3, v2, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
move v2, v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
2019-12-06 03:29:40 +00:00
|
|
|
iget v0, p1, Landroidx/fragment/app/FragmentTransaction;->mTransition:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iput v0, p0, Landroidx/fragment/app/BackStackState;->mTransition:I
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget v0, p1, Landroidx/fragment/app/FragmentTransaction;->mTransitionStyle:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iput v0, p0, Landroidx/fragment/app/BackStackState;->mTransitionStyle:I
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v0, p1, Landroidx/fragment/app/FragmentTransaction;->mName:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget v0, p1, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbTitleRes:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iput v0, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbTitleRes:I
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v0, p1, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbTitleText:Ljava/lang/CharSequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbTitleText:Ljava/lang/CharSequence;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget v0, p1, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbShortTitleRes:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iput v0, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbShortTitleRes:I
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v0, p1, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbShortTitleText:Ljava/lang/CharSequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbShortTitleText:Ljava/lang/CharSequence;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v0, p1, Landroidx/fragment/app/FragmentTransaction;->mSharedElementSourceNames:Ljava/util/ArrayList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mSharedElementSourceNames:Ljava/util/ArrayList;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v0, p1, Landroidx/fragment/app/FragmentTransaction;->mSharedElementTargetNames:Ljava/util/ArrayList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iput-object v0, p0, Landroidx/fragment/app/BackStackState;->mSharedElementTargetNames:Ljava/util/ArrayList;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-boolean p1, p1, Landroidx/fragment/app/FragmentTransaction;->mReorderingAllowed:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
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
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public describeContents()I
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public instantiate(Landroidx/fragment/app/FragmentManagerImpl;)Landroidx/fragment/app/BackStackRecord;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 6
|
|
|
|
|
|
|
|
new-instance v0, Landroidx/fragment/app/BackStackRecord;
|
|
|
|
|
|
|
|
invoke-direct {v0, p1}, Landroidx/fragment/app/BackStackRecord;-><init>(Landroidx/fragment/app/FragmentManagerImpl;)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
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
new-instance v3, Landroidx/fragment/app/FragmentTransaction$Op;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
invoke-direct {v3}, Landroidx/fragment/app/FragmentTransaction$Op;-><init>()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object v4, p0, Landroidx/fragment/app/BackStackState;->mOps:[I
|
|
|
|
|
|
|
|
add-int/lit8 v5, v1, 0x1
|
|
|
|
|
|
|
|
aget v1, v4, v1
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iput v1, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mCmd:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
sget-boolean v1, Landroidx/fragment/app/FragmentManagerImpl;->DEBUG:Z
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
const-string v4, "Instantiate "
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
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
|
2019-10-07 23:23:22 +00:00
|
|
|
iget-object v1, p0, Landroidx/fragment/app/BackStackState;->mFragmentWhos:Ljava/util/ArrayList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
check-cast v1, Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
if-eqz v1, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget-object v4, p1, Landroidx/fragment/app/FragmentManagerImpl;->mActive:Ljava/util/HashMap;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
invoke-virtual {v4, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
check-cast v1, Landroidx/fragment/app/Fragment;
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iput-object v1, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mFragment:Landroidx/fragment/app/Fragment;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iput-object v1, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mFragment:Landroidx/fragment/app/Fragment;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_1
|
2019-10-07 23:23:22 +00:00
|
|
|
invoke-static {}, Landroidx/lifecycle/Lifecycle$State;->values()[Landroidx/lifecycle/Lifecycle$State;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
move-result-object v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget-object v4, p0, Landroidx/fragment/app/BackStackState;->mOldMaxLifecycleStates:[I
|
|
|
|
|
|
|
|
aget v4, v4, v2
|
|
|
|
|
|
|
|
aget-object v1, v1, v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
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
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
add-int/lit8 v4, v5, 0x1
|
|
|
|
|
|
|
|
aget v5, v1, v5
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iput v5, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mEnterAnim:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
add-int/lit8 v5, v4, 0x1
|
|
|
|
|
|
|
|
aget v4, v1, v4
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iput v4, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mExitAnim:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
add-int/lit8 v4, v5, 0x1
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
aget v5, v1, v5
|
|
|
|
|
|
|
|
iput v5, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mPopEnterAnim:I
|
|
|
|
|
|
|
|
add-int/lit8 v5, v4, 0x1
|
|
|
|
|
|
|
|
aget v1, v1, v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iput v1, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mPopExitAnim:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget v1, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mEnterAnim:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput v1, v0, Landroidx/fragment/app/FragmentTransaction;->mEnterAnim:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget v1, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mExitAnim:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput v1, v0, Landroidx/fragment/app/FragmentTransaction;->mExitAnim:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget v1, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mPopEnterAnim:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput v1, v0, Landroidx/fragment/app/FragmentTransaction;->mPopEnterAnim:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget v1, v3, Landroidx/fragment/app/FragmentTransaction$Op;->mPopExitAnim:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput v1, v0, Landroidx/fragment/app/FragmentTransaction;->mPopExitAnim:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v0, v3}, Landroidx/fragment/app/FragmentTransaction;->addOp(Landroidx/fragment/app/FragmentTransaction$Op;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
move v1, v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
iget p1, p0, Landroidx/fragment/app/BackStackState;->mTransition:I
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput p1, v0, Landroidx/fragment/app/FragmentTransaction;->mTransition:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget p1, p0, Landroidx/fragment/app/BackStackState;->mTransitionStyle:I
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput p1, v0, Landroidx/fragment/app/FragmentTransaction;->mTransitionStyle:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object p1, p0, Landroidx/fragment/app/BackStackState;->mName:Ljava/lang/String;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-object p1, v0, Landroidx/fragment/app/FragmentTransaction;->mName:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget p1, p0, Landroidx/fragment/app/BackStackState;->mIndex:I
|
|
|
|
|
|
|
|
iput p1, v0, Landroidx/fragment/app/BackStackRecord;->mIndex:I
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-boolean p1, v0, Landroidx/fragment/app/FragmentTransaction;->mAddToBackStack:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget v1, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbTitleRes:I
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput v1, v0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbTitleRes:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object v1, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbTitleText:Ljava/lang/CharSequence;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-object v1, v0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbTitleText:Ljava/lang/CharSequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget v1, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbShortTitleRes:I
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput v1, v0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbShortTitleRes:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object v1, p0, Landroidx/fragment/app/BackStackState;->mBreadCrumbShortTitleText:Ljava/lang/CharSequence;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-object v1, v0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbShortTitleText:Ljava/lang/CharSequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object v1, p0, Landroidx/fragment/app/BackStackState;->mSharedElementSourceNames:Ljava/util/ArrayList;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-object v1, v0, Landroidx/fragment/app/FragmentTransaction;->mSharedElementSourceNames:Ljava/util/ArrayList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object v1, p0, Landroidx/fragment/app/BackStackState;->mSharedElementTargetNames:Ljava/util/ArrayList;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-object v1, v0, Landroidx/fragment/app/FragmentTransaction;->mSharedElementTargetNames:Ljava/util/ArrayList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-boolean v1, p0, Landroidx/fragment/app/BackStackState;->mReorderingAllowed:Z
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-boolean v1, v0, Landroidx/fragment/app/FragmentTransaction;->mReorderingAllowed:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/fragment/app/BackStackRecord;->bumpBackStackNesting(I)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public writeToParcel(Landroid/os/Parcel;I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object p2, p0, Landroidx/fragment/app/BackStackState;->mOps:[I
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeIntArray([I)V
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
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
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
iget p2, p0, Landroidx/fragment/app/BackStackState;->mTransition:I
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
|
|
|
|
iget p2, p0, Landroidx/fragment/app/BackStackState;->mTransitionStyle: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
|