Home
last modified time | relevance | path

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

123456789

/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()
DEditTextActivityDialog.java70 mLayout.addView(mButton1); in onCreate()
71 mLayout.addView(mButton2); in onCreate()
96 ((ScrollView) layout).addView(( in createDialog()
/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/tests/BiDiTests/src/com/android/bidi/
DBiDiTestGridLayoutCodeLtr.java45 currentView.addView(create(currentView.getContext())); in onViewCreated()
75 layout.addView(c, new GridLayout.LayoutParams(row1, col1a)); in create()
81 layout.addView(c, new GridLayout.LayoutParams(row2, col1b)); in create()
86 layout.addView(c, new GridLayout.LayoutParams(row3, col1c)); in create()
92 layout.addView(c, new GridLayout.LayoutParams(row3, col2)); in create()
97 layout.addView(c, new GridLayout.LayoutParams(row4, col1c)); in create()
103 layout.addView(c, new GridLayout.LayoutParams(row4, col2)); in create()
107 layout.addView(c, new GridLayout.LayoutParams(row5, col3)); in create()
112 layout.addView(c, new GridLayout.LayoutParams(row6, col4a)); in create()
117 layout.addView(c, new GridLayout.LayoutParams(row7, col4b)); in create()
DBiDiTestGridLayoutCodeRtl.java45 currentView.addView(create(currentView.getContext())); in onViewCreated()
75 layout.addView(c, new GridLayout.LayoutParams(row1, col1a)); in create()
81 layout.addView(c, new GridLayout.LayoutParams(row2, col1b)); in create()
86 layout.addView(c, new GridLayout.LayoutParams(row3, col1c)); in create()
92 layout.addView(c, new GridLayout.LayoutParams(row3, col2)); in create()
97 layout.addView(c, new GridLayout.LayoutParams(row4, col1c)); in create()
103 layout.addView(c, new GridLayout.LayoutParams(row4, col2)); in create()
107 layout.addView(c, new GridLayout.LayoutParams(row5, col3)); in create()
112 layout.addView(c, new GridLayout.LayoutParams(row6, col4a)); in create()
117 layout.addView(c, new GridLayout.LayoutParams(row7, col4b)); in create()
/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/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()
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/packages/DocumentsUI/src/com/android/documentsui/
DTestActivity.java58 view.addView(mResult); in onCreate()
62 view.addView(multiple); in onCreate()
65 view.addView(localOnly); in onCreate()
85 view.addView(button); in onCreate()
104 view.addView(button); in onCreate()
123 view.addView(button); in onCreate()
144 view.addView(button); in onCreate()
161 view.addView(button); in onCreate()
178 view.addView(button); in onCreate()
197 view.addView(button); in onCreate()
[all …]
/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/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()
/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/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()

123456789