.class Landroidx/appcompat/app/AppCompatDelegateImpl$AppCompatWindowCallback; .super Landroidx/appcompat/view/WindowCallbackWrapper; .source "AppCompatDelegateImpl.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/appcompat/app/AppCompatDelegateImpl; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = "AppCompatWindowCallback" .end annotation # instance fields .field final synthetic this$0:Landroidx/appcompat/app/AppCompatDelegateImpl; # direct methods .method constructor (Landroidx/appcompat/app/AppCompatDelegateImpl;Landroid/view/Window$Callback;)V .registers 3 .line 2526 iput-object p1, p0, Landroidx/appcompat/app/AppCompatDelegateImpl$AppCompatWindowCallback;->this$0:Landroidx/appcompat/app/AppCompatDelegateImpl; .line 2527 invoke-direct {p0, p2}, Landroidx/appcompat/view/WindowCallbackWrapper;->(Landroid/view/Window$Callback;)V return-void .end method # virtual methods .method public dispatchKeyEvent(Landroid/view/KeyEvent;)Z .registers 3 .line 2532 iget-object v0, p0, Landroidx/appcompat/app/AppCompatDelegateImpl$AppCompatWindowCallback;->this$0:Landroidx/appcompat/app/AppCompatDelegateImpl; invoke-virtual {v0, p1}, Landroidx/appcompat/app/AppCompatDelegateImpl;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z move-result v0 if-nez v0, :cond_11 .line 2533 invoke-super {p0, p1}, Landroidx/appcompat/view/WindowCallbackWrapper;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z move-result p1 if-eqz p1, :cond_f goto :goto_11 :cond_f const/4 p1, 0x0 goto :goto_12 :cond_11 :goto_11 const/4 p1, 0x1 :goto_12 return p1 .end method .method public dispatchKeyShortcutEvent(Landroid/view/KeyEvent;)Z .registers 4 .line 2538 invoke-super {p0, p1}, Landroidx/appcompat/view/WindowCallbackWrapper;->dispatchKeyShortcutEvent(Landroid/view/KeyEvent;)Z move-result v0 if-nez v0, :cond_15 iget-object v0, p0, Landroidx/appcompat/app/AppCompatDelegateImpl$AppCompatWindowCallback;->this$0:Landroidx/appcompat/app/AppCompatDelegateImpl; .line 2539 invoke-virtual {p1}, Landroid/view/KeyEvent;->getKeyCode()I move-result v1 invoke-virtual {v0, v1, p1}, Landroidx/appcompat/app/AppCompatDelegateImpl;->onKeyShortcut(ILandroid/view/KeyEvent;)Z move-result p1 if-eqz p1, :cond_13 goto :goto_15 :cond_13 const/4 p1, 0x0 goto :goto_16 :cond_15 :goto_15 const/4 p1, 0x1 :goto_16 return p1 .end method .method public onContentChanged()V .registers 1 return-void .end method .method public onCreatePanelMenu(ILandroid/view/Menu;)Z .registers 4 if-nez p1, :cond_8 .line 2544 instance-of v0, p2, Landroidx/appcompat/view/menu/MenuBuilder; if-nez v0, :cond_8 const/4 p1, 0x0 return p1 .line 2549 :cond_8 invoke-super {p0, p1, p2}, Landroidx/appcompat/view/WindowCallbackWrapper;->onCreatePanelMenu(ILandroid/view/Menu;)Z move-result p1 return p1 .end method .method public onMenuOpened(ILandroid/view/Menu;)Z .registers 3 .line 2587 invoke-super {p0, p1, p2}, Landroidx/appcompat/view/WindowCallbackWrapper;->onMenuOpened(ILandroid/view/Menu;)Z .line 2588 iget-object p2, p0, Landroidx/appcompat/app/AppCompatDelegateImpl$AppCompatWindowCallback;->this$0:Landroidx/appcompat/app/AppCompatDelegateImpl; invoke-virtual {p2, p1}, Landroidx/appcompat/app/AppCompatDelegateImpl;->onMenuOpened(I)V const/4 p1, 0x1 return p1 .end method .method public onPanelClosed(ILandroid/view/Menu;)V .registers 3 .line 2594 invoke-super {p0, p1, p2}, Landroidx/appcompat/view/WindowCallbackWrapper;->onPanelClosed(ILandroid/view/Menu;)V .line 2595 iget-object p2, p0, Landroidx/appcompat/app/AppCompatDelegateImpl$AppCompatWindowCallback;->this$0:Landroidx/appcompat/app/AppCompatDelegateImpl; invoke-virtual {p2, p1}, Landroidx/appcompat/app/AppCompatDelegateImpl;->onPanelClosed(I)V return-void .end method .method public onPreparePanel(ILandroid/view/View;Landroid/view/Menu;)Z .registers 7 .line 2560 instance-of v0, p3, Landroidx/appcompat/view/menu/MenuBuilder; if-eqz v0, :cond_8 move-object v0, p3 check-cast v0, Landroidx/appcompat/view/menu/MenuBuilder; goto :goto_9 :cond_8 const/4 v0, 0x0 :goto_9 const/4 v1, 0x0 if-nez p1, :cond_f if-nez v0, :cond_f return v1 :cond_f if-eqz v0, :cond_15 const/4 v2, 0x1 .line 2573 invoke-virtual {v0, v2}, Landroidx/appcompat/view/menu/MenuBuilder;->setOverrideVisibleItems(Z)V .line 2576 :cond_15 invoke-super {p0, p1, p2, p3}, Landroidx/appcompat/view/WindowCallbackWrapper;->onPreparePanel(ILandroid/view/View;Landroid/view/Menu;)Z move-result p1 if-eqz v0, :cond_1e .line 2579 invoke-virtual {v0, v1}, Landroidx/appcompat/view/menu/MenuBuilder;->setOverrideVisibleItems(Z)V :cond_1e return p1 .end method .method public onProvideKeyboardShortcuts(Ljava/util/List;Landroid/view/Menu;I)V .registers 7 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "Landroid/view/KeyboardShortcutGroup;", ">;", "Landroid/view/Menu;", "I)V" } .end annotation .line 2653 iget-object v0, p0, Landroidx/appcompat/app/AppCompatDelegateImpl$AppCompatWindowCallback;->this$0:Landroidx/appcompat/app/AppCompatDelegateImpl; const/4 v1, 0x0 const/4 v2, 0x1 invoke-virtual {v0, v1, v2}, Landroidx/appcompat/app/AppCompatDelegateImpl;->getPanelState(IZ)Landroidx/appcompat/app/AppCompatDelegateImpl$PanelFeatureState; move-result-object v0 if-eqz v0, :cond_14 .line 2654 iget-object v1, v0, Landroidx/appcompat/app/AppCompatDelegateImpl$PanelFeatureState;->menu:Landroidx/appcompat/view/menu/MenuBuilder; if-eqz v1, :cond_14 .line 2657 iget-object p2, v0, Landroidx/appcompat/app/AppCompatDelegateImpl$PanelFeatureState;->menu:Landroidx/appcompat/view/menu/MenuBuilder; invoke-super {p0, p1, p2, p3}, Landroidx/appcompat/view/WindowCallbackWrapper;->onProvideKeyboardShortcuts(Ljava/util/List;Landroid/view/Menu;I)V goto :goto_17 .line 2660 :cond_14 invoke-super {p0, p1, p2, p3}, Landroidx/appcompat/view/WindowCallbackWrapper;->onProvideKeyboardShortcuts(Ljava/util/List;Landroid/view/Menu;I)V :goto_17 return-void .end method .method public onWindowStartingActionMode(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode; .registers 2 const/4 p1, 0x0 return-object p1 .end method .method public onWindowStartingActionMode(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode; .registers 4 .line 2638 iget-object v0, p0, Landroidx/appcompat/app/AppCompatDelegateImpl$AppCompatWindowCallback;->this$0:Landroidx/appcompat/app/AppCompatDelegateImpl; invoke-virtual {v0}, Landroidx/appcompat/app/AppCompatDelegateImpl;->isHandleNativeActionModesEnabled()Z move-result v0 if-eqz v0, :cond_10 if-eqz p2, :cond_b goto :goto_10 .line 2642 :cond_b invoke-virtual {p0, p1}, Landroidx/appcompat/app/AppCompatDelegateImpl$AppCompatWindowCallback;->startAsSupportActionMode(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode; move-result-object p1 return-object p1 .line 2646 :cond_10 :goto_10 invoke-super {p0, p1, p2}, Landroidx/appcompat/view/WindowCallbackWrapper;->onWindowStartingActionMode(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode; move-result-object p1 return-object p1 .end method .method final startAsSupportActionMode(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode; .registers 4 .line 2620 new-instance v0, Landroidx/appcompat/view/SupportActionModeWrapper$CallbackWrapper; iget-object v1, p0, Landroidx/appcompat/app/AppCompatDelegateImpl$AppCompatWindowCallback;->this$0:Landroidx/appcompat/app/AppCompatDelegateImpl; iget-object v1, v1, Landroidx/appcompat/app/AppCompatDelegateImpl;->mContext:Landroid/content/Context; invoke-direct {v0, v1, p1}, Landroidx/appcompat/view/SupportActionModeWrapper$CallbackWrapper;->(Landroid/content/Context;Landroid/view/ActionMode$Callback;)V .line 2624 iget-object p1, p0, Landroidx/appcompat/app/AppCompatDelegateImpl$AppCompatWindowCallback;->this$0:Landroidx/appcompat/app/AppCompatDelegateImpl; .line 2625 invoke-virtual {p1, v0}, Landroidx/appcompat/app/AppCompatDelegateImpl;->startSupportActionMode(Landroidx/appcompat/view/ActionMode$Callback;)Landroidx/appcompat/view/ActionMode; move-result-object p1 if-eqz p1, :cond_16 .line 2629 invoke-virtual {v0, p1}, Landroidx/appcompat/view/SupportActionModeWrapper$CallbackWrapper;->getActionModeWrapper(Landroidx/appcompat/view/ActionMode;)Landroid/view/ActionMode; move-result-object p1 return-object p1 :cond_16 const/4 p1, 0x0 return-object p1 .end method