Home
last modified time | relevance | path

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

1234567

/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/Support7Demos/src/com/example/android/supportv7/view/
DGridLayout3.java79 p.addView(c, new LayoutParams(titleRow, centerInAllColumns)); in create()
85 p.addView(c, new LayoutParams(introRow, leftAlignInAllColumns)); in create()
90 p.addView(c, new LayoutParams(emailRow, labelColumn)); in create()
96 p.addView(c, new LayoutParams(emailRow, fieldColumn)); in create()
101 p.addView(c, new LayoutParams(passwordRow, labelColumn)); in create()
107 p.addView(c, new LayoutParams(passwordRow, fieldColumn)); in create()
112 p.addView(c, new LayoutParams(button1Row, defineLastColumn)); in create()
117 p.addView(c, new LayoutParams(button2Row, fillLastColumn)); in create()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DDocumentsSample.java65 view.addView(mResult); in onCreate()
69 view.addView(multiple); in onCreate()
72 view.addView(localOnly); in onCreate()
92 view.addView(button); in onCreate()
111 view.addView(button); in onCreate()
130 view.addView(button); in onCreate()
151 view.addView(button); in onCreate()
168 view.addView(button); in onCreate()
185 view.addView(button); in onCreate()
204 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/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/SupportVectorDrawable/animated/src/com/example/android/support/vectordrawable/app/
DAnimatedButtonBackground.java50 scrollView.addView(container); in onCreate()
63 container.addView(t); in onCreate()
91 container.addView(button); in addDrawableButtons()
/development/samples/ApiDemos/src/com/example/android/apis/preference/
DLaunchingPreferences.java62 layout.addView(launchPreferences, new LayoutParams(LayoutParams.MATCH_PARENT, in onCreate()
66 layout.addView(mCounterText, new LayoutParams(LayoutParams.MATCH_PARENT, in onCreate()
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/
DRecyclerViewActivity.java126 addView(v, i); in onLayoutChildren()
164 addView(v, 0); in scrollVerticallyBy()
185 addView(v); in scrollVerticallyBy()
217 addView(v, 0); in onFocusSearchFailed()
232 addView(v); in onFocusSearchFailed()
/development/samples/SupportVectorDrawable/static/src/com/example/android/support/vectordrawable/app/
DSimpleButtonBackground.java83 scrollView.addView(container); in onCreate()
117 container.addView(t); in onCreate()
134 container.addView(button); in addDrawableButtons()
/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/devbytes/ui/RequestDuringLayout/src/com/example/android/requestduringlayout/
DRequestDuringLayout.java44 Button addViewButton = (Button) findViewById(R.id.addView); in onCreate()
126 addView(button); in addButton()

1234567