215 lines
4.8 KiB
Smali
215 lines
4.8 KiB
Smali
.class Landroid/support/v7/app/AppCompatDelegateImplBase$b;
|
|
.super Landroid/support/v7/view/WindowCallbackWrapper;
|
|
.source "AppCompatDelegateImplBase.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroid/support/v7/app/AppCompatDelegateImplBase;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = "b"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Landroid/support/v7/app/AppCompatDelegateImplBase;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroid/support/v7/app/AppCompatDelegateImplBase;Landroid/view/Window$Callback;)V
|
|
.locals 0
|
|
|
|
.line 309
|
|
iput-object p1, p0, Landroid/support/v7/app/AppCompatDelegateImplBase$b;->a:Landroid/support/v7/app/AppCompatDelegateImplBase;
|
|
|
|
.line 310
|
|
invoke-direct {p0, p2}, Landroid/support/v7/view/WindowCallbackWrapper;-><init>(Landroid/view/Window$Callback;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public dispatchKeyEvent(Landroid/view/KeyEvent;)Z
|
|
.locals 1
|
|
|
|
.line 315
|
|
iget-object v0, p0, Landroid/support/v7/app/AppCompatDelegateImplBase$b;->a:Landroid/support/v7/app/AppCompatDelegateImplBase;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/support/v7/app/AppCompatDelegateImplBase;->a(Landroid/view/KeyEvent;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 316
|
|
invoke-super {p0, p1}, Landroid/support/v7/view/WindowCallbackWrapper;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
:goto_1
|
|
return p1
|
|
.end method
|
|
|
|
.method public dispatchKeyShortcutEvent(Landroid/view/KeyEvent;)Z
|
|
.locals 2
|
|
|
|
.line 321
|
|
invoke-super {p0, p1}, Landroid/support/v7/view/WindowCallbackWrapper;->dispatchKeyShortcutEvent(Landroid/view/KeyEvent;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object v0, p0, Landroid/support/v7/app/AppCompatDelegateImplBase$b;->a:Landroid/support/v7/app/AppCompatDelegateImplBase;
|
|
|
|
.line 322
|
|
invoke-virtual {p1}, Landroid/view/KeyEvent;->getKeyCode()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {v0, v1, p1}, Landroid/support/v7/app/AppCompatDelegateImplBase;->a(ILandroid/view/KeyEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
:goto_1
|
|
return p1
|
|
.end method
|
|
|
|
.method public onContentChanged()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onCreatePanelMenu(ILandroid/view/Menu;)Z
|
|
.locals 1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 327
|
|
instance-of v0, p2, Landroid/support/v7/view/menu/MenuBuilder;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
.line 332
|
|
:cond_0
|
|
invoke-super {p0, p1, p2}, Landroid/support/v7/view/WindowCallbackWrapper;->onCreatePanelMenu(ILandroid/view/Menu;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public onMenuOpened(ILandroid/view/Menu;)Z
|
|
.locals 1
|
|
|
|
.line 370
|
|
invoke-super {p0, p1, p2}, Landroid/support/v7/view/WindowCallbackWrapper;->onMenuOpened(ILandroid/view/Menu;)Z
|
|
|
|
.line 371
|
|
iget-object v0, p0, Landroid/support/v7/app/AppCompatDelegateImplBase$b;->a:Landroid/support/v7/app/AppCompatDelegateImplBase;
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/support/v7/app/AppCompatDelegateImplBase;->b(ILandroid/view/Menu;)Z
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public onPanelClosed(ILandroid/view/Menu;)V
|
|
.locals 1
|
|
|
|
.line 377
|
|
invoke-super {p0, p1, p2}, Landroid/support/v7/view/WindowCallbackWrapper;->onPanelClosed(ILandroid/view/Menu;)V
|
|
|
|
.line 378
|
|
iget-object v0, p0, Landroid/support/v7/app/AppCompatDelegateImplBase$b;->a:Landroid/support/v7/app/AppCompatDelegateImplBase;
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/support/v7/app/AppCompatDelegateImplBase;->a(ILandroid/view/Menu;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onPreparePanel(ILandroid/view/View;Landroid/view/Menu;)Z
|
|
.locals 3
|
|
|
|
.line 343
|
|
instance-of v0, p3, Landroid/support/v7/view/menu/MenuBuilder;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
move-object v0, p3
|
|
|
|
check-cast v0, Landroid/support/v7/view/menu/MenuBuilder;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
const/4 v1, 0x0
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
return v1
|
|
|
|
:cond_1
|
|
if-eqz v0, :cond_2
|
|
|
|
const/4 v2, 0x1
|
|
|
|
.line 356
|
|
invoke-virtual {v0, v2}, Landroid/support/v7/view/menu/MenuBuilder;->c(Z)V
|
|
|
|
.line 359
|
|
:cond_2
|
|
invoke-super {p0, p1, p2, p3}, Landroid/support/v7/view/WindowCallbackWrapper;->onPreparePanel(ILandroid/view/View;Landroid/view/Menu;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 362
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/view/menu/MenuBuilder;->c(Z)V
|
|
|
|
:cond_3
|
|
return p1
|
|
.end method
|