Searched refs:Builder (Results 276 - 300 of 772) sorted by relevance

<<11121314151617181920>>

/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/wizard/
H A DWizardExample1stStepFragment.java46 GuidedAction action = new GuidedAction.Builder(getActivity())
54 action = new GuidedAction.Builder(getActivity())
H A DWizardExample4thStepFragment.java50 GuidedAction action = new GuidedAction.Builder(getActivity())
56 action = new GuidedAction.Builder(getActivity())
/frameworks/support/tv-provider/tests/src/android/support/media/tv/
H A DChannelLogoUtilsTest.java42 ContentValues contentValues = new Channel.Builder()
71 Uri logoUri = new Uri.Builder()
/frameworks/base/media/java/android/media/
H A DSoundPool.java146 * @deprecated use {@link SoundPool.Builder} instead to create and configure a
151 new AudioAttributes.Builder().setInternalLegacyStreamType(streamType).build());
561 * Builder class for {@link SoundPool} objects.
563 public static class Builder { class in class:SoundPool
568 * Constructs a new Builder with the defaults format values.
574 public Builder() { method in class:SoundPool.Builder
580 * @return the same Builder instance
583 public Builder setMaxStreams(int maxStreams) throws IllegalArgumentException {
598 public Builder setAudioAttributes(AudioAttributes attributes)
609 mAudioAttributes = new AudioAttributes.Builder()
[all...]
H A DAudioFormat.java37 * <p>The {@link AudioFormat.Builder} class can be used to create instances of
40 * {@link AudioFormat.Builder} for documentation on the mechanics of the configuration and building
626 * @return one of the values that can be set in {@link Builder#setEncoding(int)} or
638 * @return one of the values that can be set in {@link Builder#setSampleRate(int)} or
650 * @return one of the values that can be set in {@link Builder#setChannelMask(int)} or
665 * @return one of the values that can be set in {@link Builder#setChannelIndexMask(int)} or
697 * Builder class for {@link AudioFormat} objects.
705 * constructor, every format characteristic set on the <code>Builder</code> (e.g. with
708 * sample rate set in the <code>Builder</code> would override the platform output sample rate
711 public static class Builder { class in class:AudioFormat
721 public Builder() { method in class:AudioFormat.Builder
728 public Builder(AudioFormat af) { method in class:AudioFormat.Builder
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCamera2Focuser.java65 private CaptureRequest.Builder mRepeatingBuilder;
218 CaptureRequest.Builder requestBuilder = createRequestBuilder();
247 CaptureRequest.Builder requestBuilder = createRequestBuilder();
270 CaptureRequest.Builder requestBuilder = createRequestBuilder();
300 private CaptureRequest.Builder createRequestBuilder() throws CameraAccessException {
301 CaptureRequest.Builder requestBuilder =
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
H A DBNNMTest.java222 Type.Builder builder = new Type.Builder(mRS, Element.U8(mRS));
292 Type.Builder builder = new Type.Builder(mRS, Element.U8(mRS));
341 Type.Builder builder = new Type.Builder(mRS, Element.U8(mRS));
H A DSGEMMTest.java145 Type.Builder builder = new Type.Builder(mRS, Element.F32(mRS));
200 Type.Builder builder = new Type.Builder(mRS, Element.F32(mRS));
248 Type.Builder builder = new Type.Builder(mRS, Element.F32(mRS));
/frameworks/support/compat/tests/java/android/support/v4/app/
H A DRemoteInputTest.java86 new RemoteInput.Builder(RESULT_KEY)
136 new RemoteInput.Builder(RESULT_KEY)
163 new RemoteInput.Builder(RESULT_KEY)
198 return new RemoteInput.Builder(RESULT_KEY).build(); // allowFreeForm defaults to true
205 return new RemoteInput.Builder(RESULT_KEY)
212 return new RemoteInput.Builder(RESULT_KEY)
/frameworks/base/core/java/android/net/
H A DUri.java412 public abstract Builder buildUpon();
784 public Builder buildUpon() {
786 return new Builder()
793 return new Builder()
815 * @see Builder if you don't want the ssp and fragment to be encoded
964 public Builder buildUpon() {
965 return new Builder()
1297 public Builder buildUpon() {
1298 return new Builder()
1323 public static final class Builder { class in class:Uri
1335 public Builder() {} method in class:Uri.Builder
[all...]
/frameworks/base/core/java/com/android/internal/graphics/palette/
H A DPalette.java58 * Instances are created with a {@link Palette.Builder} which supports several options to tweak the
62 * which you load your image on. {@link Palette.Builder} supports both synchronous and asynchronous
101 * Start generating a {@link Palette} with the returned {@link Palette.Builder} instance.
103 public static Palette.Builder from(Bitmap bitmap) {
104 return new Palette.Builder(bitmap);
113 return new Palette.Builder(swatches).generate();
117 * @deprecated Use {@link Palette.Builder} to generate the Palette.
125 * @deprecated Use {@link Palette.Builder} to generate the Palette.
133 * @deprecated Use {@link Palette.Builder} to generate the Palette.
142 * @deprecated Use {@link Palette.Builder} t
603 public static final class Builder { class in class:Palette
619 public Builder(Bitmap bitmap) { method in class:Palette.Builder
640 public Builder(List<Palette.Swatch> swatches) { method in class:Palette.Builder
[all...]
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
H A DPalette.java53 * Instances are created with a {@link Builder} which supports several options to tweak the
57 * which you load your image on. {@link Builder} supports both synchronous and asynchronous
96 * Start generating a {@link Palette} with the returned {@link Builder} instance.
98 public static Builder from(Bitmap bitmap) {
99 return new Builder(bitmap);
108 return new Builder(swatches).generate();
112 * @deprecated Use {@link Builder} to generate the Palette.
120 * @deprecated Use {@link Builder} to generate the Palette.
128 * @deprecated Use {@link Builder} to generate the Palette.
137 * @deprecated Use {@link Builder} t
597 public static final class Builder { class in class:Palette
613 public Builder(Bitmap bitmap) { method in class:Palette.Builder
634 public Builder(List<Swatch> swatches) { method in class:Palette.Builder
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSAnimator.java28 import com.android.systemui.qs.TouchAnimator.Builder;
146 TouchAnimator.Builder firstPageBuilder = new Builder();
147 TouchAnimator.Builder translationXBuilder = new Builder();
148 TouchAnimator.Builder translationYBuilder = new Builder();
232 mBrightnessAnimator = new TouchAnimator.Builder()
244 mFirstPageDelayedAnimator = new TouchAnimator.Builder()
266 mNonfirstPageAnimator = new TouchAnimator.Builder()
[all...]
/frameworks/base/core/java/android/text/
H A DStaticLayout.java51 * Builder for static layouts. The builder is a newer pattern for constructing
59 public final static class Builder { class in class:StaticLayout
60 private Builder() { method in class:StaticLayout.Builder
74 public static Builder obtain(CharSequence source, int start, int end, TextPaint paint,
76 Builder b = sPool.acquire();
78 b = new Builder();
103 private static void recycle(Builder b) {
124 public Builder setText(CharSequence source) {
140 public Builder setText(CharSequence source, int start, int end) {
155 public Builder setPain
[all...]
/frameworks/base/core/java/android/content/pm/
H A DShortcutInfo.java243 private ShortcutInfo(Builder b) {
724 * Builder class for {@link ShortcutInfo} objects.
728 public static class Builder { class in class:ShortcutInfo
762 public Builder(Context context) { method in class:ShortcutInfo.Builder
772 public Builder setId(@NonNull String id) {
783 public Builder(Context context, String id) { method in class:ShortcutInfo.Builder
814 public Builder setActivity(@NonNull ComponentName activity) {
840 public Builder setIcon(Icon icon) {
850 public Builder setShortLabelResId(int shortLabelResId) {
870 public Builder setShortLabe
[all...]
/frameworks/compile/slang/tests/P_struct_field/
H A DScriptField_InnerOne.java.expect46 Element.Builder eb = new Element.Builder(rs);
89 Type.Builder b = new Type.Builder(rs, obj.mElement);
97 public static Type.Builder createTypeBuilder(RenderScript rs) {
99 return new Type.Builder(rs, e);
102 public static ScriptField_InnerOne createCustom(RenderScript rs, Type.Builder tb, int usages) {
106 throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
H A DScriptField_InnerTwo.java.expect46 Element.Builder eb = new Element.Builder(rs);
90 Type.Builder b = new Type.Builder(rs, obj.mElement);
98 public static Type.Builder createTypeBuilder(RenderScript rs) {
100 return new Type.Builder(rs, e);
103 public static ScriptField_InnerTwo createCustom(RenderScript rs, Type.Builder tb, int usages) {
107 throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
/frameworks/rs/tests/lldb/cpp/Allocations/
H A DAllocations.cpp83 Type::Builder typeI8Builder(mRS, Element::I8(mRS));
93 Type::Builder typeI16_2Builder(mRS, Element::I16_2(mRS));
103 Type::Builder typeI32_3Builder(mRS, Element::I32_3(mRS));
112 Type::Builder typeI64_4Builder(mRS, Element::I64_4(mRS));
173 Type::Builder typeU8_2Builder(mRS, Element::U8_2(mRS));
182 Type::Builder typeU16_3Builder(mRS, Element::U16_3(mRS));
191 Type::Builder typeU32_4Builder(mRS, Element::U32_4(mRS));
201 Type::Builder typeU64Builder(mRS, Element::U64(mRS));
255 Type::Builder typeF16_3Builder(mRS, Element::F16_3(mRS));
264 Type::Builder typeF32_4Builde
[all...]
/frameworks/rs/tests/lldb/jni/Allocations/jniallocations/
H A Djniallocations.cpp87 Type::Builder typeI8Builder(mRS, Element::I8(mRS));
97 Type::Builder typeI16_2Builder(mRS, Element::I16_2(mRS));
107 Type::Builder typeI32_3Builder(mRS, Element::I32_3(mRS));
116 Type::Builder typeI64_4Builder(mRS, Element::I64_4(mRS));
177 Type::Builder typeU8_2Builder(mRS, Element::U8_2(mRS));
186 Type::Builder typeU16_3Builder(mRS, Element::U16_3(mRS));
195 Type::Builder typeU32_4Builder(mRS, Element::U32_4(mRS));
205 Type::Builder typeU64Builder(mRS, Element::U64(mRS));
259 Type::Builder typeF16_3Builder(mRS, Element::F16_3(mRS));
268 Type::Builder typeF32_4Builde
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DCursorAnchorInfo.java255 * Builder for {@link CursorAnchorInfo}. This class is not designed to be thread-safe.
257 public static final class Builder { class in class:CursorAnchorInfo
275 public Builder setSelectionRange(final int newStart, final int newEnd) {
287 public Builder setComposingText(final int composingTextStart,
319 public Builder setInsertionMarkerLocation(final float horizontalPosition,
345 public Builder addCharacterBounds(final int index, final float left, final float top,
362 public Builder setMatrix(final Matrix matrix) {
372 * @return {@link CursorAnchorInfo} using parameters in this {@link Builder}.
415 private CursorAnchorInfo(final Builder builder) {
/frameworks/base/core/java/android/app/
H A DNotification.java95 * <p>The {@link Notification.Builder Notification.Builder} has been added to make it
181 * Maximum length of CharSequences accepted by Builder and friends.
189 * Maximum entries of reply text that are accepted by Builder and friends.
216 * {@link android.app.Notification.Builder#setShowWhen(boolean)}
228 * @deprecated Use {@link Builder#setSmallIcon(Icon)} instead.
283 * @see Notification.Builder#setFullScreenIntent
311 * to {@link Notification.Builder}; a custom RemoteViews can optionally be
312 * supplied with {@link Notification.Builder#setCustomContentView(RemoteViews)}.
323 * inputs to {@link Notification.Builder};
1333 public static final class Builder { class in class:Notification.Action
1348 public Builder(int icon, CharSequence title, PendingIntent intent) { method in class:Notification.Action.Builder
1358 public Builder(Icon icon, CharSequence title, PendingIntent intent) { method in class:Notification.Action.Builder
1367 public Builder(Action action) { method in class:Notification.Action.Builder
1373 private Builder(Icon icon, CharSequence title, PendingIntent intent, Bundle extras, method in class:Notification.Action.Builder
2680 public static class Builder { class in class:Notification
2762 public Builder(Context context, String channelId) { method in class:Notification.Builder
2772 public Builder(Context context) { method in class:Notification.Builder
2779 public Builder(Context context, Notification toAdopt) { method in class:Notification.Builder
7977 public static class Builder { class in class:Notification.CarExtender
7990 public Builder(String name) { method in class:Notification.CarExtender.Builder
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DMesh.java190 public static class Builder { class in class:Mesh
214 public Builder(RenderScript rs, int usage) { method in class:Mesh.Builder
248 public Builder addVertexType(Type t) throws IllegalStateException {
269 public Builder addVertexType(Element e, int size) throws IllegalStateException {
291 public Builder addIndexSetType(Type t, Primitive p) {
309 public Builder addIndexSetType(Primitive p) {
329 public Builder addIndexSetType(Element e, int size, Primitive p) {
340 Type.Builder tb = new Type.Builder(mRS, e);
369 throw new IllegalStateException("Builder corrup
[all...]
/frameworks/base/core/java/android/print/
H A DPrinterCapabilitiesInfo.java183 PrintAttributes.Builder builder = new PrintAttributes.Builder();
436 * Builder for creating of a {@link PrinterCapabilitiesInfo}. This class is
445 public static final class Builder { class in class:PrinterCapabilitiesInfo
455 public Builder(@NonNull PrinterId printerId) { method in class:PrinterCapabilitiesInfo.Builder
476 public @NonNull Builder addMediaSize(@NonNull MediaSize mediaSize, boolean isDefault) {
504 public @NonNull Builder addResolution(@NonNull Resolution resolution, boolean isDefault) {
532 public @NonNull Builder setMinMargins(@NonNull Margins margins) {
562 public @NonNull Builder setColorModes(@ColorMode int colorModes,
589 public @NonNull Builder setDuplexMode
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphReader.java47 private FilterGraph.Builder mBuilder;
53 mBuilder = new FilterGraph.Builder(mContext);
75 protected FilterGraph.Builder getBuilder() {
501 FilterGraph.Builder builder = getBuilderForXmlString(context, xmlSource);
517 FilterGraph.Builder builder = getBuilderForXmlString(context, xmlSource);
534 FilterGraph.Builder builder = getBuilderForXmlResource(context, resourceId);
552 FilterGraph.Builder builder = getBuilderForXmlResource(context, resourceId);
556 private static FilterGraph.Builder getBuilderForXmlString(MffContext context, String source)
565 private static FilterGraph.Builder getBuilderForXmlResource(MffContext context, int resourceId)
/frameworks/support/core-utils/java/android/support/v4/text/
H A DBidiFormatter.java129 public static final class Builder { class in class:BidiFormatter
138 public Builder() { method in class:BidiFormatter.Builder
147 public Builder(boolean rtlContext) { method in class:BidiFormatter.Builder
156 public Builder(Locale locale) { method in class:BidiFormatter.Builder
175 public Builder stereoReset(boolean stereoReset) {
191 public Builder setTextDirectionHeuristic(TextDirectionHeuristicCompat heuristic) {
235 return new Builder().build();
244 return new Builder(rtlContext).build();
253 return new Builder(locale).build();
374 * {@link Builder#stereoRese
[all...]

Completed in 6213 milliseconds

<<11121314151617181920>>