Home
last modified time | relevance | path

Searched refs:scrollView (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DFrameMetricsListenerTest.java72 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testReceiveData() local
86 scrollView.postInvalidate(); in testReceiveData()
98 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, scrollView, null); in testReceiveData()
106 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testMultipleListeners() local
135 mActivityRule.runOnUiThread(() -> scrollView.fling(-100)); in testMultipleListeners()
149 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testDropCount() local
168 mActivityRule.runOnUiThread(() -> scrollView.fling(-100)); in testDropCount()
DViewTreeObserverTest.java306 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testAccessOnScrollChangedListener() local
308 mViewTreeObserver = scrollView.getViewTreeObserver(); in testAccessOnScrollChangedListener()
314 mActivityRule.runOnUiThread(() -> scrollView.fullScroll(View.FOCUS_DOWN)); in testAccessOnScrollChangedListener()
321 mActivityRule.runOnUiThread(() -> scrollView.fullScroll(View.FOCUS_UP)); in testAccessOnScrollChangedListener()
DViewTest.java713 MockView scrollView = (MockView) mActivity.findViewById(R.id.scroll_view); in testAccessTag() local
728 scrollView.setTag(viewGroup); in testAccessTag()
729 assertSame(viewGroup, scrollView.getTag()); in testAccessTag()
733 assertSame(scrollView, viewGroup.findViewWithTag(viewGroup)); in testAccessTag()
2293 final View scrollView = mActivity.findViewById(R.id.scroll_view); in testGetLocationInWindow() local
2294 scrollView.getLocationInWindow(location); in testGetLocationInWindow()
2329 final View scrollView = mActivity.findViewById(R.id.scroll_view); in testGetLocationOnScreen() local
2330 scrollView.getLocationOnScreen(location); in testGetLocationOnScreen()
2337 final View scrollView = mActivity.findViewById(R.id.scroll_view); in testGetLocationOnScreenNullArray() local
2339 scrollView.getLocationOnScreen(null); in testGetLocationOnScreenNullArray()
[all …]
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java602 final HorizontalScrollView scrollView = new HorizontalScrollView(getContext()); in KeyboardLayoutView() local
604 scrollView.setLayoutParams(scrollViewParams); in KeyboardLayoutView()
613 scrollView.addView(suggestionView, new LayoutParams(MATCH_PARENT, MATCH_PARENT)); in KeyboardLayoutView()
616 mLayout.addView(scrollView); in KeyboardLayoutView()
/cts/tests/tests/widget/src/android/widget/cts/
DHorizontalScrollViewTest.java686 MyHorizontalScrollView scrollView = new MyHorizontalScrollView(mActivity); in testComputeHorizontalScrollRange() local
687 assertEquals(0, scrollView.getChildCount()); in testComputeHorizontalScrollRange()
688 assertEquals(0, scrollView.computeHorizontalScrollRange()); in testComputeHorizontalScrollRange()