Home
last modified time | relevance | path

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

12345678910>>...15

/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.java155 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/
DManageApplicationsTest.java465 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/
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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastListActivity.java84 switch (item.getItemId()) { in onOptionsItemSelected()
230 switch (item.getItemId()) { in onContextItemSelected()
249 switch(item.getItemId()) { in onOptionsItemSelected()
/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
DSeriesDetailsActivity.java181 public long getItemId(int position) { in updateViews()
258 public long getItemId(int position) { in getItemId() method in SeriesDetailsActivity.SeriesAdapter
/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/providers/MediaProvider/src/com/android/providers/media/
DRingtonePickerActivity.java400 if (mAdapter.getItemId(i) == mCheckedItemId) { in requeryForAdapter()
481 mCheckedItemId = mAdapter.getItemId(getRingtoneManagerPosition(pos)); in setCheckedItem()
715 public long getItemId(int position) { in getItemId() method in RingtonePickerActivity.BadgedRingtoneAdapter
719 return super.getItemId(position); in getItemId()
/packages/apps/Settings/src/com/android/settings/location/
DRecentLocationRequestSeeAllFragment.java74 switch (menuItem.getItemId()) { in onOptionsItemSelected()
77 mShowSystem = menuItem.getItemId() == MENU_SHOW_SYSTEM; in onOptionsItemSelected()
/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()
/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/apps/Settings/tests/robotests/src/com/android/settings/network/
DApnEditorTest.java336 doReturn(Menu.FIRST + 1).when(item).getItemId(); in testSaveApnData_pressSaveButtonWithValidApnData_shouldSaveApnData()
356 doReturn(Menu.FIRST + 1).when(item).getItemId(); in testSaveApnData_apnDataInvalid_shouldNotSaveApnData()
376 doReturn(Menu.FIRST).when(item).getItemId(); in testDeleteApnData_shouldDeleteData()
/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()
/packages/apps/Dialer/java/com/android/dialer/main/impl/
DMainSearchController.java471 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/ThemePicker/src/com/android/customization/picker/
DCustomizationPickerActivity.java134 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/
DManagePermissionsFragment.java71 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected()
207 switch (item.getItemId()) { in onOptionsItemSelected()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferHistory.java169 switch (item.getItemId()) { in onOptionsItemSelected()
184 switch (item.getItemId()) { in onContextItemSelected()
/packages/apps/Gallery2/src/com/android/photos/views/
DHeaderGridView.java353 public long getItemId(int position) { in getItemId() method in HeaderGridView.HeaderViewGridAdapter
359 return mAdapter.getItemId(adjPosition); in getItemId()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPickRawContactDialogFragment.java79 public long getItemId(int position) { in getItemId() method in PickRawContactDialogFragment.RawContactAccountListAdapter
216 final long rawContactId = mAdapter.getItemId(which); in onCreateDialog()

12345678910>>...15