Home
last modified time | relevance | path

Searched refs:getItemViewType (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsFixedCollectionAdapterTest.java479 assertEquals(adapter.getItemViewType(0), adapter.getItemViewType(1)); in testSetRemoteAdapter_withItems()
537 assertEquals(adapter.getItemViewType(0), adapter.getItemViewType(1)); in testSetRemoteAdapter_checkedChangeListener()
538 assertNotEquals(adapter.getItemViewType(0), adapter.getItemViewType(2)); in testSetRemoteAdapter_checkedChangeListener()
619 int initialFirstItemViewType = initialAdapter.getItemViewType(0); in testSetRemoteAdapter_newViewTypeAddedCoveredByViewTypeCount()
636 assertEquals(initialFirstItemViewType, listView.getAdapter().getItemViewType(1)); in testSetRemoteAdapter_newViewTypeAddedCoveredByViewTypeCount()
637 assertNotEquals(initialFirstItemViewType, listView.getAdapter().getItemViewType(0)); in testSetRemoteAdapter_newViewTypeAddedCoveredByViewTypeCount()
685 assertEquals(1, initialAdapter.getItemViewType(1)); in testSetRemoteAdapter_viewTypeRemoved_viewTypeCountSame()
700 assertEquals(1, listView.getAdapter().getItemViewType(0)); in testSetRemoteAdapter_viewTypeRemoved_viewTypeCountSame()
718 assertEquals(1, initialAdapter.getItemViewType(1)); in testSetRemoteAdapter_viewTypeRemoved_viewTypeCountLowered()
732 assertEquals(1, listView.getAdapter().getItemViewType(0)); in testSetRemoteAdapter_viewTypeRemoved_viewTypeCountLowered()
[all …]
DDummyAdapter.java54 public int getItemViewType(int position) { in getItemViewType() method in DummyAdapter
DHeaderViewListAdapterTest.java323 headerViewListAdapter.getItemViewType(0)); in testGetItemViewType()
327 headerViewListAdapter.getItemViewType(-1)); in testGetItemViewType()
328 assertEquals(0, headerViewListAdapter.getItemViewType(0)); in testGetItemViewType()
330 headerViewListAdapter.getItemViewType(2)); in testGetItemViewType()
426 public int getItemViewType(int position) { in getItemViewType() method in HeaderViewListAdapterTest.HeaderViewEmptyAdapter
492 public int getItemViewType(int position) { in getItemViewType() method in HeaderViewListAdapterTest.HeaderViewFullAdapter
DBaseAdapterTest.java107 assertEquals(0, baseAdapter.getItemViewType(0)); in testGetItemViewType()
DAbsSpinnerTest.java303 public int getItemViewType(int position) { in getItemViewType() method in AbsSpinnerTest.MockSpinnerAdapter
DGridViewTest.java765 public int getItemViewType(int position) { in getItemViewType() method in GridViewTest.MockGridViewAdapter
861 public int getItemViewType(int position) { in getItemViewType() method in GridViewTest.ImageAdapter
DListViewTest.java423 public int getItemViewType(int position) { in testHeaderFooterType()
425 super.getItemViewType(position - 1); in testHeaderFooterType()
DListPopupWindowTest.java1066 final int positionType = listAdapter.getItemViewType(i); in getContentWidth()
/cts/tests/tests/widget/src/android/widget/cts/util/
DListScenario.java561 public int getItemViewType(int position) { in getItemViewType() method in ListScenario
625 public int getItemViewType(int position) { in getItemViewType() method in ListScenario.MyAdapter
626 return ListScenario.this.getItemViewType(position); in getItemViewType()
/cts/tests/tests/view/src/android/view/animation/cts/
DGridLayoutAnimCtsActivity.java102 public int getItemViewType(int position) { in getItemViewType() method in GridLayoutAnimCtsActivity.MockGridViewAdapter
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListAdapter.java683 public int getItemViewType(int position) { in getItemViewType() method in TestListAdapter
923 int viewType = getItemViewType(position); in getLayout()
/cts/tests/app/src/android/app/cts/
DAlertDialog_BuilderTest.java657 public int getItemViewType(int position) { in getItemViewType() method in AlertDialog_BuilderTest.AdapterTest
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt58609 method public int getItemViewType(int);
58862 method public int getItemViewType(int);
59430 method public int getItemViewType(int);