Searched refs:addView (Results 1 - 25 of 510) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/view/
H A DViewManager.java34 public void addView(View view, ViewGroup.LayoutParams params); method in interface:ViewManager
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DMockView.java65 addView(mView);
71 public void addView(View child) { method in class:MockView
73 super.addView(child);
78 public void addView(View child, int index) { method in class:MockView
80 super.addView(child, index);
85 public void addView(View child, int width, int height) { method in class:MockView
87 super.addView(child, width, height);
92 public void addView(View child, ViewGroup.LayoutParams params) { method in class:MockView
94 super.addView(child, params);
99 public void addView(Vie method in class:MockView
[all...]
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
H A DInputTypeActivity.java55 mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL,
59 mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|EditorInfo.TYPE_TEXT_FLAG_CAP_CHARACTERS,
63 mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|EditorInfo.TYPE_TEXT_FLAG_CAP_WORDS,
67 mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE,
71 mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|EditorInfo.TYPE_TEXT_FLAG_CAP_SENTENCES,
75 mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|EditorInfo.TYPE_TEXT_FLAG_AUTO_COMPLETE,
79 mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|EditorInfo.TYPE_TEXT_FLAG_AUTO_CORRECT,
83 mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_URI,
87 mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_EMAIL_ADDRESS,
91 mLayout.addView(buildEntryVie
[all...]
H A DManyEditTextActivityScrollResize.java50 layout.addView(editText);
53 ((ScrollView) mRootView).addView(layout);
H A DDialogActivity.java73 mLayout.addView(mEditText);
74 mLayout.addView(mButton1);
75 mLayout.addView(mButton2);
104 layout.addView(editText);
/frameworks/base/core/tests/coretests/src/android/view/
H A DCreateViewTest.java47 vert.addView(new CreateViewTest.ViewOne(mContext),
56 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0));
59 vert.addView(two, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0));
62 vert.addView(three, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0));
65 vert.addView(four, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0));
68 vert.addView(five, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0));
71 vert.addView(six, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0));
86 vert.addView(text, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0));
95 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0));
99 vert.addView(tw
[all...]
H A DViewGroupChildrenTest.java63 mGroup.addView(view);
76 mGroup.addView(view);
80 mGroup.addView(view, 0);
94 mGroup.addView(view);
98 mGroup.addView(view, 12);
112 mGroup.addView(view);
123 mGroup.addView(view);
144 mGroup.addView(views[i]);
165 mGroup.addView(views[i]);
186 mGroup.addView(view
[all...]
H A DMutateDrawable.java42 layout.addView(ok);
43 layout.addView(cancel);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DMultiLayersActivity.java38 grid.addView(row1, new LinearLayout.LayoutParams(
43 grid.addView(row2, new LinearLayout.LayoutParams(
46 row1.addView(new LayerView(this, 0xffff0000), new LinearLayout.LayoutParams(
48 row1.addView(new LayerView(this, 0x0f00ff00), new LinearLayout.LayoutParams(
51 row2.addView(new LayerView(this, 0x0f0000ff), new LinearLayout.LayoutParams(
53 row2.addView(new LayerView(this, 0xffffff00), new LinearLayout.LayoutParams(
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DHorizontalFocusSearch.java68 mLayout.addView(mLeftTall);
74 mLayout.addView(mRightTall);
124 ll.addView(filler);
125 ll.addView(button);
126 root.addView(ll);
128 ll.addView(button);
129 ll.addView(filler);
130 root.addView(ll);
H A DVerticalFocusSearch.java75 mLayout.addView(mTopWide);
82 mLayout.addView(mBottomWide);
140 ll.addView(filler);
141 ll.addView(button);
142 root.addView(ll);
144 ll.addView(button);
145 ll.addView(filler);
146 root.addView(ll);
H A DAdjacentVerticalRectLists.java78 mLayout.addView(mLeftColumn);
83 mLayout.addView(mMiddleColumn);
88 mLayout.addView(mRightColumn);
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestGridLayoutCodeLtr.java59 currentView.addView(create(currentView.getContext()));
89 layout.addView(c, new GridLayout.LayoutParams(row1, col1a));
95 layout.addView(c, new GridLayout.LayoutParams(row2, col1b));
100 layout.addView(c, new GridLayout.LayoutParams(row3, col1c));
106 layout.addView(c, new GridLayout.LayoutParams(row3, col2));
111 layout.addView(c, new GridLayout.LayoutParams(row4, col1c));
117 layout.addView(c, new GridLayout.LayoutParams(row4, col2));
121 layout.addView(c, new GridLayout.LayoutParams(row5, col3));
126 layout.addView(c, new GridLayout.LayoutParams(row6, col4a));
131 layout.addView(
[all...]
H A DBiDiTestGridLayoutCodeRtl.java59 currentView.addView(create(currentView.getContext()));
89 layout.addView(c, new GridLayout.LayoutParams(row1, col1a));
95 layout.addView(c, new GridLayout.LayoutParams(row2, col1b));
100 layout.addView(c, new GridLayout.LayoutParams(row3, col1c));
106 layout.addView(c, new GridLayout.LayoutParams(row3, col2));
111 layout.addView(c, new GridLayout.LayoutParams(row4, col1c));
117 layout.addView(c, new GridLayout.LayoutParams(row4, col2));
121 layout.addView(c, new GridLayout.LayoutParams(row5, col3));
126 layout.addView(c, new GridLayout.LayoutParams(row6, col4a));
131 layout.addView(
[all...]
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
H A DScaleDrawableTests.java48 scrollView.addView(container);
59 container.addView(t);
67 container.addView(png_view);
73 container.addView(view);
79 container.addView(avd_view);
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/view/
H A DViewGroupTest.kt39 viewGroup.addView(view1)
41 viewGroup.addView(view2)
57 viewGroup.addView(view1)
82 viewGroup.addView(view1)
84 viewGroup.addView(view2)
99 viewGroup.addView(View(context))
102 viewGroup.addView(View(context))
111 viewGroup.addView(View(context))
117 viewGroup.addView(View(context))
127 viewGroup.addView(view
[all...]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DNearestTouchFrameTest.java62 mNearestTouchFrame.addView(left);
63 mNearestTouchFrame.addView(right);
79 mNearestTouchFrame.addView(left);
80 mNearestTouchFrame.addView(right);
98 mNearestTouchFrame.addView(left);
99 mNearestTouchFrame.addView(right);
115 mNearestTouchFrame.addView(left);
116 mNearestTouchFrame.addView(right);
131 mNearestTouchFrame.addView(left);
132 mNearestTouchFrame.addView(righ
[all...]
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
H A DElementLayoutActivity.java53 mLayout.addView(mIndicator);
98 mLayout.addView(textView);
104 mLayout.addView(button);
110 mLayout.addView(button);
116 mLayout.addView(button);
122 mLayout.addView(chronometer);
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DControlBarTest.java47 bar.addView(v1, 100, 100);
49 bar.addView(v2, 100, 100);
51 bar.addView(v3, 100, 100);
68 rootView.addView(bar, 800, 100);
70 rootView.addView(barSibling, 100, 100);
72 bar.addView(v1, 100, 100);
74 bar.addView(v2, 100, 100);
76 bar.addView(v3, 100, 100);
110 rootView.addView(bar, 800, 100);
112 rootView.addView(barSiblin
[all...]
/frameworks/base/core/java/android/widget/
H A DTextSwitcher.java61 public void addView(View child, int index, ViewGroup.LayoutParams params) { method in class:TextSwitcher
67 super.addView(child, index, params);
H A DViewSwitcher.java62 public void addView(View child, int index, ViewGroup.LayoutParams params) { method in class:ViewSwitcher
66 super.addView(child, index, params);
90 addView(child, lp);
97 * {@link #addView(android.view.View, int, android.view.ViewGroup.LayoutParams)}
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQuickTileLayout.java22 public void addView(View child, int index, ViewGroup.LayoutParams params) { method in class:QuickTileLayout
26 super.addView(child, index, params);
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/view/
H A DGridLayout3.java81 p.addView(c, new LayoutParams(titleRow, centerInAllColumns));
87 p.addView(c, new LayoutParams(introRow, leftAlignInAllColumns));
92 p.addView(c, new LayoutParams(emailRow, labelColumn));
98 p.addView(c, new LayoutParams(emailRow, fieldColumn));
103 p.addView(c, new LayoutParams(passwordRow, labelColumn));
109 p.addView(c, new LayoutParams(passwordRow, fieldColumn));
114 p.addView(c, new LayoutParams(button1Row, defineLastColumn));
119 p.addView(c, new LayoutParams(button2Row, fillLastColumn));
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/view/
H A DGridLayout3.java81 p.addView(c, new LayoutParams(titleRow, centerInAllColumns));
87 p.addView(c, new LayoutParams(introRow, leftAlignInAllColumns));
92 p.addView(c, new LayoutParams(emailRow, labelColumn));
98 p.addView(c, new LayoutParams(emailRow, fieldColumn));
103 p.addView(c, new LayoutParams(passwordRow, labelColumn));
109 p.addView(c, new LayoutParams(passwordRow, fieldColumn));
114 p.addView(c, new LayoutParams(button1Row, defineLastColumn));
119 p.addView(c, new LayoutParams(button2Row, fillLastColumn));
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListItemISVAndButton.java52 ll.addView(isv);
62 ll.addView(topButton);
69 ll.addView(filler);

Completed in 645 milliseconds

1234567891011>>