/cts/tests/tests/graphics/src/android/graphics/cts/ |
TypefaceTest.java | 284 Typeface typeface1 = new Typeface.Builder(mContext.getAssets(), "samplefont.ttf").build(); 287 Typeface typeface2 = new Typeface.Builder(mContext.getAssets(), "samplefont.ttf").build(); 291 Typeface typeface3 = new Typeface.Builder(mContext.getAssets(), "samplefont2.ttf").build(); 296 Typeface typeface4 = new Typeface.Builder(mContext.getAssets(), "samplefont3.ttf").build(); 303 Typeface typeface5 = new Typeface.Builder(mContext.getAssets(), "samplefont.ttf") 309 Typeface typeface6 = new Typeface.Builder(mContext.getAssets(), "samplefont.ttf") 324 Typeface typeface1 = new Typeface.Builder(obtainPath()).build(); 327 Typeface typeface2 = new Typeface.Builder(file).build(); 330 Typeface typeface3 = new Typeface.Builder(file) 349 assertNull(new Typeface.Builder(invalidFile).build()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 526 static IRBuilder<> Builder(TheContext); 573 return Builder.CreateFAdd(L, R, "addtmp"); 575 return Builder.CreateFSub(L, R, "subtmp"); 577 return Builder.CreateFMul(L, R, "multmp"); 579 L = Builder.CreateFCmpULT(L, R, "cmptmp"); 581 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); 604 return Builder.CreateCall(CalleeF, ArgsV, "calltmp"); 613 CondV = Builder.CreateFCmpONE( 616 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 624 Builder.CreateCondBr(CondV, ThenBB, ElseBB) [all...] |
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 457 static IRBuilder<> Builder(getGlobalContext()); 479 case '+': return Builder.CreateFAdd(L, R, "addtmp"); 480 case '-': return Builder.CreateFSub(L, R, "subtmp"); 481 case '*': return Builder.CreateFMul(L, R, "multmp"); 483 L = Builder.CreateFCmpULT(L, R, "cmptmp"); 485 return Builder.CreateUIToFP(L, Type::getDoubleTy(getGlobalContext()), 507 return Builder.CreateCall(CalleeF, ArgsV, "calltmp"); 515 CondV = Builder.CreateFCmpONE(CondV, 519 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 527 Builder.CreateCondBr(CondV, ThenBB, ElseBB) [all...] |
/frameworks/support/compat/java/android/support/v4/app/ |
NotificationCompat.java | 64 * {@link Builder#setSound} 71 * @see Builder#setDefaults 77 * {@link Builder#setVibrate}. Using phone vibration requires the 85 * @see Builder#setDefaults 91 * {@link #FLAG_SHOW_LIGHTS} bit, and values set with {@link Builder#setLights}. 93 * @see Builder#setDefaults 153 * @deprecated Use {@link NotificationCompat.Builder#setPriority(int)} with a positive value. 168 * {@link Builder#setGroup}. 173 * Default notification priority for {@link NotificationCompat.Builder#setPriority(int)}. 180 * Lower notification priority for {@link NotificationCompat.Builder#setPriority(int)} 658 BuilderBase builder = local 698 NotificationCompatJellybean.Builder builder = new NotificationCompatJellybean.Builder( local 740 NotificationCompatKitKat.Builder builder = new NotificationCompatKitKat.Builder( local 763 NotificationCompatApi20.Builder builder = new NotificationCompatApi20.Builder( local 803 NotificationCompatApi21.Builder builder = new NotificationCompatApi21.Builder( local 839 NotificationCompatApi24.Builder builder = new NotificationCompatApi24.Builder( local 862 NotificationCompatApi26.Builder builder = new NotificationCompatApi26.Builder( local [all...] |
/developers/build/prebuilts/gradle/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
NotificationPresets.java | 37 * Collection of notification builder presets. 70 private static NotificationCompat.Builder applyBasicOptions(Context context, 71 NotificationCompat.Builder builder, NotificationCompat.WearableExtender wearableOptions, 73 builder.setContentTitle(options.titlePreset) 78 options.actionsPreset.apply(context, builder, wearableOptions); 79 options.priorityPreset.apply(builder, wearableOptions); 81 builder.setLargeIcon(BitmapFactory.decodeResource( 85 builder.setLocalOnly(true); 88 builder.setContentIntent(NotificationUtil.getExamplePendingIntent(context 105 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local 158 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) local 190 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) local 215 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) local 238 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) local 256 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local 282 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local 322 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local 378 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local [all...] |
/developers/samples/android/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
NotificationPresets.java | 37 * Collection of notification builder presets. 70 private static NotificationCompat.Builder applyBasicOptions(Context context, 71 NotificationCompat.Builder builder, NotificationCompat.WearableExtender wearableOptions, 73 builder.setContentTitle(options.titlePreset) 78 options.actionsPreset.apply(context, builder, wearableOptions); 79 options.priorityPreset.apply(builder, wearableOptions); 81 builder.setLargeIcon(BitmapFactory.decodeResource( 85 builder.setLocalOnly(true); 88 builder.setContentIntent(NotificationUtil.getExamplePendingIntent(context 105 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local 158 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) local 190 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) local 215 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) local 238 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) local 256 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local 282 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local 322 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local 378 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local [all...] |
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
NotificationPresets.java | 37 * Collection of notification builder presets. 70 private static NotificationCompat.Builder applyBasicOptions(Context context, 71 NotificationCompat.Builder builder, NotificationCompat.WearableExtender wearableOptions, 73 builder.setContentTitle(options.titlePreset) 78 options.actionsPreset.apply(context, builder, wearableOptions); 79 options.priorityPreset.apply(builder, wearableOptions); 81 builder.setLargeIcon(BitmapFactory.decodeResource( 85 builder.setLocalOnly(true); 88 builder.setContentIntent(NotificationUtil.getExamplePendingIntent(context 105 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local 158 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) local 190 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) local 215 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) local 238 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) local 256 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local 282 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local 322 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local 378 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
ScriptGraph.java | 43 * {@link Builder#configureInput}, then configure one or more scripts with 44 * {@link Builder#configureScript} or {@link Builder#chainScript}. Finally, freeze the graph 45 * with {@link Builder#buildGraph}.</p> 79 * Create a new {@link Builder} that will be used to configure the graph's inputs 84 * @return a {@link Builder} that will be used to configure the graph settings 86 public static Builder create() { 87 return new Builder(); 97 * {@link Builder#configureInputWithSurface configureInputWithSurface} 121 * {@link Builder#configureInputWithSurface configureInputWithSurface [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
ConnectionReuseTest.java | 44 Request request = new Request.Builder() 55 Request request = new Request.Builder() 65 Request requestA = new Request.Builder() 69 Request requestB = new Request.Builder() 81 Request requestA = new Request.Builder() 84 Request requestB = new Request.Builder() 97 Request request = new Request.Builder() 108 Request request = new Request.Builder() 122 Request request = new Request.Builder() 140 Request request = new Request.Builder() [all...] |
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/ |
PlaybackStateCompatTest.java | 65 PlaybackStateCompat state = new PlaybackStateCompat.Builder().build(); 81 * Test following setter methods of {@link PlaybackStateCompat.Builder}: 82 * {@link PlaybackStateCompat.Builder#setState(int, long, float)} 83 * {@link PlaybackStateCompat.Builder#setActions(long)} 84 * {@link PlaybackStateCompat.Builder#setActiveQueueItemId(long)} 85 * {@link PlaybackStateCompat.Builder#setBufferedPosition(long)} 86 * {@link PlaybackStateCompat.Builder#setErrorMessage(CharSequence)} 87 * {@link PlaybackStateCompat.Builder#setExtras(Bundle)} 95 PlaybackStateCompat state = new PlaybackStateCompat.Builder() 116 * Test {@link PlaybackStateCompat.Builder#setState(int, long, float, long)} 141 PlaybackStateCompat.Builder builder = new PlaybackStateCompat.Builder(); local 168 PlaybackStateCompat.Builder builder = new PlaybackStateCompat.Builder(); local 197 PlaybackStateCompat.Builder builder = local [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableMapTest.java | 21 import com.google.common.collect.ImmutableMap.Builder; 140 = new Builder<String, Integer>().build(); 145 ImmutableMap<String, Integer> map = new Builder<String, Integer>() 152 ImmutableMap<String, Integer> map = new Builder<String, Integer>() 164 ImmutableMap<String, Integer> map = new Builder<String, Integer>() 171 Builder<String, Integer> builder = new Builder<String, Integer>(); local 173 builder.put(Maps.immutableEntry("one", (Integer) null)); 178 builder.put(Maps.immutableEntry((String) null, 1)) 189 ImmutableMap.Builder<String, Integer> builder = local 232 Builder<String, Integer> builder = new Builder<String, Integer>(); local 247 Builder<String, Integer> builder = new Builder<String, Integer>(); local 257 Builder<String, Integer> builder = new Builder<String, Integer>(); local 288 Builder<String, Integer> builder = new Builder<String, Integer>(); local 298 Builder<String, Integer> builder = new Builder<String, Integer>(); local 307 Builder<String, Integer> builder = new Builder<String, Integer>(); local 316 Builder<String, Integer> builder = new Builder<String, Integer>(); local 325 Builder<String, Integer> builder = new Builder<String, Integer>(); local 334 Builder<String, Integer> builder = new Builder<String, Integer>() local [all...] |
ImmutableTableTest.java | 31 ImmutableTable.Builder<String, Integer, Character> builder = local 32 ImmutableTable.builder(); 34 builder.put((String) data[i], (Integer) data[i + 1], 37 return builder.build(); 41 ImmutableTable.Builder<Character, Integer, String> builder = local 42 new ImmutableTable.Builder<Character, Integer, String>(); 43 assertEquals(ImmutableTable.of(), builder.build()); 44 assertEquals(ImmutableTable.of('a', 1, "foo"), builder 60 ImmutableTable.Builder<Character, Integer, String> builder = local 68 ImmutableTable.Builder<Character, Integer, String> builder = local 95 ImmutableTable.Builder<Character, Integer, String> builder = local 124 ImmutableTable.Builder<Character, Integer, String> builder = local 137 ImmutableTable.Builder<Character, Integer, String> builder = local 224 ImmutableTable.Builder<Character, Integer, String> builder local 237 ImmutableTable.Builder<Character, Integer, String> builder local 260 ImmutableTable.Builder<Character, Integer, String> builder local 282 ImmutableTable.Builder<Character, Integer, String> builder local 300 ImmutableTable.Builder<Character, Integer, String> builder local 317 ImmutableTable.Builder<Character, Integer, String> builder local 335 ImmutableTable.Builder<Character, Integer, String> builder local [all...] |
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/ |
AutofillHelper.java | 48 Dataset.Builder datasetBuilder = new Dataset.Builder 75 FillResponse.Builder responseBuilder = new FillResponse.Builder(); 91 (new SaveInfo.Builder(autofillFields.getSaveType(), autofillIds).build());
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
Host.java | 51 private Host(Builder builder) { 52 this.properties = Maps.newTreeMap(builder.properties); 54 initHash(builder.hashFunction); 101 public static final class Builder { 105 public Builder addProperty(String key, String value) { 110 public Builder addAllProperies(Map<String, String> properties) { 119 @VisibleForTesting public Builder hashFunctionForTesting(HashFunction hashFunction) {
|
Measurement.java | 59 private Measurement(Builder builder) { 60 this.value = builder.value; 61 this.description = builder.description; 62 this.weight = builder.weight; 102 public static final class Builder { 107 public Builder value(Value value) { 112 public Builder weight(double weight) { 118 public Builder description(String description) {
|
/external/guava/guava/src/com/google/common/collect/ |
ImmutableSortedMultiset.java | 239 return new Builder<E>(comparator).addAll(elements).build(); 295 ImmutableList.Builder<E> elementsBuilder = new ImmutableList.Builder<E>(entries.size()); 382 * Returns a builder that creates immutable sorted multisets with an explicit comparator. If the 384 * SortedMultiset<Integer>} with a {@code Comparator<Number>}, use the {@link Builder} 389 public static <E> Builder<E> orderedBy(Comparator<E> comparator) { 390 return new Builder<E>(comparator); 394 * Returns a builder that creates immutable sorted multisets whose elements are ordered by the 401 public static <E extends Comparable<E>> Builder<E> reverseOrder() { 402 return new Builder<E>(Ordering.natural().reverse()) 563 Builder<E> builder = new Builder<E>(comparator); local [all...] |
/external/nanopb-c/tests/site_scons/ |
site_init.py | 13 '''Add the necessary builder commands for nanopb tests.''' 42 run_test_builder = Builder(action = run_test, 53 decode_builder = Builder(generator = decode_actions, 64 encode_builder = Builder(generator = encode_actions, 79 compare_builder = Builder(action = compare_files, 95 match_builder = Builder(action = match_files, suffix = '.matched')
|
/external/sfntly/cpp/src/test/ |
cmap_editing_test.cc | 42 Ptr<CMapTable::Builder> cmap_table_builder = 43 (CMapTable::Builder*)font_builder->GetTableBuilder(Tag::cmap); 44 ASSERT_NE(cmap_table_builder, reinterpret_cast<CMapTable::Builder*>(NULL)); 79 Ptr<CMapTable::Builder> cmap_table_builder = 80 (CMapTable::Builder*)font_builder->NewTableBuilder(Tag::cmap);
|
/frameworks/base/telecomm/java/android/telecom/ |
CallScreeningService.java | 143 public static class Builder { 152 public Builder setDisallowCall(boolean shouldDisallowCall) { 161 public Builder setRejectCall(boolean shouldRejectCall) { 170 public Builder setSkipCallLog(boolean shouldSkipCallLog) { 179 public Builder setSkipNotification(boolean shouldSkipNotification) {
|
PhoneAccount.java | 266 public static class Builder { 283 * Creates a builder with the specified {@link PhoneAccountHandle} and label. 285 public Builder(PhoneAccountHandle accountHandle, CharSequence label) { 291 * Creates an instance of the {@link PhoneAccount.Builder} from an existing 294 * @param phoneAccount The {@link PhoneAccount} used to initialize the builder. 296 public Builder(PhoneAccount phoneAccount) { 316 * @return The builder. 319 public Builder setLabel(CharSequence label) { 328 * @return The builder. 330 public Builder setAddress(Uri value) 535 public static Builder builder( method in class:PhoneAccount [all...] |
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
GeneratedMessage.java | 55 * implements most of the Message and Builder interfaces using Java reflection. 79 protected GeneratedMessage(Builder<?> builder) { 80 unknownFields = builder.getUnknownFields(); 272 UnknownFieldSet.Builder unknownFields, 358 protected abstract Message.Builder newBuilderForType(BuilderParent parent); 361 * Interface for the parent of a Builder that allows the builder to 368 * A builder becomes dirty whenever a field is modified -- including fields 370 * when a builder becomes dirty, all its parents become dirty as well, an 438 BuilderType builder = local [all...] |
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/SPIRV/ |
SpvBuilder.cpp | 55 Builder::Builder(unsigned int magicNumber, SpvBuildLogger* buildLogger) : 70 Builder::~Builder() 74 Id Builder::import(const char* name) 84 Id Builder::makeVoidType() 98 Id Builder::makeBoolType() 112 Id Builder::makeSamplerType() 126 Id Builder::makePointer(StorageClass storageClass, Id pointee) 148 Id Builder::makeIntegerType(int width, bool hasSign [all...] |
/prebuilts/ndk/r13/sources/third_party/vulkan/glslang/SPIRV/ |
SpvBuilder.cpp | 55 Builder::Builder(unsigned int magicNumber, SpvBuildLogger* buildLogger) : 70 Builder::~Builder() 74 Id Builder::import(const char* name) 84 Id Builder::makeVoidType() 98 Id Builder::makeBoolType() 112 Id Builder::makeSamplerType() 126 Id Builder::makePointer(StorageClass storageClass, Id pointee) 148 Id Builder::makeIntegerType(int width, bool hasSign [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 188 Value *EmitGEPOffset(IRBuilderTy *Builder, const DataLayout &DL, User *GEP, 220 Result = Builder->CreateAdd(Result, ConstantInt::get(IntPtrTy, Size), 229 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs"); 234 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c"); 237 Op = Builder->CreateMul(Op, ConstantInt::get(IntPtrTy, Size), 242 Result = Builder->CreateAdd(Op, Result, GEP->getName()+".offs"); 254 StoreInst *SI, DIBuilder &Builder); 259 LoadInst *LI, DIBuilder &Builder); 274 Instruction *InsertBefore, DIBuilder &Builder, 283 DIBuilder &Builder, bool Deref, int Offset = 0) [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
CacheControl.java | 20 public static final CacheControl FORCE_NETWORK = new Builder().noCache().build(); 28 public static final CacheControl FORCE_CACHE = new Builder() 64 private CacheControl(Builder builder) { 65 this.noCache = builder.noCache; 66 this.noStore = builder.noStore; 67 this.maxAgeSeconds = builder.maxAgeSeconds; 72 this.maxStaleSeconds = builder.maxStaleSeconds; 73 this.minFreshSeconds = builder.minFreshSeconds; 74 this.onlyIfCached = builder.onlyIfCached [all...] |