/cts/tests/tests/widget/src/android/widget/cts/ |
D | ArrayAdapterTest.java | 263 assertSame(STR1, mArrayAdapter.getItem(0)); in testGetItem() 264 assertSame(STR2, mArrayAdapter.getItem(1)); in testGetItem() 265 assertSame(STR3, mArrayAdapter.getItem(2)); in testGetItem() 269 mArrayAdapter.getItem(-1); in testGetItem() 276 mArrayAdapter.getItem(mArrayAdapter.getCount()); in testGetItem() 420 assertEquals(mArrayAdapter.getItem(0), "testing"); in testAdd() 421 assertEquals(mArrayAdapter.getItem(1), "android"); in testAdd() 445 assertEquals(mArrayAdapter.getItem(0), list.get(0)); in testAddAllCollection() 446 assertEquals(mArrayAdapter.getItem(1), list.get(1)); in testAddAllCollection() 447 assertEquals(mArrayAdapter.getItem(2), list.get(2)); in testAddAllCollection() [all …]
|
D | PopupMenuTest.java | 84 assertEquals(R.id.action_highlight, menu.getItem(0).getItemId()); in verifyMenuContent() 85 assertEquals(R.id.action_edit, menu.getItem(1).getItemId()); in verifyMenuContent() 86 assertEquals(R.id.action_delete, menu.getItem(2).getItemId()); in verifyMenuContent() 87 assertEquals(R.id.action_ignore, menu.getItem(3).getItemId()); in verifyMenuContent() 88 assertEquals(R.id.action_share, menu.getItem(4).getItemId()); in verifyMenuContent() 89 assertEquals(R.id.action_print, menu.getItem(5).getItemId()); in verifyMenuContent() 91 final SubMenu shareSubMenu = menu.getItem(4).getSubMenu(); in verifyMenuContent() 94 assertEquals(R.id.action_share_email, shareSubMenu.getItem(0).getItemId()); in verifyMenuContent() 95 assertEquals(R.id.action_share_circles, shareSubMenu.getItem(1).getItemId()); in verifyMenuContent()
|
D | HeaderViewListAdapterTest.java | 245 assertSame(data1, headerViewListAdapter.getItem(0)); in testGetItem() 246 assertSame(data2, headerViewListAdapter.getItem(1)); in testGetItem() 247 assertSame(headerViewFullAdapter.getItem(0), headerViewListAdapter.getItem(2)); in testGetItem() 248 assertSame(data3, headerViewListAdapter.getItem(3)); in testGetItem() 249 assertSame(data4, headerViewListAdapter.getItem(4)); in testGetItem() 403 public Object getItem(int position) { in getItem() method in HeaderViewListAdapterTest.HeaderViewEmptyAdapter 465 public Object getItem(int position) { in getItem() method in HeaderViewListAdapterTest.HeaderViewFullAdapter
|
D | ToolbarTest.java | 150 assertEquals(R.id.action_highlight, menu.getItem(0).getItemId()); in testMenuContent() 151 assertEquals(R.id.action_edit, menu.getItem(1).getItemId()); in testMenuContent() 152 assertEquals(R.id.action_delete, menu.getItem(2).getItemId()); in testMenuContent() 153 assertEquals(R.id.action_ignore, menu.getItem(3).getItemId()); in testMenuContent() 154 assertEquals(R.id.action_share, menu.getItem(4).getItemId()); in testMenuContent() 155 assertEquals(R.id.action_print, menu.getItem(5).getItemId()); in testMenuContent()
|
D | DummyAdapter.java | 39 public Object getItem(int position) { in getItem() method in DummyAdapter
|
D | SimpleAdapterTest.java | 120 assertEquals("01", ((Map<?, ?>) mSimpleAdapter.getItem(0)).get("column1")); in testGetItem() 121 assertEquals("191", ((Map<?, ?>) mSimpleAdapter.getItem(19)).get("column1")); in testGetItem() 124 mSimpleAdapter.getItem(-1); in testGetItem() 130 mSimpleAdapter.getItem(20); in testGetItem()
|
D | GalleryCtsActivity.java | 53 public Object getItem(int position) { in getItem() method in GalleryCtsActivity.ImageAdapter
|
D | BaseAdapterTest.java | 112 public Object getItem(int position) { in getItem() method in BaseAdapterTest.MockBaseAdapter
|
D | CursorAdapterTest.java | 273 assertNull(cursorAdapter.getItem(0)); in testGetItem() 276 Cursor c = (Cursor) cursorAdapter.getItem(0); in testGetItem() 281 c = (Cursor) cursorAdapter.getItem(1); in testGetItem()
|
D | ListViewTest.java | 921 adapter.remove(adapter.getItem(0)); in testTransientStateUnstableIds() 950 adapter.remove(adapter.getItem(0)); in testTransientStateStableIds() 970 return getItem(position).hashCode(); in getItemId()
|
D | AbsSpinnerTest.java | 289 public Object getItem(int position) { in getItem() method in AbsSpinnerTest.MockSpinnerAdapter
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityEndToEndActivity.java | 44 textView.setText((String) getItem(position)); in onCreate() 52 public Object getItem(int position) { in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestListAdapter.java | 319 return getItem(position).isTest(); in isEnabled() 324 return getItem(position).isTest() ? TEST_VIEW_TYPE : CATEGORY_HEADER_VIEW_TYPE; in getItemViewType() 338 public TestListItem getItem(int position) { in getItem() method in TestListAdapter 348 TestListItem item = getItem(position); in getTestResult() 355 TestListItem item = getItem(position); in getTestDetails() 362 TestListItem item = getItem(position); in getReportLog() 388 TestListItem item = getItem(position); in getView()
|
D | AbstractTestListActivity.java | 42 TestListItem item = mAdapter.getItem(position); in getIntent()
|
D | TestResultsReport.java | 119 TestListItem item = mAdapter.getItem(i); in getContents()
|
D | DialogTestListActivity.java | 165 .getItem(position); in handleItemClick()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleScannerHardwareScanFilterActivity.java | 139 public Object getItem(int position) { in getItem() method in BleScannerHardwareScanFilterActivity.MapAdapter 165 String value = getItem(pos).toString(); in getView()
|
D | TestAdapter.java | 63 public Object getItem(int position) { in getItem() method in TestAdapter
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/ |
D | BackupAccessibilityTestActivity.java | 313 public BackupItem getItem(int position) { 334 return getItem(position).getViewType(); 339 return getItem(position).getView(mLayoutInflater, position, convertView, parent);
|
D | BackupTestActivity.java | 375 public BackupItem getItem(int position) { 396 return getItem(position).getViewType(); 401 return getItem(position).getView(mLayoutInflater, position, convertView, parent);
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | GridLayoutAnimCtsActivity.java | 77 public Object getItem(int position) { in getItem() method in GridLayoutAnimCtsActivity.MockGridViewAdapter
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaBrowserTest.java | 199 mMediaBrowser.getItem(StubMediaBrowserService.MEDIA_ID_CHILDREN[0], mItemCallback); in testGetItem() 215 mMediaBrowser.getItem(StubMediaBrowserService.MEDIA_ID_INVALID, mItemCallback); in testGetItemFailure()
|
D | MediaBrowserServiceTest.java | 183 mMediaBrowser.getItem(StubMediaBrowserService.MEDIA_ID_CHILDREN_DELAYED, in testDelayedItem()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/ |
D | SuidFilesActivity.java | 121 File file = mAdapter.getItem(position); in onListItemClick() 161 File file = getItem(position); in getView()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
D | PolicySerializationTestActivity.java | 189 PolicyItem<?> item = mAdapter.getItem(i); in updateWidgets() 200 PolicyItem<?> item = mAdapter.getItem(position); in onListItemClick() 221 PolicyItem<?> item = getItem(position); in getView()
|