/cts/tests/tests/widget/src/android/widget/cts/ |
D | ArrayAdapterTest.java | 296 assertSame(STR1, mArrayAdapter.getItem(0)); in testGetItem() 297 assertSame(STR2, mArrayAdapter.getItem(1)); in testGetItem() 298 assertSame(STR3, mArrayAdapter.getItem(2)); in testGetItem() 307 mArrayAdapter.getItem(-1); in testGetItemOutOfBoundsLow() 316 mArrayAdapter.getItem(mArrayAdapter.getCount()); in testGetItemOutOfBoundsHigh() 464 assertEquals(mArrayAdapter.getItem(0), "testing"); in testAdd() 465 assertEquals(mArrayAdapter.getItem(1), "android"); in testAdd() 490 assertEquals(mArrayAdapter.getItem(0), list.get(0)); in testAddAllCollection() 491 assertEquals(mArrayAdapter.getItem(1), list.get(1)); in testAddAllCollection() 492 assertEquals(mArrayAdapter.getItem(2), list.get(2)); in testAddAllCollection() [all …]
|
D | PopupMenuTest.java | 123 assertEquals(R.id.action_highlight, menu.getItem(0).getItemId()); in verifyMenuContent() 124 assertEquals(R.id.action_edit, menu.getItem(1).getItemId()); in verifyMenuContent() 125 assertEquals(R.id.action_delete, menu.getItem(2).getItemId()); in verifyMenuContent() 126 assertEquals(R.id.action_ignore, menu.getItem(3).getItemId()); in verifyMenuContent() 127 assertEquals(R.id.action_share, menu.getItem(4).getItemId()); in verifyMenuContent() 128 assertEquals(R.id.action_print, menu.getItem(5).getItemId()); in verifyMenuContent() 130 final SubMenu shareSubMenu = menu.getItem(4).getSubMenu(); in verifyMenuContent() 133 assertEquals(R.id.action_share_email, shareSubMenu.getItem(0).getItemId()); in verifyMenuContent() 134 assertEquals(R.id.action_share_circles, shareSubMenu.getItem(1).getItemId()); in verifyMenuContent() 338 MenuItem item = menu.getItem(i); in testItemViewAttributes() [all …]
|
D | ActionMenuViewTest.java | 81 assertEquals(R.id.action_highlight, menu.getItem(0).getItemId()); in testMenuContent() 82 assertEquals(R.id.action_edit, menu.getItem(1).getItemId()); in testMenuContent() 83 assertEquals(R.id.action_delete, menu.getItem(2).getItemId()); in testMenuContent() 84 assertEquals(R.id.action_ignore, menu.getItem(3).getItemId()); in testMenuContent() 85 assertEquals(R.id.action_share, menu.getItem(4).getItemId()); in testMenuContent() 86 assertEquals(R.id.action_print, menu.getItem(5).getItemId()); in testMenuContent()
|
D | HeaderViewListAdapterTest.java | 254 assertSame(data1, headerViewListAdapter.getItem(0)); in testGetItem() 255 assertSame(data2, headerViewListAdapter.getItem(1)); in testGetItem() 256 assertSame(mFullAdapter.getItem(0), headerViewListAdapter.getItem(2)); in testGetItem() 257 assertSame(data3, headerViewListAdapter.getItem(3)); in testGetItem() 258 assertSame(data4, headerViewListAdapter.getItem(4)); in testGetItem() 411 public Object getItem(int position) { in getItem() method in HeaderViewListAdapterTest.HeaderViewEmptyAdapter 473 public Object getItem(int position) { in getItem() method in HeaderViewListAdapterTest.HeaderViewFullAdapter
|
D | ToolbarTest.java | 141 assertEquals(R.id.action_highlight, menu.getItem(0).getItemId()); in testMenuContent() 142 assertEquals(R.id.action_edit, menu.getItem(1).getItemId()); in testMenuContent() 143 assertEquals(R.id.action_delete, menu.getItem(2).getItemId()); in testMenuContent() 144 assertEquals(R.id.action_ignore, menu.getItem(3).getItemId()); in testMenuContent() 145 assertEquals(R.id.action_share, menu.getItem(4).getItemId()); in testMenuContent() 146 assertEquals(R.id.action_print, menu.getItem(5).getItemId()); in testMenuContent()
|
D | SimpleAdapterTest.java | 143 assertEquals("01", ((Map<?, ?>) mSimpleAdapter.getItem(0)).get("column1")); in testGetItem() 144 assertEquals("191", ((Map<?, ?>) mSimpleAdapter.getItem(19)).get("column1")); in testGetItem() 149 mSimpleAdapter.getItem(-1); in testGetItemIndexTooLow() 154 mSimpleAdapter.getItem(20); in testGetItemIndexTooHigh()
|
D | DummyAdapter.java | 39 public Object getItem(int position) { in getItem() method in DummyAdapter
|
D | CursorAdapterTest.java | 300 assertNull(cursorAdapter.getItem(0)); in testGetItem() 303 Cursor c = (Cursor) cursorAdapter.getItem(0); in testGetItem() 308 c = (Cursor) cursorAdapter.getItem(1); in testGetItem()
|
D | GalleryCtsActivity.java | 52 public Object getItem(int position) { in getItem() method in GalleryCtsActivity.ImageAdapter
|
D | BaseAdapterTest.java | 155 public Object getItem(int position) { in getItem() method in BaseAdapterTest.MockBaseAdapter
|
D | AbsSpinnerTest.java | 286 public Object getItem(int position) { in getItem() method in AbsSpinnerTest.MockSpinnerAdapter
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestListAdapter.java | 357 return getItem(position).isTest(); in isEnabled() 362 return getItem(position).isTest() ? TEST_VIEW_TYPE : CATEGORY_HEADER_VIEW_TYPE; in getItemViewType() 376 public TestListItem getItem(int position) { in getItem() method in TestListAdapter 386 TestListItem item = getItem(position); in getTestResult() 393 TestListItem item = getItem(position); in getTestDetails() 400 TestListItem item = getItem(position); in getReportLog() 413 TestListItem item = getItem(position); in getHistoryCollection() 439 TestListItem item = getItem(position); in getView()
|
D | AbstractTestListActivity.java | 57 TestListItem item = mAdapter.getItem(position); in getIntent()
|
D | TestResultsReport.java | 131 TestListItem item = mAdapter.getItem(i); in generateResult()
|
D | DialogTestListActivity.java | 184 .getItem(position); in handleItemClick()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MenuItemTest.java | 70 MenuItem firstItem = mMenu.getItem(0); in testAccessIconTint() 71 MenuItem secondItem = mMenu.getItem(1); in testAccessIconTint() 72 MenuItem thirdItem = mMenu.getItem(2); in testAccessIconTint()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaBrowserTest.java | 129 mMediaBrowser.getItem(StubMediaBrowserService.MEDIA_ID_CHILDREN[0], mItemCallback); in testReconnection() 144 mMediaBrowser.getItem(StubMediaBrowserService.MEDIA_ID_CHILDREN[0], mItemCallback); in testReconnection() 431 mMediaBrowser.getItem(StubMediaBrowserService.MEDIA_ID_CHILDREN[0], mItemCallback); in testGetItem() 447 mMediaBrowser.getItem(StubMediaBrowserService.MEDIA_ID_INVALID, mItemCallback); in testGetItemFailure() 461 mMediaBrowser.getItem(StubMediaBrowserService.MEDIA_ID_CHILDREN[0], mItemCallback); in testItemCallbackNotCalledAfterDisconnect()
|
D | MediaBrowserServiceTest.java | 193 mMediaBrowser.getItem(StubMediaBrowserService.MEDIA_ID_CHILDREN_DELAYED, in testDelayedItem() 216 mMediaBrowser.getItem(StubMediaBrowserService.MEDIA_ID_CHILDREN[0], mItemCallback); in testGetBrowserInfo()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/ |
D | AccessibilityEndToEndActivity.java | 53 textView.setText((String) getItem(position)); in onCreate() 61 public Object getItem(int position) { in onCreate()
|
/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/tests/autofillservice/src/android/autofillservice/cts/ |
D | VirtualContainerView.java | 140 final Item item = getItem(id); in autofill() 277 final Item item = getItem(virtualId); in isVisibleToUserForAutofill() 296 private Item getItem(int id) { in getItem() method in VirtualContainerView 370 final Item item = getItem(virtualViewId); in setCompatMode() 381 final Item item = getItem(virtualViewId); in setCompatMode()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
D | PolicySerializationTestActivity.java | 191 PolicyItem<?> item = mAdapter.getItem(i); in updateWidgets() 202 PolicyItem<?> item = mAdapter.getItem(position); in onListItemClick() 223 PolicyItem<?> item = getItem(position); in getView()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | GridLayoutAnimCtsActivity.java | 76 public Object getItem(int position) { in getItem() method in GridLayoutAnimCtsActivity.MockGridViewAdapter
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListScenario.java | 586 public Object getItem(int position) { in getItem() method in ListScenario.MyAdapter
|