/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
D | InputTypeActivity.java | 55 … mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL, in onCreate() 59 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|Ed… in onCreate() 63 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|Ed… in onCreate() 67 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|Ed… in onCreate() 71 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|Ed… in onCreate() 75 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|Ed… in onCreate() 79 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|Ed… in onCreate() 83 … mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_URI, in onCreate() 87 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_EMAIL_ADD… in onCreate() 91 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_EMAIL_SUB… in onCreate() [all …]
|
D | DialogActivity.java | 73 mLayout.addView(mEditText); in onCreate() 74 mLayout.addView(mButton1); in onCreate() 75 mLayout.addView(mButton2); in onCreate() 104 layout.addView(editText); in createDialog()
|
D | OneEditTextActivityNotSelected.java | 58 layout.addView(button); in onCreate() 59 layout.addView(editText); in onCreate() 61 ((ScrollView) mRootView).addView(layout); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | CreateViewTest.java | 47 vert.addView(new CreateViewTest.ViewOne(mContext), in testLayout2() 56 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 59 vert.addView(two, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 62 vert.addView(three, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 65 vert.addView(four, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 68 vert.addView(five, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 71 vert.addView(six, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 86 vert.addView(text, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout5() 95 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout6() 99 vert.addView(two, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout6() [all …]
|
D | ViewGroupChildrenTest.java | 63 mGroup.addView(view); in testAddChild() 76 mGroup.addView(view); in testAddChildAtFront() 80 mGroup.addView(view, 0); in testAddChildAtFront() 94 mGroup.addView(view); in testAddChildInMiddle() 98 mGroup.addView(view, 12); in testAddChildInMiddle() 112 mGroup.addView(view); in testAddChildren() 123 mGroup.addView(view); in testRemoveChild() 144 mGroup.addView(views[i]); in testRemoveChildren() 165 mGroup.addView(views[i]); in testRemoveChildrenBulk() 186 mGroup.addView(views[i]); in testRemoveChildrenBulkAtFront() [all …]
|
D | BigCache.java | 65 testBed.addView(tiny); in onCreate() 66 testBed.addView(large); in onCreate() 67 scroller.addView(testBed); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | HorizontalFocusSearch.java | 68 mLayout.addView(mLeftTall); in onCreate() 74 mLayout.addView(mRightTall); in onCreate() 124 ll.addView(filler); in addShort() 125 ll.addView(button); in addShort() 126 root.addView(ll); in addShort() 128 ll.addView(button); in addShort() 129 ll.addView(filler); in addShort() 130 root.addView(ll); in addShort()
|
D | VerticalFocusSearch.java | 75 mLayout.addView(mTopWide); in onCreate() 82 mLayout.addView(mBottomWide); in onCreate() 140 ll.addView(filler); in addSkinny() 141 ll.addView(button); in addSkinny() 142 root.addView(ll); in addSkinny() 144 ll.addView(button); in addSkinny() 145 ll.addView(filler); in addSkinny() 146 root.addView(ll); in addSkinny()
|
D | AdjacentVerticalRectLists.java | 78 mLayout.addView(mLeftColumn); in onCreate() 83 mLayout.addView(mMiddleColumn); in onCreate() 88 mLayout.addView(mRightColumn); in onCreate()
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestGridLayoutCodeRtl.java | 59 currentView.addView(create(currentView.getContext())); in onViewCreated() 89 layout.addView(c, new GridLayout.LayoutParams(row1, col1a)); in create() 95 layout.addView(c, new GridLayout.LayoutParams(row2, col1b)); in create() 100 layout.addView(c, new GridLayout.LayoutParams(row3, col1c)); in create() 106 layout.addView(c, new GridLayout.LayoutParams(row3, col2)); in create() 111 layout.addView(c, new GridLayout.LayoutParams(row4, col1c)); in create() 117 layout.addView(c, new GridLayout.LayoutParams(row4, col2)); in create() 121 layout.addView(c, new GridLayout.LayoutParams(row5, col3)); in create() 126 layout.addView(c, new GridLayout.LayoutParams(row6, col4a)); in create() 131 layout.addView(c, new GridLayout.LayoutParams(row7, col4b)); in create()
|
D | BiDiTestGridLayoutCodeLtr.java | 59 currentView.addView(create(currentView.getContext())); in onViewCreated() 89 layout.addView(c, new GridLayout.LayoutParams(row1, col1a)); in create() 95 layout.addView(c, new GridLayout.LayoutParams(row2, col1b)); in create() 100 layout.addView(c, new GridLayout.LayoutParams(row3, col1c)); in create() 106 layout.addView(c, new GridLayout.LayoutParams(row3, col2)); in create() 111 layout.addView(c, new GridLayout.LayoutParams(row4, col1c)); in create() 117 layout.addView(c, new GridLayout.LayoutParams(row4, col2)); in create() 121 layout.addView(c, new GridLayout.LayoutParams(row5, col3)); in create() 126 layout.addView(c, new GridLayout.LayoutParams(row6, col4a)); in create() 131 layout.addView(c, new GridLayout.LayoutParams(row7, col4b)); in create()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MultiLayersActivity.java | 38 grid.addView(row1, new LinearLayout.LayoutParams( in onCreate() 43 grid.addView(row2, new LinearLayout.LayoutParams( in onCreate() 46 row1.addView(new LayerView(this, 0xffff0000), new LinearLayout.LayoutParams( in onCreate() 48 row1.addView(new LayerView(this, 0x0f00ff00), new LinearLayout.LayoutParams( in onCreate() 51 row2.addView(new LayerView(this, 0x0f0000ff), new LinearLayout.LayoutParams( in onCreate() 53 row2.addView(new LayerView(this, 0xffffff00), new LinearLayout.LayoutParams( in onCreate()
|
D | Rotate3dTextActivity.java | 39 layout.addView(view, makeLayoutParams()); in onCreate() 45 container.addView(view); in onCreate() 47 layout.addView(container, makeLayoutParams()); in onCreate()
|
D | PointsActivity.java | 47 container.addView(slider); in onCreate() 52 frame.addView(gpuView); in onCreate() 55 frame.addView(swView); in onCreate() 56 container.addView(frame); in onCreate()
|
D | ViewFlipperActivity.java | 42 flipper.addView(view); in onCreate() 48 flipper.addView(view); in onCreate() 54 layout.addView(widget); in onCreate()
|
D | ColoredRectsActivity.java | 40 frame.addView(gpuView); in onCreate() 43 frame.addView(swView); in onCreate() 48 frame.addView(hwBothView); in onCreate() 51 frame.addView(swBothView); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/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() 254 ll.addView(t1, lp1); in doubleText() [all …]
|
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/base/ |
D | ViewFinderImplTest.java | 61 nestingLayout.addView(nestedChild); in setUp() 62 testView.addView(child1); in setUp() 63 testView.addView(child2); in setUp() 64 testView.addView(nestingLayout); in setUp() 65 testView.addView(child3); in setUp() 66 testView.addView(child4); in setUp()
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
D | ScaleDrawableTests.java | 48 scrollView.addView(container); in onCreate() 59 container.addView(t); in onCreate() 67 container.addView(png_view); in onCreate() 73 container.addView(view); in onCreate()
|
D | VectorDrawablePerformance.java | 66 scrollView.addView(container); in onCreate() 79 container.addView(t); in onCreate() 85 container.addView(button); in onCreate() 91 container.addView(t); in onCreate()
|
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/ |
D | AmbiguousViewMatcherExceptionTest.java | 55 testView.addView(child1); in setUp() 56 testView.addView(child2); in setUp() 57 testView.addView(child3); in setUp() 58 testView.addView(child4); in setUp()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListItemISVAndButton.java | 52 ll.addView(isv); in createView() 62 ll.addView(topButton); in createView() 69 ll.addView(filler); in createView()
|
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/matcher/ |
D | ViewMatchersTest.java | 269 grany.addView(parent); in testHasDescendant() 270 parent.addView(v); in testHasDescendant() 281 grany.addView(parent); in testIsDescendantOfA() 282 parent.addView(v); in testIsDescendantOfA() 298 parent.addView(visible); in testIsVisible() 313 parent.addView(visible); in testIsInvisible() 328 parent.addView(visible); in testIsGone() 373 secondLevel.addView(view2); in testWithParent() 374 secondLevel.addView(view3); in testWithParent() 375 tiptop.addView(secondLevel); in testWithParent() [all …]
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | EffectsTest.java | 183 addView(tv, new LinearLayout.LayoutParams( in set() 187 addView(tv, new LinearLayout.LayoutParams( in set() 191 addView(tv, new LinearLayout.LayoutParams( in set() 195 addView(tv, new LinearLayout.LayoutParams( in set() 199 addView(tv, new LinearLayout.LayoutParams( in set() 203 addView(tv, new LinearLayout.LayoutParams( in set()
|
/frameworks/base/core/java/android/widget/ |
D | ViewSwitcher.java | 64 public void addView(View child, int index, ViewGroup.LayoutParams params) { in addView() method in ViewSwitcher 68 super.addView(child, index, params); in addView() 99 addView(child, lp); in obtainView()
|