HomeSort by relevance Sort by last modified time
    Searched refs:mScrollViewCustom (Results 1 - 2 of 2) sorted by null

  /cts/tests/tests/widget/src/android/widget/cts/
ScrollViewTest.java 79 private ScrollView mScrollViewCustom;
91 mScrollViewCustom = (ScrollView) mActivity.findViewById(R.id.scroll_view_custom);
295 assertTrue(mScrollViewCustom.isSmoothScrollingEnabled());
298 mScrollViewCustom.setSmoothScrollingEnabled(false);
299 assertFalse(mScrollViewCustom.isSmoothScrollingEnabled());
301 mActivityRule.runOnUiThread(() -> mScrollViewCustom.fullScroll(View.FOCUS_DOWN));
303 assertEquals(mScrollBottom, mScrollViewCustom.getScrollY(), TOLERANCE);
305 mActivityRule.runOnUiThread(() -> mScrollViewCustom.fullScroll(View.FOCUS_UP));
306 assertEquals(0, mScrollViewCustom.getScrollY());
309 mScrollViewCustom.setSmoothScrollingEnabled(true)
    [all...]
HorizontalScrollViewTest.java 71 private HorizontalScrollView mScrollViewCustom;
84 mScrollViewCustom = (MyHorizontalScrollView) mActivity.findViewById(
273 assertFalse(mScrollViewCustom.isLayoutRequested());
282 assertTrue(mScrollViewCustom.isSmoothScrollingEnabled());
285 mScrollViewCustom.setSmoothScrollingEnabled(false);
286 assertFalse(mScrollViewCustom.isSmoothScrollingEnabled());
288 mActivityRule.runOnUiThread(() -> mScrollViewCustom.fullScroll(View.FOCUS_RIGHT));
289 assertEquals(SCROLL_RIGHT, mScrollViewCustom.getScrollX());
291 mActivityRule.runOnUiThread(() -> mScrollViewCustom.fullScroll(View.FOCUS_LEFT));
292 assertEquals(0, mScrollViewCustom.getScrollX())
    [all...]

Completed in 150 milliseconds