/frameworks/support/media-compat/api22/android/support/v4/media/session/ |
PlaybackStateCompatApi22.java | 35 PlaybackState.Builder stateObj = new PlaybackState.Builder();
|
/frameworks/support/media-compat/tests/src/android/support/v4/media/ |
AudioAttributesCompatTest.java | 39 static final AudioAttributesCompat.Builder mkBuilder( 42 return new AudioAttributesCompat.Builder().setContentType(type).setUsage(usage); 45 static final AudioAttributesCompat.Builder mkBuilder(int legacyStream) { 46 return new AudioAttributesCompat.Builder().setLegacyStreamType(legacyStream); 62 new AudioAttributes.Builder() 89 equalTo(new AudioAttributes.Builder((AudioAttributes) mMediaAA).build())); 105 equalTo(new AudioAttributesCompat.Builder(mMediaAAC).build())); 111 equalTo(new AudioAttributesCompat.Builder(mNotificationAAC).build()));
|
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
CaptureRequestBuilderProxy.java | 23 * Wraps {@link android.hardware.camera2.CaptureRequest.Builder} with a mockable 27 private final CaptureRequest.Builder mBuilder; 29 public CaptureRequestBuilderProxy(CaptureRequest.Builder builder) { 30 mBuilder = builder; 34 * See {@link CaptureRequest.Builder#addTarget}. 41 * See {@link CaptureRequest.Builder#build}. 48 * See {@link CaptureRequest.Builder#get}. 55 * See {@link CaptureRequest.Builder#removeTarget}. 62 * See {@link CaptureRequest.Builder#set} [all...] |
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/ |
DialerExecutors.java | 119 public static <InputT, OutputT> DialerExecutor.Builder<InputT, OutputT> createUiTaskBuilder( 130 public static <InputT, OutputT> DialerExecutor.Builder<InputT, OutputT> createNonUiTaskBuilder(
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
IntentUtilities.java | 44 * @return a URI builder for "content://ui.email.android.com/..." 46 public static Uri.Builder createActivityIntentUrlBuilder(String path) { 47 final Uri.Builder b = new Uri.Builder(); 57 public static void setAccountId(Uri.Builder b, long accountId) { 66 public static void setAccountName(Uri.Builder b, String accountName) { 75 public static void setMailboxId(Uri.Builder b, long mailboxId) { 84 public static void setMessageId(Uri.Builder b, long messageId) { 93 public static void setAccountUuid(Uri.Builder b, String mUuid) {
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/handheld/ |
ErrorDialogFragment.java | 34 AlertDialog.Builder b = new AlertDialog.Builder(getActivity())
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
FolderUri.java | 43 final Uri.Builder builder = new Uri.Builder(); local 44 builder.scheme(fullUri .getScheme()); 45 builder.encodedAuthority(fullUri.getEncodedAuthority()); 46 builder.encodedPath(fullUri.getEncodedPath()); 48 return builder.build();
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
CarActionExtender.java | 45 public NotificationCompat.Action.Builder extend(NotificationCompat.Action.Builder builder) { 50 builder.getExtras().putBundle(EXTRA_AUTO_EXTENDER, autoBundle); 51 return builder;
|
/packages/services/Car/service/src/com/android/car/ |
CarAudioAttributesUtil.java | 149 AudioAttributes.Builder builder = new AudioAttributes.Builder(); local 150 return builder.setContentType(contentType).setUsage(usage).build(); 155 AudioAttributes.Builder builder = new AudioAttributes.Builder(); local 158 return builder.setContentType(contentType).setUsage(usage).addBundle(bundle).build(); 162 AudioAttributes.Builder builder = new AudioAttributes.Builder() local 171 AudioAttributes.Builder builder = new AudioAttributes.Builder(); local [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAlertDialog.java | 237 * Shadows the {@code android.app.AlertDialog.Builder} class. 239 @Implements(AlertDialog.Builder.class) 242 private AlertDialog.Builder realBuilder; 279 * @return This Builder object to allow for chaining of calls to set methods 282 public AlertDialog.Builder setItems(int itemsId, final DialogInterface.OnClickListener listener) { 291 public AlertDialog.Builder setItems(CharSequence[] items, final DialogInterface.OnClickListener listener) { 300 public AlertDialog.Builder setSingleChoiceItems(CharSequence[] items, int checkedItem, final DialogInterface.OnClickListener listener) { 309 public AlertDialog.Builder setSingleChoiceItems(ListAdapter adapter, int checkedItem, final DialogInterface.OnClickListener listener) { 319 public AlertDialog.Builder setMultiChoiceItems(CharSequence[] items, boolean[] checkedItems, final DialogInterface.OnMultiChoiceClickListener listener) { 336 public AlertDialog.Builder setTitle(CharSequence title) [all...] |
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
Utils.java | 28 Uri.Builder builder = uri.buildUpon(); local 29 builder.authority(getAuthorityWithoutUserId(uri.getAuthority())); 30 return builder.build();
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/ |
Entity.java | 36 private Entity(final Builder<E> builder) { 37 mFields = builder.mFields; 38 mFieldMap = builder.mFieldMap; 62 * {@link Entity} builder. 64 public static final class Builder<E> { 69 public Builder() { 73 public Builder<E> addField(@NonNull final String name, final int fieldType) {
|
/cts/tests/tests/media/src/android/media/cts/ |
PlaybackStateTest.java | 54 PlaybackState state = new PlaybackState.Builder().build(); 69 * Test following setter methods of {@link PlaybackState.Builder}: 70 * {@link PlaybackState.Builder#setState(int, long, float)} 71 * {@link PlaybackState.Builder#setActions(long)} 72 * {@link PlaybackState.Builder#setActiveQueueItemId(long)} 73 * {@link PlaybackState.Builder#setBufferedPosition(long)} 74 * {@link PlaybackState.Builder#setErrorMessage(CharSequence)} 75 * {@link PlaybackState.Builder#setExtras(Bundle)} 81 PlaybackState state = new PlaybackState.Builder() 100 * Test {@link PlaybackState.Builder#setState(int, long, float, long)} 117 PlaybackState.Builder builder = new PlaybackState.Builder(); local 142 PlaybackState.Builder builder = new PlaybackState.Builder(); local 174 PlaybackState.Builder builder = local [all...] |
/developers/build/prebuilts/gradle/WearComplicationProvidersTestSuite/Wearable/src/main/java/com/example/android/wearable/wear/wearcomplicationproviderstestsuite/ |
NoDataProviderService.java | 26 ComplicationData data = new ComplicationData.Builder(ComplicationData.TYPE_NO_DATA).build();
|
ShortTextProviderService.java | 55 new ComplicationData.Builder(type) 64 new ComplicationData.Builder(type) 76 new ComplicationData.Builder(type) 89 new ComplicationData.Builder(type)
|
/developers/samples/android/wearable/wear/WearComplicationProvidersTestSuite/Wearable/src/main/java/com/example/android/wearable/wear/wearcomplicationproviderstestsuite/ |
NoDataProviderService.java | 26 ComplicationData data = new ComplicationData.Builder(ComplicationData.TYPE_NO_DATA).build();
|
ShortTextProviderService.java | 55 new ComplicationData.Builder(type) 64 new ComplicationData.Builder(type) 76 new ComplicationData.Builder(type) 89 new ComplicationData.Builder(type)
|
/external/dagger2/core/src/main/java/dagger/ |
Subcomponent.java | 46 * A builder for a subcomponent. This follows all the rules of {@link Component.Builder}, except 48 * Components can have methods that return a {@link Subcomponent.Builder}-annotated type, 53 @interface Builder {}
|
/external/flatbuffers/tests/MyGame/Example2/ |
Monster.go | 29 func MonsterStart(builder *flatbuffers.Builder) { 30 builder.StartObject(0) 32 func MonsterEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 33 return builder.EndObject()
|
/external/llvm/lib/Transforms/Utils/ |
FlattenCFG.cpp | 31 bool FlattenParallelAndOr(BasicBlock *BB, IRBuilder<> &Builder); 35 bool MergeIfRegion(BasicBlock *BB, IRBuilder<> &Builder); 124 bool FlattenCFGOpt::FlattenParallelAndOr(BasicBlock *BB, IRBuilder<> &Builder) { 271 IRBuilder<>::InsertPointGuard Guard(Builder); 283 Builder.SetInsertPoint(PBI); 287 NC = Builder.CreateOr(PC, CC); 290 NC = Builder.CreateAnd(PC, CC); 388 bool FlattenCFGOpt::MergeIfRegion(BasicBlock *BB, IRBuilder<> &Builder) { 439 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); 440 BasicBlock::iterator SaveInsertPt = Builder.GetInsertPoint() [all...] |
/external/sfntly/cpp/src/sfntly/table/ |
table_based_table_builder.h | 24 class TableBasedTableBuilder : public Table::Builder {
|
/frameworks/base/core/java/android/view/textclassifier/ |
TextSelection.java | 108 * Builder used to build {@link TextSelection} objects. 110 public static final class Builder { 119 * Creates a builder used to build {@link TextSelection} objects. 124 public Builder(@IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex) { 138 public Builder setEntityType( 149 Builder setLogSource(@NonNull String logSource) {
|
/frameworks/support/customtabs/tests/src/android/support/customtabs/ |
CustomTabsIntentTest.java | 45 CustomTabsIntent customTabsIntent = new CustomTabsIntent.Builder().build(); 61 Intent intent = new CustomTabsIntent.Builder().setToolbarColor(color).build().intent; 70 Intent intent = new CustomTabsIntent.Builder().setToolbarColor(colorId).build().intent; 73 intent = new CustomTabsIntent.Builder().setToolbarColor(color).build().intent;
|
/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/ |
NotificationsActivity.java | 51 NotificationCompat.Builder builder = new NotificationCompat.Builder(this) local 63 nm.notify("direct_tag", R.id.direct_notification, builder.getNotification()); 67 NotificationCompat.Builder builder = new NotificationCompat.Builder(this) local 78 nm.notify("interstitial_tag", R.id.interstitial_notification, builder.getNotification());
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
NodeBuilderTest.java | 48 @DataProvider(name = "Node.Builder") 55 List<Function<Integer, Node.Builder<Integer>>> ms = Arrays.asList( 56 s -> Nodes.builder(), 57 s -> Nodes.builder(s, LambdaTestHelpers.integerArrayGenerator) 63 for (Function<Integer, Node.Builder<Integer>> m : ms) { 71 @Test(dataProvider = "Node.Builder", groups = { "serialization-hostile" }) 72 public void testIteration(List<Integer> l, Function<Integer, Node.Builder<Integer>> m) { 73 Node.Builder<Integer> nb = m.apply(l.size()); 91 // Node.Builder.OfInt 93 @DataProvider(name = "Node.Builder<Integer>" [all...] |