/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
ItemInflaterTest.java | 43 Item child0 = (Item) itemGroup.getItemAt(0); local 45 assertEquals("Title of first child should be Title1", "Title1", child0.getTitle());
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
GridLayoutManagerRtlTest.java | 119 View child0 = mGlm.findViewByPosition(0); local 123 assertNotNull(logPrefix + " child position 0 should be laid out", child0); 129 helper.getDecoratedStart(child0) >= helper.getDecoratedEnd(child1)); 131 helper.getDecoratedEnd(child0), helper.getEndAfterPadding()); 134 helper.getDecoratedStart(child1) >= helper.getDecoratedEnd(child0)); 136 helper.getDecoratedStart(child0), helper.getStartAfterPadding());
|
GridLayoutManagerWrapContentWithAspectRatioTest.java | 151 // child0 should be measured again because it measured its size as 10 179 View child0 = mRecyclerView.getChildAt(0); local 180 assertThat(getSize(child0, mTestOrientation), is(15)); 185 assertThat(mHelper.getDecoratedStart(child0), is(0)); 188 assertThat(mHelper.getDecoratedEnd(child0), is(15)); 191 assertThat(mHelper.getDecoratedMeasurementInOther(child0), 229 // child0 should be measured again because it measured its size as 10 257 View child0 = mRecyclerView.getChildAt(0); local 258 assertThat(getSize(child0, mTestOrientation), is(15)); 263 assertThat(mHelper.getDecoratedStart(child0), is(0)) 329 View child0 = mRecyclerView.getChildAt(0); local [all...] |
StaggeredGridLayoutManagerBaseConfigSetTest.java | 124 View child0 = mLayoutManager.findViewByPosition(0); local 127 assertNotNull(logPrefix + " child position 0 should be laid out", child0); 132 helper.getDecoratedEnd(child0) > helper.getDecoratedEnd(child1)); 134 helper.getDecoratedEnd(child0), helper.getEndAfterPadding()); 137 helper.getDecoratedStart(child1) >= helper.getDecoratedStart(child0)); 139 helper.getDecoratedStart(child0), helper.getStartAfterPadding()); [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
TabHostTest.java | 287 TextView child0 = (TextView) tabHost.getTabContentView().getChildAt(0); local 289 child0.getText().toString()); 303 child0 = (TextView) tabHost.getTabContentView().getChildAt(0); 305 child0.getText().toString());
|
GridViewTest.java | 269 View child0 = mGridView.getChildAt(0); local 272 assertEquals(0, child1.getLeft() - child0.getRight()); 274 assertEquals(0, child0.getLeft() - child1.getRight()); 284 child0 = mGridView.getChildAt(0); 287 assertEquals(5, child1.getLeft() - child0.getRight()); 289 assertEquals(5, child0.getLeft() - child1.getRight()); 305 View child0 = mGridView.getChildAt(0); local 307 assertEquals(0, child1.getTop() - child0.getBottom()); 316 child0 = mGridView.getChildAt(0); 318 assertEquals(5, child1.getTop() - child0.getBottom()) [all...] |
HorizontalScrollViewTest.java | 89 TextView child0 = new TextView(mActivity); local 90 scrollView.addView(child0); 91 assertSame(child0, scrollView.getChildAt(0)); 106 TextView child0 = new TextView(mActivity); local 107 scrollView.addView(child0, 0); 108 assertSame(child0, scrollView.getChildAt(0)); 122 scrollView.addView(child0, -1); 123 assertSame(child0, scrollView.getChildAt(0)); 138 scrollView.addView(child0, 1); 147 TextView child0 = new TextView(mActivity) local 176 TextView child0 = new TextView(mActivity); local [all...] |
ScrollViewTest.java | 110 TextView child0 = new TextView(mActivity); local 111 scrollView.addView(child0); 112 assertSame(child0, scrollView.getChildAt(0)); 127 TextView child0 = new TextView(mActivity); local 128 scrollView.addView(child0, 0); 129 assertSame(child0, scrollView.getChildAt(0)); 143 scrollView.addView(child0, -1); 144 assertSame(child0, scrollView.getChildAt(0)); 159 scrollView.addView(child0, 1); 168 TextView child0 = new TextView(mActivity) local 197 TextView child0 = new TextView(mActivity); local [all...] |
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
GridWidgetTest.java | 470 View child0 = mGridView.getChildAt(0); local 474 assertEquals(itemHeight, child0.getBottom() - child0.getTop()); 477 assertEquals(paddingLeft + leftMargin + decorationLeft, child0.getLeft()); 481 assertEquals(paddingTop + topMargin + decorationTop, child0.getTop()); 483 child1.getTop() - child0.getBottom()); 536 View child0 = mGridView.getChildAt(0); local 541 child0.getBottom() - child0.getTop()); 545 child0.getLeft()) [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
RunningState.java | 643 MergedItem child0 = mChildren.get(0); local 644 mPackageInfo = child0.mProcess.mPackageInfo; [all...] |