Home
last modified time | relevance | path

Searched refs:getItemId (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/packages/apps/Dialer/java/com/android/dialer/speeddial/
DContextMenu.java102 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/
DCompositeListAdapterTest.java156 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/
DCellBroadcastListActivityTest.java318 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/
DFdnList.java52 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/
DManageApplicationsTest.java468 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/
DRecentLocationAccessSeeAllFragment.java82 switch (menuItem.getItemId()) { in onOptionsItemSelected()
85 mShowSystem = menuItem.getItemId() == MENU_SHOW_SYSTEM; in onOptionsItemSelected()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DBaseTimeZoneAdapter.java108 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/
DPumpActivity.java129 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/
DCallLogActivity.java157 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/
DEditorDraw.java173 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()
DEditorColorBorder.java150 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/
DRVAdapterWrapper.java108 public long getItemId(int position) { in getItemId() method in RVAdapterWrapper
109 return mAdapter.getItemId(position); in getItemId()
DCarListItemAdapterAdapterProxy.java59 public long getItemId(int position) { in getItemId() method in CarListItemAdapterAdapterProxy
60 return mDelegateAdapter.getItemId(position); in getItemId()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastListActivity.java115 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/
DUserDictionaryAddWordFragment.java111 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/
DCompositeListAdapter.java153 public long getItemId(int position) { in getItemId() method in CompositeListAdapter
159 return mAdapters[i].getItemId(position - start); in getItemId()
DSingleItemAdapter.java35 public long getItemId(int position) { in getItemId() method in SingleItemAdapter
/packages/apps/Contacts/src/com/android/contacts/list/
DAccountFilterActivity.java158 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/
DBottomSheetAudioCodecSettings.java95 switch (item.getItemId()) { in openCodecSelectionMenu()
139 switch (item.getItemId()) { in openEvsBandwidthMenu()
/packages/apps/Messaging/src/com/android/messaging/ui/
DCompositeAdapter.java216 public long getItemId(final int position) { in getItemId() method in CompositeAdapter
229 return mPartitions[i].getAdapter().getItemId(offset); in getItemId()
DBlockedParticipantsActivity.java39 switch (item.getItemId()) { in onOptionsItemSelected()
DVCardDetailActivity.java51 switch (item.getItemId()) { in onOptionsItemSelected()
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/
DAssistedDialingSettingActivity.java38 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected()
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/
DOptionsMenuManager.kt74 val itemId: Int = item.getItemId() in onOptionsItemSelected()
/packages/services/Telephony/src/com/android/phone/settings/
DAccessibilitySettingsActivity.java45 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected()

12345678910>>...12