Home
last modified time | relevance | path

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

123456

/development/samples/ApiDemos/src/com/example/android/apis/inputmethod/
DHintLocales.java75 layout.addView(createEditTextWithImeHintLocales(null)); in onCreate()
80 layout.addView(createEditTextWithImeHintLocales(LocaleList.forLanguageTags("en-US"))); in onCreate()
83 layout.addView(createEditTextWithImeHintLocales( in onCreate()
87 layout.addView(createEditTextWithImeHintLocales(LocaleList.forLanguageTags("fil-ph"))); in onCreate()
90 layout.addView(createEditTextWithImeHintLocales(LocaleList.forLanguageTags("fr"))); in onCreate()
91 layout.addView(createEditTextWithImeHintLocales(LocaleList.forLanguageTags("zh_CN"))); in onCreate()
92 layout.addView(createEditTextWithImeHintLocales(LocaleList.forLanguageTags("ja"))); in onCreate()
96 layout.addView(createEditTextWithImeHintLocales( in onCreate()
DShowInputMethodAndSubtypeEnabler.java59 layout.addView(button); in onCreate()
72 layout.addView(button); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGridLayout3.java68 p.addView(c, new LayoutParams(titleRow, centerInAllColumns)); in create()
74 p.addView(c, new LayoutParams(introRow, leftAlignInAllColumns)); in create()
79 p.addView(c, new LayoutParams(emailRow, labelColumn)); in create()
85 p.addView(c, new LayoutParams(emailRow, fieldColumn)); in create()
90 p.addView(c, new LayoutParams(passwordRow, labelColumn)); in create()
96 p.addView(c, new LayoutParams(passwordRow, fieldColumn)); in create()
101 p.addView(c, new LayoutParams(button1Row, defineLastColumn)); in create()
106 p.addView(c, new LayoutParams(button2Row, fillLastColumn)); in create()
DInternalSelectionFocus.java58 layout.addView(leftColumn); in onCreate()
63 layout.addView(middleColumn); in onCreate()
68 layout.addView(rightColumn); in onCreate()
DTableLayout8.java66 row.addView(label, new TableRow.LayoutParams(1)); in appendRow()
67 row.addView(shortcut, new TableRow.LayoutParams()); in appendRow()
69 table.addView(row, new TableLayout.LayoutParams()); in appendRow()
DTableLayout7.java75 row.addView(label, new TableRow.LayoutParams(1)); in appendRow()
76 row.addView(shortcut, new TableRow.LayoutParams()); in appendRow()
78 table.addView(row, new TableLayout.LayoutParams()); in appendRow()
DInternalSelectionScroll.java52 sv.addView(ll); in onCreate()
60 ll.addView(isv); in onCreate()
DScrollView2.java45 layout.addView(textView, p); in onCreate()
49 layout.addView(buttonView, p); in onCreate()
DList4.java128 addView(mTitle, new LinearLayout.LayoutParams( in SpeechView()
133 addView(mDialogue, new LinearLayout.LayoutParams( in SpeechView()
DList6.java377addView(mTitle, new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT… in SpeechView()
381addView(mDialogue, new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONT… in SpeechView()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPictureLayout.java41 public void addView(View child) { in addView() method in PictureLayout
46 super.addView(child); in addView()
50 public void addView(View child, int index) { in addView() method in PictureLayout
55 super.addView(child, index); in addView()
59 public void addView(View child, LayoutParams params) { in addView() method in PictureLayout
64 super.addView(child, params); in addView()
68 public void addView(View child, int index, LayoutParams params) { in addView() method in PictureLayout
73 super.addView(child, index, params); in addView()
DDensityActivity.java117 scroller.addView(view, new ScrollView.LayoutParams(ScrollView.LayoutParams.MATCH_PARENT, in scrollWrap()
125 root.addView(label, new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, in addLabelToRoot()
130 root.addView(layout, new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, in addChildToRoot()
146 layout.addView(view); in addBitmapDrawable()
157 layout.addView(view); in addResourceDrawable()
168 layout.addView(view); in addCanvasBitmap()
181 layout.addView(view); in addNinePatchResourceDrawable()
DGraphicsActivity.java37 vg.addView(view); in setContentView()
/development/samples/ThemedNavBarKeyboard/src/com/example/android/themednavbarkeyboard/
DThemedNavBarKeyboard.java183 addView(textView); in KeyboardLayoutView()
192 addView(createButton("Floating Mode", () -> { in KeyboardLayoutView()
196 addView(createButton("Extended Dark Navigation Bar", () -> { in KeyboardLayoutView()
203 addView(createButton("Extended Light Navigation Bar", () -> { in KeyboardLayoutView()
210 addView(createButton("Separate Dark Navigation Bar", () -> { in KeyboardLayoutView()
214 addView(createButton("Separate Light Navigation Bar", () -> { in KeyboardLayoutView()
220 addView(new View(getContext()), 0, 40); in KeyboardLayoutView()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DDocumentsSample.java68 view.addView(mResult); in onCreate()
72 view.addView(multiple); in onCreate()
75 view.addView(localOnly); in onCreate()
95 view.addView(button); in onCreate()
114 view.addView(button); in onCreate()
133 view.addView(button); in onCreate()
154 view.addView(button); in onCreate()
171 view.addView(button); in onCreate()
188 view.addView(button); in onCreate()
207 view.addView(button); in onCreate()
[all …]
DChangedContacts.java103 main.addView(mChangeButton); in onCreate()
104 main.addView(mDeleteButton); in onCreate()
108 main.addView(mDisplayView); in onCreate()
113 main.addView(mList); in onCreate()
286 item.addView(buildText(context)); in newView()
287 item.addView(buildText(context)); in newView()
316 item.addView(buildText(context)); in newView()
317 item.addView(buildText(context)); in newView()
318 item.addView(buildText(context)); in newView()
/development/samples/ApiDemos/src/com/example/android/apis/media/
DAudioFxDemo.java67 mLinearLayout.addView(mStatusTextView); in onCreate()
103 mLinearLayout.addView(eqTextView); in setupEqualizerFxAndUI()
119 mLinearLayout.addView(freqTextView); in setupEqualizerFxAndUI()
155 row.addView(minDbTextView); in setupEqualizerFxAndUI()
156 row.addView(bar); in setupEqualizerFxAndUI()
157 row.addView(maxDbTextView); in setupEqualizerFxAndUI()
159 mLinearLayout.addView(row); in setupEqualizerFxAndUI()
170 mLinearLayout.addView(mVisualizerView); in setupVisualizerFxAndUI()
/development/samples/browseable/CommitContentSampleApp/src/com.example.android.commitcontent.app/
DMainActivity.java67 layout.addView(createEditTextWithContentMimeTypes(null)); in onCreate()
71 layout.addView(createEditTextWithContentMimeTypes(new String[]{"image/gif"})); in onCreate()
75 layout.addView(createEditTextWithContentMimeTypes(new String[]{"image/png"})); in onCreate()
79 layout.addView(createEditTextWithContentMimeTypes(new String[]{"image/jpeg"})); in onCreate()
83 layout.addView(createEditTextWithContentMimeTypes(new String[]{"image/webp"})); in onCreate()
88 layout.addView(createEditTextWithContentMimeTypes( in onCreate()
/development/apps/Development/src/com/android/development/
DDetails.java76 mScrollView.addView(mLinearLayout, new ViewGroup.LayoutParams( in addDataViews()
90 mLinearLayout.addView(label, lazy()); in addDataViews()
91 mLinearLayout.addView(contents, lazy()); in addDataViews()
134 mLinearLayout.addView(error, 0, lazy());
DPackageSummary.java181 activities.addView(view, lp); in onCreate()
196 receivers.addView(view, lp); in onCreate()
209 services.addView(view, lp); in onCreate()
222 providers.addView(view, lp); in onCreate()
235 instrumentation.addView(view, lp); in onCreate()
/development/samples/devbytes/ui/RequestDuringLayout/src/com/example/android/requestduringlayout/
DRequestDuringLayout.java44 Button addViewButton = (Button) findViewById(R.id.addView); in onCreate()
126 addView(button); in addButton()
/development/samples/devbytes/animation/LayoutTransChanging/src/com/example/android/layouttranschanging/
DLayoutTransChanging.java53 container.addView(new ColoredView(this)); in onCreate()
60 container.addView(new ColoredView(context), 1); in onCreate()
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DAnimatedNotificationDisplayActivity.java65 ((FrameLayout) findViewById(R.id.container)).addView(zoomView, 0); in onCreate()
115 addView(imageView); in ImageZoomView()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DLayoutAnimationsByDefault.java56 gridContainer.addView(newButton, Math.min(1, gridContainer.getChildCount())); in onCreate()
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/
DAttractionsGridPagerAdapter.java137 container.addView(view); in instantiateItem()
149 container.addView(cardScrollView); in instantiateItem()
162 container.addView(navActionPage); in instantiateItem()
175 container.addView(openActionPage); in instantiateItem()

123456