Searched refs:Builder (Results 1 - 25 of 357) sorted by relevance

1234567891011>>

/frameworks/support/v4/honeycomb/android/support/v4/app/
H A DNotificationBuilderWithBuilderAccessor.java23 * an accessor for {@link Notification.Builder}. {@link Notification.Builder}
27 public Notification.Builder getBuilder();
/frameworks/base/rs/java/android/renderscript/
H A DProgramRaster.java85 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs);
97 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs);
109 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs);
119 public static class Builder { class in class:ProgramRaster
127 public Builder(RenderScript rs) { method in class:ProgramRaster.Builder
136 public Builder setPointSpriteEnabled(boolean enable) {
144 public Builder setCullMod
[all...]
H A DSampler.java101 Builder b = new Builder(rs);
121 Builder b = new Builder(rs);
141 Builder b = new Builder(rs);
161 Builder b = new Builder(rs);
181 Builder b = new Builder(r
275 public static class Builder { class in class:Sampler
284 public Builder(RenderScript rs) { method in class:Sampler.Builder
[all...]
/frameworks/ex/common/java/com/android/common/content/
H A DProjectionMap.java28 public static class Builder { class in class:ProjectionMap
32 public Builder add(String column) {
37 public Builder add(String alias, String expression) {
42 public Builder addAll(String[] columns) {
49 public Builder addAll(ProjectionMap map) {
68 public static Builder builder() {
69 return new Builder();
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DVertexShader.java33 public static class Builder { class in class:VertexShader
35 ProgramVertex.Builder mBuilder;
37 public Builder(RenderScriptGL rs) { method in class:VertexShader.Builder
39 mBuilder = new ProgramVertex.Builder(rs);
42 public Builder setShader(Resources resources, int resourceID) {
47 public Builder setShader(String code) {
52 public Builder setObjectConst(Type type) {
57 public Builder setShaderConst(Type type) {
62 public Builder addInput(Element e) {
H A DFragmentShader.java26 import android.renderscript.ProgramFragment.Builder;
36 public static class Builder { class in class:FragmentShader
39 ProgramFragment.Builder mBuilder;
41 public Builder(RenderScriptGL rs) { method in class:FragmentShader.Builder
43 mBuilder = new ProgramFragment.Builder(rs);
46 public Builder setShader(Resources resources, int resourceID) {
51 public Builder setShader(String code) {
56 public Builder setObjectConst(Type type) {
61 public Builder setShaderConst(Type type) {
66 public Builder addShaderTextur
[all...]
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DEngineParameters.java100 public static class Builder { class in class:EngineParameters
118 public Builder maxPlayBufferCount(int maxPlayBufferCount) {
123 public Builder windowDuration(int windowDuration) {
128 public Builder windowOverlapDuration(int windowOverlapDuration) {
133 public Builder initialRate(float initialRate) {
138 public Builder decodeBufferInitialSize(int decodeBufferInitialSize) {
143 public Builder decodeBufferMaxSize(int decodeBufferMaxSize) {
148 public Builder startPositionMillis(int startPositionMillis) {
153 public Builder audioStreamType(int audioStreamType) {
/frameworks/base/keystore/java/android/security/
H A DKeyStoreParameter.java67 * Builder class for {@link KeyStoreParameter} objects.
78 * KeyStoreParameter params = new KeyStoreParameter.Builder(mContext)
83 public final static class Builder { class in class:KeyStoreParameter
87 * Creates a new instance of the {@code Builder} with the given
92 public Builder(Context context) { method in class:KeyStoreParameter.Builder
106 public Builder setEncryptionRequired(boolean required) {
/frameworks/base/core/java/android/content/
H A DContentUris.java97 public static Uri.Builder appendId(Uri.Builder builder, long id) {
/frameworks/base/core/tests/benchmarks/src/android/os/
H A DStrictModeBenchmark.java25 private ThreadPolicy mOff = new ThreadPolicy.Builder().build();
26 private ThreadPolicy mOn = new ThreadPolicy.Builder().detectAll().build();
/frameworks/support/v4/api21/android/support/v4/media/
H A DMediaMetadataCompatApi21.java46 public static class Builder { class in class:MediaMetadataCompatApi21
48 return new MediaMetadata.Builder();
52 ((MediaMetadata.Builder)builderObj).putBitmap(key, value);
56 ((MediaMetadata.Builder)builderObj).putLong(key, value);
60 ((MediaMetadata.Builder)builderObj).putRating(key, (Rating)ratingObj);
64 ((MediaMetadata.Builder) builderObj).putText(key, value);
68 ((MediaMetadata.Builder) builderObj).putString(key, value);
72 return ((MediaMetadata.Builder)builderObj).build();
H A DMediaDescriptionCompatApi21.java62 public static class Builder { class in class:MediaDescriptionCompatApi21
64 return new MediaDescription.Builder();
69 ((MediaDescription.Builder)builderObj).setMediaId(mediaId);
73 ((MediaDescription.Builder)builderObj).setTitle(title);
77 ((MediaDescription.Builder)builderObj).setSubtitle(subtitle);
81 ((MediaDescription.Builder)builderObj).setDescription(description);
85 ((MediaDescription.Builder)builderObj).setIconBitmap(iconBitmap);
89 ((MediaDescription.Builder)builderObj).setIconUri(iconUri);
93 ((MediaDescription.Builder)builderObj).setExtras(extras);
97 return ((MediaDescription.Builder) builderOb
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaSessionStatus.java42 * This object is immutable once created using a {@link Builder} instance.
173 * Builder for {@link MediaSessionStatus media session status objects}.
175 public static final class Builder { class in class:MediaSessionStatus
184 public Builder(int sessionState) { method in class:MediaSessionStatus.Builder
194 public Builder(MediaSessionStatus status) { method in class:MediaSessionStatus.Builder
206 public Builder setTimestamp(long elapsedRealtimeTimestamp) {
214 public Builder setSessionState(int sessionState) {
222 public Builder setQueuePaused(boolean queuePaused) {
232 public Builder setExtras(Bundle extras) {
H A DMediaRouteDescriptor.java35 * This object is immutable once created using a {@link Builder} instance.
256 * Builder for {@link MediaRouteDescriptor media route descriptors}.
258 public static final class Builder { class in class:MediaRouteDescriptor
268 public Builder(String id, String name) { method in class:MediaRouteDescriptor.Builder
278 public Builder(MediaRouteDescriptor descriptor) { method in class:MediaRouteDescriptor.Builder
299 public Builder setId(String id) {
311 public Builder setName(String name) {
323 public Builder setDescription(String description) {
335 public Builder setEnabled(boolean enabled) {
344 public Builder setConnectin
[all...]
H A DMediaItemStatus.java57 * This object is immutable once created using a {@link Builder} instance.
311 * Builder for {@link MediaItemStatus media item status objects}.
313 public static final class Builder { class in class:MediaItemStatus
322 public Builder(int playbackState) { method in class:MediaItemStatus.Builder
332 public Builder(MediaItemStatus status) { method in class:MediaItemStatus.Builder
344 public Builder setTimestamp(long elapsedRealtimeTimestamp) {
352 public Builder setPlaybackState(int playbackState) {
361 public Builder setContentPosition(long positionMilliseconds) {
370 public Builder setContentDuration(long durationMilliseconds) {
380 public Builder setExtra
[all...]
/frameworks/base/core/java/android/app/
H A DAlertDialog.java190 * @see Builder#setCustomTitle(View)
371 public static class Builder { class in class:AlertDialog
378 public Builder(Context context) { method in class:AlertDialog.Builder
393 public Builder(Context context, int theme) { method in class:AlertDialog.Builder
400 * Returns a {@link Context} with the appropriate theme for dialogs created by this Builder.
414 * @return This Builder object to allow for chaining of calls to set methods
416 public Builder setTitle(int titleId) {
424 * @return This Builder object to allow for chaining of calls to set methods
426 public Builder setTitle(CharSequence title) {
440 * @return This Builder objec
[all...]
/frameworks/base/core/tests/inputmethodtests/src/android/os/
H A DCursorAnchorInfoTest.java25 import android.view.inputmethod.CursorAnchorInfo.Builder;
93 final Builder builder = new Builder();
234 assertEquals(new Builder().build(), new Builder().build());
237 new Builder().setSelectionRange(SELECTION_START1, SELECTION_END1).build(),
238 new Builder().setSelectionRange(SELECTION_START1, SELECTION_END1).build());
240 new Builder().setSelectionRange(SELECTION_START1, SELECTION_END1).build(),
241 new Builder().setSelectionRange(SELECTION_START1, SELECTION_END2).build());
243 new Builder()
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkRequest.java25 * Defines a request for a network, made through {@link NetworkRequest.Builder} and used
73 * Builder used to create {@link NetworkRequest} objects. Specify the Network features
76 public static class Builder { class in class:NetworkRequest
80 * Default constructor for Builder.
82 public Builder() {} method in class:NetworkRequest.Builder
103 public Builder addCapability(int capability) {
114 public Builder removeCapability(int capability) {
129 public Builder addTransportType(int transportType) {
140 public Builder removeTransportType(int transportType) {
148 public Builder setLinkUpstreamBandwidthKbp
[all...]
/frameworks/support/v4/java/android/support/v4/media/
H A DMediaDescriptionCompat.java28 * created using the Builder or retrieved from existing metadata using
189 Object bob = MediaDescriptionCompatApi21.Builder.newInstance();
190 MediaDescriptionCompatApi21.Builder.setMediaId(bob, mMediaId);
191 MediaDescriptionCompatApi21.Builder.setTitle(bob, mTitle);
192 MediaDescriptionCompatApi21.Builder.setSubtitle(bob, mSubtitle);
193 MediaDescriptionCompatApi21.Builder.setDescription(bob, mDescription);
194 MediaDescriptionCompatApi21.Builder.setIconBitmap(bob, mIcon);
195 MediaDescriptionCompatApi21.Builder.setIconUri(bob, mIconUri);
196 MediaDescriptionCompatApi21.Builder.setExtras(bob, mExtras);
197 mDescriptionObj = MediaDescriptionCompatApi21.Builder
253 public static final class Builder { class in class:MediaDescriptionCompat
265 public Builder() { method in class:MediaDescriptionCompat.Builder
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DSampler.java114 Builder b = new Builder(rs);
134 Builder b = new Builder(rs);
154 Builder b = new Builder(rs);
174 Builder b = new Builder(rs);
194 Builder b = new Builder(r
268 public static class Builder { class in class:Sampler
277 public Builder(RenderScript rs) { method in class:Sampler.Builder
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvStreamConfig.java50 return new Builder().
118 public static final class Builder { class in class:TvStreamConfig
125 public Builder() { method in class:TvStreamConfig.Builder
128 public Builder streamId(int streamId) {
133 public Builder type(int type) {
138 public Builder maxWidth(int maxWidth) {
143 public Builder maxHeight(int maxHeight) {
148 public Builder generation(int generation) {
/frameworks/support/tests/java/android/support/v4/app/
H A DNotificationCompatActionWearableExtenderTest.java75 Notification baseNotif = new Notification.Builder(getContext())
77 Notification compatNotif = new NotificationCompat.Builder(getContext())
87 Notification.Action.Builder baseAction =
88 new Notification.Action.Builder(mIcon, mTitle, mPendingIntent);
89 NotificationCompat.Action.Builder compatAction =
90 new NotificationCompat.Action.Builder(mIcon, mTitle, mPendingIntent);
99 Notification baseNotif = new Notification.Builder(getContext())
101 Notification compatNotif = new NotificationCompat.Builder(getContext())
116 Notification.Action.Builder baseAction =
117 new Notification.Action.Builder(mIco
[all...]
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioMix.java41 * All parameters are guaranteed valid through the Builder.
120 * Builder class for {@link AudioMix} objects
124 public static class Builder { class in class:AudioMix
133 Builder() { } method in class:AudioMix.Builder
141 public Builder(AudioMixingRule rule) method in class:AudioMix.Builder
153 * @return the same Builder instance.
156 public Builder setMixingRule(AudioMixingRule rule)
168 * @return the same Builder instance.
172 public Builder setFormat(AudioFormat format)
185 * @return the same Builder instanc
[all...]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppLoadingScreen.java32 import android.renderscript.Element.Builder;
82 ProgramFragmentFixedFunction.Builder b = new ProgramFragmentFixedFunction.Builder(mRS);
83 b.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.REPLACE,
84 ProgramFragmentFixedFunction.Builder.Format.RGBA, 0);
89 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS);
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSForEachExpand.cpp268 llvm::IRBuilder<> Builder(Begin);
269 Builder.CreateRetVoid();
284 /// @param Builder The builder to use to build this loop. The current
291 llvm::BasicBlock *createLoop(llvm::IRBuilder<> &Builder, argument
301 CondBB = Builder.GetInsertBlock();
302 AfterBB = llvm::SplitBlock(CondBB, Builder.GetInsertPoint(), this);
310 Builder.SetInsertPoint(CondBB);
311 Cond = Builder.CreateICmpULT(LowerBound, UpperBound);
312 Builder.CreateCondBr(Cond, HeaderBB, AfterBB);
320 Builder
[all...]

Completed in 685 milliseconds

1234567891011>>