fx.java
5.18 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
import android.annotation.TargetApi;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.support.annotation.RequiresApi;
import android.support.v4.internal.view.SupportMenu;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuItem;
import android.view.SubMenu;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
@TargetApi(14)
@RequiresApi(14)
public class fx
extends fs<SupportMenu>
implements Menu
{
public fx(Context paramContext, SupportMenu paramSupportMenu)
{
super(paramContext, paramSupportMenu);
}
public MenuItem add(int paramInt)
{
return a(((SupportMenu)this.d).add(paramInt));
}
public MenuItem add(int paramInt1, int paramInt2, int paramInt3, int paramInt4)
{
return a(((SupportMenu)this.d).add(paramInt1, paramInt2, paramInt3, paramInt4));
}
public MenuItem add(int paramInt1, int paramInt2, int paramInt3, CharSequence paramCharSequence)
{
return a(((SupportMenu)this.d).add(paramInt1, paramInt2, paramInt3, paramCharSequence));
}
public MenuItem add(CharSequence paramCharSequence)
{
return a(((SupportMenu)this.d).add(paramCharSequence));
}
public int addIntentOptions(int paramInt1, int paramInt2, int paramInt3, ComponentName paramComponentName, Intent[] paramArrayOfIntent, Intent paramIntent, int paramInt4, MenuItem[] paramArrayOfMenuItem)
{
MenuItem[] arrayOfMenuItem = null;
if (paramArrayOfMenuItem != null) {
arrayOfMenuItem = new MenuItem[paramArrayOfMenuItem.length];
}
paramInt2 = ((SupportMenu)this.d).addIntentOptions(paramInt1, paramInt2, paramInt3, paramComponentName, paramArrayOfIntent, paramIntent, paramInt4, arrayOfMenuItem);
if (arrayOfMenuItem != null)
{
paramInt1 = 0;
paramInt3 = arrayOfMenuItem.length;
while (paramInt1 < paramInt3)
{
paramArrayOfMenuItem[paramInt1] = a(arrayOfMenuItem[paramInt1]);
paramInt1 += 1;
}
}
return paramInt2;
}
public SubMenu addSubMenu(int paramInt)
{
return a(((SupportMenu)this.d).addSubMenu(paramInt));
}
public SubMenu addSubMenu(int paramInt1, int paramInt2, int paramInt3, int paramInt4)
{
return a(((SupportMenu)this.d).addSubMenu(paramInt1, paramInt2, paramInt3, paramInt4));
}
public SubMenu addSubMenu(int paramInt1, int paramInt2, int paramInt3, CharSequence paramCharSequence)
{
return a(((SupportMenu)this.d).addSubMenu(paramInt1, paramInt2, paramInt3, paramCharSequence));
}
public SubMenu addSubMenu(CharSequence paramCharSequence)
{
return a(((SupportMenu)this.d).addSubMenu(paramCharSequence));
}
public void clear()
{
if (this.b != null) {
this.b.clear();
}
if (this.c != null) {
this.c.clear();
}
((SupportMenu)this.d).clear();
}
public void close()
{
((SupportMenu)this.d).close();
}
public MenuItem findItem(int paramInt)
{
return a(((SupportMenu)this.d).findItem(paramInt));
}
public MenuItem getItem(int paramInt)
{
return a(((SupportMenu)this.d).getItem(paramInt));
}
public boolean hasVisibleItems()
{
return ((SupportMenu)this.d).hasVisibleItems();
}
public boolean isShortcutKey(int paramInt, KeyEvent paramKeyEvent)
{
return ((SupportMenu)this.d).isShortcutKey(paramInt, paramKeyEvent);
}
public boolean performIdentifierAction(int paramInt1, int paramInt2)
{
return ((SupportMenu)this.d).performIdentifierAction(paramInt1, paramInt2);
}
public boolean performShortcut(int paramInt1, KeyEvent paramKeyEvent, int paramInt2)
{
return ((SupportMenu)this.d).performShortcut(paramInt1, paramKeyEvent, paramInt2);
}
public void removeGroup(int paramInt)
{
if (this.b != null)
{
Iterator localIterator = this.b.keySet().iterator();
while (localIterator.hasNext()) {
if (paramInt == ((MenuItem)localIterator.next()).getGroupId()) {
localIterator.remove();
}
}
}
((SupportMenu)this.d).removeGroup(paramInt);
}
public void removeItem(int paramInt)
{
if (this.b != null)
{
Iterator localIterator = this.b.keySet().iterator();
while (localIterator.hasNext()) {
if (paramInt == ((MenuItem)localIterator.next()).getItemId()) {
localIterator.remove();
}
}
}
((SupportMenu)this.d).removeItem(paramInt);
}
public void setGroupCheckable(int paramInt, boolean paramBoolean1, boolean paramBoolean2)
{
((SupportMenu)this.d).setGroupCheckable(paramInt, paramBoolean1, paramBoolean2);
}
public void setGroupEnabled(int paramInt, boolean paramBoolean)
{
((SupportMenu)this.d).setGroupEnabled(paramInt, paramBoolean);
}
public void setGroupVisible(int paramInt, boolean paramBoolean)
{
((SupportMenu)this.d).setGroupVisible(paramInt, paramBoolean);
}
public void setQwertyMode(boolean paramBoolean)
{
((SupportMenu)this.d).setQwertyMode(paramBoolean);
}
public int size()
{
return ((SupportMenu)this.d).size();
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/fx.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/