/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/Contacts/tests/src/com/android/contacts/widget/ |
D | CompositeListAdapterTest.java | 156 assertEquals(0, adapter.getItemId(0)); in testGetItemId() 157 assertEquals(1, adapter.getItemId(1)); in testGetItemId() 158 assertEquals(0, adapter.getItemId(2)); in testGetItemId() 159 assertEquals(1, adapter.getItemId(3)); in testGetItemId() 160 assertEquals(2, adapter.getItemId(4)); in testGetItemId()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastListActivityTest.java | 318 doReturn(MENU_DELETE).when(mockMenuItem).getItemId(); in testOnContextItemSelectedDelete() 342 doReturn(MENU_DELETE).when(mockMenuItem).getItemId(); in testOnContextItemSelectedDeleteForWatch() 368 doReturn(R.id.action_delete).when(mockMenuItem).getItemId(); in testOnActionItemClickedDelete() 516 doReturn(R.id.action_delete).when(mockMenuItem).getItemId(); in testOnActionItemClickedDeleteOnMultiSelect() 547 doReturn(R.id.action_detail_info).when(mockMenuItem).getItemId(); in testOnActionItemClickedViewDetail() 598 doReturn(MENU_VIEW_DETAILS).when(mockMenuItem).getItemId(); in testOnContextItemSelectedViewDetails() 640 doReturn(android.R.id.home).when(mockMenuItem).getItemId(); in testOnOptionsItemSelected() 652 doReturn(MENU_DELETE_ALL).when(mockMenuItem).getItemId(); in testFragmentOnOptionsItemSelected() 665 doReturn(MENU_SHOW_ALL_MESSAGES).when(mockMenuItem).getItemId(); in testFragmentOnOptionsItemSelected() 667 doReturn(MENU_SHOW_REGULAR_MESSAGES).when(mockMenuItem).getItemId(); in testFragmentOnOptionsItemSelected() [all …]
|
/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/tests/robotests/src/com/android/settings/applications/manageapplications/ |
D | ManageApplicationsTest.java | 468 adapter.rebuild(mSortRecent.getItemId(), false); in sortOrderSavedOnRebuild() 469 assertThat(mFragment.mSortOrder).isEqualTo(mSortRecent.getItemId()); in sortOrderSavedOnRebuild() 471 adapter.rebuild(mSortFrequent.getItemId(), false); in sortOrderSavedOnRebuild() 472 assertThat(mFragment.mSortOrder).isEqualTo(mSortFrequent.getItemId()); in sortOrderSavedOnRebuild() 474 adapter.rebuild(mSortFrequent.getItemId(), true); in sortOrderSavedOnRebuild() 475 assertThat(mFragment.mSortOrder).isEqualTo(mSortFrequent.getItemId()); in sortOrderSavedOnRebuild() 617 if (id == mAppReset.getItemId()) { in setUpOptionMenus() 620 if (id == mSortFrequent.getItemId()) { in setUpOptionMenus() 623 if (id == mSortRecent.getItemId()) { in setUpOptionMenus()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | RecentLocationAccessSeeAllFragment.java | 82 switch (menuItem.getItemId()) { in onOptionsItemSelected() 85 mShowSystem = menuItem.getItemId() == MENU_SHOW_SYSTEM; 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/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/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/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/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitCarUiProxy/plugin/src/main/java/com/chassis/car/ui/plugin/recyclerview/ |
D | RVAdapterWrapper.java | 108 public long getItemId(int position) { in getItemId() method in RVAdapterWrapper 109 return mAdapter.getItemId(position); in getItemId()
|
D | CarListItemAdapterAdapterProxy.java | 59 public long getItemId(int position) { in getItemId() method in CarListItemAdapterAdapterProxy 60 return mDelegateAdapter.getItemId(position); in getItemId()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastListActivity.java | 115 switch (item.getItemId()) { in onOptionsItemSelected() 487 switch (item.getItemId()) { in onContextItemSelected() 508 switch(item.getItemId()) { in onOptionsItemSelected() 569 if (item.getItemId() == R.id.action_detail_info) { in getMultiChoiceModeListener() 580 } else if (item.getItemId() == R.id.action_delete) { in getMultiChoiceModeListener()
|
/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()
|
D | SingleItemAdapter.java | 35 public long getItemId(int position) { in getItemId() method in SingleItemAdapter
|
/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/modules/ImsMedia/test/app/ImsMediaTestingApp/app/src/main/java/com/example/imsmediatestingapp/ |
D | BottomSheetAudioCodecSettings.java | 95 switch (item.getItemId()) { in openCodecSelectionMenu() 139 switch (item.getItemId()) { in openEvsBandwidthMenu()
|
/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()
|
D | BlockedParticipantsActivity.java | 39 switch (item.getItemId()) { in onOptionsItemSelected()
|
D | VCardDetailActivity.java | 51 switch (item.getItemId()) { in onOptionsItemSelected()
|
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/ |
D | AssistedDialingSettingActivity.java | 38 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected()
|
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/ |
D | OptionsMenuManager.kt | 74 val itemId: Int = item.getItemId() in onOptionsItemSelected()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | AccessibilitySettingsActivity.java | 45 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected()
|