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

1234567

/frameworks/rs/rsov/compiler/spirit/
H A Dbuilder.h26 class Builder { class in namespace:android::spirit
/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...]
/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/media-compat/api23/android/support/v4/media/
H A DMediaDescriptionCompatApi23.java28 static class Builder extends MediaDescriptionCompatApi21.Builder { class in class:MediaDescriptionCompatApi23
30 ((MediaDescription.Builder)builderObj).setMediaUri(mediaUri);
/frameworks/base/core/java/android/bluetooth/le/
H A DPeriodicAdvertisingParameters.java25 * AdvertisingSetParameters.Builder} to create an instance of this class.
81 public static final class Builder { class in class:PeriodicAdvertisingParameters
89 public Builder setIncludeTxPower(boolean includeTxPower) {
100 public Builder setInterval(int interval) {
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/companion/
H A DAssociationRequest.java35 * You can optionally set {@link Builder#addDeviceFilter filters} for which devices to show to the
38 * medium type. See {@link Builder}'s static factory methods for specific protocols that are
41 * You can also set {@link Builder#setSingleDevice single device} to request a popup with single
120 public static final class Builder extends OneTimeUseBuilder<AssociationRequest> { class in class:AssociationRequest
124 public Builder() {} method in class:AssociationRequest.Builder
131 public Builder setSingleDevice(boolean singleDevice) {
142 public Builder addDeviceFilter(@Nullable DeviceFilter<?> deviceFilter) {
H A DWifiDeviceFilter.java115 * Builder for {@link WifiDeviceFilter}
117 public static final class Builder extends OneTimeUseBuilder<WifiDeviceFilter> { class in class:WifiDeviceFilter
125 public Builder setNamePattern(@Nullable Pattern regex) {
H A DBluetoothDeviceFilter.java163 public static final class Builder extends OneTimeUseBuilder<BluetoothDeviceFilter> { class in class:BluetoothDeviceFilter
173 public Builder setNamePattern(@Nullable Pattern regex) {
184 public Builder setAddress(@Nullable String address) {
199 public Builder addServiceUuid(
/frameworks/base/core/java/android/os/
H A DPowerSaveState.java41 public PowerSaveState(Builder builder) {
68 public static final class Builder { class in class:PowerSaveState
74 public Builder() {} method in class:PowerSaveState.Builder
76 public Builder setBatterySaverEnabled(boolean enabled) {
81 public Builder setGlobalBatterySaverEnabled(boolean enabled) {
86 public Builder setGpsMode(int mode) {
91 public Builder setBrightnessFactor(float factor) {
/frameworks/base/core/java/android/view/textclassifier/
H A DTextLanguage.java100 * Builder to build {@link TextLanguage} objects.
102 public static final class Builder { class in class:TextLanguage
117 public Builder(@IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex) { method in class:TextLanguage.Builder
127 public Builder setLanguage(
/frameworks/base/telephony/java/android/telephony/
H A DVisualVoicemailSms.java42 VisualVoicemailSms(Builder builder) {
81 * Builder for the {@link VisualVoicemailSms}. Internal use only.
85 public static class Builder { class in class:VisualVoicemailSms
96 public Builder setPhoneAccountHandle(PhoneAccountHandle phoneAccountHandle) {
101 public Builder setPrefix(String prefix) {
106 public Builder setFields(Bundle fields) {
111 public Builder setMessageBody(String messageBody) {
123 return new Builder()
H A DVisualVoicemailSmsFilterSettings.java38 * <p>Use {@link android.telephony.VisualVoicemailSmsFilterSettings.Builder} to construct this
71 * Builder class for {@link VisualVoicemailSmsFilterSettings} objects.
73 public static class Builder { class in class:VisualVoicemailSmsFilterSettings
87 public Builder setClientPrefix(String clientPrefix) {
100 public Builder setOriginatingNumbers(List<String> originatingNumbers) {
114 public Builder setDestinationPort(int destinationPort) {
141 * Use {@link Builder} to construct
143 private VisualVoicemailSmsFilterSettings(Builder builder) {
153 Builder builder = new 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/support/media-compat/api21/android/support/v4/media/
H A DMediaMetadataCompatApi21.java57 public static class Builder { class in class:MediaMetadataCompatApi21
59 return new MediaMetadata.Builder();
63 ((MediaMetadata.Builder)builderObj).putBitmap(key, value);
67 ((MediaMetadata.Builder)builderObj).putLong(key, value);
71 ((MediaMetadata.Builder)builderObj).putRating(key, (Rating)ratingObj);
75 ((MediaMetadata.Builder) builderObj).putText(key, value);
79 ((MediaMetadata.Builder) builderObj).putString(key, value);
83 return ((MediaMetadata.Builder)builderObj).build();
/frameworks/support/tv-provider/src/android/support/media/tv/
H A DPreviewProgram.java36 * PreviewProgram previewProgram = new PreviewProgram.Builder()
61 * PreviewProgram updatedProgram = new PreviewProgram.Builder(previewProgram)
85 private PreviewProgram(Builder builder) {
154 Builder builder = new Builder();
177 * This Builder class simplifies the creation of a {@link PreviewProgram} object.
179 public static final class Builder extends BasePreviewProgram.Builder<Builder> { class in class:PreviewProgram
182 * Creates a new Builder objec
184 public Builder() { method in class:PreviewProgram.Builder
191 public Builder(PreviewProgram other) { method in class:PreviewProgram.Builder
[all...]
H A DWatchNextProgram.java37 * WatchNextProgram watchNextProgram = new WatchNextProgram.Builder()
62 * WatchNextProgram updatedProgram = new WatchNextProgram.Builder(watchNextProgram)
86 private WatchNextProgram(Builder builder) {
156 Builder builder = new Builder();
180 * This Builder class simplifies the creation of a {@link WatchNextProgram} object.
182 public static final class Builder extends BasePreviewProgram.Builder<Builder> { class in class:WatchNextProgram
185 * Creates a new Builder objec
187 public Builder() { method in class:WatchNextProgram.Builder
194 public Builder(WatchNextProgram other) { method in class:WatchNextProgram.Builder
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProviderDescriptor.java29 * This object is immutable once created using a {@link Builder} instance.
118 * Builder for {@link MediaRouteProviderDescriptor media route provider descriptors}.
120 public static final class Builder { class in class:MediaRouteProviderDescriptor
127 public Builder() { method in class:MediaRouteProviderDescriptor.Builder
135 public Builder(MediaRouteProviderDescriptor descriptor) { method in class:MediaRouteProviderDescriptor.Builder
151 public Builder addRoute(MediaRouteDescriptor route) {
168 public Builder addRoutes(Collection<MediaRouteDescriptor> routes) {
/frameworks/rs/cpp/
H A DElement.cpp408 Element::Builder::Builder(android::RSC::sp<RS> rs) { function in class:Element::Builder
420 Element::Builder::~Builder() {
431 void Element::Builder::add(const android::RSC::sp<const Element>&e, const char * name, uint32_t arraySize) {
488 android::RSC::sp<const Element> Element::Builder::create() {
/frameworks/base/core/java/android/app/
H A DPictureInPictureArgs.java33 * Builder class for {@link PictureInPictureArgs} objects.
35 public static class Builder { class in class:PictureInPictureArgs
55 public Builder setAspectRatio(Rational aspectRatio) {
71 public Builder setActions(List<RemoteAction> actions) {
93 public Builder setSourceRectHint(Rect launchBounds) {
H A DPictureInPictureParams.java35 * Builder class for {@link PictureInPictureParams} objects.
37 public static class Builder { class in class:PictureInPictureParams
57 public Builder setAspectRatio(Rational aspectRatio) {
73 public Builder setActions(List<RemoteAction> actions) {
95 public Builder setSourceRectHint(Rect launchBounds) {
/frameworks/base/core/java/android/app/usage/
H A DCacheQuotaHint.java47 public CacheQuotaHint(Builder builder) {
100 public static final class Builder { class in class:CacheQuotaHint
106 public Builder() { method in class:CacheQuotaHint.Builder
109 public Builder(CacheQuotaHint hint) { method in class:CacheQuotaHint.Builder
116 public @NonNull Builder setVolumeUuid(@Nullable String uuid) {
121 public @NonNull Builder setUid(int uid) {
127 public @NonNull Builder setUsageStats(@Nullable UsageStats stats) {
132 public @NonNull Builder setQuota(long quota) {
147 final Builder builder = new Builder();
[all...]
/frameworks/base/core/java/android/net/metrics/
H A DRaEvent.java95 public static class Builder { class in class:RaEvent
104 public Builder() { method in class:RaEvent.Builder
112 public Builder updateRouterLifetime(long lifetime) {
117 public Builder updatePrefixValidLifetime(long lifetime) {
122 public Builder updatePrefixPreferredLifetime(long lifetime) {
127 public Builder updateRouteInfoLifetime(long lifetime) {
132 public Builder updateRdnssLifetime(long lifetime) {
137 public Builder updateDnsslLifetime(long lifetime) {

Completed in 448 milliseconds

1234567