Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DFrameMetricsListenerTest.java93 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testReceiveData() local
107 scrollView.postInvalidate(); in testReceiveData()
119 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, scrollView, null); in testReceiveData()
127 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testMultipleListeners() local
156 mActivityRule.runOnUiThread(() -> scrollView.fling(-100)); in testMultipleListeners()
170 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testDropCount() local
189 mActivityRule.runOnUiThread(() -> scrollView.fling(-100)); in testDropCount()
DViewTreeObserverTest.java322 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testAccessOnScrollChangedListener() local
324 mViewTreeObserver = scrollView.getViewTreeObserver(); in testAccessOnScrollChangedListener()
330 mActivityRule.runOnUiThread(() -> scrollView.fullScroll(View.FOCUS_DOWN)); in testAccessOnScrollChangedListener()
337 mActivityRule.runOnUiThread(() -> scrollView.fullScroll(View.FOCUS_UP)); in testAccessOnScrollChangedListener()
DViewTest.java728 MockView scrollView = (MockView) mActivity.findViewById(R.id.scroll_view); in testAccessTag() local
743 scrollView.setTag(viewGroup); in testAccessTag()
744 assertSame(viewGroup, scrollView.getTag()); in testAccessTag()
748 assertSame(scrollView, viewGroup.findViewWithTag(viewGroup)); in testAccessTag()
2419 final View scrollView = mActivity.findViewById(R.id.scroll_view); in testGetLocationInWindow() local
2420 scrollView.getLocationInWindow(location); in testGetLocationInWindow()
2455 final View scrollView = mActivity.findViewById(R.id.scroll_view); in testGetLocationOnScreen() local
2456 scrollView.getLocationOnScreen(location); in testGetLocationOnScreen()
2463 final View scrollView = mActivity.findViewById(R.id.scroll_view); in testGetLocationOnScreenNullArray() local
2465 scrollView.getLocationOnScreen(null); in testGetLocationOnScreenNullArray()
[all …]
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/
DScrollTestPlayerListener.java40 private void scrollView(int yIndex) { in scrollView() method in ScrollTestPlayerListener
78 scrollView(yIndex); in onEventsMediaItemTransition()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java954 final HorizontalScrollView scrollView = new HorizontalScrollView(getContext()); in KeyboardLayoutView() local
956 scrollView.setLayoutParams(scrollViewParams); in KeyboardLayoutView()
965 scrollView.addView(suggestionView, new LayoutParams(MATCH_PARENT, MATCH_PARENT)); in KeyboardLayoutView()
968 mLayout.addView(scrollView); in KeyboardLayoutView()
/cts/tests/tests/widget/src/android/widget/cts/
DHorizontalScrollViewTest.java709 MyHorizontalScrollView scrollView = new MyHorizontalScrollView(mActivity); in testComputeHorizontalScrollRange() local
710 assertEquals(0, scrollView.getChildCount()); in testComputeHorizontalScrollRange()
711 assertEquals(0, scrollView.computeHorizontalScrollRange()); in testComputeHorizontalScrollRange()