SubMenuBuilder.java
2.98 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
package android.support.v7.view.menu;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.support.annotation.RestrictTo;
import android.view.Menu;
import android.view.MenuItem;
import android.view.SubMenu;
import android.view.View;
@RestrictTo({android.support.annotation.RestrictTo.Scope.LIBRARY_GROUP})
public class SubMenuBuilder
extends MenuBuilder
implements SubMenu
{
private MenuBuilder f;
private MenuItemImpl g;
public SubMenuBuilder(Context paramContext, MenuBuilder paramMenuBuilder, MenuItemImpl paramMenuItemImpl)
{
super(paramContext);
this.f = paramMenuBuilder;
this.g = paramMenuItemImpl;
}
final boolean a(MenuBuilder paramMenuBuilder, MenuItem paramMenuItem)
{
return (super.a(paramMenuBuilder, paramMenuItem)) || (this.f.a(paramMenuBuilder, paramMenuItem));
}
public boolean collapseItemActionView(MenuItemImpl paramMenuItemImpl)
{
return this.f.collapseItemActionView(paramMenuItemImpl);
}
public boolean expandItemActionView(MenuItemImpl paramMenuItemImpl)
{
return this.f.expandItemActionView(paramMenuItemImpl);
}
public String getActionViewStatesKey()
{
if (this.g != null) {}
for (int i = this.g.getItemId(); i == 0; i = 0) {
return null;
}
return super.getActionViewStatesKey() + ":" + i;
}
public MenuItem getItem()
{
return this.g;
}
public Menu getParentMenu()
{
return this.f;
}
public MenuBuilder getRootMenu()
{
return this.f.getRootMenu();
}
public boolean isQwertyMode()
{
return this.f.isQwertyMode();
}
public boolean isShortcutsVisible()
{
return this.f.isShortcutsVisible();
}
public void setCallback(MenuBuilder.Callback paramCallback)
{
this.f.setCallback(paramCallback);
}
public SubMenu setHeaderIcon(int paramInt)
{
return (SubMenu)super.setHeaderIconInt(paramInt);
}
public SubMenu setHeaderIcon(Drawable paramDrawable)
{
return (SubMenu)super.setHeaderIconInt(paramDrawable);
}
public SubMenu setHeaderTitle(int paramInt)
{
return (SubMenu)super.setHeaderTitleInt(paramInt);
}
public SubMenu setHeaderTitle(CharSequence paramCharSequence)
{
return (SubMenu)super.setHeaderTitleInt(paramCharSequence);
}
public SubMenu setHeaderView(View paramView)
{
return (SubMenu)super.setHeaderViewInt(paramView);
}
public SubMenu setIcon(int paramInt)
{
this.g.setIcon(paramInt);
return this;
}
public SubMenu setIcon(Drawable paramDrawable)
{
this.g.setIcon(paramDrawable);
return this;
}
public void setQwertyMode(boolean paramBoolean)
{
this.f.setQwertyMode(paramBoolean);
}
public void setShortcutsVisible(boolean paramBoolean)
{
this.f.setShortcutsVisible(paramBoolean);
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v7/view/menu/SubMenuBuilder.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/