Home
last modified time | relevance | path

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

12345678910>>...12

/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/
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()
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()
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()
DViewFlipperActivity.java42 flipper.addView(view); in onCreate()
48 flipper.addView(view); in onCreate()
54 layout.addView(widget); 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()
/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()
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/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()
/frameworks/base/core/java/android/widget/
DViewSwitcher.java64 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()
DTableLayout.java401 public void addView(View child) { in addView() method in TableLayout
402 super.addView(child); in addView()
410 public void addView(View child, int index) { in addView() method in TableLayout
411 super.addView(child, index); in addView()
419 public void addView(View child, ViewGroup.LayoutParams params) { in addView() method in TableLayout
420 super.addView(child, params); in addView()
428 public void addView(View child, int index, ViewGroup.LayoutParams params) { in addView() method in TableLayout
429 super.addView(child, index, params); in addView()
/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorPickerPalette.java106 addView(row); in drawPalette()
119 addView(row); in drawPalette()
129 row.addView(swatch); in addSwatchToRow()
131 row.addView(swatch, 0); in addSwatchToRow()

12345678910>>...12