/packages/apps/Dialer/java/com/android/dialer/speeddial/ |
D | ContextMenu.java | 102 if (menuItem.getItemId() == R.id.voice_call_container) { in onMenuItemClick() 104 } else if (menuItem.getItemId() == R.id.video_call_container) { in onMenuItemClick() 106 } else if (menuItem.getItemId() == R.id.send_message_container) { in onMenuItemClick() 108 } else if (menuItem.getItemId() == R.id.remove_container) { in onMenuItemClick() 110 } else if (menuItem.getItemId() == R.id.contact_info_container) { in onMenuItemClick()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastListActivityTest.java | 214 doReturn(MENU_DELETE).when(mockMenuItem).getItemId(); in testOnContextItemSelectedDelete() 245 doReturn(MENU_VIEW_DETAILS).when(mockMenuItem).getItemId(); in testOnContextItemSelectedViewDetails() 294 doReturn(android.R.id.home).when(mockMenuItem).getItemId(); in testOnOptionsItemSelected() 306 doReturn(MENU_DELETE_ALL).when(mockMenuItem).getItemId(); in testFragmentOnOptionsItemSelected() 324 doReturn(MENU_SHOW_ALL_MESSAGES).when(mockMenuItem).getItemId(); in testFragmentOnOptionsItemSelected() 326 doReturn(MENU_SHOW_REGULAR_MESSAGES).when(mockMenuItem).getItemId(); in testFragmentOnOptionsItemSelected()
|
/packages/apps/Contacts/tests/src/com/android/contacts/widget/ |
D | CompositeListAdapterTest.java | 155 assertEquals(0, adapter.getItemId(0)); in testGetItemId() 156 assertEquals(1, adapter.getItemId(1)); in testGetItemId() 157 assertEquals(0, adapter.getItemId(2)); in testGetItemId() 158 assertEquals(1, adapter.getItemId(3)); in testGetItemId() 159 assertEquals(2, adapter.getItemId(4)); in testGetItemId()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/ |
D | ManageApplicationsTest.java | 465 adapter.rebuild(mSortRecent.getItemId()); in sortOrderSavedOnRebuild() 466 assertThat(mFragment.mSortOrder).isEqualTo(mSortRecent.getItemId()); in sortOrderSavedOnRebuild() 468 adapter.rebuild(mSortFrequent.getItemId()); in sortOrderSavedOnRebuild() 469 assertThat(mFragment.mSortOrder).isEqualTo(mSortFrequent.getItemId()); in sortOrderSavedOnRebuild() 501 if (id == mAppReset.getItemId()) { in setUpOptionMenus() 504 if (id == mSortFrequent.getItemId()) { in setUpOptionMenus() 507 if (id == mSortRecent.getItemId()) { in setUpOptionMenus()
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
D | FdnList.java | 52 if (item.getItemId() == MENU_EDIT) { 54 } else if (item.getItemId() == MENU_DELETE) { 56 } else if (item.getItemId() == MENU_DIAL) { 165 switch (item.getItemId()) { in onOptionsItemSelected()
|
/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | BaseTimeZoneAdapter.java | 108 public long getItemId(int position) { in getItemId() method in BaseTimeZoneAdapter 110 return isPositionHeader(position) ? -1 : getDataItem(position).getItemId(); in getItemId() 168 long getItemId(); in getItemId() method
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/ |
D | BaseTimeZoneAdapter.java | 108 public long getItemId(int position) { in getItemId() method in BaseTimeZoneAdapter 110 return isPositionHeader(position) ? -1 : getDataItem(position).getItemId(); in getItemId() 168 long getItemId(); in getItemId() method
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogActivity.java | 157 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected() 163 } else if (item.getItemId() == R.id.delete_all) { in onOptionsItemSelected() 235 public long getItemId(int position) { in getItemId() method in CallLogActivity.ViewPagerAdapter
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | PumpActivity.java | 129 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected() 139 if (pages.getId() == item.getItemId()) { in onNavigationItemSelected() 207 public long getItemId(int position) { in getItemId() method in PumpActivity.ActivityPagerAdapter
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
D | EditorDraw.java | 173 if (item.getItemId() != R.id.draw_menu_clear) { in showPopupMenu() 206 switch (item.getItemId()) { in selectMenuItem() 220 if (item.getItemId() != R.id.draw_menu_clear) { in selectMenuItem()
|
D | EditorColorBorder.java | 150 switch (item.getItemId()) { in selectMenuItem() 164 if (item.getItemId() != R.id.color_border_menu_clear) { in selectMenuItem()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | RingtonePickerActivity.java | 398 if (mAdapter.getItemId(i) == mCheckedItemId) { in requeryForAdapter() 479 mCheckedItemId = mAdapter.getItemId(getRingtoneManagerPosition(pos)); in setCheckedItem() 725 public long getItemId(int position) { in getItemId() method in RingtonePickerActivity.BadgedRingtoneAdapter 729 return super.getItemId(position); in getItemId()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | RecentLocationRequestSeeAllFragment.java | 74 switch (menuItem.getItemId()) { in onOptionsItemSelected() 77 mShowSystem = menuItem.getItemId() == MENU_SHOW_SYSTEM; in onOptionsItemSelected()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastListActivity.java | 90 switch (item.getItemId()) { in onOptionsItemSelected() 382 switch (item.getItemId()) { in onContextItemSelected() 403 switch(item.getItemId()) { in onOptionsItemSelected()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
D | UserDictionaryAddWordFragment.java | 111 if (item.getItemId() == OPTIONS_MENU_ADD) { in onOptionsItemSelected() 116 if (item.getItemId() == OPTIONS_MENU_DELETE) { in onOptionsItemSelected()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | CompositeListAdapter.java | 153 public long getItemId(int position) { in getItemId() method in CompositeListAdapter 159 return mAdapters[i].getItemId(position - start); in getItemId()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | AccountFilterActivity.java | 158 public long getItemId(int position) { in getItemId() method in AccountFilterActivity.FilterListAdapter 187 switch (item.getItemId()) { in onOptionsItemSelected()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | CompositeAdapter.java | 216 public long getItemId(final int position) { in getItemId() method in CompositeAdapter 229 return mPartitions[i].getAdapter().getItemId(offset); in getItemId()
|
/packages/apps/Dialer/java/com/android/dialer/main/impl/ |
D | MainSearchController.java | 471 if (menuItem.getItemId() == R.id.settings) { in onMenuItemClicked() 475 } else if (menuItem.getItemId() == R.id.clear_frequents) { in onMenuItemClicked() 479 } else if (menuItem.getItemId() == R.id.menu_call_history) { in onMenuItemClicked()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | ApnEditorTest.java | 345 doReturn(Menu.FIRST + 1).when(item).getItemId(); in testSaveApnData_pressSaveButtonWithValidApnData_shouldSaveApnData() 365 doReturn(Menu.FIRST + 1).when(item).getItemId(); in testSaveApnData_apnDataInvalid_shouldNotSaveApnData() 385 doReturn(Menu.FIRST).when(item).getItemId(); in testDeleteApnData_shouldDeleteData()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/ |
D | CustomizationPickerActivity.java | 134 navigateToSection(mBottomNav.getMenu().getItem(section).getItemId()); in onCreate() 237 int id = item.getItemId(); in setUpBottomNavView() 246 int id = item.getItemId(); in setUpBottomNavView()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/ |
D | ManagePermissionsFragment.java | 71 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected() 207 switch (item.getItemId()) { in onOptionsItemSelected()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransferHistory.java | 169 switch (item.getItemId()) { in onOptionsItemSelected() 184 switch (item.getItemId()) { in onContextItemSelected()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PickRawContactDialogFragment.java | 79 public long getItemId(int position) { in getItemId() method in PickRawContactDialogFragment.RawContactAccountListAdapter 216 final long rawContactId = mAdapter.getItemId(which); in onCreateDialog()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | HeaderGridView.java | 353 public long getItemId(int position) { in getItemId() method in HeaderGridView.HeaderViewGridAdapter 359 return mAdapter.getItemId(adjPosition); in getItemId()
|