Home
last modified time | relevance | path

Searched refs:listView (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DAbsListViewTest.java422 MyListView listView = new MyListView(mActivity); in testDraw() local
423 listView.dispatchDraw(canvas); in testDraw()
470 MyListView listView = new MyListView(mActivity); in testCheckLayoutParams() local
473 assertTrue(listView.checkLayoutParams(param1)); in testCheckLayoutParams()
476 assertFalse(listView.checkLayoutParams(param2)); in testCheckLayoutParams()
480 MyListView listView = new MyListView(mActivity); in testComputeVerticalScrollValues() local
481 assertEquals(0, listView.computeVerticalScrollRange()); in testComputeVerticalScrollValues()
482 assertEquals(0, listView.computeVerticalScrollOffset()); in testComputeVerticalScrollValues()
483 assertEquals(0, listView.computeVerticalScrollExtent()); in testComputeVerticalScrollValues()
485 listView.setAdapter(mAdapter_countries); in testComputeVerticalScrollValues()
[all …]
DListViewTest.java476 MyListView listView = new MyListView(mActivity, mAttributeSet); in testCanAnimate() local
478 assertFalse(listView.canAnimate()); in testCanAnimate()
479 listView.setAdapter(mAdapter_countries); in testCanAnimate()
480 assertFalse(listView.canAnimate()); in testCanAnimate()
484 listView.setLayoutAnimation(controller); in testCanAnimate()
486 assertTrue(listView.canAnimate()); in testCanAnimate()
496 MyListView listView = new MyListView(mActivity, mAttributeSet); in testFindViewTraversal() local
499 assertNull(listView.findViewTraversal(R.id.headerview1)); in testFindViewTraversal()
501 listView.addHeaderView(headerView); in testFindViewTraversal()
502 assertNotNull(listView.findViewTraversal(R.id.headerview1)); in testFindViewTraversal()
[all …]
DListPopupWindowTest.java205 final ListView listView = mPopupWindow.getListView(); in verifyAnchoring() local
213 listView.getLocationOnScreen(listViewOnScreenXY); in verifyAnchoring()
215 listView.getLocationInWindow(listViewInWindowXY); in verifyAnchoring()
221 expectedListViewOnScreenX -= (listView.getWidth() - upperAnchor.getWidth()); in verifyAnchoring()
479 final ListView listView = mPopupWindow.getListView(); in testPromptViewAbove() local
480 ViewTestUtils.runOnMainAndDrawSync(mInstrumentation, listView, null); in testPromptViewAbove()
482 final View firstListChild = listView.getChildAt(0); in testPromptViewAbove()
501 final ListView listView = mPopupWindow.getListView(); in testPromptViewBelow() local
502 ViewTestUtils.runOnMainAndDrawSync(mInstrumentation, listView, null); in testPromptViewBelow()
507 final View lastListChild = listView.getChildAt(listView.getChildCount() - 1); in testPromptViewBelow()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DAbstractTestListActivity.java83 protected final void onListItemClick(ListView listView, View view, int position, long id) { in onListItemClick() argument
84 super.onListItemClick(listView, view, position, id); in onListItemClick()
85 handleItemClick(listView, view, position, id); in onListItemClick()
89 protected void handleItemClick(ListView listView, View view, int position, long id) { in handleItemClick() argument
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTestFirstActivity.java44 ListView listView = (ListView) findViewById(R.id.list_view); in onCreate() local
45 listView.setAdapter(cheeseAdapter); in onCreate()
DUiAutomationTestSecondActivity.java43 ListView listView = (ListView) findViewById(R.id.list_view); in onCreate() local
44 listView.setAdapter(cheeseAdapter); in onCreate()
DUiAutomationTest.java87 final ListView listView = (ListView) activity.findViewById(R.id.list_view); in testWindowContentFrameStats() local
90 scrollListView(uiAutomation, listView, listView.getAdapter().getCount() - 1); in testWindowContentFrameStats()
91 scrollListView(uiAutomation, listView, 0); in testWindowContentFrameStats()
345 private void scrollListView(UiAutomation uiAutomation, final ListView listView, in scrollListView() argument
350 listView.smoothScrollToPosition(position); in scrollListView()
/cts/tests/tests/widget/src/android/widget/cts/util/
DListUtil.java35 public ListUtil(ListView listView, Instrumentation instrumentation) { in ListUtil() argument
36 mListView = listView; in ListUtil()
DExpandableListScenario.java56 protected void setAdapter(ListView listView) { in setAdapter() argument
57 ((ExpandableListView) listView).setAdapter(mAdapter = createAdapter()); in setAdapter()
DListScenario.java447 protected void setAdapter(ListView listView) { in setAdapter() argument
448 listView.setAdapter(new MyAdapter()); in setAdapter()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndActivity.java65 ListView listView = (ListView) findViewById(R.id.listview); in onCreate() local
66 listView.setAdapter(listAdapter); in onCreate()
DAccessibilityEndToEndTest.java73 final ListView listView = (ListView) getActivity().findViewById(R.id.listview); in testTypeViewSelectedAccessibilityEvent() local
84 listView.setSelection(1); in testTypeViewSelectedAccessibilityEvent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/list/
DListPresentation.java56 ListView listView = (ListView) view.findViewById(R.id.pla_list); in onCreate() local
58 listView.setAdapter(new ArrayAdapter<String>(getContext(), in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleClientStartActivity.java55 ListView listView = (ListView) findViewById(R.id.ble_server_tests); in onCreate() local
56 listView.setAdapter(mTestAdapter); in onCreate()
DBleServerStartActivity.java54 ListView listView = (ListView) findViewById(R.id.ble_server_tests); in onCreate() local
55 listView.setAdapter(mTestAdapter); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DP2pTestListActivity.java128 protected void handleItemClick(ListView listView, View view, int position, long id) { in handleItemClick() argument
133 super.handleItemClick(listView, view, position, id); in handleItemClick()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/
DSuidFilesActivity.java119 protected void onListItemClick(ListView listView, View view, int position, long id) { in onListItemClick() argument
120 super.onListItemClick(listView, view, position, id); in onListItemClick()
/cts/tools/dex-tools/dex/
Dclasses.out.dex95555 final android.widget.ListView val$listView
116397 final android.widget.ListView val$listView
116423 final android.widget.ListView val$listView
116478 final android.widget.ListView val$listView