/cts/tests/tests/widget/src/android/widget/cts/ |
D | ListViewTest.java | 67 private ListView mListView; field in ListViewTest 94 mListView = (ListView) mActivity.findViewById(R.id.listview_default); in setUp() 126 int scrollAmount = mListView.getMaxScrollAmount(); in testGetMaxScrollAmount() 130 scrollAmount = mListView.getMaxScrollAmount(); in testGetMaxScrollAmount() 135 ViewTestUtils.runOnMainAndDrawSync(mInstrumentation, mListView, in setAdapter() 136 () -> mListView.setAdapter(adapter)); in setAdapter() 140 ViewTestUtils.runOnMainAndDrawSync(mInstrumentation, mListView, in testAccessDividerHeight() 141 () -> mListView.setAdapter(mAdapter_countries)); in testAccessDividerHeight() 143 Drawable d = mListView.getDivider(); in testAccessDividerHeight() 152 ViewTestUtils.runOnMainAndDrawSync(mInstrumentation, mListView, in testAccessDividerHeight() [all …]
|
D | AbsListViewTest.java | 67 private ListView mListView; field in AbsListViewTest 103 mListView = (ListView)mActivity.findViewById(R.id.listview_default); in setUp() 113 mListView.setFastScrollEnabled(false); in testAccessFastScrollEnabled() 114 assertFalse(mListView.isFastScrollEnabled()); in testAccessFastScrollEnabled() 116 mListView.setFastScrollEnabled(true); in testAccessFastScrollEnabled() 117 assertTrue(mListView.isFastScrollEnabled()); in testAccessFastScrollEnabled() 121 mListView.setSmoothScrollbarEnabled(false); in testAccessSmoothScrollbarEnabled() 122 assertFalse(mListView.isSmoothScrollbarEnabled()); in testAccessSmoothScrollbarEnabled() 124 mListView.setSmoothScrollbarEnabled(true); in testAccessSmoothScrollbarEnabled() 125 assertTrue(mListView.isSmoothScrollbarEnabled()); in testAccessSmoothScrollbarEnabled() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListUtil.java | 28 private final ListView mListView; field in ListUtil 36 mListView = listView; in ListUtil() 45 mListView.post(new Runnable() { in setSelectedPosition() 47 mListView.setSelection(pos); in setSelectedPosition() 57 return mListView.getListPaddingTop(); in getListTop() 64 return mListView.getHeight() - mListView.getListPaddingBottom(); in getListBottom() 73 if (desiredPos > mListView.getSelectedItemPosition()) { in arrowScrollToSelectedPosition() 82 while(mListView.getSelectedItemPosition() < position && --maxDowns > 0) { in arrowDownToSelectedPosition() 85 if (position != mListView.getSelectedItemPosition()) { in arrowDownToSelectedPosition() 93 while(mListView.getSelectedItemPosition() > position && --maxUps > 0) { in arrowUpToSelectedPosition() [all …]
|
D | ListScenario.java | 46 private ListView mListView; field in ListScenario 79 return mListView; in getListView() 314 mListView = createListView(); in onCreate() 315 mListView.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 318 mListView.setDrawSelectorOnTop(false); in onCreate() 325 mListView.addHeaderView(header); in onCreate() 331 mListView.addFooterView(header); in onCreate() 335 setAdapter(mListView); in onCreate() 338 mListView.setItemsCanFocus(mItemsFocusable); in onCreate() 340 mListView.setSelection(mStartingSelectionPosition); in onCreate() [all …]
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | LayoutAnimationControllerTest.java | 47 private ListView mListView; field in LayoutAnimationControllerTest 68 mListView = mActivity.getListView(); in setUp() 79 AnimationTestUtils.assertRunController(getInstrumentation(), mListView, mController, in testAccessOrder() local 82 Animation childAnimation1 = mListView.getChildAt(INDEX_OF_CHILD1).getAnimation(); in testAccessOrder() 83 Animation childAnimation2 = mListView.getChildAt(INDEX_OF_CHILD2).getAnimation(); in testAccessOrder() 84 Animation childAnimation3 = mListView.getChildAt(INDEX_OF_CHILD3).getAnimation(); in testAccessOrder() 123 AnimationTestUtils.assertRunController(getInstrumentation(), mListView, mController, in testAccessOrder() local 129 childAnimation1 = mListView.getChildAt(INDEX_OF_CHILD1).getAnimation(); in testAccessOrder() 130 childAnimation2 = mListView.getChildAt(INDEX_OF_CHILD2).getAnimation(); in testAccessOrder() 131 childAnimation3 = mListView.getChildAt(INDEX_OF_CHILD3).getAnimation(); in testAccessOrder() [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | AlertDialog_BuilderCursorTest.java | 48 private ListView mListView; field in AlertDialog_BuilderCursorTest 106 mListView = null; in setUp() 174 mListView = mDialog.getListView(); in testSetCursor() 175 mListView.performItemClick(null, 0, 0); in testSetCursor() 178 final SQLiteCursor selected = (SQLiteCursor) mListView.getSelectedItem(); in testSetCursor() 195 mListView = mDialog.getListView(); in testSetSingleChoiceItemsWithParamCursor() 196 mListView.performItemClick(null, 0, 0); in testSetSingleChoiceItemsWithParamCursor() 199 final SQLiteCursor selected = (SQLiteCursor) mListView.getSelectedItem(); in testSetSingleChoiceItemsWithParamCursor() 219 mListView = mDialog.getListView(); in testSetMultiChoiceItemsWithParamCursor() 220 mListView.performItemClick(null, 0, 0); in testSetMultiChoiceItemsWithParamCursor() [all …]
|
D | AlertDialog_BuilderTest.java | 60 private ListView mListView; field in AlertDialog_BuilderTest 86 mListView = null; in setUp() 369 mListView = mDialog.getListView(); in testSetItemsWithParamInt() 376 assertEquals(levels[0], mListView.getItemAtPosition(0)); in testSetItemsWithParamInt() 388 mListView = mDialog.getListView(); in testSetItemsWithParamCharSequence() 392 assertEquals(expect[0], mListView.getItemAtPosition(0)); in testSetItemsWithParamCharSequence() 402 mListView = mDialog.getListView(); in testSetAdapter() 406 assertEquals(adapter, mListView.getAdapter()); in testSetAdapter() 420 mListView = mDialog.getListView(); in testSetMultiChoiceItemsWithParamInt() 421 mSelectedItem = (CharSequence)mListView.getSelectedItem(); in testSetMultiChoiceItemsWithParamInt() [all …]
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | PermissionStubActivity.java | 30 private ListView mListView; field in PermissionStubActivity 36 mListView = new ListView(this); in onCreate() 37 mListView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate() 40 setContentView(mListView); in onCreate()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 116651 private android.widget.ListView mListView
|