/frameworks/base/core/tests/inputmethodtests/src/android/os/ |
D | CursorAnchorInfoTest.java | 25 import android.view.inputmethod.CursorAnchorInfo.Builder; 93 final Builder builder = new Builder(); in testBuilder() 234 assertEquals(new Builder().build(), new Builder().build()); in testEquality() 237 new Builder().setSelectionRange(SELECTION_START1, SELECTION_END1).build(), in testEquality() 238 new Builder().setSelectionRange(SELECTION_START1, SELECTION_END1).build()); in testEquality() 240 new Builder().setSelectionRange(SELECTION_START1, SELECTION_END1).build(), in testEquality() 241 new Builder().setSelectionRange(SELECTION_START1, SELECTION_END2).build()); in testEquality() 243 new Builder().setSelectionRange(SELECTION_START1, SELECTION_END1).build(), in testEquality() 244 new Builder().setSelectionRange(SELECTION_START2, SELECTION_END1).build()); in testEquality() 246 new Builder().setSelectionRange(SELECTION_START1, SELECTION_END1).build(), in testEquality() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AlertDialog.java | 259 public static class Builder { class in AlertDialog 268 public Builder(Context context) { in Builder() method in AlertDialog.Builder 279 public Builder(Context context, int theme) { in Builder() method in AlertDialog.Builder 303 public Builder setTitle(int titleId) { in setTitle() 313 public Builder setTitle(CharSequence title) { in setTitle() 328 public Builder setCustomTitle(View customTitleView) { in setCustomTitle() 338 public Builder setMessage(int messageId) { in setMessage() 348 public Builder setMessage(CharSequence message) { in setMessage() 360 public Builder setIcon(int iconId) { in setIcon() 370 public Builder setIcon(Drawable icon) { in setIcon() [all …]
|
/frameworks/compile/libbcc/lib/Renderscript/ |
D | RSForEachExpand.cpp | 327 llvm::IRBuilder<> Builder(Begin); in createEmptyExpandedFunction() local 328 Builder.CreateRetVoid(); in createEmptyExpandedFunction() 350 llvm::BasicBlock *createLoop(llvm::IRBuilder<> &Builder, in createLoop() argument 360 CondBB = Builder.GetInsertBlock(); in createLoop() 361 AfterBB = llvm::SplitBlock(CondBB, Builder.GetInsertPoint(), nullptr, nullptr); in createLoop() 369 Builder.SetInsertPoint(CondBB); in createLoop() 370 Cond = Builder.CreateICmpULT(LowerBound, UpperBound); in createLoop() 371 Builder.CreateCondBr(Cond, HeaderBB, AfterBB); in createLoop() 379 Builder.SetInsertPoint(HeaderBB); in createLoop() 380 IV = Builder.CreatePHI(LowerBound->getType(), 2, "X"); in createLoop() [all …]
|
/frameworks/support/v4/java/android/support/v4/media/ |
D | MediaDescriptionCompat.java | 213 Object bob = MediaDescriptionCompatApi21.Builder.newInstance(); in getMediaDescription() 214 MediaDescriptionCompatApi21.Builder.setMediaId(bob, mMediaId); in getMediaDescription() 215 MediaDescriptionCompatApi21.Builder.setTitle(bob, mTitle); in getMediaDescription() 216 MediaDescriptionCompatApi21.Builder.setSubtitle(bob, mSubtitle); in getMediaDescription() 217 MediaDescriptionCompatApi21.Builder.setDescription(bob, mDescription); in getMediaDescription() 218 MediaDescriptionCompatApi21.Builder.setIconBitmap(bob, mIcon); in getMediaDescription() 219 MediaDescriptionCompatApi21.Builder.setIconUri(bob, mIconUri); in getMediaDescription() 220 MediaDescriptionCompatApi21.Builder.setExtras(bob, mExtras); in getMediaDescription() 222 MediaDescriptionCompatApi23.Builder.setMediaUri(bob, mMediaUri); in getMediaDescription() 224 mDescriptionObj = MediaDescriptionCompatApi21.Builder.build(bob); in getMediaDescription() [all …]
|
/frameworks/base/core/java/android/app/ |
D | AlertDialog.java | 438 public static class Builder { class in AlertDialog 451 public Builder(Context context) { in Builder() method in AlertDialog.Builder 481 public Builder(Context context, int themeResId) { in Builder() method in AlertDialog.Builder 503 public Builder setTitle(@StringRes int titleId) { in setTitle() 513 public Builder setTitle(CharSequence title) { in setTitle() 534 public Builder setCustomTitle(View customTitleView) { in setCustomTitle() 544 public Builder setMessage(@StringRes int messageId) { in setMessage() 554 public Builder setMessage(CharSequence message) { in setMessage() 566 public Builder setIcon(@DrawableRes int iconId) { in setIcon() 581 public Builder setIcon(Drawable icon) { in setIcon() [all …]
|
/frameworks/support/tests/java/android/support/v4/app/ |
D | NotificationCompatActionWearableExtenderTest.java | 75 Notification baseNotif = new Notification.Builder(getContext()) in testEmptyNotification() 77 Notification compatNotif = new NotificationCompat.Builder(getContext()) in testEmptyNotification() 87 Notification.Action.Builder baseAction = in testDefaultActionNotification() 88 new Notification.Action.Builder(mIcon, mTitle, mPendingIntent); in testDefaultActionNotification() 89 NotificationCompat.Action.Builder compatAction = in testDefaultActionNotification() 90 new NotificationCompat.Action.Builder(mIcon, mTitle, mPendingIntent); in testDefaultActionNotification() 99 Notification baseNotif = new Notification.Builder(getContext()) in testDefaultActionNotification() 101 Notification compatNotif = new NotificationCompat.Builder(getContext()) in testDefaultActionNotification() 116 Notification.Action.Builder baseAction = in testDefaultActionExtenderNotification() 117 new Notification.Action.Builder(mIcon, mTitle, mPendingIntent) in testDefaultActionExtenderNotification() [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GuidedAction.java | 44 public static class Builder { class in GuidedAction 85 public Builder id(long id) { in id() 95 public Builder title(String title) { in title() 105 public Builder description(String description) { in description() 115 public Builder intent(Intent intent) { in intent() 124 public Builder icon(Drawable icon) { in icon() 136 public Builder iconResourceId(int iconResourceId, Context context) { in iconResourceId() 144 public Builder checked(boolean checked) { in checked() 155 public Builder checkSetId(int checkSetId) { in checkSetId() 165 public Builder multilineDescription(boolean multilineDescription) { in multilineDescription() [all …]
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | NotificationCompat.java | 447 public Notification build(Builder b, BuilderExtender extender); in build() 470 public Notification build(Builder b, NotificationBuilderWithBuilderAccessor builder) { in build() 477 public Notification build(Builder b, BuilderExtender extender) { in build() 554 public Notification build(Builder b, BuilderExtender extender) { in build() 570 public Notification build(Builder b, BuilderExtender extender) { in build() 579 public Notification build(Builder b, BuilderExtender extender) { in build() 580 NotificationCompatIceCreamSandwich.Builder builder = in build() 581 new NotificationCompatIceCreamSandwich.Builder( in build() 591 public Notification build(Builder b, BuilderExtender extender) { in build() 592 NotificationCompatJellybean.Builder builder = new NotificationCompatJellybean.Builder( in build() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Voicemail.java | 62 public static Builder createForInsertion(long timestamp, String number) { in createForInsertion() 63 return new Builder().setNumber(number).setTimestamp(timestamp); in createForInsertion() 72 public static Builder createForUpdate(long id, String sourceData) { in createForUpdate() 73 return new Builder().setId(id).setSourceData(sourceData); in createForUpdate() 82 public static class Builder { class in Voicemail 96 private Builder() { in Builder() method in Voicemail.Builder 99 public Builder setNumber(String number) { in setNumber() 104 public Builder setTimestamp(long timestamp) { in setTimestamp() 109 public Builder setPhoneAccount(PhoneAccountHandle phoneAccount) { in setPhoneAccount() 114 public Builder setId(long id) { in setId() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | Sampler.java | 101 Builder b = new Builder(rs); in CLAMP_NEAREST() 121 Builder b = new Builder(rs); in CLAMP_LINEAR() 141 Builder b = new Builder(rs); in CLAMP_LINEAR_MIP_LINEAR() 161 Builder b = new Builder(rs); in WRAP_NEAREST() 181 Builder b = new Builder(rs); in WRAP_LINEAR() 201 Builder b = new Builder(rs); in WRAP_LINEAR_MIP_LINEAR() 221 Builder b = new Builder(rs); in MIRRORED_REPEAT_NEAREST() 241 Builder b = new Builder(rs); in MIRRORED_REPEAT_LINEAR() 261 Builder b = new Builder(rs); in MIRRORED_REPEAT_LINEAR_MIP_LINEAR() 275 public static class Builder { class in Sampler [all …]
|
D | ProgramRaster.java | 85 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_BACK() 97 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_FRONT() 109 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_NONE() 119 public static class Builder { class in ProgramRaster 127 public Builder(RenderScript rs) { in Builder() method in ProgramRaster.Builder 136 public Builder setPointSpriteEnabled(boolean enable) { in setPointSpriteEnabled() 144 public Builder setCullMode(CullMode m) { in setCullMode()
|
D | ProgramStore.java | 237 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_NONE_DEPTH_TEST() 258 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_NONE_DEPTH_NONE() 282 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_ALPHA_DEPTH_TEST() 304 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_ALPHA_DEPTH_NONE() 319 public static class Builder { class in ProgramStore 331 public Builder(RenderScript rs) { in Builder() method in ProgramStore.Builder 350 public Builder setDepthFunc(DepthFunc func) { in setDepthFunc() 363 public Builder setDepthMaskEnabled(boolean enable) { in setDepthMaskEnabled() 378 public Builder setColorMaskEnabled(boolean r, boolean g, boolean b, boolean a) { in setColorMaskEnabled() 397 public Builder setBlendFunc(BlendSrcFunc src, BlendDstFunc dst) { in setBlendFunc() [all …]
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | MediaRouteDescriptor.java | 258 public static final class Builder { class in MediaRouteDescriptor 268 public Builder(String id, String name) { in Builder() method in MediaRouteDescriptor.Builder 278 public Builder(MediaRouteDescriptor descriptor) { in Builder() method in MediaRouteDescriptor.Builder 299 public Builder setId(String id) { in setId() 311 public Builder setName(String name) { in setName() 323 public Builder setDescription(String description) { in setDescription() 335 public Builder setEnabled(boolean enabled) { in setEnabled() 344 public Builder setConnecting(boolean connecting) { in setConnecting() 352 public Builder setCanDisconnect(boolean canDisconnect) { in setCanDisconnect() 361 public Builder setSettingsActivity(IntentSender is) { in setSettingsActivity() [all …]
|
/frameworks/base/core/java/android/content/ |
D | SyncRequest.java | 162 protected SyncRequest(SyncRequest.Builder b) { in SyncRequest() 167 mIsPeriodic = (b.mSyncType == Builder.SYNC_TYPE_PERIODIC); in SyncRequest() 168 mIsAuthority = (b.mSyncTarget == Builder.SYNC_TARGET_ADAPTER); in SyncRequest() 181 public static class Builder { class in SyncRequest 250 public Builder() { in Builder() method in SyncRequest.Builder 261 public Builder syncOnce() { in syncOnce() 311 public Builder syncPeriodic(long pollFrequency, long beforeSeconds) { in syncPeriodic() 335 public Builder setDisallowMetered(boolean disallow) { in setDisallowMetered() 352 public Builder setSyncAdapter(Account account, String authority) { in setSyncAdapter() 400 public Builder setExtras(Bundle bundle) { in setExtras() [all …]
|
/frameworks/support/v4/api21/android/support/v4/media/ |
D | MediaDescriptionCompatApi21.java | 62 public static class Builder { class in MediaDescriptionCompatApi21 64 return new MediaDescription.Builder(); in newInstance() 69 ((MediaDescription.Builder)builderObj).setMediaId(mediaId); in setMediaId() 73 ((MediaDescription.Builder)builderObj).setTitle(title); in setTitle() 77 ((MediaDescription.Builder)builderObj).setSubtitle(subtitle); in setSubtitle() 81 ((MediaDescription.Builder)builderObj).setDescription(description); in setDescription() 85 ((MediaDescription.Builder)builderObj).setIconBitmap(iconBitmap); in setIconBitmap() 89 ((MediaDescription.Builder)builderObj).setIconUri(iconUri); in setIconUri() 93 ((MediaDescription.Builder)builderObj).setExtras(extras); in setExtras() 97 return ((MediaDescription.Builder) builderObj).build(); in build()
|
D | MediaMetadataCompatApi21.java | 46 public static class Builder { class in MediaMetadataCompatApi21 48 return new MediaMetadata.Builder(); in newInstance() 52 ((MediaMetadata.Builder)builderObj).putBitmap(key, value); in putBitmap() 56 ((MediaMetadata.Builder)builderObj).putLong(key, value); in putLong() 60 ((MediaMetadata.Builder)builderObj).putRating(key, (Rating)ratingObj); in putRating() 64 ((MediaMetadata.Builder) builderObj).putText(key, value); in putText() 68 ((MediaMetadata.Builder) builderObj).putString(key, value); in putString() 72 return ((MediaMetadata.Builder)builderObj).build(); in build()
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | Sampler.java | 114 Builder b = new Builder(rs); in CLAMP_NEAREST() 134 Builder b = new Builder(rs); in CLAMP_LINEAR() 154 Builder b = new Builder(rs); in CLAMP_LINEAR_MIP_LINEAR() 174 Builder b = new Builder(rs); in WRAP_NEAREST() 194 Builder b = new Builder(rs); in WRAP_LINEAR() 214 Builder b = new Builder(rs); in WRAP_LINEAR_MIP_LINEAR() 234 Builder b = new Builder(rs); in MIRRORED_REPEAT_NEAREST() 254 Builder b = new Builder(rs); in MIRRORED_REPEAT_LINEAR() 268 public static class Builder { class in Sampler 277 public Builder(RenderScript rs) { in Builder() method in Sampler.Builder
|
/frameworks/base/core/java/android/net/ |
D | NetworkRequest.java | 74 public static class Builder { class in NetworkRequest 80 public Builder() {} in Builder() method in NetworkRequest.Builder 107 public Builder addCapability(int capability) { in addCapability() 118 public Builder removeCapability(int capability) { in removeCapability() 130 public Builder clearCapabilities() { in clearCapabilities() 145 public Builder addTransportType(int transportType) { in addTransportType() 156 public Builder removeTransportType(int transportType) { in removeTransportType() 164 public Builder setLinkUpstreamBandwidthKbps(int upKbps) { in setLinkUpstreamBandwidthKbps() 171 public Builder setLinkDownstreamBandwidthKbps(int downKbps) { in setLinkDownstreamBandwidthKbps() 190 public Builder setNetworkSpecifier(String networkSpecifier) { in setNetworkSpecifier()
|
D | VpnService.java | 403 public class Builder { class in VpnService 409 public Builder() { in Builder() method in VpnService.Builder 418 public Builder setSession(String session) { in setSession() 428 public Builder setConfigureIntent(PendingIntent intent) { in setConfigureIntent() 440 public Builder setMtu(int mtu) { in setMtu() 458 public Builder addAddress(InetAddress address, int prefixLength) { in addAddress() 480 public Builder addAddress(String address, int prefixLength) { in addAddress() 493 public Builder addRoute(InetAddress address, int prefixLength) { in addRoute() 521 public Builder addRoute(String address, int prefixLength) { in addRoute() 535 public Builder addDnsServer(InetAddress address) { in addDnsServer() [all …]
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | VertexShader.java | 33 public static class Builder { class in VertexShader 35 ProgramVertex.Builder mBuilder; 37 public Builder(RenderScriptGL rs) { in Builder() method in VertexShader.Builder 39 mBuilder = new ProgramVertex.Builder(rs); in Builder() 42 public Builder setShader(Resources resources, int resourceID) { in setShader() 47 public Builder setShader(String code) { in setShader() 52 public Builder setObjectConst(Type type) { in setObjectConst() 57 public Builder setShaderConst(Type type) { in setShaderConst() 62 public Builder addInput(Element e) { in addInput()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyGenParameterSpec.java | 530 public final static class Builder { class in KeyGenParameterSpec 567 public Builder(@NonNull String keystoreAlias, @KeyProperties.PurposeEnum int purposes) { in Builder() method in KeyGenParameterSpec.Builder 588 public Builder setKeySize(int keySize) { in setKeySize() 604 public Builder setAlgorithmParameterSpec(@NonNull AlgorithmParameterSpec spec) { in setAlgorithmParameterSpec() 618 public Builder setCertificateSubject(@NonNull X500Principal subject) { in setCertificateSubject() 632 public Builder setCertificateSerialNumber(@NonNull BigInteger serialNumber) { in setCertificateSerialNumber() 647 public Builder setCertificateNotBefore(@NonNull Date date) { in setCertificateNotBefore() 662 public Builder setCertificateNotAfter(@NonNull Date date) { in setCertificateNotAfter() 678 public Builder setKeyValidityStart(Date startDate) { in setKeyValidityStart() 693 public Builder setKeyValidityEnd(Date endDate) { in setKeyValidityEnd() [all …]
|
D | KeyProtection.java | 397 public final static class Builder { class in KeyProtection 419 public Builder(@KeyProperties.PurposeEnum int purposes) { in Builder() method in KeyProtection.Builder 431 public Builder setKeyValidityStart(Date startDate) { in setKeyValidityStart() 446 public Builder setKeyValidityEnd(Date endDate) { in setKeyValidityEnd() 460 public Builder setKeyValidityForOriginationEnd(Date endDate) { in setKeyValidityForOriginationEnd() 474 public Builder setKeyValidityForConsumptionEnd(Date endDate) { in setKeyValidityForConsumptionEnd() 496 public Builder setEncryptionPaddings( in setEncryptionPaddings() 512 public Builder setSignaturePaddings( in setSignaturePaddings() 537 public Builder setDigests(@KeyProperties.DigestEnum String... digests) { in setDigests() 552 public Builder setBlockModes(@KeyProperties.BlockModeEnum String... blockModes) { in setBlockModes() [all …]
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationTestList.java | 96 Notification n = new Notification.Builder(NotificationTestList.this) 121 Notification n = new Notification.Builder(NotificationTestList.this) 136 Notification n = new Notification.Builder(NotificationTestList.this) 150 Notification n = new Notification.Builder(NotificationTestList.this) 166 Notification.Builder n = new Notification.Builder(NotificationTestList.this) 187 Notification n = new Notification.Builder(NotificationTestList.this) 200 Notification n = new Notification.Builder(NotificationTestList.this) 213 Notification n = new Notification.Builder(NotificationTestList.this) 226 Notification n = new Notification.Builder(NotificationTestList.this) 240 Notification n = new Notification.Builder(NotificationTestList.this) [all …]
|
/frameworks/support/recommendation/src/android/support/app/recommendation/ |
D | ContentRecommendation.java | 328 private ContentRecommendation(Builder builder) { in ContentRecommendation() 703 public static final class Builder { class in ContentRecommendation 731 public Builder() { in Builder() method in ContentRecommendation.Builder 740 public Builder setIdTag(String idTag) { in setIdTag() 751 public Builder setTitle(String title) { in setTitle() 762 public Builder setText(@Nullable String description) { in setText() 776 public Builder setSourceName(@Nullable String source) { in setSourceName() 787 public Builder setContentImage(Bitmap image) { in setContentImage() 802 public Builder setBadgeIcon(int iconResourceId) { in setBadgeIcon() 814 public Builder setBackgroundImageUri(@Nullable String imageUri) { in setBackgroundImageUri() [all …]
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
D | FBOTestRS.java | 26 import android.renderscript.Type.Builder; 79 ProgramStore.Builder b = new ProgramStore.Builder(mRS); in initPFS() 90 Sampler.Builder bs = new Sampler.Builder(mRS); in initPF() 97 ProgramFragmentFixedFunction.Builder b = new ProgramFragmentFixedFunction.Builder(mRS); in initPF() 98 b.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.REPLACE, in initPF() 99 ProgramFragmentFixedFunction.Builder.Format.RGBA, 0); in initPF() 107 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS); in initPV() 175 Type.Builder b = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in initRS() 183 b = new Type.Builder(mRS, in initRS()
|