fd$b.java
2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
import android.support.v7.view.WindowCallbackWrapper;
import android.support.v7.view.menu.MenuBuilder;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.View;
import android.view.Window.Callback;
class fd$b
extends WindowCallbackWrapper
{
fd$b(fd paramfd, Window.Callback paramCallback)
{
super(paramCallback);
}
public boolean dispatchKeyEvent(KeyEvent paramKeyEvent)
{
return (this.a.a(paramKeyEvent)) || (super.dispatchKeyEvent(paramKeyEvent));
}
public boolean dispatchKeyShortcutEvent(KeyEvent paramKeyEvent)
{
return (super.dispatchKeyShortcutEvent(paramKeyEvent)) || (this.a.a(paramKeyEvent.getKeyCode(), paramKeyEvent));
}
public void onContentChanged() {}
public boolean onCreatePanelMenu(int paramInt, Menu paramMenu)
{
if ((paramInt == 0) && (!(paramMenu instanceof MenuBuilder))) {
return false;
}
return super.onCreatePanelMenu(paramInt, paramMenu);
}
public boolean onMenuOpened(int paramInt, Menu paramMenu)
{
super.onMenuOpened(paramInt, paramMenu);
this.a.b(paramInt);
return true;
}
public void onPanelClosed(int paramInt, Menu paramMenu)
{
super.onPanelClosed(paramInt, paramMenu);
this.a.a(paramInt);
}
public boolean onPreparePanel(int paramInt, View paramView, Menu paramMenu)
{
MenuBuilder localMenuBuilder;
boolean bool1;
if ((paramMenu instanceof MenuBuilder))
{
localMenuBuilder = (MenuBuilder)paramMenu;
if ((paramInt != 0) || (localMenuBuilder != null)) {
break label34;
}
bool1 = false;
}
label34:
boolean bool2;
do
{
return bool1;
localMenuBuilder = null;
break;
if (localMenuBuilder != null) {
localMenuBuilder.setOverrideVisibleItems(true);
}
bool2 = super.onPreparePanel(paramInt, paramView, paramMenu);
bool1 = bool2;
} while (localMenuBuilder == null);
localMenuBuilder.setOverrideVisibleItems(false);
return bool2;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/fd$b.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/