/cts/tests/tests/widget/src/android/widget/cts/ |
D | TableLayoutTest.java | 131 assertFalse(mTableEmpty.getChildAt(0).isLayoutRequested()); in testRequestLayout() 132 assertFalse(mTableEmpty.getChildAt(1).isLayoutRequested()); in testRequestLayout() 136 assertTrue(mTableEmpty.getChildAt(0).isLayoutRequested()); in testRequestLayout() 137 assertTrue(mTableEmpty.getChildAt(1).isLayoutRequested()); in testRequestLayout() 171 assertFalse(mTableEmpty.getChildAt(0).isLayoutRequested()); in testAccessColumnCollapsed() 172 assertFalse(mTableEmpty.getChildAt(1).isLayoutRequested()); in testAccessColumnCollapsed() 176 assertTrue(mTableEmpty.getChildAt(0).isLayoutRequested()); in testAccessColumnCollapsed() 177 assertTrue(mTableEmpty.getChildAt(1).isLayoutRequested()); in testAccessColumnCollapsed() 183 assertTrue(mTableEmpty.getChildAt(0).isLayoutRequested()); in testAccessColumnCollapsed() 184 assertTrue(mTableEmpty.getChildAt(1).isLayoutRequested()); in testAccessColumnCollapsed() [all …]
|
D | TabWidgetTest.java | 181 assertTrue(mTabWidget.getChildAt(0).isSelected()); in testSetCurrentTab() 182 assertFalse(mTabWidget.getChildAt(1).isSelected()); in testSetCurrentTab() 183 assertTrue(mTabWidget.getChildAt(0).isFocused()); in testSetCurrentTab() 184 assertFalse(mTabWidget.getChildAt(1).isFocused()); in testSetCurrentTab() 187 assertFalse(mTabWidget.getChildAt(0).isSelected()); in testSetCurrentTab() 188 assertTrue(mTabWidget.getChildAt(1).isSelected()); in testSetCurrentTab() 189 assertTrue(mTabWidget.getChildAt(0).isFocused()); in testSetCurrentTab() 190 assertFalse(mTabWidget.getChildAt(1).isFocused()); in testSetCurrentTab() 198 assertTrue(mTabWidget.getChildAt(0).isSelected()); in testFocusCurrentTab() 199 assertFalse(mTabWidget.getChildAt(1).isSelected()); in testFocusCurrentTab() [all …]
|
D | RemoteViewsRecyclingTest.java | 105 View text1 = container.getChildAt(0); in recycleWhenIdentical() 106 View text2 = container.getChildAt(1); in recycleWhenIdentical() 107 View text3 = container.getChildAt(2); in recycleWhenIdentical() 113 assertSame("TextViews with stable id FIRST_TEXT_ID", text1, container.getChildAt(0)); in recycleWhenIdentical() 114 assertNotSame("TextViews without stable id", text2, container.getChildAt(1)); in recycleWhenIdentical() 115 assertSame("TextViews with stable id AFTER_TEXT_ID", text3, container.getChildAt(2)); in recycleWhenIdentical() 136 View text1 = container.getChildAt(0); in doesntRecycleWhenNotAskingForRecycling() 137 View text2 = container.getChildAt(1); in doesntRecycleWhenNotAskingForRecycling() 143 assertNotSame("TextViews with stable id FIRST_TEXT_ID", text1, container.getChildAt(0)); in doesntRecycleWhenNotAskingForRecycling() 144 assertNotSame("TextViews with stable id AFTER_TEXT_ID", text2, container.getChildAt(1)); in doesntRecycleWhenNotAskingForRecycling() [all …]
|
D | GridViewTest.java | 249 ViewAsserts.assertHorizontalCenterAligned(mGridView, mGridView.getChildAt(0)); in testSetGravity() 258 ViewAsserts.assertLeftAligned(mGridView, mGridView.getChildAt(0), in testSetGravity() 268 ViewAsserts.assertRightAligned(mGridView, mGridView.getChildAt(0), in testSetGravity() 296 View child0 = mGridView.getChildAt(0); in verifyAccessHorizontalSpacing() 297 View child1 = mGridView.getChildAt(1); in verifyAccessHorizontalSpacing() 309 child0 = mGridView.getChildAt(0); in verifyAccessHorizontalSpacing() 310 child1 = mGridView.getChildAt(1); in verifyAccessHorizontalSpacing() 326 View child0 = mGridView.getChildAt(0); in testAccessVerticalSpacing() 327 View child1 = mGridView.getChildAt(1); in testAccessVerticalSpacing() 334 child0 = mGridView.getChildAt(0); in testAccessVerticalSpacing() [all …]
|
D | RemoteViewsFixedCollectionAdapterTest.java | 485 AppWidgetHostView child0 = (AppWidgetHostView) mListView.getChildAt(0); in testSetRemoteAdapter_withItems() 486 AppWidgetHostView child1 = (AppWidgetHostView) mListView.getChildAt(1); in testSetRemoteAdapter_withItems() 487 TextView textView0 = (TextView) child0.getChildAt(0); in testSetRemoteAdapter_withItems() 488 TextView textView1 = (TextView) child1.getChildAt(0); in testSetRemoteAdapter_withItems() 545 AppWidgetHostView child0 = (AppWidgetHostView) listView.getChildAt(0); in testSetRemoteAdapter_checkedChangeListener() 546 AppWidgetHostView child1 = (AppWidgetHostView) listView.getChildAt(1); in testSetRemoteAdapter_checkedChangeListener() 547 AppWidgetHostView child2 = (AppWidgetHostView) listView.getChildAt(2); in testSetRemoteAdapter_checkedChangeListener() 548 TextView textView0 = (TextView) child0.getChildAt(0); in testSetRemoteAdapter_checkedChangeListener() 549 TextView textView1 = (TextView) child1.getChildAt(0); in testSetRemoteAdapter_checkedChangeListener() 551 (CompoundButton) ((ViewGroup) child2.getChildAt(0)).getChildAt(0); in testSetRemoteAdapter_checkedChangeListener() [all …]
|
D | TextSwitcherTest.java | 97 TextView tvChild1 = (TextView) mTextSwitcher.getChildAt(0); in testSetText() 98 TextView tvChild2 = (TextView) mTextSwitcher.getChildAt(1); in testSetText() 137 TextView tvChild1 = (TextView) mTextSwitcher.getChildAt(0); in testSetCurrentText() 138 TextView tvChild2 = (TextView) mTextSwitcher.getChildAt(1); in testSetCurrentText() 169 assertSame(tv1, mTextSwitcher.getChildAt(0)); in testAddView() 190 assertSame(tv2, mTextSwitcher.getChildAt(1)); in testAddView()
|
D | GalleryTest.java | 131 View v0 = mGallery.getChildAt(0); in setSpacingAndCheck() 132 View v1 = mGallery.getChildAt(1); in setSpacingAndCheck() 147 View v0 = mGallery.getChildAt(0); in checkUnselectedAlpha() 148 View v1 = mGallery.getChildAt(1); in checkUnselectedAlpha() 208 View v0 = mGallery.getChildAt(0); in testSetGravity() 212 v0 = mGallery.getChildAt(0); in testSetGravity() 216 v0 = mGallery.getChildAt(0); in testSetGravity() 268 assertFalse(mGallery.getChildAt(1).isPressed()); in testDispatchSetPressed() 272 assertFalse(mGallery.getChildAt(1).isPressed()); in testDispatchSetPressed()
|
D | ViewAnimatorTest.java | 362 assertSame(v1, mViewAnimator.getChildAt(0)); in testRemoveViews() 363 assertSame(v2, mViewAnimator.getChildAt(1)); in testRemoveViews() 364 assertSame(v3, mViewAnimator.getChildAt(2)); in testRemoveViews() 368 assertSame(v1, mViewAnimator.getChildAt(0)); in testRemoveViews() 369 assertSame(v2, mViewAnimator.getChildAt(1)); in testRemoveViews() 373 assertSame(v1, mViewAnimator.getChildAt(0)); in testRemoveViews() 384 assertSame(v3, mViewAnimator.getChildAt(0)); in testRemoveViews() 385 assertSame(v4, mViewAnimator.getChildAt(1)); in testRemoveViews() 391 assertSame(v3, mViewAnimator.getChildAt(0)); in testRemoveViews()
|
D | ExpandableListTester.java | 82 View headerChild = mExpandableListView.getChildAt(index in testContextMenus() 100 View groupChild = mExpandableListView.getChildAt(index in testContextMenus() 112 View child = mExpandableListView.getChildAt(index in testContextMenus() 127 View footerChild = mExpandableListView.getChildAt(index in testContextMenus()
|
D | TabHostTest.java | 284 assertSame(tabHost.getTabWidget().getChildAt(0), tabHost.getCurrentTabView()); in testGetCurrentTabView() 292 assertSame(tabHost.getTabWidget().getChildAt(1), tabHost.getCurrentTabView()); in testGetCurrentTabView() 341 TextView child0 = (TextView) tabHost.getTabContentView().getChildAt(0); in testGetTabContentView() 344 assertTrue(tabHost.getTabContentView().getChildAt(1) instanceof ListView); in testGetTabContentView() 345 TextView child2 = (TextView) tabHost.getTabContentView().getChildAt(2); in testGetTabContentView() 357 child0 = (TextView) tabHost.getTabContentView().getChildAt(0); in testGetTabContentView() 360 assertTrue(tabHost.getTabContentView().getChildAt(1) instanceof ListView); in testGetTabContentView() 361 child2 = (TextView) tabHost.getTabContentView().getChildAt(2); in testGetTabContentView()
|
D | AbsSpinnerTest.java | 212 absSpinner.getChildAt(0).layout(rcChild0.left, rcChild0.top, in testPointToPosition() 214 absSpinner.getChildAt(1).layout(rcChild1.left, rcChild1.top, in testPointToPosition() 216 absSpinner.getChildAt(2).layout(rcChild2.left, rcChild2.top, in testPointToPosition() 241 assertSame(absSpinner.getChildAt(0), absSpinner.getSelectedView()); in testGetSelectedView() 244 assertSame(absSpinner.getChildAt(1), absSpinner.getSelectedView()); in testGetSelectedView()
|
D | TableRowTest.java | 116 TableRow tableRow = (TableRow) tableLayout.getChildAt(0); in testGetVirtualChildAt() 128 tableRow = (TableRow) tableLayout.getChildAt(0); in testGetVirtualChildAt() 147 TableRow tableRow = (TableRow) tableLayout.getChildAt(0); in testGetVirtualChildCount() 153 tableRow = (TableRow) tableLayout.getChildAt(0); in testGetVirtualChildCount()
|
D | ViewSwitcherTest.java | 99 assertSame(lv1, viewSwitcher.getChildAt(0)); in testGetNextView() 103 assertSame(lv2, viewSwitcher.getChildAt(1)); in testGetNextView()
|
D | AbsListView_ScrollTest.java | 171 View targetChild = mListView.getChildAt(visibleIndexOfTarget); in onScroll() 307 mListView.getChildAt(0).getTop(); in verifyScrollToPositionFromTop() 344 mListView.getChildAt(0).getTop(); in verifyScrollToPositionFromTop() 444 mListView.getChildAt(0).getTop(); in verifyScrollBy() 452 mListView.getChildAt(0).getTop(); in verifyScrollBy() 593 result.mFirstViewVerticalOffset = mListView.getChildAt(0).getTop();
|
D | ListViewTest.java | 693 MockView childView = (MockView) mListView.getChildAt(0); in testRequestLayoutCallsMeasure() 914 mListView.getChildAt(0).getLayoutDirection(), View.LAYOUT_DIRECTION_RTL); in testResolveRtlOnReAttach() 959 (TemporarilyDetachableMockView) mListView.getChildAt(0); in testRequestLayoutWithTemporaryDetach() 961 (TemporarilyDetachableMockView) mListView.getChildAt(1); in testRequestLayoutWithTemporaryDetach() 963 (TemporarilyDetachableMockView) mListView.getChildAt(2); in testRequestLayoutWithTemporaryDetach() 970 assertEquals(childView0, mListView.getChildAt(0)); in testRequestLayoutWithTemporaryDetach() 971 assertEquals(childView1, mListView.getChildAt(1)); in testRequestLayoutWithTemporaryDetach() 972 assertEquals(childView2, mListView.getChildAt(2)); in testRequestLayoutWithTemporaryDetach() 992 Drawable firstBackground = listView.getChildAt(0).getBackground(); in testJumpDrawables() 997 assertSame(firstBackground, listView.getChildAt(0).getBackground()); in testJumpDrawables() [all …]
|
D | LinearLayoutTest.java | 236 View child = parent.getChildAt(i); in testWeightDistribution() 246 assertEquals(100, parent.getChildAt(0).getWidth()); in testWeightDistribution() 247 assertEquals(100, parent.getChildAt(1).getWidth()); in testWeightDistribution() 248 assertEquals(100, parent.getChildAt(2).getWidth()); in testWeightDistribution() 250 assertEquals(33, parent.getChildAt(0).getHeight()); in testWeightDistribution() 251 assertEquals(33, parent.getChildAt(1).getHeight()); in testWeightDistribution() 252 assertEquals(34, parent.getChildAt(2).getHeight()); in testWeightDistribution() 255 View child = parent.getChildAt(i); in testWeightDistribution() 265 assertEquals(33, parent.getChildAt(0).getWidth()); in testWeightDistribution() 266 assertEquals(33, parent.getChildAt(1).getWidth()); in testWeightDistribution() [all …]
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | GridLayoutAnimationControllerTest.java | 118 Animation childAnimation1 = mGridView.getChildAt(INDEX_OF_CHILD1).getAnimation(); in testAccessDelay() 119 Animation childAnimation4 = mGridView.getChildAt(INDEX_OF_CHILD4).getAnimation(); in testAccessDelay() 120 Animation childAnimation7 = mGridView.getChildAt(INDEX_OF_CHILD7).getAnimation(); in testAccessDelay() 128 childAnimation1 = mGridView.getChildAt(INDEX_OF_CHILD1).getAnimation(); in testAccessDelay() 129 Animation childAnimation2 = mGridView.getChildAt(INDEX_OF_CHILD2).getAnimation(); in testAccessDelay() 130 Animation childAnimation3 = mGridView.getChildAt(INDEX_OF_CHILD3).getAnimation(); in testAccessDelay() 207 Animation childAnimation1 = mGridView.getChildAt(INDEX_OF_CHILD1).getAnimation(); 208 Animation childAnimation4 = mGridView.getChildAt(INDEX_OF_CHILD4).getAnimation(); 209 Animation childAnimation7 = mGridView.getChildAt(INDEX_OF_CHILD7).getAnimation(); 257 childAnimation1 = mGridView.getChildAt(INDEX_OF_CHILD1).getAnimation(); [all …]
|
D | LayoutAnimationControllerTest.java | 101 Animation childAnimation1 = mListView.getChildAt(INDEX_OF_CHILD1).getAnimation(); in testAccessOrder() 102 Animation childAnimation2 = mListView.getChildAt(INDEX_OF_CHILD2).getAnimation(); in testAccessOrder() 103 Animation childAnimation3 = mListView.getChildAt(INDEX_OF_CHILD3).getAnimation(); in testAccessOrder() 148 childAnimation1 = mListView.getChildAt(INDEX_OF_CHILD1).getAnimation(); in testAccessOrder() 149 childAnimation2 = mListView.getChildAt(INDEX_OF_CHILD2).getAnimation(); in testAccessOrder() 150 childAnimation3 = mListView.getChildAt(INDEX_OF_CHILD3).getAnimation(); in testAccessOrder() 191 Animation childAnimation1 = mListView.getChildAt(INDEX_OF_CHILD1).getAnimation(); in testAccessDelay() 192 Animation childAnimation2 = mListView.getChildAt(INDEX_OF_CHILD2).getAnimation(); in testAccessDelay() 193 Animation childAnimation3 = mListView.getChildAt(INDEX_OF_CHILD3).getAnimation(); in testAccessDelay() 264 Animation childAnimation1 = mListView.getChildAt(INDEX_OF_CHILD1).getAnimation(); [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | ViewAttributesTest.java | 226 if (outerView.getChildAt(0).getIdEntry().equals("doubleNestedView")) { 227 doubleNestedView = outerView.getChildAt(0); 228 secondDoubleNestedView = outerView.getChildAt(1); 230 secondDoubleNestedView = outerView.getChildAt(0); 231 doubleNestedView = outerView.getChildAt(1); 248 AssistStructure.ViewNode tripleNestedView = doubleNestedView.getChildAt(0); 274 AssistStructure.ViewNode nestedView = outerView.getChildAt(0); 281 if (nestedView.getChildAt(0).getIdEntry().equals("doubleNestedView")) { 282 doubleNestedView = nestedView.getChildAt(0); 284 doubleNestedView = nestedView.getChildAt(1);
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | DarkTextThemeTest.java | 181 verifyColor(listView.getChildAt(0), Color.WHITE); in testCollection_light() 182 verifyColor(listView.getChildAt(1), Color.WHITE); in testCollection_light() 183 verifyColor(listView.getChildAt(2), Color.WHITE); in testCollection_light() 197 verifyColor(listView.getChildAt(0), Color.BLACK); in testCollection_dark() 198 verifyColor(listView.getChildAt(1), Color.BLACK); in testCollection_dark() 199 verifyColor(listView.getChildAt(2), Color.BLACK); in testCollection_dark() 241 if (hasText("Text 0", listView.getChildAt(0)) in setupAndAwaitCollectionWidget() 242 && hasText("Text 1", listView.getChildAt(1)) in setupAndAwaitCollectionWidget() 243 && hasText("Text 2", listView.getChildAt(2))) { in setupAndAwaitCollectionWidget()
|
D | WidgetTransitionTest.java | 252 if (hasText("Text 0", listView.getChildAt(0)) in testCollection_sendBroadcast() 253 && hasText("Text 1", listView.getChildAt(1)) in testCollection_sendBroadcast() 254 && hasText("Text 2", listView.getChildAt(2))) { in testCollection_sendBroadcast() 269 verifyClickBroadcast(listView.getChildAt(0)); in testCollection_sendBroadcast() 270 verifyClickBroadcast(listView.getChildAt(1)); in testCollection_sendBroadcast() 271 verifyClickBroadcast(listView.getChildAt(2)); in testCollection_sendBroadcast()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | ReferenceViewGroup.java | 55 View child = getChildAt(i); in onMeasure() 77 View child = getChildAt(i); in onLayout()
|
/cts/tests/app/shared/src/android/app/stubs/shared/ |
D | NotificationHostActivity.kt | 39 get() = requireViewById<FrameLayout>(R.id.content).getChildAt(0)
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioFrequencyActivity.java | 133 group.getChildAt(i).setEnabled(enable); in enableLayout() 176 View view = layout.getChildAt(i); in enableUILayout()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | AssistTestBase.java | 490 + ((ViewGroup) parentView).getChildAt(childInt).getClass().getName()); in traverseViewAndStructure() 503 + parentNode.getChildAt(nodeInt).getClassName()); in traverseViewAndStructure() 530 textInWebView |= traverseWebViewForText(parentNode.getChildAt(i)); in traverseViewAndStructure() 545 View childView = parentGroup.getChildAt(i); in traverseViewAndStructure() 546 ViewNode childNode = parentNode.getChildAt(i); in traverseViewAndStructure() 566 textFound |= traverseWebViewForText(parentNode.getChildAt(i)); in traverseWebViewForText() 598 if (traverse(parentNode.getChildAt(i), visitor)) { in traverse()
|