/cts/tests/tests/widget/src/android/widget/cts/ |
D | AbsListViewTest.java | 421 MyListView listView = new MyListView(mActivity); in testDraw() local 422 listView.dispatchDraw(canvas); in testDraw() 469 MyListView listView = new MyListView(mActivity); in testCheckLayoutParams() local 472 assertTrue(listView.checkLayoutParams(param1)); in testCheckLayoutParams() 475 assertFalse(listView.checkLayoutParams(param2)); in testCheckLayoutParams() 479 MyListView listView = new MyListView(mActivity); in testComputeVerticalScrollValues() local 480 assertEquals(0, listView.computeVerticalScrollRange()); in testComputeVerticalScrollValues() 481 assertEquals(0, listView.computeVerticalScrollOffset()); in testComputeVerticalScrollValues() 482 assertEquals(0, listView.computeVerticalScrollExtent()); in testComputeVerticalScrollValues() 484 listView.setAdapter(mAdapter_countries); in testComputeVerticalScrollValues() [all …]
|
D | ListViewTest.java | 605 MyListView listView = new MyListView(mActivity, mAttributeSet); in testCanAnimate() local 607 assertFalse(listView.canAnimate()); in testCanAnimate() 608 listView.setAdapter(mAdapter_countries); in testCanAnimate() 609 assertFalse(listView.canAnimate()); in testCanAnimate() 613 listView.setLayoutAnimation(controller); in testCanAnimate() 615 assertTrue(listView.canAnimate()); in testCanAnimate() 625 MyListView listView = new MyListView(mActivity, mAttributeSet); in testFindViewTraversal() local 628 assertNull(listView.findViewTraversal(R.id.headerview1)); in testFindViewTraversal() 630 listView.addHeaderView(headerView); in testFindViewTraversal() 631 assertNotNull(listView.findViewTraversal(R.id.headerview1)); in testFindViewTraversal() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | AbstractTestListActivity.java | 83 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/ |
D | UiAutomationTestFirstActivity.java | 44 ListView listView = (ListView) findViewById(R.id.list_view); in onCreate() local 45 listView.setAdapter(cheeseAdapter); in onCreate()
|
D | UiAutomationTestSecondActivity.java | 43 ListView listView = (ListView) findViewById(R.id.list_view); in onCreate() local 44 listView.setAdapter(cheeseAdapter); in onCreate()
|
D | UiAutomationTest.java | 68 UiScrollable listView = new UiScrollable(new UiSelector().resourceId( in testWindowContentFrameStats() local 72 listView.scrollToEnd(Integer.MAX_VALUE); in testWindowContentFrameStats() 73 listView.scrollToBeginning(Integer.MAX_VALUE); in testWindowContentFrameStats()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListUtil.java | 35 public ListUtil(ListView listView, Instrumentation instrumentation) { in ListUtil() argument 36 mListView = listView; in ListUtil()
|
D | ExpandableListScenario.java | 56 protected void setAdapter(ListView listView) { in setAdapter() argument 57 ((ExpandableListView) listView).setAdapter(mAdapter = createAdapter()); in setAdapter()
|
D | ListScenario.java | 447 protected void setAdapter(ListView listView) { in setAdapter() argument 448 listView.setAdapter(new MyAdapter()); in setAdapter()
|
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityEndToEndActivity.java | 65 ListView listView = (ListView) findViewById(R.id.listview); in onCreate() local 66 listView.setAdapter(listAdapter); in onCreate()
|
D | AccessibilityEndToEndTest.java | 73 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/ |
D | ListPresentation.java | 56 ListView listView = (ListView) view.findViewById(R.id.pla_list); in onCreate() local 58 listView.setAdapter(new ArrayAdapter<String>(getContext(), in onCreate()
|
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
D | TestListFragment.java | 78 public void onListItemClick(ListView listView, View view, int position, long id) { in onListItemClick() argument 79 super.onListItemClick(listView, view, position, id); in onListItemClick()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleServerStartActivity.java | 54 ListView listView = (ListView) findViewById(R.id.ble_server_tests); in onCreate() local 55 listView.setAdapter(mTestAdapter); in onCreate()
|
D | BleClientStartActivity.java | 55 ListView listView = (ListView) findViewById(R.id.ble_server_tests); in onCreate() local 56 listView.setAdapter(mTestAdapter); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
D | P2pTestListActivity.java | 128 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/ |
D | SuidFilesActivity.java | 119 protected void onListItemClick(ListView listView, View view, int position, long id) { in onListItemClick() argument 120 super.onListItemClick(listView, view, position, id); in onListItemClick()
|
/cts/tests/uiautomator/src/com/android/cts/uiautomatortest/ |
D | CtsUiAutomatorTest.java | 97 UiScrollable listView = new UiScrollable( in testListScrollAndSelect() local 101 if (!listView.exists()) in testListScrollAndSelect() 1016 UiScrollable listView = new UiScrollable( in openTest() local 1020 if (!listView.exists()) in openTest() 1023 UiObject testItem = listView.getChildByText( in openTest()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 3193 final MockListView listView = new MockListView(mActivity); in testOnStartAndFinishTemporaryDetach() local 3202 mActivity.setContentView(listView); in testOnStartAndFinishTemporaryDetach() 3203 listView.setAdapter(adapter); in testOnStartAndFinishTemporaryDetach() 3207 final MockView focusChild = (MockView) listView.getChildAt(0); in testOnStartAndFinishTemporaryDetach() 3215 assertTrue(listView.getChildAt(0).isFocused()); in testOnStartAndFinishTemporaryDetach() 3219 listView.detachViewFromParent(focusChild); in testOnStartAndFinishTemporaryDetach() 3223 assertFalse(listView.hasCalledOnStartTemporaryDetach()); in testOnStartAndFinishTemporaryDetach() 3224 assertFalse(listView.hasCalledOnFinishTemporaryDetach()); in testOnStartAndFinishTemporaryDetach()
|