Home
last modified time | relevance | path

Searched refs:MENU_DELETE (Results 1 – 7 of 7) sorted by relevance

/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnList.java54 } else if (item.getItemId() == MENU_DELETE) {
72 getMenu().add(0, MENU_DELETE, 0, getString(R.string.menu_delete)); in showPopUp()
83 private static final int MENU_DELETE = 3; field in FdnList
144 menu.add(0, MENU_DELETE, 0, r.getString(R.string.menu_delete)) in onCreateOptionsMenu()
157 menu.findItem(MENU_DELETE).setVisible(hasSelection); in onPrepareOptionsMenu()
182 case MENU_DELETE: in onOptionsItemSelected()
DEditFdnContactScreen.java61 private static final int MENU_DELETE = 2; field in EditFdnContactScreen
180 menu.add(0, MENU_DELETE, 0, r.getString(R.string.menu_delete)) in onCreateOptionsMenu()
204 case MENU_DELETE: in onOptionsItemSelected()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApnEditorActivity.java122 private static final int MENU_DELETE = Menu.FIRST; field in ApnEditorActivity.ApnEditorFragment
303 menu.add(0, MENU_DELETE, 0, R.string.menu_delete_apn) in onCreateOptionsMenu()
315 case MENU_DELETE: in onOptionsItemSelected()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastListActivity.java155 public static final int MENU_DELETE = 0; field in CellBroadcastListActivity.CursorLoaderListFragment
247 menu.add(0, MENU_DELETE, 0, R.string.menu_delete); in onActivityCreated()
488 case MENU_DELETE: in onContextItemSelected()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastListActivityTest.java37 …c com.android.cellbroadcastreceiver.CellBroadcastListActivity.CursorLoaderListFragment.MENU_DELETE;
184 assertNotNull(contextMenu.findItem(MENU_DELETE)); in testContextMenuForWatch()
318 doReturn(MENU_DELETE).when(mockMenuItem).getItemId(); in testOnContextItemSelectedDelete()
342 doReturn(MENU_DELETE).when(mockMenuItem).getItemId(); in testOnContextItemSelectedDeleteForWatch()
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnEditor.java83 static final int MENU_DELETE = Menu.FIRST; field in ApnEditor
854 menu.add(0, MENU_DELETE, 0, R.string.menu_delete) in onCreateOptionsMenu()
868 case MENU_DELETE: in onOptionsItemSelected()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/apn/
DApnEditorTest.java426 verify(menu, times(0)).add(anyInt(), eq(ApnEditor.MENU_DELETE), anyInt(), anyInt()); in testDeleteApnData_shouldNotPresentMenuWhenNotSupportAdding()