OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getDisplayedChild
(Results
1 - 5
of
5
) sorted by null
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowViewAnimator.java
15
protected int
getDisplayedChild
() {
30
return ((ViewGroup) realView).getChildAt(
getDisplayedChild
());
35
setDisplayedChild((
getDisplayedChild
() + 1) % ((ViewGroup) realView).getChildCount());
40
setDisplayedChild(
getDisplayedChild
() == 0 ? ((ViewGroup) realView).getChildCount() - 1 :
getDisplayedChild
() - 1);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowViewAnimatorTest.java
28
assertEquals(0, viewAnimator.
getDisplayedChild
());
34
assertEquals(0, viewAnimator.
getDisplayedChild
());
42
assertEquals(2, viewAnimator.
getDisplayedChild
());
60
assertEquals(0, viewAnimator.
getDisplayedChild
());
62
assertEquals(1, viewAnimator.
getDisplayedChild
());
64
assertEquals(0, viewAnimator.
getDisplayedChild
());
71
assertEquals(0, viewAnimator.
getDisplayedChild
());
73
assertEquals(1, viewAnimator.
getDisplayedChild
());
75
assertEquals(0, viewAnimator.
getDisplayedChild
());
/cts/tests/tests/widget/src/android/widget/cts/
ViewAnimatorTest.java
114
assertEquals(current, mViewAnimator.
getDisplayedChild
());
117
assertEquals(1, mViewAnimator.
getDisplayedChild
());
120
assertEquals(2, mViewAnimator.
getDisplayedChild
());
123
assertEquals(3, mViewAnimator.
getDisplayedChild
());
155
assertEquals(0, mViewAnimator.
getDisplayedChild
());
159
assertEquals(1, mViewAnimator.
getDisplayedChild
());
163
assertEquals(0, mViewAnimator.
getDisplayedChild
());
166
assertEquals(1, mViewAnimator.
getDisplayedChild
());
191
assertEquals(1, mViewAnimator.
getDisplayedChild
());
195
assertEquals(0, mViewAnimator.
getDisplayedChild
());
[
all
...]
/cts/tests/tests/appwidget/src/android/appwidget/cts/
CollectionAppWidgetTest.java
224
assertEquals(0, mStackView.
getDisplayedChild
());
249
() -> mStackView.
getDisplayedChild
() == displayedChildIndex);
287
() -> mStackView.
getDisplayedChild
() == expectedDisplayedChild);
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
ConsoleActivity.java
213
if (flip.
getDisplayedChild
() == flipIndex) {
223
if (flip.
getDisplayedChild
() >= numChildren && numChildren > 0) {
[
all
...]
Completed in 906 milliseconds