Home
last modified time | relevance | path

Searched refs:getDisplayedChild (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowViewAnimatorTest.java28 assertEquals(0, viewAnimator.getDisplayedChild()); in getDisplayedChildWhenEmpty_shouldDefaultToZero()
34 assertEquals(0, viewAnimator.getDisplayedChild()); in getDisplayedChild_shouldDefaultToZero()
42 assertEquals(2, viewAnimator.getDisplayedChild()); in setDisplayedChild_shouldUpdateDisplayedChildIndex()
60 assertEquals(0, viewAnimator.getDisplayedChild()); in showNext_shouldDisplayNextChild()
62 assertEquals(1, viewAnimator.getDisplayedChild()); in showNext_shouldDisplayNextChild()
64 assertEquals(0, viewAnimator.getDisplayedChild()); in showNext_shouldDisplayNextChild()
71 assertEquals(0, viewAnimator.getDisplayedChild()); in showPrevious_shouldDisplayPreviousChild()
73 assertEquals(1, viewAnimator.getDisplayedChild()); in showPrevious_shouldDisplayPreviousChild()
75 assertEquals(0, viewAnimator.getDisplayedChild()); in showPrevious_shouldDisplayPreviousChild()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowViewAnimator.java15 protected int getDisplayedChild() { in getDisplayedChild() method in ShadowViewAnimator
30 return ((ViewGroup) realView).getChildAt(getDisplayedChild()); in getCurrentView()
35 setDisplayedChild((getDisplayedChild() + 1) % ((ViewGroup) realView).getChildCount()); in showNext()
40 …setDisplayedChild(getDisplayedChild() == 0 ? ((ViewGroup) realView).getChildCount() - 1 : getDispl… in showPrevious()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java213 if (flip.getDisplayedChild() == flipIndex) { in closeBridge()
223 if (flip.getDisplayedChild() >= numChildren && numChildren > 0) { in closeBridge()