Searched refs:scrollView (Results 1 – 5 of 5) sorted by relevance
72 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testReceiveData() local86 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() local135 mActivityRule.runOnUiThread(() -> scrollView.fling(-100)); in testMultipleListeners()149 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testDropCount() local168 mActivityRule.runOnUiThread(() -> scrollView.fling(-100)); in testDropCount()
306 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testAccessOnScrollChangedListener() local308 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()
713 MockView scrollView = (MockView) mActivity.findViewById(R.id.scroll_view); in testAccessTag() local728 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() local2294 scrollView.getLocationInWindow(location); in testGetLocationInWindow()2329 final View scrollView = mActivity.findViewById(R.id.scroll_view); in testGetLocationOnScreen() local2330 scrollView.getLocationOnScreen(location); in testGetLocationOnScreen()2337 final View scrollView = mActivity.findViewById(R.id.scroll_view); in testGetLocationOnScreenNullArray() local2339 scrollView.getLocationOnScreen(null); in testGetLocationOnScreenNullArray()[all …]
602 final HorizontalScrollView scrollView = new HorizontalScrollView(getContext()); in KeyboardLayoutView() local604 scrollView.setLayoutParams(scrollViewParams); in KeyboardLayoutView()613 scrollView.addView(suggestionView, new LayoutParams(MATCH_PARENT, MATCH_PARENT)); in KeyboardLayoutView()616 mLayout.addView(scrollView); in KeyboardLayoutView()
686 MyHorizontalScrollView scrollView = new MyHorizontalScrollView(mActivity); in testComputeHorizontalScrollRange() local687 assertEquals(0, scrollView.getChildCount()); in testComputeHorizontalScrollRange()688 assertEquals(0, scrollView.computeHorizontalScrollRange()); in testComputeHorizontalScrollRange()