.class public abstract Landroidx/fragment/app/FragmentHostCallback; .super Landroidx/fragment/app/FragmentContainer; .source "FragmentHostCallback.java" # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Landroidx/fragment/app/FragmentContainer;" } .end annotation # instance fields .field private final mActivity:Landroid/app/Activity; .field private final mContext:Landroid/content/Context; .field final mFragmentManager:Landroidx/fragment/app/FragmentManager; .field private final mHandler:Landroid/os/Handler; .field private final mWindowAnimations:I # direct methods .method constructor (Landroid/app/Activity;Landroid/content/Context;Landroid/os/Handler;I)V .locals 1 .line 95 invoke-direct {p0}, Landroidx/fragment/app/FragmentContainer;->()V .line 81 new-instance v0, Landroidx/fragment/app/FragmentManagerImpl; invoke-direct {v0}, Landroidx/fragment/app/FragmentManagerImpl;->()V iput-object v0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; iput-object p1, p0, Landroidx/fragment/app/FragmentHostCallback;->mActivity:Landroid/app/Activity; const-string p1, "context == null" .line 97 invoke-static {p2, p1}, Landroidx/core/util/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 check-cast p1, Landroid/content/Context; iput-object p1, p0, Landroidx/fragment/app/FragmentHostCallback;->mContext:Landroid/content/Context; const-string p1, "handler == null" .line 98 invoke-static {p3, p1}, Landroidx/core/util/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 check-cast p1, Landroid/os/Handler; iput-object p1, p0, Landroidx/fragment/app/FragmentHostCallback;->mHandler:Landroid/os/Handler; iput p4, p0, Landroidx/fragment/app/FragmentHostCallback;->mWindowAnimations:I return-void .end method .method public constructor (Landroid/content/Context;Landroid/os/Handler;I)V .locals 1 .line 85 instance-of v0, p1, Landroid/app/Activity; if-eqz v0, :cond_0 move-object v0, p1 check-cast v0, Landroid/app/Activity; goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 invoke-direct {p0, v0, p1, p2, p3}, Landroidx/fragment/app/FragmentHostCallback;->(Landroid/app/Activity;Landroid/content/Context;Landroid/os/Handler;I)V return-void .end method .method constructor (Landroidx/fragment/app/FragmentActivity;)V .locals 2 .line 91 new-instance v0, Landroid/os/Handler; invoke-direct {v0}, Landroid/os/Handler;->()V const/4 v1, 0x0 invoke-direct {p0, p1, p1, v0, v1}, Landroidx/fragment/app/FragmentHostCallback;->(Landroid/app/Activity;Landroid/content/Context;Landroid/os/Handler;I)V return-void .end method # virtual methods .method getActivity()Landroid/app/Activity; .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mActivity:Landroid/app/Activity; return-object p0 .end method .method getContext()Landroid/content/Context; .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mContext:Landroid/content/Context; return-object p0 .end method .method public getHandler()Landroid/os/Handler; .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mHandler:Landroid/os/Handler; return-object p0 .end method .method public onDump(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V .locals 0 return-void .end method .method public onFindViewById(I)Landroid/view/View; .locals 0 const/4 p0, 0x0 return-object p0 .end method .method public abstract onGetHost()Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "()TE;" } .end annotation .end method .method public onGetLayoutInflater()Landroid/view/LayoutInflater; .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mContext:Landroid/content/Context; .line 128 invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater; move-result-object p0 return-object p0 .end method .method public onGetWindowAnimations()I .locals 0 iget p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mWindowAnimations:I return p0 .end method .method public onHasView()Z .locals 0 const/4 p0, 0x1 return p0 .end method .method public onHasWindowAnimations()Z .locals 0 const/4 p0, 0x1 return p0 .end method .method public onRequestPermissionsFromFragment(Landroidx/fragment/app/Fragment;[Ljava/lang/String;I)V .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation return-void .end method .method public onShouldSaveFragmentState(Landroidx/fragment/app/Fragment;)Z .locals 0 const/4 p0, 0x1 return p0 .end method .method public onShouldShowRequestPermissionRationale(Ljava/lang/String;)Z .locals 0 const/4 p0, 0x0 return p0 .end method .method public onStartActivityFromFragment(Landroidx/fragment/app/Fragment;Landroid/content/Intent;I)V .locals 1 const/4 v0, 0x0 .line 152 invoke-virtual {p0, p1, p2, p3, v0}, Landroidx/fragment/app/FragmentHostCallback;->onStartActivityFromFragment(Landroidx/fragment/app/Fragment;Landroid/content/Intent;ILandroid/os/Bundle;)V return-void .end method .method public onStartActivityFromFragment(Landroidx/fragment/app/Fragment;Landroid/content/Intent;ILandroid/os/Bundle;)V .locals 0 const/4 p1, -0x1 if-ne p3, p1, :cond_0 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mContext:Landroid/content/Context; .line 166 invoke-static {p0, p2, p4}, Landroidx/core/content/ContextCompat;->startActivity(Landroid/content/Context;Landroid/content/Intent;Landroid/os/Bundle;)V return-void .line 163 :cond_0 new-instance p0, Ljava/lang/IllegalStateException; const-string p1, "Starting activity with a requestCode requires a FragmentActivity host" invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p0 .end method .method public onStartIntentSenderFromFragment(Landroidx/fragment/app/Fragment;Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V .locals 9 .annotation system Ldalvik/annotation/Throws; value = { Landroid/content/IntentSender$SendIntentException; } .end annotation .annotation runtime Ljava/lang/Deprecated; .end annotation const/4 v0, -0x1 move v3, p3 if-ne v3, v0, :cond_0 move-object v0, p0 iget-object v1, v0, Landroidx/fragment/app/FragmentHostCallback;->mActivity:Landroid/app/Activity; move-object v2, p2 move v3, p3 move-object v4, p4 move v5, p5 move v6, p6 move/from16 v7, p7 move-object/from16 v8, p8 .line 188 invoke-static/range {v1 .. v8}, Landroidx/core/app/ActivityCompat;->startIntentSenderForResult(Landroid/app/Activity;Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V return-void .line 185 :cond_0 new-instance v0, Ljava/lang/IllegalStateException; const-string v1, "Starting intent sender with a requestCode requires a FragmentActivity host" invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw v0 .end method .method public onSupportInvalidateOptionsMenu()V .locals 0 return-void .end method