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.java83 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testReceiveData() local
97 scrollView.postInvalidate(); in testReceiveData()
109 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, scrollView, null); in testReceiveData()
117 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testMultipleListeners() local
146 mActivityRule.runOnUiThread(() -> scrollView.fling(-100)); in testMultipleListeners()
160 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testDropCount() local
179 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.java717 MockView scrollView = (MockView) mActivity.findViewById(R.id.scroll_view); in testAccessTag() local
732 scrollView.setTag(viewGroup); in testAccessTag()
733 assertSame(viewGroup, scrollView.getTag()); in testAccessTag()
737 assertSame(scrollView, viewGroup.findViewWithTag(viewGroup)); in testAccessTag()
2297 final View scrollView = mActivity.findViewById(R.id.scroll_view); in testGetLocationInWindow() local
2298 scrollView.getLocationInWindow(location); in testGetLocationInWindow()
2333 final View scrollView = mActivity.findViewById(R.id.scroll_view); in testGetLocationOnScreen() local
2334 scrollView.getLocationOnScreen(location); in testGetLocationOnScreen()
2341 final View scrollView = mActivity.findViewById(R.id.scroll_view); in testGetLocationOnScreenNullArray() local
2343 scrollView.getLocationOnScreen(null); in testGetLocationOnScreenNullArray()
[all …]
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java628 final HorizontalScrollView scrollView = new HorizontalScrollView(getContext()); in KeyboardLayoutView() local
630 scrollView.setLayoutParams(scrollViewParams); in KeyboardLayoutView()
639 scrollView.addView(suggestionView, new LayoutParams(MATCH_PARENT, MATCH_PARENT)); in KeyboardLayoutView()
642 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()