Rabbit-R1/original r1/smali/smali_classes2/androidx/fragment/app/FragmentActivity$HostCallbacks.smali
2024-05-21 17:08:36 -04:00

524 lines
16 KiB
Smali

.class Landroidx/fragment/app/FragmentActivity$HostCallbacks;
.super Landroidx/fragment/app/FragmentHostCallback;
.source "FragmentActivity.java"
# interfaces
.implements Landroidx/core/content/OnConfigurationChangedProvider;
.implements Landroidx/core/content/OnTrimMemoryProvider;
.implements Landroidx/core/app/OnMultiWindowModeChangedProvider;
.implements Landroidx/core/app/OnPictureInPictureModeChangedProvider;
.implements Landroidx/lifecycle/ViewModelStoreOwner;
.implements Landroidx/activity/OnBackPressedDispatcherOwner;
.implements Landroidx/activity/result/ActivityResultRegistryOwner;
.implements Landroidx/savedstate/SavedStateRegistryOwner;
.implements Landroidx/fragment/app/FragmentOnAttachListener;
.implements Landroidx/core/view/MenuHost;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/fragment/app/FragmentActivity;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = "HostCallbacks"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/fragment/app/FragmentHostCallback<",
"Landroidx/fragment/app/FragmentActivity;",
">;",
"Landroidx/core/content/OnConfigurationChangedProvider;",
"Landroidx/core/content/OnTrimMemoryProvider;",
"Landroidx/core/app/OnMultiWindowModeChangedProvider;",
"Landroidx/core/app/OnPictureInPictureModeChangedProvider;",
"Landroidx/lifecycle/ViewModelStoreOwner;",
"Landroidx/activity/OnBackPressedDispatcherOwner;",
"Landroidx/activity/result/ActivityResultRegistryOwner;",
"Landroidx/savedstate/SavedStateRegistryOwner;",
"Landroidx/fragment/app/FragmentOnAttachListener;",
"Landroidx/core/view/MenuHost;"
}
.end annotation
# instance fields
.field final synthetic this$0:Landroidx/fragment/app/FragmentActivity;
# direct methods
.method public constructor <init>(Landroidx/fragment/app/FragmentActivity;)V
.locals 0
iput-object p1, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 585
invoke-direct {p0, p1}, Landroidx/fragment/app/FragmentHostCallback;-><init>(Landroidx/fragment/app/FragmentActivity;)V
return-void
.end method
# virtual methods
.method public addMenuProvider(Landroidx/core/view/MenuProvider;)V
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 735
invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentActivity;->addMenuProvider(Landroidx/core/view/MenuProvider;)V
return-void
.end method
.method public addMenuProvider(Landroidx/core/view/MenuProvider;Landroidx/lifecycle/LifecycleOwner;)V
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 740
invoke-virtual {p0, p1, p2}, Landroidx/fragment/app/FragmentActivity;->addMenuProvider(Landroidx/core/view/MenuProvider;Landroidx/lifecycle/LifecycleOwner;)V
return-void
.end method
.method public addMenuProvider(Landroidx/core/view/MenuProvider;Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$State;)V
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 746
invoke-virtual {p0, p1, p2, p3}, Landroidx/fragment/app/FragmentActivity;->addMenuProvider(Landroidx/core/view/MenuProvider;Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$State;)V
return-void
.end method
.method public addOnConfigurationChangedListener(Landroidx/core/util/Consumer;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/core/util/Consumer<",
"Landroid/content/res/Configuration;",
">;)V"
}
.end annotation
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 689
invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentActivity;->addOnConfigurationChangedListener(Landroidx/core/util/Consumer;)V
return-void
.end method
.method public addOnMultiWindowModeChangedListener(Landroidx/core/util/Consumer;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/core/util/Consumer<",
"Landroidx/core/app/MultiWindowModeChangedInfo;",
">;)V"
}
.end annotation
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 712
invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentActivity;->addOnMultiWindowModeChangedListener(Landroidx/core/util/Consumer;)V
return-void
.end method
.method public addOnPictureInPictureModeChangedListener(Landroidx/core/util/Consumer;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/core/util/Consumer<",
"Landroidx/core/app/PictureInPictureModeChangedInfo;",
">;)V"
}
.end annotation
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 724
invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentActivity;->addOnPictureInPictureModeChangedListener(Landroidx/core/util/Consumer;)V
return-void
.end method
.method public addOnTrimMemoryListener(Landroidx/core/util/Consumer;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/core/util/Consumer<",
"Ljava/lang/Integer;",
">;)V"
}
.end annotation
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 701
invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentActivity;->addOnTrimMemoryListener(Landroidx/core/util/Consumer;)V
return-void
.end method
.method public getActivityResultRegistry()Landroidx/activity/result/ActivityResultRegistry;
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 676
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->getActivityResultRegistry()Landroidx/activity/result/ActivityResultRegistry;
move-result-object p0
return-object p0
.end method
.method public getLifecycle()Landroidx/lifecycle/Lifecycle;
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 595
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity;->mFragmentLifecycleRegistry:Landroidx/lifecycle/LifecycleRegistry;
return-object p0
.end method
.method public getOnBackPressedDispatcher()Landroidx/activity/OnBackPressedDispatcher;
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 607
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->getOnBackPressedDispatcher()Landroidx/activity/OnBackPressedDispatcher;
move-result-object p0
return-object p0
.end method
.method public getSavedStateRegistry()Landroidx/savedstate/SavedStateRegistry;
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 682
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->getSavedStateRegistry()Landroidx/savedstate/SavedStateRegistry;
move-result-object p0
return-object p0
.end method
.method public getViewModelStore()Landroidx/lifecycle/ViewModelStore;
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 601
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->getViewModelStore()Landroidx/lifecycle/ViewModelStore;
move-result-object p0
return-object p0
.end method
.method public invalidateMenu()V
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 756
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->invalidateMenu()V
return-void
.end method
.method public onAttachFragment(Landroidx/fragment/app/FragmentManager;Landroidx/fragment/app/Fragment;)V
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 658
invoke-virtual {p0, p2}, Landroidx/fragment/app/FragmentActivity;->onAttachFragment(Landroidx/fragment/app/Fragment;)V
return-void
.end method
.method public onDump(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 613
invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/fragment/app/FragmentActivity;->dump(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
return-void
.end method
.method public onFindViewById(I)Landroid/view/View;
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 664
invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentActivity;->findViewById(I)Landroid/view/View;
move-result-object p0
return-object p0
.end method
.method public onGetHost()Landroidx/fragment/app/FragmentActivity;
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
return-object p0
.end method
.method public bridge synthetic onGetHost()Ljava/lang/Object;
.locals 0
.line 572
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->onGetHost()Landroidx/fragment/app/FragmentActivity;
move-result-object p0
return-object p0
.end method
.method public onGetLayoutInflater()Landroid/view/LayoutInflater;
.locals 1
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 624
invoke-virtual {v0}, Landroidx/fragment/app/FragmentActivity;->getLayoutInflater()Landroid/view/LayoutInflater;
move-result-object v0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
invoke-virtual {v0, p0}, Landroid/view/LayoutInflater;->cloneInContext(Landroid/content/Context;)Landroid/view/LayoutInflater;
move-result-object p0
return-object p0
.end method
.method public onGetWindowAnimations()I
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 650
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->getWindow()Landroid/view/Window;
move-result-object p0
if-nez p0, :cond_0
const/4 p0, 0x0
goto :goto_0
.line 651
:cond_0
invoke-virtual {p0}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;
move-result-object p0
iget p0, p0, Landroid/view/WindowManager$LayoutParams;->windowAnimations:I
:goto_0
return p0
.end method
.method public onHasView()Z
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 669
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->getWindow()Landroid/view/Window;
move-result-object p0
if-eqz p0, :cond_0
.line 670
invoke-virtual {p0}, Landroid/view/Window;->peekDecorView()Landroid/view/View;
move-result-object p0
if-eqz p0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public onHasWindowAnimations()Z
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 645
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->getWindow()Landroid/view/Window;
move-result-object p0
if-eqz p0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public onShouldSaveFragmentState(Landroidx/fragment/app/Fragment;)Z
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 618
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->isFinishing()Z
move-result p0
xor-int/lit8 p0, p0, 0x1
return p0
.end method
.method public onShouldShowRequestPermissionRationale(Ljava/lang/String;)Z
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 639
invoke-static {p0, p1}, Landroidx/core/app/ActivityCompat;->shouldShowRequestPermissionRationale(Landroid/app/Activity;Ljava/lang/String;)Z
move-result p0
return p0
.end method
.method public onSupportInvalidateOptionsMenu()V
.locals 0
.line 634
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->invalidateMenu()V
return-void
.end method
.method public removeMenuProvider(Landroidx/core/view/MenuProvider;)V
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 751
invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentActivity;->removeMenuProvider(Landroidx/core/view/MenuProvider;)V
return-void
.end method
.method public removeOnConfigurationChangedListener(Landroidx/core/util/Consumer;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/core/util/Consumer<",
"Landroid/content/res/Configuration;",
">;)V"
}
.end annotation
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 696
invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentActivity;->removeOnConfigurationChangedListener(Landroidx/core/util/Consumer;)V
return-void
.end method
.method public removeOnMultiWindowModeChangedListener(Landroidx/core/util/Consumer;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/core/util/Consumer<",
"Landroidx/core/app/MultiWindowModeChangedInfo;",
">;)V"
}
.end annotation
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 718
invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentActivity;->removeOnMultiWindowModeChangedListener(Landroidx/core/util/Consumer;)V
return-void
.end method
.method public removeOnPictureInPictureModeChangedListener(Landroidx/core/util/Consumer;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/core/util/Consumer<",
"Landroidx/core/app/PictureInPictureModeChangedInfo;",
">;)V"
}
.end annotation
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 730
invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentActivity;->removeOnPictureInPictureModeChangedListener(Landroidx/core/util/Consumer;)V
return-void
.end method
.method public removeOnTrimMemoryListener(Landroidx/core/util/Consumer;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/core/util/Consumer<",
"Ljava/lang/Integer;",
">;)V"
}
.end annotation
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
.line 706
invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentActivity;->removeOnTrimMemoryListener(Landroidx/core/util/Consumer;)V
return-void
.end method