/frameworks/support/tv-provider/src/android/support/media/tv/ |
Program.java | 37 * Program program = new Program.Builder() 60 * Program updatedProgram = new Program.Builder(program) 84 private Program(Builder builder) { 85 super(builder); 176 Builder builder = new Builder(); local 177 BaseProgram.setFieldsFromCursor(cursor, builder); 181 builder.setChannelId(cursor.getLong(index)) [all...] |
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
Target.java | 23 * can be created via the {@link Builder} class. 25 * <p>To use the target, use the {@link Palette.Builder#addTarget(Target)} API when building a 283 * Builder class for generating custom {@link Target} instances. 285 public final static class Builder { 289 * Create a new {@link Target} builder from scratch. 291 public Builder() { 296 * Create a new builder based on an existing {@link Target}. 298 public Builder(Target target) { 305 public Builder setMinimumSaturation(@FloatRange(from = 0, to = 1) float value) { 313 public Builder setTargetSaturation(@FloatRange(from = 0, to = 1) float value) [all...] |
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
MapEntry.java | 139 public Builder<K, V> newBuilderForType() { 140 return new Builder<K, V>(metadata); 144 public Builder<K, V> toBuilder() { 145 return new Builder<K, V>(metadata, data); 215 * Builder to create {@link MapEntry} messages. 217 public static class Builder<K, V> 218 extends AbstractMessage.Builder<Builder<K, V>> { 221 private MapEntryLite.Builder<K, V> dataBuilder; 223 private Builder(Metadata<K, V> metadata) [all...] |
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
GeneratedMessageTest.java | 98 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 99 TestUtil.setAllFields(builder); 100 TestAllTypes message = builder.build(); 105 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 107 builder.setOptionalSfixed64(100); 108 builder.addRepeatedInt32(100); 110 builder.setOptionalImportEnum(UnittestImport.ImportEnum.IMPORT_BAR); 111 builder.addRepeatedImportEnum(UnittestImport.ImportEnum.IMPORT_BAR) 159 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 172 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 229 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 295 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 303 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 352 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 370 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 418 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 435 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 487 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 495 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 504 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 513 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 518 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 528 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 540 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 553 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 583 TestUnpackedTypes.Builder builder = TestUnpackedTypes.newBuilder(); local 590 TestPackedTypes.Builder builder = TestPackedTypes.newBuilder(); local 604 TestAllExtensions.Builder builder = TestAllExtensions.newBuilder(); local 611 TestAllExtensions.Builder builder = TestAllExtensions.newBuilder(); local 639 TestAllExtensions.Builder builder = TestAllExtensions.newBuilder(); local 648 TestAllExtensions.Builder builder = TestAllExtensions.newBuilder(); local 657 TestAllExtensions.Builder builder = TestAllExtensions.newBuilder(); local 662 TestAllExtensions.Builder builder = TestAllExtensions.newBuilder(); local 673 TestAllExtensions.Builder builder = TestAllExtensions.newBuilder(); local 725 TestAllExtensionsLite.Builder builder = TestAllExtensionsLite.newBuilder(); local 734 TestAllExtensionsLite.Builder builder = TestAllExtensionsLite.newBuilder(); local 838 TestOptimizedForSize.Builder builder = TestOptimizedForSize.newBuilder(); local 852 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 896 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 913 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 974 TestAllTypes.Builder builder = (TestAllTypes.Builder) local 1029 TestAllExtensions.Builder builder = (TestAllExtensions.Builder) local 1057 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 1071 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 1182 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 1203 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 1270 TestOneof2.Builder builder = TestOneof2.newBuilder().setFooInt(123); local 1277 TestOneof2.Builder builder = TestOneof2.newBuilder(); local 1312 TestOneof2.Builder builder = TestOneof2.newBuilder(); local 1329 TestOneof2.Builder builder = TestOneof2.newBuilder(); local 1345 TestOneof2.Builder builder = TestOneof2.newBuilder(); local 1375 TestOneof2.Builder builder = TestOneof2.newBuilder(); local 1394 TestOneof2.Builder builder = TestOneof2.newBuilder(); local 1414 TestOneof2.Builder builder = TestOneof2.newBuilder(); local 1449 TestOneof2.Builder builder = TestOneof2.newBuilder(); local 1458 TestOneof2.Builder builder = TestOneof2.newBuilder(); local 1467 TestOneof2.Builder builder = TestOneof2.newBuilder(); local 1476 TestOneof2.Builder builder = TestOneof2.newBuilder(); local 1488 TestOneof2.Builder builder = TestOneof2.newBuilder(); local 1498 TestOneof2.Builder builder = TestOneof2.newBuilder(); local 1508 TestOneof2.Builder builder = TestOneof2.newBuilder(); local 1518 TestOneof2.Builder builder = TestOneof2.newBuilder(); local 1530 TestAllTypes.Builder builder = parentBuilder.getPayloadBuilder(); local 1619 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 1641 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local [all...] |
SingleFieldBuilderTest.java | 41 * builder. 49 SingleFieldBuilder<TestAllTypes, TestAllTypes.Builder, 50 TestAllTypesOrBuilder> builder = local 51 new SingleFieldBuilder<TestAllTypes, TestAllTypes.Builder, 56 assertSame(TestAllTypes.getDefaultInstance(), builder.getMessage()); 58 builder.getBuilder().buildPartial()); 61 builder.getBuilder().setOptionalInt32(10); 63 TestAllTypes message = builder.build(); 68 builder.getBuilder().setOptionalInt32(20); 72 builder.getBuilder().setOptionalInt32(30) 80 TestAllTypesOrBuilder> builder = local 106 TestAllTypesOrBuilder> builder = local 126 TestAllTypesOrBuilder> builder = local [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ |
SeriesRecording.java | 113 * Creates a new Builder with the values set from the series information of {@link BaseProgram}. 115 public static Builder builder(String inputId, BaseProgram p) { method in class:SeriesRecording 116 return new Builder() 129 * Creates a new Builder with the values set from an existing {@link SeriesRecording}. 132 public static Builder buildFrom(SeriesRecording r) { 133 return new Builder() 178 return new Builder() 268 * Builder for {@link SeriesRecording}. 270 public static class Builder { [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
AlertDialogTest.java | 33 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null)); local 34 builder.setTitle("title").setMessage("message"); 35 builder.setCancelable(true); 36 AlertDialog alert = builder.create(); 53 AlertDialog dialog = new AlertDialog.Builder(new ContextWrapper(null)).show(); 59 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null)) local 69 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null)); local 78 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null)); local 94 AlertDialog.Builder builder = new AlertDialog.Builder(new Activity()); local 105 AlertDialog.Builder builder = new AlertDialog.Builder(context); local 116 AlertDialog.Builder builder = new AlertDialog.Builder(context); local 212 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(Robolectric.application)); local 252 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null)); local 282 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(Robolectric.application)); local 303 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(Robolectric.application)); local 324 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(Robolectric.application)); local [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
AllocationCopyPaddedTest.java | 34 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); 63 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); 93 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); 124 Type.Builder typeBuilder = new Type.Builder(mRS, element); 161 Type.Builder typeBuilder = new Type.Builder(mRS, element) [all...] |
BaseObjTest.java | 28 Type.Builder TB = new Type.Builder(mRS, E);
|
TestCtxDim.java | 26 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS));
|
/external/clang/lib/CodeGen/ |
CGExprComplex.cpp | 49 CGBuilderTy &Builder; 54 : CGF(cgf), Builder(CGF.Builder), IgnoreReal(ir), IgnoreImag(ii) { 306 return Builder.CreateStructGEP(addr, 0, offset, addr.getName() + ".realp"); 313 return Builder.CreateStructGEP(addr, 1, offset, addr.getName() + ".imagp"); 331 Real = Builder.CreateLoad(RealP, isVolatile, SrcPtr.getName() + ".real"); 336 Imag = Builder.CreateLoad(ImagP, isVolatile, SrcPtr.getName() + ".imag"); 354 Builder.CreateStore(Val.first, RealPtr, lvalue.isVolatileQualified()); 355 Builder.CreateStore(Val.second, ImagPtr, lvalue.isVolatileQualified()); 440 V = Builder.CreateElementBitCast(V, CGF.ConvertType(DestTy)) [all...] |
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
GestureDescriptionTest.java | 138 GestureDescription.Builder gestureBuilder = new GestureDescription.Builder(); 159 GestureDescription.Builder gestureBuilder = new GestureDescription.Builder(); 169 GestureDescription.Builder gestureBuilder = new GestureDescription.Builder(); 187 GestureDescription.Builder builder = new GestureDescription.Builder(); local 188 builder.addStroke(strokeDescription) [all...] |
/external/clang/lib/ASTMatchers/ |
ASTMatchFinder.cpp | 89 BoundNodesTreeBuilder *Builder, 95 Builder(Builder), 134 *Builder = ResultBindings; 250 BoundNodesTreeBuilder RecursiveBuilder(*Builder); 258 BoundNodesTreeBuilder RecursiveBuilder(*Builder); 282 BoundNodesTreeBuilder *const Builder; 378 BoundNodesTreeBuilder *Builder, int MaxDepth, 381 if (!Node.getMemoizationData() || !Builder->isComparable()) 382 return matchesRecursively(Node, Matcher, Builder, MaxDepth, Traversal [all...] |
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
MissingBindingSuggestions.java | 34 ImmutableList.Builder<String> resolutions = new ImmutableList.Builder<>();
|
/external/flatbuffers/tests/namespace_test/NamespaceA/ |
TableInC.go | 43 func TableInCStart(builder *flatbuffers.Builder) { builder.StartObject(2) } 44 func TableInCAddReferToA1(builder *flatbuffers.Builder, referToA1 flatbuffers.UOffsetT) { builder.PrependUOffsetTSlot(0, flatbuffers.UOffsetT(referToA1), 0) } 45 func TableInCAddReferToA2(builder *flatbuffers.Builder, referToA2 flatbuffers.UOffsetT) { builder.PrependUOffsetTSlot(1, flatbuffers.UOffsetT(referToA2), 0) } 46 func TableInCEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT { return builder.EndObject() [all...] |
/external/llvm/lib/Target/AMDGPU/ |
SITypeRewriter.cpp | 78 IRBuilder<> Builder(&I); 80 Value *BitCast = Builder.CreateBitCast(Ptr, 82 LoadInst *Load = Builder.CreateLoad(BitCast); 88 Value *BitCastLoad = Builder.CreateBitCast(Load, I.getType()); 95 IRBuilder<> Builder(&I); 108 Args.push_back(Builder.CreateBitCast(Arg, v4i32)); 138 I.replaceAllUsesWith(Builder.CreateCall(NewF, Args)); 143 IRBuilder<> Builder(&I);
|
/external/llvm/lib/Transforms/Scalar/ |
PartiallyInlineLibCalls.cpp | 54 IRBuilder<> Builder(JoinBB, JoinBB->begin()); 55 PHINode *Phi = Builder.CreatePHI(Call->getType(), 2); 61 Builder.SetInsertPoint(LibCallBB); 63 Builder.Insert(LibCall); 64 Builder.CreateBr(JoinBB); 71 Builder.SetInsertPoint(&CurrBB); 72 Value *FCmp = Builder.CreateFCmpOEQ(Call, Call); 73 Builder.CreateCondBr(FCmp, JoinBB, LibCallBB);
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
CertificatePinning.java | 31 new CertificatePinner.Builder() 40 Request request = new Request.Builder()
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/dialog/ |
DurationPickerDialog.java | 41 AlertDialog.Builder alert = new AlertDialog.Builder(activity);
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 542 static IRBuilder<> Builder(getGlobalContext()); 566 return Builder.CreateCall(F, OperandV, "unop"); 575 case '+': return Builder.CreateFAdd(L, R, "addtmp"); 576 case '-': return Builder.CreateFSub(L, R, "subtmp"); 577 case '*': return Builder.CreateFMul(L, R, "multmp"); 579 L = Builder.CreateFCmpULT(L, R, "cmptmp"); 581 return Builder.CreateUIToFP(L, Type::getDoubleTy(getGlobalContext()), 592 return Builder.CreateCall(F, Ops, "binop"); 611 return Builder.CreateCall(CalleeF, ArgsV, "calltmp"); 619 CondV = Builder.CreateFCmpONE(CondV, [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
ScanSettingsTest.java | 30 ScanSettings.Builder builder = new ScanSettings.Builder(); local 31 builder.setCallbackType(ScanSettings.CALLBACK_TYPE_ALL_MATCHES); 32 builder.setCallbackType(ScanSettings.CALLBACK_TYPE_FIRST_MATCH); 33 builder.setCallbackType(ScanSettings.CALLBACK_TYPE_MATCH_LOST); 34 builder.setCallbackType( 37 builder.setCallbackType( 45 builder.setCallbackType( 54 builder.setCallbackType [all...] |
/frameworks/base/media/java/android/media/tv/ |
TvInputHardwareInfo.java | 188 public static final class Builder { 196 public Builder() { 199 public Builder deviceId(int deviceId) { 204 public Builder type(int type) { 209 public Builder audioType(int audioType) { 214 public Builder audioAddress(String audioAddress) { 219 public Builder hdmiPortId(int hdmiPortId) { 227 public Builder cableConnectionStatus(@CableConnectionStatus int cableConnectionStatus) {
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
VisualVoicemailSmsFilterTest.java | 103 setSettings(new VisualVoicemailSmsFilterSettings.Builder().build()); 113 setSettings(new VisualVoicemailSmsFilterSettings.Builder().build()); 120 new VisualVoicemailSmsFilterSettings.Builder().setOriginatingNumbers( 129 new VisualVoicemailSmsFilterSettings.Builder().setOriginatingNumbers( 137 setSettings(new VisualVoicemailSmsFilterSettings.Builder() 144 setSettings(new VisualVoicemailSmsFilterSettings.Builder() 152 setSettings(new VisualVoicemailSmsFilterSettings.Builder() 161 setSettings(new VisualVoicemailSmsFilterSettings.Builder()
|
/frameworks/rs/tests/java_api/ComputePerf/src/com/example/android/rs/computeperf/ |
Mandelbrot.java | 31 Type.Builder tb = new Type.Builder(rs, Element.U8_4(rs));
|
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
UT_static_globals.java | 35 Type.Builder typeBuilder = new Type.Builder(pRS, Element.I32(pRS));
|