Home
last modified time | relevance | path

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

12

/cts/tests/tests/widget/src/android/widget/cts/
DAbsSpinnerTest.java133 assertEquals(adapter.getItemId(0), absSpinner.getSelectedItemId()); in testAccessAdapter()
136 assertEquals(adapter.getItemId(1), absSpinner.getSelectedItemId()); in testAccessAdapter()
243 assertEquals(adapter.getItemId(0), absSpinner.getSelectedItemId()); in testOnSaveAndRestoreInstanceState()
248 assertEquals(adapter.getItemId(1), absSpinner.getSelectedItemId()); in testOnSaveAndRestoreInstanceState()
255 assertEquals(adapter.getItemId(0), absSpinner.getSelectedItemId()); in testOnSaveAndRestoreInstanceState()
293 public long getItemId(int position) { in getItemId() method in AbsSpinnerTest.MockSpinnerAdapter
DArrayAdapterTest.java291 assertEquals(0, mArrayAdapter.getItemId(0)); in testGetItemId()
292 assertEquals(1, mArrayAdapter.getItemId(1)); in testGetItemId()
293 assertEquals(2, mArrayAdapter.getItemId(2)); in testGetItemId()
296 assertEquals(-1, mArrayAdapter.getItemId(-1)); in testGetItemId()
298 mArrayAdapter.getItemId(mArrayAdapter.getCount())); in testGetItemId()
DSimpleAdapterTest.java137 assertEquals(0, mSimpleAdapter.getItemId(0)); in testGetItemId()
139 assertEquals(19, mSimpleAdapter.getItemId(19)); in testGetItemId()
142 assertEquals(-1, mSimpleAdapter.getItemId(-1)); in testGetItemId()
144 assertEquals(20, mSimpleAdapter.getItemId(20)); in testGetItemId()
DCursorAdapterTest.java291 assertEquals(0, cursorAdapter.getItemId(0)); in testGetItemId()
294 assertEquals(FIRST_ITEM_ID, cursorAdapter.getItemId(0)); in testGetItemId()
296 assertEquals(SECOND_ITEM_ID, cursorAdapter.getItemId(1)); in testGetItemId()
299 assertEquals(0, cursorAdapter.getItemId(2)); in testGetItemId()
DGalleryCtsActivity.java57 public long getItemId(int position) { in getItemId() method in GalleryCtsActivity.ImageAdapter
DHeaderViewListAdapterTest.java267 assertEquals(-1, headerViewListAdapter.getItemId(0)); in testGetItemId()
268 assertEquals(fullAdapter.getItemId(0), headerViewListAdapter.getItemId(2)); in testGetItemId()
407 public long getItemId(int position) { in getItemId() method in HeaderViewListAdapterTest.HeaderViewEmptyAdapter
472 public long getItemId(int position) { in getItemId() method in HeaderViewListAdapterTest.HeaderViewFullAdapter
DBaseAdapterTest.java117 public long getItemId(int position) { in getItemId() method in BaseAdapterTest.MockBaseAdapter
DCheckedTextViewTest.java348 public long getItemId(int position) {
DGridViewTest.java687 public long getItemId(int position) {
751 public long getItemId(int position) {
DGalleryTest.java323 public long getItemId(int position) { in getItemId() method in GalleryTest.ImageAdapter
DAbsListViewTest.java410 assertEquals(mAdapter_countries.getItemId(position1), mListView.pointToRowId(0, 0)); in testPointToPosition()
411 assertEquals(mAdapter_countries.getItemId(position2), in testPointToPosition()
DListViewTest.java508 final long itemID = mAdapter_countries.getItemId(2); in testPerformItemClick()
880 public long getItemId(int position) { in getItemId() method in ListViewTest.StableArrayAdapter
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/
DSinglePaneDetailActivity.java49 switch (item.getItemId()) { in onOptionsItemSelected()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/
DWidgetCtsService.java78 public long getItemId(int position) { in getItemId() method in CtsRemoteViewsFactory
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndActivity.java48 public long getItemId(int position) { in onCreate()
/cts/tests/tests/view/src/android/view/animation/cts/
DGridLayoutAnimCtsActivity.java81 public long getItemId(int position) { in getItemId() method in GridLayoutAnimCtsActivity.MockGridViewAdapter
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DTestAdapter.java72 public long getItemId(int position) { in getItemId() method in TestAdapter
DBleScannerHardwareScanFilterActivity.java144 public long getItemId(int arg0) { in getItemId() method in BleScannerHardwareScanFilterActivity.MapAdapter
/cts/tests/app/src/android/app/cts/
DTestDialog.java248 switch (item.getItemId()) { in onOptionsItemSelected()
271 switch (item.getItemId()) { in onContextItemSelected()
DInstrumentationTestActivity.java188 mMenuID = item.getItemId(); in onMenuItemSelected()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListActivity.java115 return handleMenuItemSelected(item.getItemId()) ? true : super.onOptionsItemSelected(item); in onOptionsItemSelected()
DTestListAdapter.java343 public long getItemId(int position) { in getItemId() method in TestListAdapter
/cts/tests/tests/widget/src/android/widget/cts/util/
DListScenario.java614 public long getItemId(int position) { in getItemId() method in ListScenario.MyAdapter
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/
DBackupTestActivity.java380 public long getItemId(int position) {
/cts/tests/tests/app/src/android/app/cts/
DAlertDialog_BuilderTest.java633 public long getItemId(int position) { in getItemId() method in AlertDialog_BuilderTest.AdapterTest

12