Home
last modified time | relevance | path

Searched refs:scrollToCoordinates (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowView.java56 public Point scrollToCoordinates = new Point(); field in ShadowView
395 method.invoke(realView, x, y, scrollToCoordinates.x, scrollToCoordinates.y); in scrollTo()
399 scrollToCoordinates = new Point(x, y); in scrollTo()
411 return scrollToCoordinates != null ? scrollToCoordinates.x : 0; in getScrollX()
416 return scrollToCoordinates != null ? scrollToCoordinates.y : 0; in getScrollY()
421 scrollTo(scrollX, scrollToCoordinates.y); in setScrollX()
426 scrollTo(scrollToCoordinates.x, scrollY); in setScrollY()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowViewTest.java404 assertThat(shadowOf(view).scrollToCoordinates).isEqualTo(new Point(1, 2)); in scrollTo_shouldStoreTheScrolledCoordinates()
419 assertThat(shadowOf(view).scrollToCoordinates).isEqualTo(new Point(14, 25)); in scrollBy_shouldStoreTheScrolledCoordinates()