Home
last modified time | relevance | path

Searched refs:Builder (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/base/core/java/android/app/
DAlertDialog.java266 public static class Builder { class in AlertDialog
272 public Builder(Context context) { in Builder() method in AlertDialog.Builder
281 public Builder setTitle(int titleId) { in setTitle()
291 public Builder setTitle(CharSequence title) { in setTitle()
307 public Builder setCustomTitle(View customTitleView) { in setCustomTitle()
317 public Builder setMessage(int messageId) { in setMessage()
327 public Builder setMessage(CharSequence message) { in setMessage()
337 public Builder setIcon(int iconId) { in setIcon()
347 public Builder setIcon(Drawable icon) { in setIcon()
359 public Builder setPositiveButton(int textId, final OnClickListener listener) { in setPositiveButton()
[all …]
/frameworks/base/core/java/android/os/
DStrictMode.java228 public static final class Builder { class in StrictMode.ThreadPolicy
237 public Builder() { in Builder() method in StrictMode.ThreadPolicy.Builder
244 public Builder(ThreadPolicy policy) { in Builder() method in StrictMode.ThreadPolicy.Builder
254 public Builder detectAll() { in detectAll()
261 public Builder permitAll() { in permitAll()
268 public Builder detectNetwork() { in detectNetwork()
275 public Builder permitNetwork() { in permitNetwork()
282 public Builder detectDiskReads() { in detectDiskReads()
289 public Builder permitDiskReads() { in permitDiskReads()
296 public Builder detectDiskWrites() { in detectDiskWrites()
[all …]
/frameworks/base/libs/rs/java/Film/src/com/android/film/
DFilmRS.java99 ProgramStore.Builder b = new ProgramStore.Builder(mRS, null, null); in initPFS()
117 Sampler.Builder bs = new Sampler.Builder(mRS); in initPF()
124 ProgramFragment.Builder b = new ProgramFragment.Builder(mRS); in initPF()
128 b = new ProgramFragment.Builder(mRS); in initPF()
129 b.setTexture(ProgramFragment.Builder.EnvMode.REPLACE, in initPF()
130 ProgramFragment.Builder.Format.RGBA, 0); in initPF()
137 mLight = (new Light.Builder(mRS)).create(); in initPV()
140 ProgramVertex.Builder pvb = new ProgramVertex.Builder(mRS, null, null); in initPV()
145 pvb = new ProgramVertex.Builder(mRS, null, null); in initPV()
218 ScriptC.Builder sb = new ScriptC.Builder(mRS); in initRS()
/frameworks/base/voip/java/android/net/sip/
DSipProfile.java72 public static class Builder { class in SipProfile
91 public Builder(SipProfile profile) { in Builder() method in SipProfile.Builder
112 public Builder(String uriString) throws ParseException { in Builder() method in SipProfile.Builder
134 public Builder(String username, String serverDomain) in Builder() method in SipProfile.Builder
157 public Builder setAuthUserName(String name) { in setAuthUserName()
168 public Builder setProfileName(String name) { in setProfileName()
179 public Builder setPassword(String password) { in setPassword()
191 public Builder setPort(int port) throws IllegalArgumentException { in setPort()
207 public Builder setProtocol(String protocol) in setProtocol()
227 public Builder setOutboundProxy(String outboundProxy) { in setOutboundProxy()
[all …]
/frameworks/base/core/java/android/content/
DContentProviderOperation.java56 private ContentProviderOperation(Builder builder) { in ContentProviderOperation()
141 public static Builder newInsert(Uri uri) { in newInsert()
142 return new Builder(TYPE_INSERT, uri); in newInsert()
150 public static Builder newUpdate(Uri uri) { in newUpdate()
151 return new Builder(TYPE_UPDATE, uri); in newUpdate()
159 public static Builder newDelete(Uri uri) { in newDelete()
160 return new Builder(TYPE_DELETE, uri); in newDelete()
168 public static Builder newAssertQuery(Uri uri) { in newAssertQuery()
169 return new Builder(TYPE_ASSERT, uri); in newAssertQuery()
401 public static class Builder { class in ContentProviderOperation
[all …]
DContentUris.java52 public static Uri.Builder appendId(Uri.Builder builder, long id) { in appendId()
/frameworks/base/libs/rs/java/Fountain/src/com/android/fountain/
DFountainRS.java81 Element.Builder eb = new Element.Builder(mRS); in initRS()
88 SimpleMesh.Builder smb = new SimpleMesh.Builder(mRS); in initRS()
100 ScriptC.Builder sb = new ScriptC.Builder(mRS); in initRS()
/frameworks/base/core/java/android/net/
DUri.java356 public abstract Builder buildUpon(); in buildUpon()
728 public Builder buildUpon() { in buildUpon()
730 return new Builder() in buildUpon()
737 return new Builder() in buildUpon()
908 public Builder buildUpon() { in buildUpon()
909 return new Builder() in buildUpon()
1241 public Builder buildUpon() { in buildUpon()
1242 return new Builder() in buildUpon()
1265 public static final class Builder { class in Uri
1277 public Builder() {} in Builder() method in Uri.Builder
[all …]
/frameworks/base/graphics/java/android/renderscript/
DLight.java42 public static class Builder { class in Light
47 public Builder(RenderScript rs) { in Builder() method in Light.Builder
61 static synchronized Light internalCreate(RenderScript rs, Builder b) { in internalCreate()
DSimpleMesh.java65 public static class Builder { class in SimpleMesh
81 public Builder(RenderScript rs) { in Builder() method in SimpleMesh.Builder
131 Type.Builder tb = new Type.Builder(mRS, e); in newType()
136 static synchronized SimpleMesh internalCreate(RenderScript rs, Builder b) { in internalCreate()
314 Element.Builder b = new Element.Builder(mRS); in create()
343 Builder smb = new Builder(mRS); in create()
DProgramRaster.java73 public static class Builder { class in ProgramRaster
77 public Builder(RenderScript rs, Element in, Element out) { in Builder() method in ProgramRaster.Builder
95 static synchronized ProgramRaster internalCreate(RenderScript rs, Builder b) { in internalCreate()
DType.java113 Builder b = new Builder(rs, e); in createFromClass()
156 public static class Builder { class in Type
167 public Builder(RenderScript rs, Element e) { in Builder() method in Type.Builder
192 static synchronized Type internalCreate(RenderScript rs, Builder b) { in internalCreate()
DScriptC.java40 public static class Builder extends Script.Builder { class in ScriptC
46 public Builder(RenderScript rs) { in Builder() method in ScriptC.Builder
93 static synchronized ScriptC internalCreate(Builder b) { in internalCreate()
DSampler.java54 public static class Builder { class in Sampler
62 public Builder(RenderScript rs) { in Builder() method in Sampler.Builder
113 static synchronized Sampler internalCreate(RenderScript rs, Builder b) { in internalCreate()
DProgramStore.java85 public static class Builder { class in ProgramStore
101 public Builder(RenderScript rs, Element in, Element out) { in Builder() method in ProgramStore.Builder
141 static synchronized ProgramStore internalCreate(RenderScript rs, Builder b) { in internalCreate()
DProgramFragment.java65 public static class Builder { class in ProgramFragment
103 public Builder(RenderScript rs) { in Builder() method in ProgramFragment.Builder
DScript.java79 public static class Builder { class in Script
88 Builder(RenderScript rs) { in Builder() method in Script.Builder
DProgramVertex.java42 public static class Builder { class in ProgramVertex
46 public Builder(RenderScript rs, Element in, Element out) { in Builder() method in ProgramVertex.Builder
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java41 private final static Class<ContentProviderOperation.Builder> CLASS_BUILDER =
42 ContentProviderOperation.Builder.class;
300 ContentProviderOperation.Builder builder = ContentProviderOperation.newInsert( in testParcelingOperation()
332 ContentProviderOperation.Builder builder = ContentProviderOperation.newUpdate( in testParcelingOperation()
356 ContentProviderOperation.Builder builder = ContentProviderOperation.newDelete( in testParcelingOperation()
377 ContentProviderOperation.Builder builder) in newOperationFromBuilder()
386 ContentProviderOperation.Builder builder, HashMap<Integer, Integer> selArgsBackRef) in builderSetSelectionArgsBackReferences()
395 ContentProviderOperation.Builder builder, ContentValues valuesBackReferences) in builderSetValuesBackReferences()
404 ContentProviderOperation.Builder builder, String selection) in builderSetSelection()
413 ContentProviderOperation.Builder builder, String[] selArgs) in builderSetSelectionArgs()
[all …]
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java32 Uri.Builder builder = new Uri.Builder(); in testToStringWithPathOnly()
44 parcelAndUnparcel(new Uri.Builder() in testParcelling()
137 Uri b = new Uri.Builder() in testEqualsAndHashCode()
146 Uri c = new Uri.Builder() in testEqualsAndHashCode()
200 Uri a = new Uri.Builder() in testBuildUponEncodedOpaqueUri()
349 uri = new Uri.Builder() in testOpaqueUri()
448 Uri built = new Uri.Builder() in testHierarchical()
462 built = new Uri.Builder() in testHierarchical()
521 parcelAndUnparcel(new Uri.Builder() in testParcellingWithoutFragment()
/frameworks/base/docs/html/guide/topics/ui/
Ddialogs.jd192 <p>To create an AlertDialog, use the {@link android.app.AlertDialog.Builder} subclass.
193 Get a Builder with {@link android.app.AlertDialog.Builder#AlertDialog.Builder(Context)} and
195 AlertDialog properties. After you're done with the Builder, retrieve the
196 AlertDialog object with {@link android.app.AlertDialog.Builder#create()}.</p>
199 AlertDialog.Builder class. If you use any of the following sample code inside your
212 AlertDialog.Builder builder = new AlertDialog.Builder(this);
229 {@link android.app.AlertDialog.Builder#setMessage(CharSequence)}. Then, begin
232 with {@link android.app.AlertDialog.Builder#setCancelable(boolean)}. For each button,
234 {@link android.app.AlertDialog.Builder#setPositiveButton(CharSequence,DialogInterface.OnClickListen…
255 AlertDialog.Builder builder = new AlertDialog.Builder(this);
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java56 final AlertDialog.Builder builder = new AlertDialog.Builder(menu.getContext()) in show()
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
DSipPhoneFactory.java42 SipProfile profile = new SipProfile.Builder(sipUri).build(); in makePhone()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DFileList.java127 AlertDialog.Builder builder = new AlertDialog.Builder(this); in onListItemClick()
/frameworks/base/core/java/android/preference/
DListPreference.java20 import android.app.AlertDialog.Builder;
182 protected void onPrepareDialogBuilder(Builder builder) { in onPrepareDialogBuilder()

123