OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MenuItem
(Results
101 - 125
of
877
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/autotest/frontend/client/src/autotest/common/ui/
ContextMenu.java
7
import com.google.gwt.user.client.ui.
MenuItem
;
35
public
MenuItem
addItem(String text, Command cmd) {
40
for (
MenuItem
menuItem
: getItems()) {
41
menuItem
.setEnabled(enabled);
/frameworks/base/core/java/com/android/internal/view/menu/
SubMenuBuilder.java
22
import android.view.
MenuItem
;
65
public
MenuItem
getItem() {
80
boolean dispatchMenuItemSelected(MenuBuilder menu,
MenuItem
item) {
ActionMenu.java
29
import android.view.
MenuItem
;
51
public
MenuItem
add(CharSequence title) {
55
public
MenuItem
add(int titleRes) {
59
public
MenuItem
add(int groupId, int itemId, int order, int titleRes) {
63
public
MenuItem
add(int groupId, int itemId, int order, CharSequence title) {
72
MenuItem
[] outSpecificItems) {
89
final
MenuItem
item = add(groupId, itemId, order, ri.loadLabel(pm))
140
public
MenuItem
findItem(int id) {
144
public
MenuItem
getItem(int index) {
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
SharingSupport.java
24
import android.view.
MenuItem
;
57
MenuItem
item = menu.add("Share");
59
item.setShowAsAction(
MenuItem
.SHOW_AS_ACTION_IF_ROOM);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
SwapButton.java
23
import android.view.
MenuItem
;
32
public void swapLeft(
MenuItem
item);
33
public void swapRight(
MenuItem
item);
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
ArchivedConversationListActivity.java
22
import android.view.
MenuItem
;
65
final
MenuItem
item = menu.findItem(R.id.action_debug_options);
74
public boolean onOptionsItemSelected(
MenuItem
menuItem
) {
75
switch(
menuItem
.getItemId()) {
83
return super.onOptionsItemSelected(
menuItem
);
/packages/apps/Settings/src/com/android/settings/deviceinfo/
PrivateVolumeOptionMenuController.java
24
import android.view.
MenuItem
;
67
final
MenuItem
migrate = menu.findItem(OPTIONS_MENU_MIGRATE_DATA);
76
public boolean onOptionsItemSelected(
MenuItem
menuItem
) {
77
if (
menuItem
.getItemId() == OPTIONS_MENU_MIGRATE_DATA) {
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
NetworkResetActionMenuControllerTest.java
28
import android.view.
MenuItem
;
51
private
MenuItem
mMenuItem;
70
verify(mMenuItem).setOnMenuItemClickListener(any(
MenuItem
.OnMenuItemClickListener.class));
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
EmailCopyContextMenu.java
28
import android.view.
MenuItem
;
65
private class Copy implements
MenuItem
.OnMenuItemClickListener {
73
public boolean onMenuItemClick(
MenuItem
item) {
SelectedConversationsActionMenu.java
26
import android.view.
MenuItem
;
95
private
MenuItem
mDiscardOutboxMenuItem;
114
public boolean onActionItemClicked(
MenuItem
item) {
119
public boolean onActionItemClicked(ActionMode mode,
MenuItem
item) {
399
final
MenuItem
star = menu.findItem(R.id.star);
401
final
MenuItem
unstar = menu.findItem(R.id.remove_star);
403
final
MenuItem
read = menu.findItem(R.id.read);
405
final
MenuItem
unread = menu.findItem(R.id.unread);
411
final
MenuItem
removeFolder = menu.findItem(R.id.remove_folder);
412
final
MenuItem
moveTo = menu.findItem(R.id.move_to)
[
all
...]
/cts/tests/tests/view/src/android/view/cts/
MenuItemTest.java
33
import android.view.
MenuItem
;
64
// Note that this test is not marked as @UiThreadTest. Updating
MenuItem
does not
69
MenuItem
firstItem = mMenu.getItem(0);
70
MenuItem
secondItem = mMenu.getItem(1);
71
MenuItem
thirdItem = mMenu.getItem(2);
/development/apps/Development/src/com/android/development/
DataList.java
25
import android.view.
MenuItem
;
115
MenuItem
.OnMenuItemClickListener mRequery = new
MenuItem
.OnMenuItemClickListener() {
116
public boolean onMenuItemClick(
MenuItem
item) {
/development/samples/ApiDemos/src/com/example/android/apis/app/
ActionBarNavigationTarget.java
22
import android.view.
MenuItem
;
FragmentMenu.java
28
import android.view.
MenuItem
;
111
menu.add("Menu 1a").setShowAsAction(
MenuItem
.SHOW_AS_ACTION_IF_ROOM);
112
menu.add("Menu 1b").setShowAsAction(
MenuItem
.SHOW_AS_ACTION_IF_ROOM);
129
menu.add("Menu 2").setShowAsAction(
MenuItem
.SHOW_AS_ACTION_IF_ROOM);
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
CardFlipActivity.java
28
import android.view.
MenuItem
;
81
MenuItem
item = menu.add(Menu.NONE, R.id.action_flip, Menu.NONE,
88
item.setShowAsAction(
MenuItem
.SHOW_AS_ACTION_IF_ROOM);
93
public boolean onOptionsItemSelected(
MenuItem
item) {
/frameworks/base/core/java/android/view/
SubMenu.java
89
* @see
MenuItem
#setIcon(int)
98
* @see
MenuItem
#setIcon(Drawable)
105
* Gets the {@link
MenuItem
} that represents this submenu in the parent
108
* @return The {@link
MenuItem
} that launches the submenu when invoked.
110
public
MenuItem
getItem();
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
ActionBarUsage.java
26
import android.view.
MenuItem
;
55
final
MenuItem
editItem = menu.findItem(R.id.action_edit);
73
public boolean onOptionsItemSelected(
MenuItem
item) {
86
private void onSort(
MenuItem
item) {
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/
SearchMenuItemController.java
25
import android.view.
MenuItem
;
85
.setShowAsAction(
MenuItem
.SHOW_AS_ACTION_IF_ROOM);
94
public void onPrepareOptionsItem(
MenuItem
item) {
98
public boolean onOptionsItemSelected(
MenuItem
item) {
/packages/apps/Settings/src/com/android/settings/applications/
RunningServices.java
22
import android.view.
MenuItem
;
65
.setShowAsAction(
MenuItem
.SHOW_AS_ACTION_IF_ROOM);
67
.setShowAsAction(
MenuItem
.SHOW_AS_ACTION_IF_ROOM);
85
public boolean onOptionsItemSelected(
MenuItem
item) {
/packages/apps/Settings/src/com/android/settings/search/
SavedQueryController.java
26
import android.view.
MenuItem
;
34
MenuItem
.OnMenuItemClickListener {
90
public boolean onMenuItemClick(
MenuItem
item) {
99
final
MenuItem
item =
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/
MailPreferenceFragment.java
25
import android.view.
MenuItem
;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
ActivityMenuListener.java
35
import org.eclipse.swt.widgets.
MenuItem
;
90
MenuItem
item = new
MenuItem
(menu, SWT.PUSH);
99
MenuItem
separator = new
MenuItem
(menu, SWT.SEPARATOR);
128
MenuItem
separator = new
MenuItem
(menu, SWT.SEPARATOR);
145
MenuItem
item = new
MenuItem
(menu, SWT.CHECK);
/developers/build/prebuilts/gradle/BasicGestureDetect/Application/src/main/java/com/example/android/basicgesturedetect/
BasicGestureDetectFragment.java
23
import android.view.
MenuItem
;
69
public boolean onOptionsItemSelected(
MenuItem
item) {
/developers/build/prebuilts/gradle/BasicImmersiveMode/Application/src/main/java/com/example/android/basicimmersivemode/
BasicImmersiveModeFragment.java
20
import android.view.
MenuItem
;
50
public boolean onOptionsItemSelected(
MenuItem
item) {
/developers/build/prebuilts/gradle/DoneBar/Application/src/main/java/com/example/android/donebar/
DoneButtonActivity.java
24
import android.view.
MenuItem
;
72
public boolean onOptionsItemSelected(
MenuItem
item) {
Completed in 1329 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>