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

1234

/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.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/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/compile/libbcc/lib/Core/
H A DCompiler.cpp174 llvm::PassManagerBuilder Builder; local
175 Builder.populateLTOPassManager(lto_passes, /*Internalize*/false,
/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();
/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/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DSamplerThunker.java65 * Builder for creating non-standard samplers. Useful if mix and match of
69 public static class Builder { class in class:SamplerThunker
78 public Builder(RenderScriptThunker rs) { method in class:SamplerThunker.Builder
133 android.renderscript.Sampler.Builder b = new android.renderscript.Sampler.Builder(mRS.mN);
H A DScriptGroupThunker.java60 public static final class Builder { class in class:ScriptGroupThunker
62 android.renderscript.ScriptGroup.Builder bN;
65 Builder(RenderScript rs) { method in class:ScriptGroupThunker.Builder
69 bN = new android.renderscript.ScriptGroup.Builder(rst.mN);
75 public Builder addKernel(Script.KernelID k) {
84 public Builder addConnection(Type t, Script.KernelID from, Script.FieldID to) {
94 public Builder addConnection(Type t, Script.KernelID from, Script.KernelID to) {
/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...]
H A DScanSettings.java163 * Builder for {@link ScanSettings}.
165 public static final class Builder { class in class:ScanSettings
179 public Builder setScanMode(int scanMode) {
195 public Builder setCallbackType(int callbackType) {
224 public Builder setScanResultType(int scanResultType) {
242 public Builder setReportDelay(long reportDelayMillis) {
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DRequestHolder.java52 public final static class Builder { class in class:RequestHolder
62 * Construct a new {@link Builder} to generate {@link RequestHolder} objects.
70 public Builder(int requestId, int subsequenceId, CaptureRequest request, method in class:RequestHolder.Builder
147 * {@link Builder}.
150 * @return a {@link RequestHolder} constructed with the {@link Builder}'s parameters.
/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/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/
H A DMediaDescription.java23 * created using the Builder or retrieved from existing metadata using
174 * Builder for {@link MediaDescription} objects.
176 public static class Builder { class in class:MediaDescription
188 public Builder() { method in class:MediaDescription.Builder
197 public Builder setMediaId(@Nullable String mediaId) {
208 public Builder setTitle(@Nullable CharSequence title) {
219 public Builder setSubtitle(@Nullable CharSequence subtitle) {
231 public Builder setDescription(@Nullable CharSequence description) {
243 public Builder setIconBitmap(@Nullable Bitmap icon) {
255 public Builder setIconUr
[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...]
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().
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/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

Completed in 306 milliseconds

1234