Home
last modified time | relevance | path

Searched refs:addView (Results 1 – 25 of 326) sorted by relevance

12345678910>>...14

/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
DInputTypeActivity.java55 … 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 …]
DDialogActivity.java73 mLayout.addView(mEditText); in onCreate()
74 mLayout.addView(mButton1); in onCreate()
75 mLayout.addView(mButton2); in onCreate()
104 layout.addView(editText); in createDialog()
DOneEditTextActivityNotSelected.java58 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/
DCreateViewTest.java47 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 …]
DViewGroupChildrenTest.java63 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 …]
DBigCache.java65 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/
DHorizontalFocusSearch.java68 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()
DVerticalFocusSearch.java75 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()
DAdjacentVerticalRectLists.java78 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/
DBiDiTestGridLayoutCodeRtl.java59 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()
DBiDiTestGridLayoutCodeLtr.java59 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/
DMultiLayersActivity.java38 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()
DRotate3dTextActivity.java39 layout.addView(view, makeLayoutParams()); in onCreate()
45 container.addView(view); in onCreate()
47 layout.addView(container, makeLayoutParams()); in onCreate()
DPointsActivity.java47 container.addView(slider); in onCreate()
52 frame.addView(gpuView); in onCreate()
55 frame.addView(swView); in onCreate()
56 container.addView(frame); in onCreate()
DColoredRectsActivity.java40 frame.addView(gpuView); in onCreate()
43 frame.addView(swView); in onCreate()
48 frame.addView(hwBothView); in onCreate()
51 frame.addView(swBothView); in onCreate()
DViewFlipperActivity.java42 flipper.addView(view); in onCreate()
48 flipper.addView(view); in onCreate()
54 layout.addView(widget); in onCreate()
DGradientsActivity.java68 layout.addView(shadersView); in onCreate()
69 layout.addView(gradientView, new FrameLayout.LayoutParams( in onCreate()
74 layout.addView(radialGradientView, lp); in onCreate()
78 layout.addView(sweepGradientView, lp); in onCreate()
82 layout.addView(bitmapView, lp); in onCreate()
84 layout.addView(rotateView, new FrameLayout.LayoutParams( in onCreate()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java60 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/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DScaleDrawableTests.java48 scrollView.addView(container); in onCreate()
59 container.addView(t); in onCreate()
67 container.addView(png_view); in onCreate()
73 container.addView(view); in onCreate()
79 container.addView(avd_view); in onCreate()
DBitmapDrawableDupe.java59 scrollView.addView(container); in onCreate()
69 container.addView(button); in onCreate()
76 container.addView(t); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListItemISVAndButton.java52 ll.addView(isv); in createView()
62 ll.addView(topButton); in createView()
69 ll.addView(filler); in createView()
/frameworks/base/core/java/android/widget/
DViewSwitcher.java62 public void addView(View child, int index, ViewGroup.LayoutParams params) { in addView() method in ViewSwitcher
66 super.addView(child, index, params); in addView()
90 addView(child, lp); in obtainView()
DTableLayout.java398 public void addView(View child) { in addView() method in TableLayout
399 super.addView(child); in addView()
407 public void addView(View child, int index) { in addView() method in TableLayout
408 super.addView(child, index); in addView()
416 public void addView(View child, ViewGroup.LayoutParams params) { in addView() method in TableLayout
417 super.addView(child, params); in addView()
425 public void addView(View child, int index, ViewGroup.LayoutParams params) { in addView() method in TableLayout
426 super.addView(child, index, params); in addView()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEffectsTest.java183 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/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java147 scroller.addView(view, new ScrollView.LayoutParams(ScrollView.LayoutParams.MATCH_PARENT, in scrollWrap()
155 root.addView(label, new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, in addLabelToRoot()
160 root.addView(layout, new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, in addChildToRoot()
176 layout.addView(view); in addBitmapDrawable()
187 layout.addView(view); in addResourceDrawable()
198 layout.addView(view); in addCanvasBitmap()
211 layout.addView(view); in addNinePatchResourceDrawable()

12345678910>>...14