.class public Landroidx/fragment/app/FragmentController; .super Ljava/lang/Object; .source "FragmentController.java" # instance fields .field private final mHost:Landroidx/fragment/app/FragmentHostCallback; .annotation system Ldalvik/annotation/Signature; value = { "Landroidx/fragment/app/FragmentHostCallback<", "*>;" } .end annotation .end field # direct methods .method private constructor (Landroidx/fragment/app/FragmentHostCallback;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroidx/fragment/app/FragmentHostCallback<", "*>;)V" } .end annotation .line 61 invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; return-void .end method .method public static createController(Landroidx/fragment/app/FragmentHostCallback;)Landroidx/fragment/app/FragmentController; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroidx/fragment/app/FragmentHostCallback<", "*>;)", "Landroidx/fragment/app/FragmentController;" } .end annotation .line 58 new-instance v0, Landroidx/fragment/app/FragmentController; const-string v1, "callbacks == null" invoke-static {p0, v1}, Landroidx/core/util/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Landroidx/fragment/app/FragmentHostCallback; invoke-direct {v0, p0}, Landroidx/fragment/app/FragmentController;->(Landroidx/fragment/app/FragmentHostCallback;)V return-object v0 .end method # virtual methods .method public attachHost(Landroidx/fragment/app/Fragment;)V .locals 1 iget-object v0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 117 iget-object v0, v0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; invoke-virtual {v0, p0, p0, p1}, Landroidx/fragment/app/FragmentManager;->attachController(Landroidx/fragment/app/FragmentHostCallback;Landroidx/fragment/app/FragmentContainer;Landroidx/fragment/app/Fragment;)V return-void .end method .method public dispatchActivityCreated()V .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 263 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->dispatchActivityCreated()V return-void .end method .method public dispatchConfigurationChanged(Landroid/content/res/Configuration;)V .locals 1 .annotation runtime Ljava/lang/Deprecated; .end annotation iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 391 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; const/4 v0, 0x1 invoke-virtual {p0, p1, v0}, Landroidx/fragment/app/FragmentManager;->dispatchConfigurationChanged(Landroid/content/res/Configuration;Z)V return-void .end method .method public dispatchContextItemSelected(Landroid/view/MenuItem;)Z .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 469 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentManager;->dispatchContextItemSelected(Landroid/view/MenuItem;)Z move-result p0 return p0 .end method .method public dispatchCreate()V .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 252 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->dispatchCreate()V return-void .end method .method public dispatchCreateOptionsMenu(Landroid/view/Menu;Landroid/view/MenuInflater;)Z .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 423 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0, p1, p2}, Landroidx/fragment/app/FragmentManager;->dispatchCreateOptionsMenu(Landroid/view/Menu;Landroid/view/MenuInflater;)Z move-result p0 return p0 .end method .method public dispatchDestroy()V .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 346 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->dispatchDestroy()V return-void .end method .method public dispatchDestroyView()V .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 325 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->dispatchDestroyView()V return-void .end method .method public dispatchLowMemory()V .locals 1 .annotation runtime Ljava/lang/Deprecated; .end annotation iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 407 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; const/4 v0, 0x1 invoke-virtual {p0, v0}, Landroidx/fragment/app/FragmentManager;->dispatchLowMemory(Z)V return-void .end method .method public dispatchMultiWindowModeChanged(Z)V .locals 1 .annotation runtime Ljava/lang/Deprecated; .end annotation iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 361 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; const/4 v0, 0x1 invoke-virtual {p0, p1, v0}, Landroidx/fragment/app/FragmentManager;->dispatchMultiWindowModeChanged(ZZ)V return-void .end method .method public dispatchOptionsItemSelected(Landroid/view/MenuItem;)Z .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 456 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentManager;->dispatchOptionsItemSelected(Landroid/view/MenuItem;)Z move-result p0 return p0 .end method .method public dispatchOptionsMenuClosed(Landroid/view/Menu;)V .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 484 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentManager;->dispatchOptionsMenuClosed(Landroid/view/Menu;)V return-void .end method .method public dispatchPause()V .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 296 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->dispatchPause()V return-void .end method .method public dispatchPictureInPictureModeChanged(Z)V .locals 1 .annotation runtime Ljava/lang/Deprecated; .end annotation iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 376 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; const/4 v0, 0x1 invoke-virtual {p0, p1, v0}, Landroidx/fragment/app/FragmentManager;->dispatchPictureInPictureModeChanged(ZZ)V return-void .end method .method public dispatchPrepareOptionsMenu(Landroid/view/Menu;)Z .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 439 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentManager;->dispatchPrepareOptionsMenu(Landroid/view/Menu;)Z move-result p0 return p0 .end method .method public dispatchReallyStop()V .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation return-void .end method .method public dispatchResume()V .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 285 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->dispatchResume()V return-void .end method .method public dispatchStart()V .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 274 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->dispatchStart()V return-void .end method .method public dispatchStop()V .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 307 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->dispatchStop()V return-void .end method .method public doLoaderDestroy()V .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation return-void .end method .method public doLoaderRetain()V .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation return-void .end method .method public doLoaderStart()V .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation return-void .end method .method public doLoaderStop(Z)V .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation return-void .end method .method public dumpLoaders(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation return-void .end method .method public execPendingActions()Z .locals 1 iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 495 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; const/4 v0, 0x1 invoke-virtual {p0, v0}, Landroidx/fragment/app/FragmentManager;->execPendingActions(Z)Z move-result p0 return p0 .end method .method public findFragmentByWho(Ljava/lang/String;)Landroidx/fragment/app/Fragment; .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 93 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentManager;->findFragmentByWho(Ljava/lang/String;)Landroidx/fragment/app/Fragment; move-result-object p0 return-object p0 .end method .method public getActiveFragments(Ljava/util/List;)Ljava/util/List; .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "Landroidx/fragment/app/Fragment;", ">;)", "Ljava/util/List<", "Landroidx/fragment/app/Fragment;", ">;" } .end annotation iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 109 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->getActiveFragments()Ljava/util/List; move-result-object p0 return-object p0 .end method .method public getActiveFragmentsCount()I .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 100 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->getActiveFragmentCount()I move-result p0 return p0 .end method .method public getSupportFragmentManager()Landroidx/fragment/app/FragmentManager; .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 70 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; return-object p0 .end method .method public getSupportLoaderManager()Landroidx/loader/app/LoaderManager; .locals 1 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 84 new-instance p0, Ljava/lang/UnsupportedOperationException; const-string v0, "Loaders are managed separately from FragmentController, use LoaderManager.getInstance() to obtain a LoaderManager." invoke-direct {p0, v0}, Ljava/lang/UnsupportedOperationException;->(Ljava/lang/String;)V throw p0 .end method .method public noteStateNotSaved()V .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 143 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->noteStateNotSaved()V return-void .end method .method public onCreateView(Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View; .locals 0 iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 135 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->getLayoutInflaterFactory()Landroid/view/LayoutInflater$Factory2; move-result-object p0 .line 136 invoke-interface {p0, p1, p2, p3, p4}, Landroid/view/LayoutInflater$Factory2;->onCreateView(Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View; move-result-object p0 return-object p0 .end method .method public reportLoaderStart()V .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation return-void .end method .method public restoreAllState(Landroid/os/Parcelable;Landroidx/fragment/app/FragmentManagerNonConfig;)V .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 190 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0, p1, p2}, Landroidx/fragment/app/FragmentManager;->restoreAllState(Landroid/os/Parcelable;Landroidx/fragment/app/FragmentManagerNonConfig;)V return-void .end method .method public restoreAllState(Landroid/os/Parcelable;Ljava/util/List;)V .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroid/os/Parcelable;", "Ljava/util/List<", "Landroidx/fragment/app/Fragment;", ">;)V" } .end annotation .annotation runtime Ljava/lang/Deprecated; .end annotation iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 174 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; new-instance v0, Landroidx/fragment/app/FragmentManagerNonConfig; const/4 v1, 0x0 invoke-direct {v0, p2, v1, v1}, Landroidx/fragment/app/FragmentManagerNonConfig;->(Ljava/util/Collection;Ljava/util/Map;Ljava/util/Map;)V invoke-virtual {p0, p1, v0}, Landroidx/fragment/app/FragmentManager;->restoreAllState(Landroid/os/Parcelable;Landroidx/fragment/app/FragmentManagerNonConfig;)V return-void .end method .method public restoreLoaderNonConfig(Landroidx/collection/SimpleArrayMap;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroidx/collection/SimpleArrayMap<", "Ljava/lang/String;", "Landroidx/loader/app/LoaderManager;", ">;)V" } .end annotation .annotation runtime Ljava/lang/Deprecated; .end annotation return-void .end method .method public restoreSaveState(Landroid/os/Parcelable;)V .locals 1 .annotation runtime Ljava/lang/Deprecated; .end annotation iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 205 instance-of v0, p0, Landroidx/lifecycle/ViewModelStoreOwner; if-eqz v0, :cond_0 .line 210 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentManager;->restoreSaveState(Landroid/os/Parcelable;)V return-void .line 206 :cond_0 new-instance p0, Ljava/lang/IllegalStateException; const-string p1, "Your FragmentHostCallback must implement ViewModelStoreOwner to call restoreSaveState(). Call restoreAllState() if you\'re still using retainNestedNonConfig()." invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p0 .end method .method public retainLoaderNonConfig()Landroidx/collection/SimpleArrayMap; .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "()", "Landroidx/collection/SimpleArrayMap<", "Ljava/lang/String;", "Landroidx/loader/app/LoaderManager;", ">;" } .end annotation .annotation runtime Ljava/lang/Deprecated; .end annotation const/4 p0, 0x0 return-object p0 .end method .method public retainNestedNonConfig()Landroidx/fragment/app/FragmentManagerNonConfig; .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 241 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->retainNonConfig()Landroidx/fragment/app/FragmentManagerNonConfig; move-result-object p0 return-object p0 .end method .method public retainNonConfig()Ljava/util/List; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/List<", "Landroidx/fragment/app/Fragment;", ">;" } .end annotation .annotation runtime Ljava/lang/Deprecated; .end annotation iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 224 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->retainNonConfig()Landroidx/fragment/app/FragmentManagerNonConfig; move-result-object p0 if-eqz p0, :cond_0 .line 225 invoke-virtual {p0}, Landroidx/fragment/app/FragmentManagerNonConfig;->getFragments()Ljava/util/Collection; move-result-object v0 if-eqz v0, :cond_0 .line 226 new-instance v0, Ljava/util/ArrayList; invoke-virtual {p0}, Landroidx/fragment/app/FragmentManagerNonConfig;->getFragments()Ljava/util/Collection; move-result-object p0 invoke-direct {v0, p0}, Ljava/util/ArrayList;->(Ljava/util/Collection;)V goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return-object v0 .end method .method public saveAllState()Landroid/os/Parcelable; .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation iget-object p0, p0, Landroidx/fragment/app/FragmentController;->mHost:Landroidx/fragment/app/FragmentHostCallback; .line 159 iget-object p0, p0, Landroidx/fragment/app/FragmentHostCallback;->mFragmentManager:Landroidx/fragment/app/FragmentManager; invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->saveAllState()Landroid/os/Parcelable; move-result-object p0 return-object p0 .end method