/cts/tests/tests/widget/src/android/widget/cts/ |
D | ViewAnimatorTest.java | 105 mViewAnimator.addView(v1); in testShowNext() 106 mViewAnimator.addView(v2); in testShowNext() 107 mViewAnimator.addView(v3); in testShowNext() 108 mViewAnimator.addView(v4); in testShowNext() 148 mViewAnimator.addView(v1); in testAccessDisplayedChild() 151 mViewAnimator.addView(v2); in testAccessDisplayedChild() 183 mViewAnimator.addView(v1); in testAccessDisplayedChildBoundary() 186 mViewAnimator.addView(v2); in testAccessDisplayedChildBoundary() 212 mViewAnimator.addView(v1); in testGetBaseline() 213 mViewAnimator.addView(v2); in testGetBaseline() [all …]
|
D | TextSwitcherTest.java | 85 mTextSwitcher.addView(tv1, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testSetText() 86 mTextSwitcher.addView(tv2, 1, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testSetText() 125 mTextSwitcher.addView(tv1, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testSetCurrentText() 126 mTextSwitcher.addView(tv2, 1, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testSetCurrentText() 159 mTextSwitcher.addView(tv1, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testAddView() 165 mTextSwitcher.addView(tv1, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testAddView() 172 mTextSwitcher.addView(tv2, Integer.MAX_VALUE, in testAddView() 179 mTextSwitcher.addView(tv2, 1, in testAddView() 188 mTextSwitcher.addView(tv3, 2, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testAddView() 198 mTextSwitcher.addView(lv, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testAddView() [all …]
|
D | TableLayoutTest.java | 104 mTableEmpty.addView(toAdd); in testSetOnHierarchyChangeListener() 111 mTableEmpty.addView(new TextView(mActivity)); in testSetOnHierarchyChangeListener() 119 mTableEmpty.addView(new TextView(mActivity)); in testRequestLayout() 120 mTableEmpty.addView(new ListView(mActivity)); in testRequestLayout() 157 mTableEmpty.addView(new TextView(mActivity)); in testAccessColumnCollapsed() 158 mTableEmpty.addView(new TextView(mActivity)); in testAccessColumnCollapsed() 196 mTableEmpty.addView(new TableRow(mActivity)); in testAccessColumnStretchable() 197 mTableEmpty.addView(new TableRow(mActivity)); in testAccessColumnStretchable() 341 mTableEmpty.addView(new TableRow(mActivity)); in testAccessColumnShrinkable() 342 mTableEmpty.addView(new TableRow(mActivity)); in testAccessColumnShrinkable() [all …]
|
D | ScrollViewTest.java | 134 mScrollViewRegular.addView(child0); in testAddView() 140 mScrollViewRegular.addView(child1); in testAddView() 152 mScrollViewRegular.addView(child0, 0); in testAddViewWithIndex() 158 mScrollViewRegular.addView(child1, 1); in testAddViewWithIndex() 167 mScrollViewRegular.addView(child0, -1); in testAddViewWithIndex() 173 mScrollViewRegular.addView(child1, -1); in testAddViewWithIndex() 183 mScrollViewRegular.addView(child0, 1); in testAddViewWithIndex() 194 mScrollViewRegular.addView(child0, new ViewGroup.LayoutParams(200, 100)); in testAddViewWithLayoutParams() 202 mScrollViewRegular.addView(child1, new ViewGroup.LayoutParams(200, 100)); in testAddViewWithLayoutParams() 213 mScrollViewRegular.addView(child0, null); in testAddViewWithLayoutParams() [all …]
|
D | HorizontalScrollViewTest.java | 118 mScrollViewRegular.addView(child0); in testAddView() 124 mScrollViewRegular.addView(child1); in testAddView() 136 mScrollViewRegular.addView(child0, 0); in testAddViewWithIndex() 142 mScrollViewRegular.addView(child1, 1); in testAddViewWithIndex() 151 mScrollViewRegular.addView(child0, -1); in testAddViewWithIndex() 157 mScrollViewRegular.addView(child1, -1); in testAddViewWithIndex() 167 mScrollViewRegular.addView(child0, 1); in testAddViewWithIndex() 178 mScrollViewRegular.addView(child0, new ViewGroup.LayoutParams(200, 100)); in testAddViewWithLayoutParams() 186 mScrollViewRegular.addView(child1, new ViewGroup.LayoutParams(200, 100)); in testAddViewWithLayoutParams() 197 mScrollViewRegular.addView(child0, null); in testAddViewWithLayoutParams() [all …]
|
D | TabWidgetTest.java | 124 mTabWidget.addView(new TextView(mActivity)); in testTabCount() 141 mTabWidget.addView(toAdd); in testTabViews() 152 mockTabWidget.addView(tv0); in testChildDrawableStateChanged() 153 mockTabWidget.addView(tv1); in testChildDrawableStateChanged() 171 mTabWidget.addView(new TextView(mActivity)); in testSetCurrentTab() 188 mTabWidget.addView(new TextView(mActivity)); in testFocusCurrentTab() 227 mTabWidget.addView(new TextView(mActivity)); in testSetEnabled() 228 mTabWidget.addView(new TextView(mActivity)); in testSetEnabled() 251 mockTabWidget.addView(view1); in testAddView() 265 mockTabWidget.addView(view2); in testAddView() [all …]
|
D | ViewSwitcherTest.java | 84 viewSwitcher.addView(lv1, 0); in testReset() 85 viewSwitcher.addView(lv2, 1); in testReset() 98 viewSwitcher.addView(lv1, 0, new ViewGroup.LayoutParams(20, 25)); in testGetNextView() 102 viewSwitcher.addView(lv2, 1, new ViewGroup.LayoutParams(20, 25)); in testGetNextView() 111 viewSwitcher.addView(lv3, 2, null); in testGetNextView()
|
D | ImageSwitcherTest.java | 90 mImageSwitcher.addView(iv); in testSetImageResource() 92 mImageSwitcher.addView(iv1); in testSetImageResource() 120 mImageSwitcher.addView(iv); in testSetImageURI() 122 mImageSwitcher.addView(iv1); in testSetImageURI() 163 mImageSwitcher.addView(iv); in testSetImageDrawable() 165 mImageSwitcher.addView(iv1); in testSetImageDrawable()
|
D | GridLayoutTest.java | 163 mGridLayout.addView(new TextView(mActivity), in testCheckLayoutParams() 166 mGridLayout.addView(new TextView(mActivity), in testCheckLayoutParams() 211 container.addView(v, lp); in populate() 221 container.addView(v, lp); in populate() 232 container.addView(v, lp); in populate() 246 container.addView(v, lp); in populate()
|
D | RadioGroupTest.java | 97 mRadioGroup.addView(button3); in testSetOnHierarchyChangeListener() 105 mRadioGroup.addView(button3); in testSetOnHierarchyChangeListener() 114 mRadioGroup.addView(newButton, new RadioGroup.LayoutParams( in testInternalPassThroughHierarchyChangeListener() 127 mRadioGroup.addView(newButton, new RadioGroup.LayoutParams( in testInternalCheckedStateTracker() 368 radioGroup.addView(button, new LinearLayout.LayoutParams( in testOnFinishInflate() 383 radioGroup.addView(button, new LinearLayout.LayoutParams( in testOnFinishInflate() 410 mRadioGroup.addView(choice4, 4, new ViewGroup.LayoutParams(100, 200)); in testAddView()
|
D | DigitalClockTest.java | 91 linearLayout.addView(digitalClock); in testOnDetachedFromWindow() 105 linearLayout.addView(digitalClock); in testOnAttachedToWindow()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroupChildDrawingOrderTest.java | 47 layout.addView(new View(mContext)); in testPublicGetChildDrawingOrderWithDefaultOrder() 48 layout.addView(new View(mContext)); in testPublicGetChildDrawingOrderWithDefaultOrder() 49 layout.addView(new View(mContext)); in testPublicGetChildDrawingOrderWithDefaultOrder() 59 layout.addView(new View(mContext)); in testPublicGetChildDrawingOrderWithCustomOrder() 60 layout.addView(new View(mContext)); in testPublicGetChildDrawingOrderWithCustomOrder() 61 layout.addView(new View(mContext)); in testPublicGetChildDrawingOrderWithCustomOrder()
|
D | ViewGroupTest.java | 144 mMockViewGroup.addView(mTextView); in testAddFocusables() 173 mMockViewGroup.addView(v1); in testAddKeyboardNavigationClusters() 174 mMockViewGroup.addView(v2); in testAddKeyboardNavigationClusters() 204 parent.addView(mMockViewGroup); in testAddKeyboardNavigationClusters() 212 mMockViewGroup.addView(v2); in testAddKeyboardNavigationClusters() 240 mMockViewGroup.addView(mTextView); in testAddStatesFromChildren() 260 mMockViewGroup.addView(mTextView); in testAddTouchables() 286 mMockViewGroup.addView(mTextView); in testAddView() 296 mMockViewGroup.addView(mTextView, -1); in testAddViewWithParaViewInt() 306 mMockViewGroup.addView(mTextView, new ViewGroup.LayoutParams(100, 200)); in testAddViewWithParaViewLayoutPara() [all …]
|
D | View_FocusHandlingTest.java | 233 vg.addView(sub, 10, 10); in testFocusHandling() 313 layout.addView(v5, 30, 30); in testSizeHandling() 341 ll0.addView(butInScroll, 40, 40); in testSizeHandling() 342 layout.addView(ll0, 100, 100); in testSizeHandling() 365 ll.addView(zeroSizeBut, 30, 0); in testSizeHandling() 366 layout.addView(ll, 100, 100); in testSizeHandling() 382 ll2.addView(zeroButInAfter, 40, 0); in testSizeHandling() 383 layout.addView(ll2, 100, 100); in testSizeHandling() 401 ll3.addView(outside, 40, 40); in testSizeHandling() 402 sub.addView(inside, 30, 0); in testSizeHandling() [all …]
|
D | GestureDetectorCtsActivity.java | 71 mViewGroup.addView(mView); in onCreate() 72 mViewGroup.addView(mTop); in onCreate() 73 mViewGroup.addView(mButton); in onCreate()
|
D | TooltipTest.java | 110 private void addView(ViewGroup parent, View view) throws Throwable { in addView() method in TooltipTest 111 mActivityRule.runOnUiThread(() -> parent.addView(view)); in addView() 733 addView(mGroupView, mTooltipView); in testMouseHoverTooltipRemoveWhileWaiting() 738 addView(mGroupView, mTooltipView); in testMouseHoverTooltipRemoveWhileWaiting() 747 addView(mTopmostView, mGroupView); in testMouseHoverTooltipRemoveWhileWaiting() 752 addView(mTopmostView, mGroupView); in testMouseHoverTooltipRemoveWhileWaiting() 764 addView(mGroupView, mTooltipView); in testMouseHoverTooltipRemoveWhileShowing() 772 addView(mTopmostView, mGroupView); in testMouseHoverTooltipRemoveWhileShowing()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListItemFactory.java | 60 ll.addView(topButton); in twoButtonsSeparatedByFiller() 67 ll.addView(middleFiller); in twoButtonsSeparatedByFiller() 72 ll.addView(bottomButton); in twoButtonsSeparatedByFiller() 121 ll.addView(button, lp); in horizontalButtonSlots() 123 ll.addView(new View(context), lp); in horizontalButtonSlots() 129 ll.addView(button, lp); in horizontalButtonSlots() 131 ll.addView(new View(context), lp); in horizontalButtonSlots() 137 ll.addView(button, lp); in horizontalButtonSlots() 139 ll.addView(new View(context), lp); in horizontalButtonSlots() 253 ll.addView(t1, lp1); in doubleText() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | VisibilitySetterActionTest.java | 70 mRootView.addView(view); in testOneChild() 85 mRootView.addView(view); in testOneChildAddedTwice() 100 mRootView.addView(view1); in testMultipleChildren() 105 mRootView.addView(view2); in testMultipleChildren()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | TvAppVerifierActivity.java | 89 mItemList.addView(item); in createUserItem() 105 mItemList.addView(item); in createUserItem() 117 mItemList.addView(item); in createAutoItem() 134 mItemList.addView(item); in createButtonItem()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityViewTreeReportingTest.java | 214 rootLinearLayout.addView(layoutWithDrawingOrder); 215 layoutWithDrawingOrder.addView(firstTextView); 216 layoutWithDrawingOrder.addView(firstEditText); 217 layoutWithDrawingOrder.addView(firstButton); 296 () -> mActivity.runOnUiThread(() -> layout.addView(newButton)),
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | LayoutTests.java | 110 activity.getWindowManager().addView(view, new LayoutParams(TYPE_APPLICATION_PANEL)); in doTestLayoutAfterRemovingFocus() 154 activity.getWindowManager().addView(view, new LayoutParams(TYPE_APPLICATION_PANEL)); in testAddingImmersiveWindow() 191 activity.getWindowManager().addView(view, attrs); in testChangingFocusableFlag()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodManagerTest.java | 84 layout.addView(focusedEditText); in testIsActive() 89 layout.addView(nonFocusedEditText); in testIsActive() 114 layout.addView(focusedFakeEditText); in testIsAcceptingText()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/ |
D | BiometricTest.java | 310 layout.addView(titleBox); in showCheckStringsDialog() 315 layout.addView(subtitleBox); in showCheckStringsDialog() 320 layout.addView(descriptionBox); in showCheckStringsDialog() 325 layout.addView(negativeBox); in showCheckStringsDialog()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityDelegateTest.java | 60 grandparent.addView(mParentView); in setUp() 61 mParentView.addView(mChildView); in setUp()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | ChildlessActivityTest.java | 252 rootView.addView(child); in testAddAndRemoveNoImportantChild() 287 rootView.addView(text); in testAddAndRemoveImportantChild() 346 activity.runOnUiThread(() -> rootView.addView(child)); in testAddImportantChildAfterSessionStarted() 399 activity.runOnUiThread(() -> rootView.addView(child)); in testAddAndRemoveImportantChildOnDifferentSession() 649 rootView.addView(s2c1); in testDinamicallyManageSiblingSessions() 650 rootView.addView(s2c2); in testDinamicallyManageSiblingSessions() 670 rootView.addView(s3c1); in testDinamicallyManageSiblingSessions() 671 rootView.addView(s3c2); in testDinamicallyManageSiblingSessions() 681 rootView.addView(s3c3); in testDinamicallyManageSiblingSessions() 990 rootView.addView(s2c1); in testRemoveChildrenFromDifferentSessions() [all …]
|