Searched refs:Builder (Results 1 - 25 of 378) 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/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/
H A DIdlingPolicy.java72 Builder toBuilder() {
73 return new Builder(this);
76 private IdlingPolicy(Builder builder) {
83 static class Builder { class in class:IdlingPolicy
88 public Builder() { } method in class:IdlingPolicy.Builder
94 private Builder(IdlingPolicy copy) { method in class:IdlingPolicy.Builder
100 public Builder withIdlingTimeout(long idleTimeout) {
105 public Builder withIdlingTimeoutUnit(TimeUnit unit) {
110 public Builder throwAppNotIdleException() {
115 public Builder throwIdlingResourceTimeoutExceptio
[all...]
H A DPerformException.java37 private PerformException(Builder builder) {
53 * Builder for {@link PerformException}.
55 public static class Builder { class in class:PerformException
60 public Builder from(PerformException instance) {
67 public Builder withActionDescription(String actionDescription) {
72 public Builder withViewDescription(String viewDescription) {
77 public Builder withCause(Throwable cause) {
H A DAmbiguousViewMatcherException.java58 private AmbiguousViewMatcherException(Builder builder) {
67 private static String getErrorMessage(Builder builder) {
83 /** Builder for {@link AmbiguousViewMatcherException}. */
84 public static class Builder { class in class:AmbiguousViewMatcherException
92 public Builder from(AmbiguousViewMatcherException exception) {
101 public Builder withViewMatcher(Matcher<? super View> viewMatcher) {
106 public Builder withRootView(View rootView) {
111 public Builder withView1(View view1) {
116 public Builder withView2(View view2) {
121 public Builder withOtherAmbiguousView
[all...]
H A DNoMatchingViewException.java58 private NoMatchingViewException(Builder builder) {
67 private static String getErrorMessage(Builder builder) {
85 /** Builder for {@link NoMatchingViewException}. */
86 public static class Builder { class in class:NoMatchingViewException
94 public Builder from(NoMatchingViewException exception) {
103 public Builder withViewMatcher(Matcher<? super View> viewMatcher) {
108 public Builder withRootView(View rootView) {
113 public Builder withAdapterViews(List<View> adapterViews) {
118 public Builder includeViewHierarchy(boolean includeViewHierarchy) {
123 public Builder withAdapterViewWarnin
[all...]
/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) {
/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();
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/action/
H A DEspressoKey.java31 private EspressoKey(Builder builder) {
50 * Builder for the EspressoKey class.
52 public static class Builder { class in class:EspressoKey
58 public Builder withKeyCode(int keyCode) {
66 public Builder withShiftPressed(boolean shiftPressed) {
75 public Builder withCtrlPressed(boolean ctrlPressed) {
83 public Builder withAltPressed(boolean altPressed) {
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioMix.java36 * All parameters are guaranteed valid through the Builder.
75 * Builder class for {@link AudioMix} objects
78 public static class Builder { class in class:AudioMix
87 Builder() { } method in class:AudioMix.Builder
94 public Builder(AudioMixingRule rule) method in class:AudioMix.Builder
106 * @return the same Builder instance.
109 public Builder setMixingRule(AudioMixingRule rule)
121 * @return the same Builder instance.
124 public Builder setFormat(AudioFormat format)
137 * @return the same Builder instanc
[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 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/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/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/action/
H A DEspressoKeyBuilderTest.java19 import com.google.android.apps.common.testing.ui.espresso.action.EspressoKey.Builder;
27 * Unit tests for {@link Builder}.
34 EspressoKey key = new Builder().withKeyCode(KEY_CODE).build();
40 EspressoKey key = new Builder().withKeyCode(KEY_CODE).withShiftPressed(true).build();
46 EspressoKey key = new Builder().withKeyCode(KEY_CODE).withCtrlPressed(true).build();
57 EspressoKey key = new Builder().withKeyCode(KEY_CODE).withAltPressed(true).build();
63 EspressoKey key = new Builder().withKeyCode(KEY_CODE)
/frameworks/base/media/java/android/media/tv/
H A DTvStreamConfig.java51 return new Builder().
119 public static final class Builder { class in class:TvStreamConfig
126 public Builder() { method in class:TvStreamConfig.Builder
129 public Builder streamId(int streamId) {
134 public Builder type(int type) {
139 public Builder maxWidth(int maxWidth) {
144 public Builder maxHeight(int maxHeight) {
149 public Builder generation(int generation) {
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompat.java50 * {@link Builder#setSound}
57 * @see Builder#setDefaults
63 * {@link Builder#setVibrate}. Using phone vibration requires the
71 * @see Builder#setDefaults
77 * {@link #FLAG_SHOW_LIGHTS} bit, and values set with {@link Builder#setLights}.
79 * @see Builder#setDefaults
139 * @deprecated Use {@link NotificationCompat.Builder#setPriority(int)} with a positive value.
153 * {@link Builder#setGroup}.
158 * Default notification priority for {@link NotificationCompat.Builder#setPriority(int)}.
165 * Lower notification priority for {@link NotificationCompat.Builder#setPriorit
825 public static class Builder { class in class:NotificationCompat
877 public Builder(Context context) { method in class:NotificationCompat.Builder
1807 public static final class Builder { class in class:NotificationCompat.Action
1820 public Builder(int icon, CharSequence title, PendingIntent intent) { method in class:NotificationCompat.Action.Builder
1829 public Builder(Action action) { method in class:NotificationCompat.Action.Builder
1833 private Builder(int icon, CharSequence title, PendingIntent intent, Bundle extras) { method in class:NotificationCompat.Action.Builder
[all...]

Completed in 570 milliseconds

1234567891011>>