mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
1388 lines
40 KiB
Smali
1388 lines
40 KiB
Smali
.class public abstract Landroidx/fragment/app/FragmentTransaction;
|
|
.super Ljava/lang/Object;
|
|
.source "FragmentTransaction.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/fragment/app/FragmentTransaction$Op;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field static final OP_ADD:I = 0x1
|
|
|
|
.field static final OP_ATTACH:I = 0x7
|
|
|
|
.field static final OP_DETACH:I = 0x6
|
|
|
|
.field static final OP_HIDE:I = 0x4
|
|
|
|
.field static final OP_NULL:I = 0x0
|
|
|
|
.field static final OP_REMOVE:I = 0x3
|
|
|
|
.field static final OP_REPLACE:I = 0x2
|
|
|
|
.field static final OP_SET_MAX_LIFECYCLE:I = 0xa
|
|
|
|
.field static final OP_SET_PRIMARY_NAV:I = 0x8
|
|
|
|
.field static final OP_SHOW:I = 0x5
|
|
|
|
.field static final OP_UNSET_PRIMARY_NAV:I = 0x9
|
|
|
|
.field public static final TRANSIT_ENTER_MASK:I = 0x1000
|
|
|
|
.field public static final TRANSIT_EXIT_MASK:I = 0x2000
|
|
|
|
.field public static final TRANSIT_FRAGMENT_CLOSE:I = 0x2002
|
|
|
|
.field public static final TRANSIT_FRAGMENT_FADE:I = 0x1003
|
|
|
|
.field public static final TRANSIT_FRAGMENT_MATCH_ACTIVITY_CLOSE:I = 0x2005
|
|
|
|
.field public static final TRANSIT_FRAGMENT_MATCH_ACTIVITY_OPEN:I = 0x1004
|
|
|
|
.field public static final TRANSIT_FRAGMENT_OPEN:I = 0x1001
|
|
|
|
.field public static final TRANSIT_NONE:I = 0x0
|
|
|
|
.field public static final TRANSIT_UNSET:I = -0x1
|
|
|
|
|
|
# instance fields
|
|
.field mAddToBackStack:Z
|
|
|
|
.field mAllowAddToBackStack:Z
|
|
|
|
.field mBreadCrumbShortTitleRes:I
|
|
|
|
.field mBreadCrumbShortTitleText:Ljava/lang/CharSequence;
|
|
|
|
.field mBreadCrumbTitleRes:I
|
|
|
|
.field mBreadCrumbTitleText:Ljava/lang/CharSequence;
|
|
|
|
.field private final mClassLoader:Ljava/lang/ClassLoader;
|
|
|
|
.field mCommitRunnables:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/Runnable;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field mEnterAnim:I
|
|
|
|
.field mExitAnim:I
|
|
|
|
.field private final mFragmentFactory:Landroidx/fragment/app/FragmentFactory;
|
|
|
|
.field mName:Ljava/lang/String;
|
|
|
|
.field mOps:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Landroidx/fragment/app/FragmentTransaction$Op;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field mPopEnterAnim:I
|
|
|
|
.field mPopExitAnim:I
|
|
|
|
.field mReorderingAllowed:Z
|
|
|
|
.field mSharedElementSourceNames:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field mSharedElementTargetNames:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field mTransition:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 145
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 119
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/fragment/app/FragmentTransaction;->mOps:Ljava/util/ArrayList;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Landroidx/fragment/app/FragmentTransaction;->mAllowAddToBackStack:Z
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Landroidx/fragment/app/FragmentTransaction;->mReorderingAllowed:Z
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Landroidx/fragment/app/FragmentTransaction;->mFragmentFactory:Landroidx/fragment/app/FragmentFactory;
|
|
|
|
iput-object v0, p0, Landroidx/fragment/app/FragmentTransaction;->mClassLoader:Ljava/lang/ClassLoader;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method constructor <init>(Landroidx/fragment/app/FragmentFactory;Ljava/lang/ClassLoader;)V
|
|
.locals 1
|
|
|
|
.line 151
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 119
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/fragment/app/FragmentTransaction;->mOps:Ljava/util/ArrayList;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Landroidx/fragment/app/FragmentTransaction;->mAllowAddToBackStack:Z
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Landroidx/fragment/app/FragmentTransaction;->mReorderingAllowed:Z
|
|
|
|
iput-object p1, p0, Landroidx/fragment/app/FragmentTransaction;->mFragmentFactory:Landroidx/fragment/app/FragmentFactory;
|
|
|
|
iput-object p2, p0, Landroidx/fragment/app/FragmentTransaction;->mClassLoader:Ljava/lang/ClassLoader;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method constructor <init>(Landroidx/fragment/app/FragmentFactory;Ljava/lang/ClassLoader;Landroidx/fragment/app/FragmentTransaction;)V
|
|
.locals 2
|
|
|
|
.line 158
|
|
invoke-direct {p0, p1, p2}, Landroidx/fragment/app/FragmentTransaction;-><init>(Landroidx/fragment/app/FragmentFactory;Ljava/lang/ClassLoader;)V
|
|
|
|
.line 159
|
|
iget-object p1, p3, Landroidx/fragment/app/FragmentTransaction;->mOps:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {p1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Landroidx/fragment/app/FragmentTransaction$Op;
|
|
|
|
iget-object v0, p0, Landroidx/fragment/app/FragmentTransaction;->mOps:Ljava/util/ArrayList;
|
|
|
|
.line 160
|
|
new-instance v1, Landroidx/fragment/app/FragmentTransaction$Op;
|
|
|
|
invoke-direct {v1, p2}, Landroidx/fragment/app/FragmentTransaction$Op;-><init>(Landroidx/fragment/app/FragmentTransaction$Op;)V
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
.line 162
|
|
:cond_0
|
|
iget p1, p3, Landroidx/fragment/app/FragmentTransaction;->mEnterAnim:I
|
|
|
|
iput p1, p0, Landroidx/fragment/app/FragmentTransaction;->mEnterAnim:I
|
|
|
|
.line 163
|
|
iget p1, p3, Landroidx/fragment/app/FragmentTransaction;->mExitAnim:I
|
|
|
|
iput p1, p0, Landroidx/fragment/app/FragmentTransaction;->mExitAnim:I
|
|
|
|
.line 164
|
|
iget p1, p3, Landroidx/fragment/app/FragmentTransaction;->mPopEnterAnim:I
|
|
|
|
iput p1, p0, Landroidx/fragment/app/FragmentTransaction;->mPopEnterAnim:I
|
|
|
|
.line 165
|
|
iget p1, p3, Landroidx/fragment/app/FragmentTransaction;->mPopExitAnim:I
|
|
|
|
iput p1, p0, Landroidx/fragment/app/FragmentTransaction;->mPopExitAnim:I
|
|
|
|
.line 166
|
|
iget p1, p3, Landroidx/fragment/app/FragmentTransaction;->mTransition:I
|
|
|
|
iput p1, p0, Landroidx/fragment/app/FragmentTransaction;->mTransition:I
|
|
|
|
.line 167
|
|
iget-boolean p1, p3, Landroidx/fragment/app/FragmentTransaction;->mAddToBackStack:Z
|
|
|
|
iput-boolean p1, p0, Landroidx/fragment/app/FragmentTransaction;->mAddToBackStack:Z
|
|
|
|
.line 168
|
|
iget-boolean p1, p3, Landroidx/fragment/app/FragmentTransaction;->mAllowAddToBackStack:Z
|
|
|
|
iput-boolean p1, p0, Landroidx/fragment/app/FragmentTransaction;->mAllowAddToBackStack:Z
|
|
|
|
.line 169
|
|
iget-object p1, p3, Landroidx/fragment/app/FragmentTransaction;->mName:Ljava/lang/String;
|
|
|
|
iput-object p1, p0, Landroidx/fragment/app/FragmentTransaction;->mName:Ljava/lang/String;
|
|
|
|
.line 170
|
|
iget p1, p3, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbShortTitleRes:I
|
|
|
|
iput p1, p0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbShortTitleRes:I
|
|
|
|
.line 171
|
|
iget-object p1, p3, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbShortTitleText:Ljava/lang/CharSequence;
|
|
|
|
iput-object p1, p0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbShortTitleText:Ljava/lang/CharSequence;
|
|
|
|
.line 172
|
|
iget p1, p3, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbTitleRes:I
|
|
|
|
iput p1, p0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbTitleRes:I
|
|
|
|
.line 173
|
|
iget-object p1, p3, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbTitleText:Ljava/lang/CharSequence;
|
|
|
|
iput-object p1, p0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbTitleText:Ljava/lang/CharSequence;
|
|
|
|
.line 174
|
|
iget-object p1, p3, Landroidx/fragment/app/FragmentTransaction;->mSharedElementSourceNames:Ljava/util/ArrayList;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 175
|
|
new-instance p1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/fragment/app/FragmentTransaction;->mSharedElementSourceNames:Ljava/util/ArrayList;
|
|
|
|
.line 176
|
|
iget-object p2, p3, Landroidx/fragment/app/FragmentTransaction;->mSharedElementSourceNames:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {p1, p2}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
|
|
|
|
.line 178
|
|
:cond_1
|
|
iget-object p1, p3, Landroidx/fragment/app/FragmentTransaction;->mSharedElementTargetNames:Ljava/util/ArrayList;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 179
|
|
new-instance p1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/fragment/app/FragmentTransaction;->mSharedElementTargetNames:Ljava/util/ArrayList;
|
|
|
|
.line 180
|
|
iget-object p2, p3, Landroidx/fragment/app/FragmentTransaction;->mSharedElementTargetNames:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {p1, p2}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
|
|
|
|
.line 182
|
|
:cond_2
|
|
iget-boolean p1, p3, Landroidx/fragment/app/FragmentTransaction;->mReorderingAllowed:Z
|
|
|
|
iput-boolean p1, p0, Landroidx/fragment/app/FragmentTransaction;->mReorderingAllowed:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private createFragment(Ljava/lang/Class;Landroid/os/Bundle;)Landroidx/fragment/app/Fragment;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class<",
|
|
"+",
|
|
"Landroidx/fragment/app/Fragment;",
|
|
">;",
|
|
"Landroid/os/Bundle;",
|
|
")",
|
|
"Landroidx/fragment/app/Fragment;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/fragment/app/FragmentTransaction;->mFragmentFactory:Landroidx/fragment/app/FragmentFactory;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
iget-object p0, p0, Landroidx/fragment/app/FragmentTransaction;->mClassLoader:Ljava/lang/ClassLoader;
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 204
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroidx/fragment/app/FragmentFactory;->instantiate(Ljava/lang/ClassLoader;Ljava/lang/String;)Landroidx/fragment/app/Fragment;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 206
|
|
invoke-virtual {p0, p2}, Landroidx/fragment/app/Fragment;->setArguments(Landroid/os/Bundle;)V
|
|
|
|
:cond_0
|
|
return-object p0
|
|
|
|
.line 201
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p1, "The FragmentManager must be attached to itshost to create a Fragment"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
.line 197
|
|
:cond_2
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p1, "Creating a Fragment requires that this FragmentTransaction was built with FragmentManager.beginTransaction()"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public add(ILandroidx/fragment/app/Fragment;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 243
|
|
invoke-virtual {p0, p1, p2, v0, v1}, Landroidx/fragment/app/FragmentTransaction;->doAddOp(ILandroidx/fragment/app/Fragment;Ljava/lang/String;I)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public add(ILandroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 288
|
|
invoke-virtual {p0, p1, p2, p3, v0}, Landroidx/fragment/app/FragmentTransaction;->doAddOp(ILandroidx/fragment/app/Fragment;Ljava/lang/String;I)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final add(ILjava/lang/Class;Landroid/os/Bundle;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(I",
|
|
"Ljava/lang/Class<",
|
|
"+",
|
|
"Landroidx/fragment/app/Fragment;",
|
|
">;",
|
|
"Landroid/os/Bundle;",
|
|
")",
|
|
"Landroidx/fragment/app/FragmentTransaction;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 235
|
|
invoke-direct {p0, p2, p3}, Landroidx/fragment/app/FragmentTransaction;->createFragment(Ljava/lang/Class;Landroid/os/Bundle;)Landroidx/fragment/app/Fragment;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroidx/fragment/app/FragmentTransaction;->add(ILandroidx/fragment/app/Fragment;)Landroidx/fragment/app/FragmentTransaction;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final add(ILjava/lang/Class;Landroid/os/Bundle;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(I",
|
|
"Ljava/lang/Class<",
|
|
"+",
|
|
"Landroidx/fragment/app/Fragment;",
|
|
">;",
|
|
"Landroid/os/Bundle;",
|
|
"Ljava/lang/String;",
|
|
")",
|
|
"Landroidx/fragment/app/FragmentTransaction;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 267
|
|
invoke-direct {p0, p2, p3}, Landroidx/fragment/app/FragmentTransaction;->createFragment(Ljava/lang/Class;Landroid/os/Bundle;)Landroidx/fragment/app/Fragment;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p0, p1, p2, p4}, Landroidx/fragment/app/FragmentTransaction;->add(ILandroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method add(Landroid/view/ViewGroup;Landroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 0
|
|
|
|
.line 294
|
|
iput-object p1, p2, Landroidx/fragment/app/Fragment;->mContainer:Landroid/view/ViewGroup;
|
|
|
|
.line 295
|
|
invoke-virtual {p1}, Landroid/view/ViewGroup;->getId()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Landroidx/fragment/app/FragmentTransaction;->add(ILandroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public add(Landroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 225
|
|
invoke-virtual {p0, v0, p1, p2, v1}, Landroidx/fragment/app/FragmentTransaction;->doAddOp(ILandroidx/fragment/app/Fragment;Ljava/lang/String;I)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final add(Ljava/lang/Class;Landroid/os/Bundle;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class<",
|
|
"+",
|
|
"Landroidx/fragment/app/Fragment;",
|
|
">;",
|
|
"Landroid/os/Bundle;",
|
|
"Ljava/lang/String;",
|
|
")",
|
|
"Landroidx/fragment/app/FragmentTransaction;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 217
|
|
invoke-direct {p0, p1, p2}, Landroidx/fragment/app/FragmentTransaction;->createFragment(Ljava/lang/Class;Landroid/os/Bundle;)Landroidx/fragment/app/Fragment;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1, p3}, Landroidx/fragment/app/FragmentTransaction;->add(Landroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method addOp(Landroidx/fragment/app/FragmentTransaction$Op;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/fragment/app/FragmentTransaction;->mOps:Ljava/util/ArrayList;
|
|
|
|
.line 186
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
iget v0, p0, Landroidx/fragment/app/FragmentTransaction;->mEnterAnim:I
|
|
|
|
.line 187
|
|
iput v0, p1, Landroidx/fragment/app/FragmentTransaction$Op;->mEnterAnim:I
|
|
|
|
iget v0, p0, Landroidx/fragment/app/FragmentTransaction;->mExitAnim:I
|
|
|
|
.line 188
|
|
iput v0, p1, Landroidx/fragment/app/FragmentTransaction$Op;->mExitAnim:I
|
|
|
|
iget v0, p0, Landroidx/fragment/app/FragmentTransaction;->mPopEnterAnim:I
|
|
|
|
.line 189
|
|
iput v0, p1, Landroidx/fragment/app/FragmentTransaction$Op;->mPopEnterAnim:I
|
|
|
|
iget p0, p0, Landroidx/fragment/app/FragmentTransaction;->mPopExitAnim:I
|
|
|
|
.line 190
|
|
iput p0, p1, Landroidx/fragment/app/FragmentTransaction$Op;->mPopExitAnim:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public addSharedElement(Landroid/view/View;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 2
|
|
|
|
.line 669
|
|
invoke-static {}, Landroidx/fragment/app/FragmentTransition;->supportsTransition()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 670
|
|
invoke-static {p1}, Landroidx/core/view/ViewCompat;->getTransitionName(Landroid/view/View;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
iget-object v0, p0, Landroidx/fragment/app/FragmentTransaction;->mSharedElementSourceNames:Ljava/util/ArrayList;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 676
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/fragment/app/FragmentTransaction;->mSharedElementSourceNames:Ljava/util/ArrayList;
|
|
|
|
.line 677
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/fragment/app/FragmentTransaction;->mSharedElementTargetNames:Ljava/util/ArrayList;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/fragment/app/FragmentTransaction;->mSharedElementTargetNames:Ljava/util/ArrayList;
|
|
|
|
.line 678
|
|
invoke-virtual {v0, p2}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
const-string v1, "\' has already been added to the transaction."
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
iget-object v0, p0, Landroidx/fragment/app/FragmentTransaction;->mSharedElementSourceNames:Ljava/util/ArrayList;
|
|
|
|
.line 681
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
:goto_0
|
|
iget-object v0, p0, Landroidx/fragment/app/FragmentTransaction;->mSharedElementSourceNames:Ljava/util/ArrayList;
|
|
|
|
.line 686
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
iget-object p1, p0, Landroidx/fragment/app/FragmentTransaction;->mSharedElementTargetNames:Ljava/util/ArrayList;
|
|
|
|
.line 687
|
|
invoke-virtual {p1, p2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_1
|
|
|
|
.line 682
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, "A shared element with the source name \'"
|
|
|
|
invoke-direct {p2, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
.line 679
|
|
:cond_2
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, "A shared element with the target name \'"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
.line 672
|
|
:cond_3
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "Unique transitionNames are required for all sharedElements"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
:cond_4
|
|
:goto_1
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public addToBackStack(Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/fragment/app/FragmentTransaction;->mAllowAddToBackStack:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Landroidx/fragment/app/FragmentTransaction;->mAddToBackStack:Z
|
|
|
|
iput-object p1, p0, Landroidx/fragment/app/FragmentTransaction;->mName:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
|
|
.line 729
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p1, "This FragmentTransaction is not allowed to be added to the back stack."
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public attach(Landroidx/fragment/app/Fragment;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 2
|
|
|
|
.line 481
|
|
new-instance v0, Landroidx/fragment/app/FragmentTransaction$Op;
|
|
|
|
const/4 v1, 0x7
|
|
|
|
invoke-direct {v0, v1, p1}, Landroidx/fragment/app/FragmentTransaction$Op;-><init>(ILandroidx/fragment/app/Fragment;)V
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/fragment/app/FragmentTransaction;->addOp(Landroidx/fragment/app/FragmentTransaction$Op;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public abstract commit()I
|
|
.end method
|
|
|
|
.method public abstract commitAllowingStateLoss()I
|
|
.end method
|
|
|
|
.method public abstract commitNow()V
|
|
.end method
|
|
|
|
.method public abstract commitNowAllowingStateLoss()V
|
|
.end method
|
|
|
|
.method public detach(Landroidx/fragment/app/Fragment;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 2
|
|
|
|
.line 464
|
|
new-instance v0, Landroidx/fragment/app/FragmentTransaction$Op;
|
|
|
|
const/4 v1, 0x6
|
|
|
|
invoke-direct {v0, v1, p1}, Landroidx/fragment/app/FragmentTransaction$Op;-><init>(ILandroidx/fragment/app/Fragment;)V
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/fragment/app/FragmentTransaction;->addOp(Landroidx/fragment/app/FragmentTransaction$Op;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public disallowAddToBackStack()Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/fragment/app/FragmentTransaction;->mAddToBackStack:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Landroidx/fragment/app/FragmentTransaction;->mAllowAddToBackStack:Z
|
|
|
|
return-object p0
|
|
|
|
.line 756
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v0, "This transaction is already being added to the back stack"
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method doAddOp(ILandroidx/fragment/app/Fragment;Ljava/lang/String;I)V
|
|
.locals 3
|
|
|
|
.line 299
|
|
iget-object v0, p2, Landroidx/fragment/app/Fragment;->mPreviousWho:Ljava/lang/String;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 300
|
|
iget-object v0, p2, Landroidx/fragment/app/Fragment;->mPreviousWho:Ljava/lang/String;
|
|
|
|
invoke-static {p2, v0}, Landroidx/fragment/app/strictmode/FragmentStrictMode;->onFragmentReuse(Landroidx/fragment/app/Fragment;Ljava/lang/String;)V
|
|
|
|
.line 302
|
|
:cond_0
|
|
invoke-virtual {p2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
.line 303
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getModifiers()I
|
|
|
|
move-result v1
|
|
|
|
.line 304
|
|
invoke-virtual {v0}, Ljava/lang/Class;->isAnonymousClass()Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_9
|
|
|
|
invoke-static {v1}, Ljava/lang/reflect/Modifier;->isPublic(I)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_9
|
|
|
|
.line 305
|
|
invoke-virtual {v0}, Ljava/lang/Class;->isMemberClass()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
invoke-static {v1}, Ljava/lang/reflect/Modifier;->isStatic(I)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_9
|
|
|
|
:cond_1
|
|
const-string v0, " now "
|
|
|
|
const-string v1, ": was "
|
|
|
|
if-eqz p3, :cond_4
|
|
|
|
.line 312
|
|
iget-object v2, p2, Landroidx/fragment/app/Fragment;->mTag:Ljava/lang/String;
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
iget-object v2, p2, Landroidx/fragment/app/Fragment;->mTag:Ljava/lang/String;
|
|
|
|
invoke-virtual {p3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
.line 313
|
|
:cond_2
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
const-string p4, "Can\'t change tag of fragment "
|
|
|
|
invoke-direct {p1, p4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object p2, p2, Landroidx/fragment/app/Fragment;->mTag:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
.line 317
|
|
:cond_3
|
|
:goto_0
|
|
iput-object p3, p2, Landroidx/fragment/app/Fragment;->mTag:Ljava/lang/String;
|
|
|
|
:cond_4
|
|
if-eqz p1, :cond_8
|
|
|
|
const/4 v2, -0x1
|
|
|
|
if-eq p1, v2, :cond_7
|
|
|
|
.line 325
|
|
iget p3, p2, Landroidx/fragment/app/Fragment;->mFragmentId:I
|
|
|
|
if-eqz p3, :cond_6
|
|
|
|
iget p3, p2, Landroidx/fragment/app/Fragment;->mFragmentId:I
|
|
|
|
if-ne p3, p1, :cond_5
|
|
|
|
goto :goto_1
|
|
|
|
.line 326
|
|
:cond_5
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance p3, Ljava/lang/StringBuilder;
|
|
|
|
const-string p4, "Can\'t change container ID of fragment "
|
|
|
|
invoke-direct {p3, p4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p3
|
|
|
|
iget p2, p2, Landroidx/fragment/app/Fragment;->mFragmentId:I
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
.line 330
|
|
:cond_6
|
|
:goto_1
|
|
iput p1, p2, Landroidx/fragment/app/Fragment;->mFragmentId:I
|
|
|
|
iput p1, p2, Landroidx/fragment/app/Fragment;->mContainerId:I
|
|
|
|
goto :goto_2
|
|
|
|
.line 322
|
|
:cond_7
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
const-string p4, "Can\'t add fragment "
|
|
|
|
invoke-direct {p1, p4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, " with tag "
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, " to container view with no id"
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
.line 333
|
|
:cond_8
|
|
:goto_2
|
|
new-instance p1, Landroidx/fragment/app/FragmentTransaction$Op;
|
|
|
|
invoke-direct {p1, p4, p2}, Landroidx/fragment/app/FragmentTransaction$Op;-><init>(ILandroidx/fragment/app/Fragment;)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentTransaction;->addOp(Landroidx/fragment/app/FragmentTransaction$Op;)V
|
|
|
|
return-void
|
|
|
|
.line 306
|
|
:cond_9
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
const-string p2, "Fragment "
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getCanonicalName()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, " must be a public static class to be properly recreated from instance state."
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public hide(Landroidx/fragment/app/Fragment;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 2
|
|
|
|
.line 430
|
|
new-instance v0, Landroidx/fragment/app/FragmentTransaction$Op;
|
|
|
|
const/4 v1, 0x4
|
|
|
|
invoke-direct {v0, v1, p1}, Landroidx/fragment/app/FragmentTransaction$Op;-><init>(ILandroidx/fragment/app/Fragment;)V
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/fragment/app/FragmentTransaction;->addOp(Landroidx/fragment/app/FragmentTransaction$Op;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public isAddToBackStackAllowed()Z
|
|
.locals 0
|
|
|
|
iget-boolean p0, p0, Landroidx/fragment/app/FragmentTransaction;->mAllowAddToBackStack:Z
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public isEmpty()Z
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/fragment/app/FragmentTransaction;->mOps:Ljava/util/ArrayList;
|
|
|
|
.line 538
|
|
invoke-virtual {p0}, Ljava/util/ArrayList;->isEmpty()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public remove(Landroidx/fragment/app/Fragment;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 2
|
|
|
|
.line 414
|
|
new-instance v0, Landroidx/fragment/app/FragmentTransaction$Op;
|
|
|
|
const/4 v1, 0x3
|
|
|
|
invoke-direct {v0, v1, p1}, Landroidx/fragment/app/FragmentTransaction$Op;-><init>(ILandroidx/fragment/app/Fragment;)V
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/fragment/app/FragmentTransaction;->addOp(Landroidx/fragment/app/FragmentTransaction$Op;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public replace(ILandroidx/fragment/app/Fragment;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 350
|
|
invoke-virtual {p0, p1, p2, v0}, Landroidx/fragment/app/FragmentTransaction;->replace(ILandroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public replace(ILandroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 v0, 0x2
|
|
|
|
.line 400
|
|
invoke-virtual {p0, p1, p2, p3, v0}, Landroidx/fragment/app/FragmentTransaction;->doAddOp(ILandroidx/fragment/app/Fragment;Ljava/lang/String;I)V
|
|
|
|
return-object p0
|
|
|
|
.line 398
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "Must use non-zero containerViewId"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public final replace(ILjava/lang/Class;Landroid/os/Bundle;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(I",
|
|
"Ljava/lang/Class<",
|
|
"+",
|
|
"Landroidx/fragment/app/Fragment;",
|
|
">;",
|
|
"Landroid/os/Bundle;",
|
|
")",
|
|
"Landroidx/fragment/app/FragmentTransaction;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 342
|
|
invoke-virtual {p0, p1, p2, p3, v0}, Landroidx/fragment/app/FragmentTransaction;->replace(ILjava/lang/Class;Landroid/os/Bundle;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final replace(ILjava/lang/Class;Landroid/os/Bundle;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(I",
|
|
"Ljava/lang/Class<",
|
|
"+",
|
|
"Landroidx/fragment/app/Fragment;",
|
|
">;",
|
|
"Landroid/os/Bundle;",
|
|
"Ljava/lang/String;",
|
|
")",
|
|
"Landroidx/fragment/app/FragmentTransaction;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 375
|
|
invoke-direct {p0, p2, p3}, Landroidx/fragment/app/FragmentTransaction;->createFragment(Ljava/lang/Class;Landroid/os/Bundle;)Landroidx/fragment/app/Fragment;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p0, p1, p2, p4}, Landroidx/fragment/app/FragmentTransaction;->replace(ILandroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public runOnCommit(Ljava/lang/Runnable;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 1
|
|
|
|
.line 891
|
|
invoke-virtual {p0}, Landroidx/fragment/app/FragmentTransaction;->disallowAddToBackStack()Landroidx/fragment/app/FragmentTransaction;
|
|
|
|
iget-object v0, p0, Landroidx/fragment/app/FragmentTransaction;->mCommitRunnables:Ljava/util/ArrayList;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 893
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/fragment/app/FragmentTransaction;->mCommitRunnables:Ljava/util/ArrayList;
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/fragment/app/FragmentTransaction;->mCommitRunnables:Ljava/util/ArrayList;
|
|
|
|
.line 895
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setAllowOptimization(Z)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 865
|
|
invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentTransaction;->setReorderingAllowed(Z)Landroidx/fragment/app/FragmentTransaction;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setBreadCrumbShortTitle(I)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iput p1, p0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbShortTitleRes:I
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-object p1, p0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbShortTitleText:Ljava/lang/CharSequence;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setBreadCrumbShortTitle(Ljava/lang/CharSequence;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbShortTitleRes:I
|
|
|
|
iput-object p1, p0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbShortTitleText:Ljava/lang/CharSequence;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setBreadCrumbTitle(I)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iput p1, p0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbTitleRes:I
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-object p1, p0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbTitleText:Ljava/lang/CharSequence;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setBreadCrumbTitle(Ljava/lang/CharSequence;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbTitleRes:I
|
|
|
|
iput-object p1, p0, Landroidx/fragment/app/FragmentTransaction;->mBreadCrumbTitleText:Ljava/lang/CharSequence;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setCustomAnimations(II)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 611
|
|
invoke-virtual {p0, p1, p2, v0, v0}, Landroidx/fragment/app/FragmentTransaction;->setCustomAnimations(IIII)Landroidx/fragment/app/FragmentTransaction;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setCustomAnimations(IIII)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/fragment/app/FragmentTransaction;->mEnterAnim:I
|
|
|
|
iput p2, p0, Landroidx/fragment/app/FragmentTransaction;->mExitAnim:I
|
|
|
|
iput p3, p0, Landroidx/fragment/app/FragmentTransaction;->mPopEnterAnim:I
|
|
|
|
iput p4, p0, Landroidx/fragment/app/FragmentTransaction;->mPopExitAnim:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setMaxLifecycle(Landroidx/fragment/app/Fragment;Landroidx/lifecycle/Lifecycle$State;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 2
|
|
|
|
.line 529
|
|
new-instance v0, Landroidx/fragment/app/FragmentTransaction$Op;
|
|
|
|
const/16 v1, 0xa
|
|
|
|
invoke-direct {v0, v1, p1, p2}, Landroidx/fragment/app/FragmentTransaction$Op;-><init>(ILandroidx/fragment/app/Fragment;Landroidx/lifecycle/Lifecycle$State;)V
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/fragment/app/FragmentTransaction;->addOp(Landroidx/fragment/app/FragmentTransaction$Op;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setPrimaryNavigationFragment(Landroidx/fragment/app/Fragment;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 2
|
|
|
|
.line 504
|
|
new-instance v0, Landroidx/fragment/app/FragmentTransaction$Op;
|
|
|
|
const/16 v1, 0x8
|
|
|
|
invoke-direct {v0, v1, p1}, Landroidx/fragment/app/FragmentTransaction$Op;-><init>(ILandroidx/fragment/app/Fragment;)V
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/fragment/app/FragmentTransaction;->addOp(Landroidx/fragment/app/FragmentTransaction$Op;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setReorderingAllowed(Z)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 0
|
|
|
|
iput-boolean p1, p0, Landroidx/fragment/app/FragmentTransaction;->mReorderingAllowed:Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setTransition(I)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/fragment/app/FragmentTransaction;->mTransition:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setTransitionStyle(I)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public show(Landroidx/fragment/app/Fragment;)Landroidx/fragment/app/FragmentTransaction;
|
|
.locals 2
|
|
|
|
.line 446
|
|
new-instance v0, Landroidx/fragment/app/FragmentTransaction$Op;
|
|
|
|
const/4 v1, 0x5
|
|
|
|
invoke-direct {v0, v1, p1}, Landroidx/fragment/app/FragmentTransaction$Op;-><init>(ILandroidx/fragment/app/Fragment;)V
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/fragment/app/FragmentTransaction;->addOp(Landroidx/fragment/app/FragmentTransaction$Op;)V
|
|
|
|
return-object p0
|
|
.end method
|