Home
last modified time | relevance | path

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

1234567

/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/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/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/SystemUI/src/com/android/systemui/statusbar/phone/
DIconMerger.java47 super.addView(mMoreView, 0, new LinearLayout.LayoutParams(mIconSize, mIconSize)); in IconMerger()
50 public void addView(StatusBarIconView v, int index, LinearLayout.LayoutParams p) { in addView() method in IconMerger
51 super.addView(v, index+1, p); in addView()
54 public void addView(StatusBarIconView v, int index) { in addView() method in IconMerger
55 super.addView(v, index+1, new LinearLayout.LayoutParams(mIconSize, mIconSize)); in addView()
/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()
85 addView(child, lp); in obtainView()
DTableLayout.java393 public void addView(View child) { in addView() method in TableLayout
394 super.addView(child); in addView()
402 public void addView(View child, int index) { in addView() method in TableLayout
403 super.addView(child, index); in addView()
411 public void addView(View child, ViewGroup.LayoutParams params) { in addView() method in TableLayout
412 super.addView(child, params); in addView()
420 public void addView(View child, int index, ViewGroup.LayoutParams params) { in addView() method in TableLayout
421 super.addView(child, index, params); in addView()
DTextSwitcher.java61 public void addView(View child, int index, ViewGroup.LayoutParams params) { in addView() method in TextSwitcher
67 super.addView(child, index, params); in addView()
/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/tests/HwAccelerationTest/src/com/android/test/hwui/
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()
DTextureViewActivity.java58 mContent.addView(mTextureView); in onCreate()
64 mContent.addView(mTextureView, new FrameLayout.LayoutParams( in onCreate()
67 mContent.addView(button, new FrameLayout.LayoutParams( in onCreate()
DTextGammaActivity.java41 layout.addView(gamma, new LinearLayout.LayoutParams( in onCreate()
58 layout.addView(image, new LinearLayout.LayoutParams( in onCreate()
96 layout.addView(gamma, lp); in onCreate()
/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/view/
DWindowManagerImpl.java117 public void addView(View view, android.view.ViewGroup.LayoutParams params) { in addView() method in WindowManagerImpl.CompatModeWrapper
118 mWindowManager.addView(view, params, mCompatibilityInfo); in addView()
183 public void addView(View view) { in addView() method in WindowManagerImpl
184 addView(view, new WindowManager.LayoutParams( in addView()
188 public void addView(View view, ViewGroup.LayoutParams params) { in addView() method in WindowManagerImpl
189 addView(view, params, null, false); in addView()
192 public void addView(View view, ViewGroup.LayoutParams params, CompatibilityInfoHolder cih) { in addView() method in WindowManagerImpl
193 addView(view, params, cih, false); in addView()
196 private void addView(View view, ViewGroup.LayoutParams params, in addView() method in WindowManagerImpl
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java59 container.addView(iv, new LinearLayout.LayoutParams(w, h)); in addThumbnail()
111 scroller.addView(view, new ScrollView.LayoutParams(ScrollView.LayoutParams.MATCH_PARENT, in scrollWrap()
128 top.addView(tv, new LinearLayout.LayoutParams( in buildUi()
137 top.addView(item, new LinearLayout.LayoutParams( in buildUi()

1234567