Home
last modified time | relevance | path

Searched refs:child0 (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DGridLayoutManagerWrapContentWithAspectRatioTest.java179 View child0 = mRecyclerView.getChildAt(0); in testChildWithMultipleSpans() local
180 assertThat(getSize(child0, mTestOrientation), is(15)); in testChildWithMultipleSpans()
185 assertThat(mHelper.getDecoratedStart(child0), is(0)); in testChildWithMultipleSpans()
188 assertThat(mHelper.getDecoratedEnd(child0), is(15)); in testChildWithMultipleSpans()
191 assertThat(mHelper.getDecoratedMeasurementInOther(child0), in testChildWithMultipleSpans()
257 View child0 = mRecyclerView.getChildAt(0); in testChildWithMatchParentInOtherDirection() local
258 assertThat(getSize(child0, mTestOrientation), is(15)); in testChildWithMatchParentInOtherDirection()
263 assertThat(mHelper.getDecoratedStart(child0), is(0)); in testChildWithMatchParentInOtherDirection()
266 assertThat(mHelper.getDecoratedEnd(child0), is(15)); in testChildWithMatchParentInOtherDirection()
269 assertThat(mHelper.getDecoratedMeasurementInOther(child0), in testChildWithMatchParentInOtherDirection()
[all …]
DGridLayoutManagerRtlTest.java123 View child0 = mGlm.findViewByPosition(0); in rtlTest() local
127 assertNotNull(logPrefix + " child position 0 should be laid out", child0); in rtlTest()
133 helper.getDecoratedStart(child0) >= helper.getDecoratedEnd(child1)); in rtlTest()
135 helper.getDecoratedEnd(child0), helper.getEndAfterPadding()); in rtlTest()
138 helper.getDecoratedStart(child1) >= helper.getDecoratedEnd(child0)); in rtlTest()
140 helper.getDecoratedStart(child0), helper.getStartAfterPadding()); in rtlTest()
DStaggeredGridLayoutManagerBaseConfigSetTest.java126 View child0 = mLayoutManager.findViewByPosition(0); in rtlTest() local
129 assertNotNull(logPrefix + " child position 0 should be laid out", child0); in rtlTest()
134 helper.getDecoratedEnd(child0) > helper.getDecoratedEnd(child1)); in rtlTest()
136 helper.getDecoratedEnd(child0), helper.getEndAfterPadding()); in rtlTest()
139 helper.getDecoratedStart(child1) >= helper.getDecoratedStart(child0)); in rtlTest()
141 helper.getDecoratedStart(child0), helper.getStartAfterPadding()); in rtlTest()
DRecyclerViewLayoutTest.java842 View child0 = getChildAt(0); in focusSearchWithOtherFocusables()
846 layoutDecorated(view, 0, child0.getBottom(), getDecoratedMeasuredWidth(view), in focusSearchWithOtherFocusables()
847 child0.getBottom() + getDecoratedMeasuredHeight(view)); in focusSearchWithOtherFocusables()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DItemInflaterTest.java52 Item child0 = (Item) itemGroup.getItemAt(0); in testInflate() local
54 assertEquals("Title of first child should be Title1", "Title1", child0.getTitle()); in testInflate()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java614 View child0 = mGridView.getChildAt(0); in testItemDecorationAndMargins() local
618 assertEquals(itemHeight, child0.getBottom() - child0.getTop()); in testItemDecorationAndMargins()
621 assertEquals(paddingLeft + leftMargin + decorationLeft, child0.getLeft()); in testItemDecorationAndMargins()
625 assertEquals(paddingTop + topMargin + decorationTop, child0.getTop()); in testItemDecorationAndMargins()
627 child1.getTop() - child0.getBottom()); in testItemDecorationAndMargins()
682 View child0 = mGridView.getChildAt(0); in testItemDecorationAndMarginsAndOpticalBounds() local
687 child0.getBottom() - child0.getTop()); in testItemDecorationAndMarginsAndOpticalBounds()
691 child0.getLeft()); in testItemDecorationAndMarginsAndOpticalBounds()
697 assertEquals(paddingTop + topMargin + decorationTop, child0.getTop() + opticalInsetsTop); in testItemDecorationAndMarginsAndOpticalBounds()
699 (child1.getTop() + opticalInsetsTop) - (child0.getBottom() - opticalInsetsBottom)); in testItemDecorationAndMarginsAndOpticalBounds()