/cts/tests/tests/widget/src/android/widget/cts/ |
D | ViewAnimatorTest.java | 112 assertEquals(0, mViewAnimator.getChildCount()); in testShowNext() 118 assertEquals(4, mViewAnimator.getChildCount()); in testShowNext() 135 assertEquals(0, mViewAnimator.getChildCount()); in testShowNext() 155 assertEquals(0, mViewAnimator.getChildCount()); in testAccessDisplayedChild() 158 assertEquals(1, mViewAnimator.getChildCount()); in testAccessDisplayedChild() 161 assertEquals(2, mViewAnimator.getChildCount()); in testAccessDisplayedChild() 178 assertEquals(0, mViewAnimator.getChildCount()); in testAccessDisplayedChild() 190 assertEquals(0, mViewAnimator.getChildCount()); in testAccessDisplayedChildBoundary() 193 assertEquals(1, mViewAnimator.getChildCount()); in testAccessDisplayedChildBoundary() 196 assertEquals(2, mViewAnimator.getChildCount()); in testAccessDisplayedChildBoundary() [all …]
|
D | TabHostTest.java | 184 assertEquals(1, tabHost.getTabWidget().getChildCount()); in testAddTab() 190 assertEquals(2, tabHost.getTabWidget().getChildCount()); in testAddTab() 232 assertEquals(3, tabHost.getTabWidget().getChildCount()); in testClearAllTabs() 233 assertEquals(3, tabHost.getTabContentView().getChildCount()); in testClearAllTabs() 239 assertEquals(0, tabHost.getTabWidget().getChildCount()); in testClearAllTabs() 240 assertEquals(0, tabHost.getTabContentView().getChildCount()); in testClearAllTabs() 273 tabHost.setCurrentTab(tabHost.getTabWidget().getChildCount() + 1); in testAccessCurrentTab() 339 assertEquals(3, tabHost.getTabContentView().getChildCount()); in testGetTabContentView() 353 assertEquals(3, tabHost.getTabContentView().getChildCount()); in testGetTabContentView() 355 assertEquals(4, tabHost.getTabContentView().getChildCount()); in testGetTabContentView()
|
D | RemoteViewsRecyclingTest.java | 116 assertEquals(3, container.getChildCount()); in recycleWhenIdentical() 145 assertEquals(2, container.getChildCount()); in doesntRecycleWhenNotAskingForRecycling() 180 assertEquals(3, container.getChildCount()); in recycleWhenInsertView() 213 assertEquals(2, container.getChildCount()); in recycleWhenRemovingMiddleView() 246 assertEquals(4, container.getChildCount()); in recycleWhenAddingAtEnd() 279 assertEquals(2, container.getChildCount()); in recycleWhenRemovingFromEnd() 311 assertEquals(1, container.getChildCount()); in doesntRecycleWhenLayoutDoesntMatch() 467 assertEquals(4, container.getChildCount()); in recycleWhenRemovingFromEndAndInsertInMiddleAtManyLevels() 468 assertEquals(3, container2.getChildCount()); in recycleWhenRemovingFromEndAndInsertInMiddleAtManyLevels()
|
D | HorizontalScrollViewTest.java | 165 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddView() 173 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddView() 183 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddViewWithIndex() 191 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddViewWithIndex() 198 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddViewWithIndex() 206 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddViewWithIndex() 227 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddViewWithLayoutParams() 235 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddViewWithLayoutParams() 257 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddViewWithIndexAndLayoutParams() 265 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddViewWithIndexAndLayoutParams() [all …]
|
D | ScrollViewTest.java | 179 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddView() 187 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddView() 197 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddViewWithIndex() 205 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddViewWithIndex() 212 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddViewWithIndex() 220 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddViewWithIndex() 241 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddViewWithLayoutParams() 249 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddViewWithLayoutParams() 271 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddViewWithIndexAndLayoutParams() 279 assertEquals(1, mScrollViewRegular.getChildCount()); in testAddViewWithIndexAndLayoutParams() [all …]
|
D | TextSwitcherTest.java | 170 assertEquals(1, mTextSwitcher.getChildCount()); in testAddView() 191 assertEquals(2, mTextSwitcher.getChildCount()); in testAddView()
|
D | RadioGroupTest.java | 413 assertEquals(4, mRadioGroup.getChildCount()); in testAddView() 422 assertEquals(5, mRadioGroup.getChildCount()); in testAddView() 433 assertEquals(colInfo.getRowCount(), mRadioGroup.getChildCount()); in testOnInitializeAccessibilityNodeInfo_populatesCollectionInfo() 453 for (int i = 0; i < mRadioGroup.getChildCount(); i++) { in testOnInitializeAccessibilityNodeInfo_populatesColInfoWithInvalidCount()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableContainerStateTest.java | 68 assertEquals(0, mDrawableContainerState.getChildCount()); in testAddChild() 74 assertEquals(1, mDrawableContainerState.getChildCount()); in testAddChild() 86 assertEquals(2, mDrawableContainerState.getChildCount()); in testAddChild() 97 assertEquals(3, mDrawableContainerState.getChildCount()); in testAddChild() 107 assertEquals(0, mDrawableContainerState.getChildCount()); in testIsStateful() 113 assertEquals(1, mDrawableContainerState.getChildCount()); in testIsStateful() 119 assertEquals(2, mDrawableContainerState.getChildCount()); in testIsStateful() 125 assertEquals(3, mDrawableContainerState.getChildCount()); in testIsStateful() 131 assertEquals(4, mDrawableContainerState.getChildCount()); in testIsStateful() 197 assertEquals(0, mDrawableContainerState.getChildCount()); in testConstantHeightsAndWidths() [all …]
|
D | LevelListDrawableTest.java | 73 assertEquals(0, mDrawableContainerState.getChildCount()); in testAddLevel() 78 assertEquals(0, mDrawableContainerState.getChildCount()); in testAddLevel() 85 assertEquals(1, mDrawableContainerState.getChildCount()); in testAddLevel() 91 assertEquals(2, mDrawableContainerState.getChildCount()); in testAddLevel() 141 assertEquals(2, mDrawableContainerState.getChildCount()); in testInflate() 154 assertEquals(3, mDrawableContainerState.getChildCount()); in testInflate() 201 assertEquals(3, ((DrawableContainerState) d1.getConstantState()).getChildCount()); in testMutate() 202 assertEquals(2, ((DrawableContainerState) d2.getConstantState()).getChildCount()); in testMutate() 203 assertEquals(2, ((DrawableContainerState) d3.getConstantState()).getChildCount()); in testMutate()
|
D | AnimatedStateListDrawableTest.java | 84 assertEquals(0, cs.getChildCount()); in testAddState() 95 assertEquals(1, cs.getChildCount()); in testAddState() 99 assertEquals(2, cs.getChildCount()); in testAddState() 121 assertEquals(3, cs.getChildCount()); in testAddTransition() 125 assertEquals(4, cs.getChildCount()); in testAddTransition() 129 assertEquals(5, cs.getChildCount()); in testAddTransition() 192 final int count = cs.getChildCount(); in runPreloadDensityTestForDrawableInner() 255 assertEquals(4, asldState.getChildCount()); in testInflate() 265 assertEquals(6, asldState.getChildCount()); in testParsingTransitionDefinedWithAVD()
|
D | StateListDrawableTest.java | 83 assertEquals(0, mDrawableContainerState.getChildCount()); in testAddState() 88 assertEquals(0, mDrawableContainerState.getChildCount()); in testAddState() 94 assertEquals(1, mDrawableContainerState.getChildCount()); in testAddState() 101 assertEquals(2, mDrawableContainerState.getChildCount()); in testAddState() 108 assertEquals(3, mDrawableContainerState.getChildCount()); in testAddState() 171 assertEquals(0, mDrawableContainerState.getChildCount()); in testOnStateChangeWithNullStateSet() 177 assertEquals(1, mDrawableContainerState.getChildCount()); in testOnStateChangeWithNullStateSet() 276 assertEquals(2, mDrawableContainerState.getChildCount()); in testInflate() 300 assertEquals(1, mDrawableContainerState.getChildCount()); in testInflate()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | LayoutInflaterTest.java | 237 assertEquals(0, linearLayout.getChildCount()); in testInflate() 241 assertEquals(1, linearLayout.getChildCount()); in testInflate() 261 assertEquals(0, linearLayout.getChildCount()); in testInflateAttachToRoot() 265 assertEquals(0, linearLayout.getChildCount()); in testInflateAttachToRoot() 270 assertEquals(1, linearLayout.getChildCount()); in testInflateAttachToRoot() 290 assertEquals(0, linearLayout.getChildCount()); in testInflateParser() 301 assertEquals(1, linearLayout.getChildCount()); in testInflateParser() 305 assertEquals(2, linearLayout.getChildCount()); in testInflateParser() 310 assertEquals(3, linearLayout.getChildCount()); in testInflateParser() 330 assertEquals(0, linearLayout.getChildCount()); in testInflateParserAttachToRoot() [all …]
|
D | ViewGroupTest.java | 293 assertEquals(0, mMockViewGroup.getChildCount()); in testAddView() 296 assertEquals(1, mMockViewGroup.getChildCount()); in testAddView() 303 assertEquals(0, mMockViewGroup.getChildCount()); in testAddViewWithParaViewInt() 306 assertEquals(1, mMockViewGroup.getChildCount()); in testAddViewWithParaViewInt() 313 assertEquals(0, mMockViewGroup.getChildCount()); in testAddViewWithParaViewLayoutPara() 317 assertEquals(1, mMockViewGroup.getChildCount()); in testAddViewWithParaViewLayoutPara() 327 assertEquals(0, mMockViewGroup.getChildCount()); in testAddViewWithParaViewIntInt() 333 assertEquals(1, mMockViewGroup.getChildCount()); in testAddViewWithParaViewIntInt() 340 assertEquals(0, mMockViewGroup.getChildCount()); in testAddViewWidthParaViewIntLayoutParam() 344 assertEquals(1, mMockViewGroup.getChildCount()); in testAddViewWidthParaViewIntLayoutParam() [all …]
|
D | View_ForceLayout.java | 225 int childrenCount = getChildCount(); in onMeasure() 234 int childrenCount = getChildCount(); in onLayout()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityCacheTest.java | 142 assertThat(root.getChildCount(), is(2)); in invalidateNode_subtreeInCacheInvalidated() 177 assertThat(frameRoot.getChildCount(), is(2)); in getChild_descendantNotPrefetched() 199 assertThat(frameRoot.getChildCount(), is(2)); in getChild_descendantPrefetched() 223 assertThat(frameRoot.getChildCount(), is(2)); in getParent_ancestorsPrefetched() 251 assertThat(root.getChildCount(), is(2)); in testRequest_withMultiplePrefetchingStrategies_throwsException() 330 for (int i = 0; i < node.getChildCount(); i++) { in getNodes()
|
D | AccessibilityViewTreeReportingTest.java | 105 assertSame(3, firstFrameLayout.getChildCount()); in testDescendantsOfNotImportantViewReportedInOrder1() 124 assertSame(3, secondFrameLayout.getChildCount()); in testDescendantsOfNotImportantViewReportedInOrder2() 144 assertSame(4, rootLinearLayout.getChildCount()); in testDescendantsOfNotImportantViewReportedInOrder3()
|
D | AccessibilityEmbeddedHierarchyTest.java | 233 final int childCount = root.getChildCount(); in findEmbeddedAccessibilityNodeInfo() 242 if (info.getChildCount() != 0) { in findEmbeddedAccessibilityNodeInfo()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | ReferenceViewGroup.java | 53 int childCount = getChildCount(); in onMeasure() 75 int childCount = getChildCount(); in onLayout()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | ViewAttributesTest.java | 223 assertThat(outerView.getChildCount()).isEqualTo(2); 247 assertThat(doubleNestedView.getChildCount()).isEqualTo(1); 272 assertThat(outerView.getChildCount()).isEqualTo(1); 279 assertThat(nestedView.getChildCount()).isEqualTo(2);
|
D | FatActivityTest.java | 117 assertThat(inputContainer.getChildCount()).isEqualTo(1); 197 assertThat(inputContainer.getChildCount()).isEqualTo(1);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioFrequencyActivity.java | 132 for (int i = 0; i < group.getChildCount(); i++) { in enableLayout() 175 for (int i = 0; i < layout.getChildCount(); i++) { in enableUILayout()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeTransformTest.java | 142 assertEquals(2, container.getChildCount()); in testReparentWithOverlay() 159 assertEquals(1, container.getChildCount()); in testReparentWithOverlay()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | AssistTestBase.java | 486 for (int childInt = 0; childInt < ((ViewGroup) parentView).getChildCount(); in traverseViewAndStructure() 500 for (int nodeInt = 0; nodeInt < parentNode.getChildCount(); nodeInt++) { in traverseViewAndStructure() 512 numViewChildren = ((ViewGroup) parentView).getChildCount(); in traverseViewAndStructure() 514 numNodeChildren = parentNode.getChildCount(); in traverseViewAndStructure() 565 for (int i = parentNode.getChildCount() - 1; i >= 0; i--) { in traverseWebViewForText() 597 for (int i = parentNode.getChildCount() - 1; i >= 0; i--) { in traverse()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | UiDumpUtils.java | 176 recursively(root, AccessibilityNodeInfo::getChildCount, AccessibilityNodeInfo::getChild, in dumpNodes() 189 ToIntFunction<T> getChildCount, BiFunction<T, Integer, T> getChildAt, in recursively() argument 196 int size = getChildCount.applyAsInt(node); in recursively() 199 getChildCount, getChildAt, childAction, actionChange); in recursively() local
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | CollectionAppWidgetTest.java | 415 for (int i = 0; i < viewGroup.getChildCount(); i++) { in findFirstMatchingView() 467 CollectionAppWidgetProvider.configure(updateLatch, () -> mListView.getChildCount() > 0, in testSetScrollPosition() 503 PollingCheck.waitFor(TEST_TIMEOUT_MS, () -> mListView.getChildCount() > 0); in testSetScrollPosition()
|