Searched defs:Builder (Results 1 - 25 of 107) sorted by relevance

12345

/frameworks/base/rs/java/android/renderscript/
H A DProgramFragment.java46 public static class Builder extends BaseProgramBuilder { class in class:ProgramFragment
53 public Builder(RenderScript rs) { method in class:ProgramFragment.Builder
H A DProgramVertex.java79 * Builder class for creating ProgramVertex objects.
86 public static class Builder extends BaseProgramBuilder { class in class:ProgramVertex
93 public Builder(RenderScript rs) { method in class:ProgramVertex.Builder
105 public Builder addInput(Element e) throws IllegalStateException {
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 DProgramFragmentFixedFunction.java84 public static class Builder { class in class:ProgramFragmentFixedFunction
231 public Builder(RenderScript rs) { method in class:ProgramFragmentFixedFunction.Builder
251 public Builder setTexture(EnvMode env, Format fmt, int slot)
267 public Builder setPointSpriteTexCoordinateReplacement(boolean enable) {
280 public Builder setVaryingColor(boolean enable) {
304 Element.Builder b = new Element.Builder(mRS);
306 Type.Builder typeBuilder = new Type.Builder(mRS, b.create());
H A DProgramVertexFixedFunction.java110 public static class Builder { class in class:ProgramVertexFixedFunction
121 public Builder(RenderScript rs) { method in class:ProgramVertexFixedFunction.Builder
131 public Builder setTextureMatrixEnable(boolean enable) {
136 Element.Builder b = new Element.Builder(rs);
142 Type.Builder typeBuilder = new Type.Builder(rs, b.create());
180 Element.Builder b = new Element.Builder(mRS);
219 Type constInputType = ProgramVertexFixedFunction.Builder
[all...]
/frameworks/base/keystore/java/android/security/
H A DKeyStoreParameter.java83 * Builder class for {@link KeyStoreParameter} objects.
94 * KeyStoreParameter params = new KeyStoreParameter.Builder(mContext)
99 * @deprecated Use {@link KeyProtection.Builder} instead.
102 public final static class Builder { class in class:KeyStoreParameter
106 * Creates a new instance of the {@code Builder} with the given
111 public Builder(@NonNull Context context) { method in class:KeyStoreParameter.Builder
131 public Builder setEncryptionRequired(boolean required) {
/frameworks/support/v4/api23/android/support/v4/media/
H A DMediaDescriptionCompatApi23.java29 static class Builder extends MediaDescriptionCompatApi21.Builder { class in class:MediaDescriptionCompatApi23
31 ((MediaDescription.Builder)builderObj).setMediaUri(mediaUri);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
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...]
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/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/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/v4/ics/android/support/v4/app/
H A DNotificationCompatIceCreamSandwich.java27 public static class Builder implements NotificationBuilderWithBuilderAccessor { class in class:NotificationCompatIceCreamSandwich
29 private Notification.Builder b;
31 public Builder(Context context, Notification n, CharSequence contentTitle, method in class:NotificationCompatIceCreamSandwich.Builder
35 b = new Notification.Builder(context)
60 public Notification.Builder getBuilder() {
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProviderDescriptor.java30 * This object is immutable once created using a {@link Builder} instance.
119 * Builder for {@link MediaRouteProviderDescriptor media route provider descriptors}.
121 public static final class Builder { class in class:MediaRouteProviderDescriptor
128 public Builder() { method in class:MediaRouteProviderDescriptor.Builder
136 public Builder(MediaRouteProviderDescriptor descriptor) { method in class:MediaRouteProviderDescriptor.Builder
152 public Builder addRoute(MediaRouteDescriptor route) {
169 public Builder addRoutes(Collection<MediaRouteDescriptor> routes) {
/frameworks/rs/cpp/
H A DElement.cpp402 Element::Builder::Builder(android::RSC::sp<RS> rs) { function in class:Element::Builder
414 Element::Builder::~Builder() {
425 void Element::Builder::add(android::RSC::sp<const Element>e, const char * name, uint32_t arraySize) {
482 android::RSC::sp<const Element> Element::Builder::create() {
H A DType.cpp119 Type::Builder::Builder(sp<RS> rs, sp<const Element> e) { function in class:Type::Builder
130 void Type::Builder::setX(uint32_t value) {
137 void Type::Builder::setY(uint32_t value) {
144 void Type::Builder::setZ(uint32_t value) {
151 void Type::Builder::setYuvFormat(RSYuvFormat format) {
165 void Type::Builder::setMipmaps(bool value) {
169 void Type::Builder::setFaces(bool value) {
173 sp<const Type> Type::Builder::create() {
/frameworks/base/core/java/android/bluetooth/le/
H A DAdvertiseData.java35 * Use {@link AdvertiseData.Builder} to create an instance of {@link AdvertiseData} to be
184 Builder builder = new Builder();
220 * Builder for {@link AdvertiseData}.
222 public static final class Builder { class in class:AdvertiseData
236 public Builder addServiceUuid(ParcelUuid serviceUuid) {
252 public Builder addServiceData(ParcelUuid serviceDataUuid, byte[] serviceData) {
273 public Builder addManufacturerData(int manufacturerId, byte[] manufacturerSpecificData) {
289 public Builder setIncludeTxPowerLevel(boolean includeTxPowerLevel) {
297 public Builder setIncludeDeviceNam
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DRequestHolder.java51 public final static class Builder { class in class:RequestHolder
61 * Construct a new {@link Builder} to generate {@link RequestHolder} objects.
69 public Builder(int requestId, int subsequenceId, CaptureRequest request, method in class:RequestHolder.Builder
146 * {@link Builder}.
149 * @return a {@link RequestHolder} constructed with the {@link Builder}'s parameters.
/frameworks/base/core/java/android/net/
H A DNetworkRequest.java23 * Defines a request for a network, made through {@link NetworkRequest.Builder} and used
71 * Builder used to create {@link NetworkRequest} objects. Specify the Network features
74 public static class Builder { class in class:NetworkRequest
78 * Default constructor for Builder.
80 public Builder() {} method in class:NetworkRequest.Builder
107 public Builder addCapability(int capability) {
118 public Builder removeCapability(int capability) {
130 public Builder clearCapabilities() {
145 public Builder addTransportType(int transportType) {
156 public Builder removeTransportTyp
[all...]
/frameworks/base/core/java/android/print/
H A DPrintDocumentInfo.java57 * .Builder("printed_file.pdf")
273 * Builder for creating a {@link PrintDocumentInfo}.
275 public static final class Builder { class in class:PrintDocumentInfo
291 public Builder(String name) { method in class:PrintDocumentInfo.Builder
308 public Builder setPageCount(int pageCount) {
330 public Builder setContentType(int type) {
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioMixingRule.java33 * AudioAttributes mediaAttr = new AudioAttributes.Builder()
36 * AudioMixingRule mediaRule = new AudioMixingRule.Builder()
138 * Builder class for {@link AudioMixingRule} objects
141 public static class Builder { class in class:AudioMixingRule
146 * Constructs a new Builder with no rules.
149 public Builder() { method in class:AudioMixingRule.Builder
159 * @return the same Builder instance.
163 public Builder addRule(AudioAttributes attrToMatch, int rule)
175 * AudioAttributes mediaAttr = new AudioAttributes.Builder()
178 * AudioMixingRule noMediaRule = new AudioMixingRule.Builder()
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvInputHardwareInfo.java140 public static final class Builder { class in class:TvInputHardwareInfo
147 public Builder() { method in class:TvInputHardwareInfo.Builder
150 public Builder deviceId(int deviceId) {
155 public Builder type(int type) {
160 public Builder audioType(int audioType) {
165 public Builder audioAddress(String audioAddress) {
170 public Builder hdmiPortId(int hdmiPortId) {
H A DTvStreamConfig.java50 return new Builder().
114 public static final class Builder { class in class:TvStreamConfig
121 public Builder() { method in class:TvStreamConfig.Builder
124 public Builder streamId(int streamId) {
129 public Builder type(int type) {
134 public Builder maxWidth(int maxWidth) {
139 public Builder maxHeight(int maxHeight) {
144 public Builder generation(int generation) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameQueue.java21 public static class Builder { class in class:FrameQueue
28 public Builder() {} method in class:FrameQueue.Builder
/frameworks/support/v4/java/android/support/v4/app/
H A DRemoteInput.java92 * Builder class for {@link android.support.v4.app.RemoteInput} objects.
94 public static final class Builder { class in class:RemoteInput
105 public Builder(String resultKey) { method in class:RemoteInput.Builder
117 public Builder setLabel(CharSequence label) {
129 public Builder setChoices(CharSequence[] choices) {
143 public Builder setAllowFreeFormInput(boolean allowFreeFormInput) {
151 * <p>Values within the Bundle will replace existing extras values in this Builder.
155 public Builder addExtras(Bundle extras) {
163 * Get the metadata Bundle used by this Builder.
165 * <p>The returned Bundle is shared with this Builder
[all...]

Completed in 668 milliseconds

12345