/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 | 290 doReturn(MENU_DELETE).when(mockMenuItem).getItemId(); in testOnContextItemSelectedDelete() 314 doReturn(MENU_DELETE).when(mockMenuItem).getItemId(); in testOnContextItemSelectedDeleteForWatch() 344 doReturn(R.id.action_delete).when(mockMenuItem).getItemId(); in testOnActionItemClickedDelete() 493 doReturn(R.id.action_delete).when(mockMenuItem).getItemId(); in testOnActionItemClickedDeleteOnMultiSelect() 528 doReturn(R.id.action_detail_info).when(mockMenuItem).getItemId(); in testOnActionItemClickedViewDetail() 578 doReturn(MENU_VIEW_DETAILS).when(mockMenuItem).getItemId(); in testOnContextItemSelectedViewDetails() 627 doReturn(android.R.id.home).when(mockMenuItem).getItemId(); in testOnOptionsItemSelected() 639 doReturn(MENU_DELETE_ALL).when(mockMenuItem).getItemId(); in testFragmentOnOptionsItemSelected() 652 doReturn(MENU_SHOW_ALL_MESSAGES).when(mockMenuItem).getItemId(); in testFragmentOnOptionsItemSelected() 654 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/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 | 460 adapter.rebuild(mSortRecent.getItemId(), false); in sortOrderSavedOnRebuild() 461 assertThat(mFragment.mSortOrder).isEqualTo(mSortRecent.getItemId()); in sortOrderSavedOnRebuild() 463 adapter.rebuild(mSortFrequent.getItemId(), false); in sortOrderSavedOnRebuild() 464 assertThat(mFragment.mSortOrder).isEqualTo(mSortFrequent.getItemId()); in sortOrderSavedOnRebuild() 466 adapter.rebuild(mSortFrequent.getItemId(), true); in sortOrderSavedOnRebuild() 467 assertThat(mFragment.mSortOrder).isEqualTo(mSortFrequent.getItemId()); in sortOrderSavedOnRebuild() 609 if (id == mAppReset.getItemId()) { in setUpOptionMenus() 612 if (id == mSortFrequent.getItemId()) { in setUpOptionMenus() 615 if (id == mSortRecent.getItemId()) { in setUpOptionMenus()
|
/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/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/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/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastListActivity.java | 115 switch (item.getItemId()) { in onOptionsItemSelected() 481 switch (item.getItemId()) { in onContextItemSelected() 502 switch(item.getItemId()) { in onOptionsItemSelected() 563 if (item.getItemId() == R.id.action_detail_info) { in getMultiChoiceModeListener() 574 } else if (item.getItemId() == R.id.action_delete) { in getMultiChoiceModeListener()
|
/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/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/Connectivity/nearby/tests/multidevices/clients/test_support/fastpair_provider/simulator_app/src/android/nearby/fastpair/provider/simulator/app/ |
D | MainActivity.java | 320 if (item.getItemId() == R.id.sign_out_menu_item) { in onOptionsItemSelected() 323 } else if (item.getItemId() == R.id.reset_account_keys_menu_item) { in onOptionsItemSelected() 326 } else if (item.getItemId() == R.id.reset_device_name_menu_item) { in onOptionsItemSelected() 329 } else if (item.getItemId() == R.id.set_firmware_version) { in onOptionsItemSelected() 332 } else if (item.getItemId() == R.id.set_simulator_capability) { in onOptionsItemSelected() 335 } else if (item.getItemId() == R.id.use_new_gatt_characteristics_id) { 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()
|
/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/Dialer/java/com/android/dialer/assisteddialing/ui/ |
D | AssistedDialingSettingActivity.java | 38 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransferHistory.java | 170 switch (item.getItemId()) { in onOptionsItemSelected() 185 switch (item.getItemId()) { in onContextItemSelected()
|