/frameworks/base/packages/Shell/src/com/android/shell/ |
BugreportReceiver.java | 87 final Notification.Builder builder = new Notification.Builder(context); local 88 builder.setSmallIcon(com.android.internal.R.drawable.stat_sys_adb); 89 builder.setContentTitle(context.getString(R.string.bugreport_finished_title)); 90 builder.setTicker(context.getString(R.string.bugreport_finished_title)); 91 builder.setContentText(context.getString(R.string.bugreport_finished_text)); 92 builder.setContentIntent(PendingIntent.getActivity( 94 builder.setAutoCancel(true); 95 NotificationManager.from(context).notify(TAG, 0, builder.build()) [all...] |
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SimpleModelRS.java | 78 ProgramStore.Builder b = new ProgramStore.Builder(mRS); 89 Sampler.Builder bs = new Sampler.Builder(mRS); 96 ProgramFragmentFixedFunction.Builder b = new ProgramFragmentFixedFunction.Builder(mRS); 97 b.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.REPLACE, 98 ProgramFragmentFixedFunction.Builder.Format.RGBA, 0); 106 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS) [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
ElementSetAttributeNS.java | 30 DocumentBuilder builder; field in class:ElementSetAttributeNS 37 builder = factory.getBuilder(); 45 builder = null; 61 doc = (Document) load("staff", builder); 79 doc = (Document) load("staff", builder); 100 doc = (Document) load("staffNS", builder); 131 doc = (Document) load("staffNS", builder); 154 doc = (Document) load("staffNS", builder); 171 doc = (Document) load("staffNS", builder); 204 doc = (Document) load("staff", builder); [all...] |
ElementSetAttributeNodeNS.java | 51 DocumentBuilder builder; field in class:ElementSetAttributeNodeNS 58 builder = factory.getBuilder(); 66 builder = null; 88 doc = (Document) load("staff", builder); 121 doc = (Document) load("staffNS", builder); 143 doc = (Document) load("staffNS", builder); 166 doc = (Document) load("staffNS", builder); 188 doc = (Document) load("staffNS", builder); 189 docAlt = (Document) load("staffNS", builder); 212 doc = (Document) load("staffNS", builder); [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
EmailAddressListAdapter.java | 23 import android.net.Uri.Builder; 81 final Builder builder; local 83 builder = Email.CONTENT_FILTER_URI.buildUpon(); 85 builder.appendPath(TextUtils.isEmpty(query) ? "" : query); 87 builder = Email.CONTENT_URI.buildUpon(); 89 builder.appendQueryParameter(ContactCounts.ADDRESS_BOOK_INDEX_EXTRAS, "true"); 92 builder.appendQueryParameter(ContactsContract.DIRECTORY_PARAM_KEY, 94 builder.appendQueryParameter(ContactsContract.REMOVE_DUPLICATE_ENTRIES, "true"); 95 loader.setUri(builder.build()) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/ |
GLMessageFormatterTest.java | 23 import com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.Builder; 176 Builder builder = GLMessage.newBuilder(); local 177 builder.setFunction(func); 180 builder.setContextId(0); 181 builder.setStartTime(0); 182 builder.setDuration(0); 186 builder.setReturnValue(retValue); 190 builder.addArgs(arg); 193 return builder.build() [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_sample_aos.c | 88 LLVMBuilderRef builder = bld->gallivm->builder; local 96 coord = LLVMBuildAnd(builder, coord, length_minus_one, ""); 207 LLVMBuilderRef builder = bld->gallivm->builder; local 226 coord0 = LLVMBuildAnd(builder, coord0, length_minus_one, ""); 227 coord1 = LLVMBuildAnd(builder, coord1, length_minus_one, ""); 238 coord1 = LLVMBuildAnd(builder, 280 coord0 = LLVMBuildAnd(builder, coord0, length_minus_one, ""); 296 *offset1 = LLVMBuildAnd(builder, 366 LLVMBuilderRef builder = bld->gallivm->builder; local 470 LLVMBuilderRef builder = bld->gallivm->builder; local 526 LLVMBuilderRef builder = bld->gallivm->builder; local 738 LLVMBuilderRef builder = bld->gallivm->builder; local 976 LLVMBuilderRef builder = bld->gallivm->builder; local 1324 LLVMBuilderRef builder = bld->gallivm->builder; local 1541 LLVMBuilderRef builder = bld->gallivm->builder; local [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkPerlinNoiseShader.cpp | 760 void GrGLSimplexNoise::emitCode(GrGLShaderBuilder* builder, 769 SkString vCoords = builder->ensureFSCoords2D(coords, 0); 771 fSeedUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility, 773 const char* seedUni = builder->getUniformCStr(fSeedUni); 774 fInvMatrixUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility, 776 const char* invMatrixUni = builder->getUniformCStr(fInvMatrixUni); 777 fBaseFrequencyUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility, 779 const char* baseFrequencyUni = builder->getUniformCStr(fBaseFrequencyUni); 780 fAlphaUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility, 782 const char* alphaUni = builder->getUniformCStr(fAlphaUni) [all...] |
SkMatrixConvolutionImageFilter.cpp | 427 static void appendTextureLookup(GrGLShaderBuilder* builder, 443 builder->fsCodeAppendf("clamp(%s, %s.xy, %s.zw) != %s ? vec4(0, 0, 0, 0) : ", coord, bounds, bounds, coord); 446 builder->fsAppendTextureLookup(sampler, coord); 449 void GrGLMatrixConvolutionEffect::emitCode(GrGLShaderBuilder* builder, 457 SkString coords2D = builder->ensureFSCoords2D(coords, 0); 458 fBoundsUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility, 460 fImageIncrementUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility, 462 fKernelUni = builder->addUniformArray(GrGLShaderBuilder::kFragment_Visibility, 466 fTargetUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility, 468 fGainUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_sample_aos.c | 88 LLVMBuilderRef builder = bld->gallivm->builder; local 96 coord = LLVMBuildAnd(builder, coord, length_minus_one, ""); 207 LLVMBuilderRef builder = bld->gallivm->builder; local 226 coord0 = LLVMBuildAnd(builder, coord0, length_minus_one, ""); 227 coord1 = LLVMBuildAnd(builder, coord1, length_minus_one, ""); 238 coord1 = LLVMBuildAnd(builder, 280 coord0 = LLVMBuildAnd(builder, coord0, length_minus_one, ""); 296 *offset1 = LLVMBuildAnd(builder, 366 LLVMBuilderRef builder = bld->gallivm->builder; local 470 LLVMBuilderRef builder = bld->gallivm->builder; local 526 LLVMBuilderRef builder = bld->gallivm->builder; local 738 LLVMBuilderRef builder = bld->gallivm->builder; local 976 LLVMBuilderRef builder = bld->gallivm->builder; local 1324 LLVMBuilderRef builder = bld->gallivm->builder; local 1541 LLVMBuilderRef builder = bld->gallivm->builder; local [all...] |
/external/skia/src/effects/ |
SkPerlinNoiseShader.cpp | 760 void GrGLSimplexNoise::emitCode(GrGLShaderBuilder* builder, 769 SkString vCoords = builder->ensureFSCoords2D(coords, 0); 771 fSeedUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility, 773 const char* seedUni = builder->getUniformCStr(fSeedUni); 774 fInvMatrixUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility, 776 const char* invMatrixUni = builder->getUniformCStr(fInvMatrixUni); 777 fBaseFrequencyUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility, 779 const char* baseFrequencyUni = builder->getUniformCStr(fBaseFrequencyUni); 780 fAlphaUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility, 782 const char* alphaUni = builder->getUniformCStr(fAlphaUni) [all...] |
SkMatrixConvolutionImageFilter.cpp | 427 static void appendTextureLookup(GrGLShaderBuilder* builder, 443 builder->fsCodeAppendf("clamp(%s, %s.xy, %s.zw) != %s ? vec4(0, 0, 0, 0) : ", coord, bounds, bounds, coord); 446 builder->fsAppendTextureLookup(sampler, coord); 449 void GrGLMatrixConvolutionEffect::emitCode(GrGLShaderBuilder* builder, 457 SkString coords2D = builder->ensureFSCoords2D(coords, 0); 458 fBoundsUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility, 460 fImageIncrementUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility, 462 fKernelUni = builder->addUniformArray(GrGLShaderBuilder::kFragment_Visibility, 466 fTargetUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility, 468 fGainUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility [all...] |
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/handlers/ |
buildershandler.py | 60 def builder_json_url(master_url, builder): 61 return master_json_url(master_url) + '/' + urllib2.quote(builder) 64 def cached_build_json_url(master_url, builder, build_number): 65 return builder_json_url(master_url, builder) + '/builds/' + str(build_number) 101 basedir = build_data['basedir'] if 'basedir' in build_data else 'current builder' 133 for builder in builders: 134 build_data = fetch_json(builder_json_url(master_url, builder)) 138 logging.info('Skipping builder %s because it lacked cached or current builds.', builder) 141 build = fetch_json(cached_build_json_url(master_url, builder, latest_build) [all...] |
/external/icu4c/tools/gennorm2/ |
gennorm2.cpp | 50 void parseFile(FILE *f, Normalizer2DataBuilder &builder); 144 LocalPointer<Normalizer2DataBuilder> builder(new Normalizer2DataBuilder(errorCode)); 148 builder->setUnicodeVersion(options[UNICODE_VERSION].value); 152 builder->setOptimization(Normalizer2DataBuilder::OPTIMIZE_FAST); 174 builder->setOverrideHandling(Normalizer2DataBuilder::OVERRIDE_PREVIOUS); 175 parseFile(f.getAlias(), *builder); 179 builder->writeBinaryFile(options[OUTPUT_FILENAME].value); 188 void parseFile(FILE *f, Normalizer2DataBuilder &builder) { 205 builder.setUnicodeVersion(s); 226 builder.setCC(c, (uint8_t)value) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
InboundSmsTracker.java | 231 StringBuilder builder = new StringBuilder("SmsTracker{timestamp="); local 232 builder.append(new Date(mTimestamp)); 233 builder.append(" destPort=").append(mDestPort); 234 builder.append(" is3gpp2=").append(mIs3gpp2); 236 builder.append(" address=").append(mAddress); 237 builder.append(" refNumber=").append(mReferenceNumber); 238 builder.append(" seqNumber=").append(mSequenceNumber); 239 builder.append(" msgCount=").append(mMessageCount); 242 builder.append(" deleteWhere(").append(mDeleteWhere); 243 builder.append(") deleteArgs=(").append(Arrays.toString(mDeleteWhereArgs)) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapCallLogComposer.java | 140 final VCardBuilder builder = new VCardBuilder(vcardType); local 155 builder.appendLine(VCardConstants.PROPERTY_FN, name, needCharset, false); 156 builder.appendLine(VCardConstants.PROPERTY_N, name, needCharset, false); 163 builder.appendTelLine(type, label, number, false); 164 tryAppendCallHistoryTimeStampField(builder); 166 return builder.toString(); 178 final VCardBuilder builder = new VCardBuilder(vcardType); local 183 builder.appendLine(VCardConstants.PROPERTY_FN, phoneName, needCharset, false); 184 builder.appendLine(VCardConstants.PROPERTY_N, phoneName, needCharset, false); 188 builder.appendTelLine(phonetype, label, phoneNumber, false) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForStructuredName.java | 199 public void appendSearchableData(IndexBuilder builder) { 200 String name = builder.getString(StructuredName.DISPLAY_NAME); 201 Integer fullNameStyle = builder.getInt(StructuredName.FULL_NAME_STYLE); 203 mNameLookupBuilder.appendToSearchIndex(builder, name, fullNameStyle != null 207 String phoneticFamily = builder.getString(StructuredName.PHONETIC_FAMILY_NAME); 208 String phoneticMiddle = builder.getString(StructuredName.PHONETIC_MIDDLE_NAME); 209 String phoneticGiven = builder.getString(StructuredName.PHONETIC_GIVEN_NAME); 216 builder.appendName(phoneticFamily); 220 builder.appendName(phoneticMiddle); 224 builder.appendName(phoneticGiven) [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
KSBuilder_ImplTest.java | 50 * Tests for <code>KeyStore.Builder</code> class 118 KeyStore.Builder.newInstance(null, protPass); 126 KeyStore.Builder ksB; 129 KeyStore.Builder.newInstance(ks, null); 151 KeyStore.Builder.newInstance(ks, pp[i]); 156 ksB = KeyStore.Builder.newInstance(ks, pp[i]); 161 ksB = KeyStore.Builder.newInstance(ks, pp[i]); 241 KeyStore.Builder ksB; 242 KeyStore.Builder ksB1; 250 KeyStore.Builder.newInstance(null, defaultProvider, fl, protPass) [all...] |
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
MessageLite.java | 31 // TODO(kenton): Use generics? E.g. Builder<BuilderType extends Builder>, then 125 * data yourself. Use {@link Builder#mergeDelimitedFrom(InputStream)} (or 135 * Constructs a new builder for a message of the same type as this message. 137 Builder newBuilderForType(); 140 * Constructs a builder initialized with the current message. Use this to 143 Builder toBuilder(); 148 interface Builder extends MessageLiteOrBuilder, Cloneable { 150 Builder clear(); 153 * Constructs the message based on the state of the Builder. Subsequen [all...] |
/external/clang/lib/CodeGen/ |
CGAtomic.cpp | 118 addr = CGF.Builder.CreateStructGEP(addr, 0); 179 CGF.Builder.CreateMemSet(addr, llvm::ConstantInt::get(CGF.Int8Ty, 0), 202 llvm::LoadInst *LoadVal1 = CGF.Builder.CreateLoad(Val1); 204 llvm::LoadInst *LoadVal2 = CGF.Builder.CreateLoad(Val2); 207 CGF.Builder.CreateAtomicCmpXchg(Ptr, LoadVal1, LoadVal2, Order); 209 llvm::StoreInst *StoreVal1 = CGF.Builder.CreateStore(CXI, Val1); 211 llvm::Value *Cmp = CGF.Builder.CreateICmpEQ(CXI, LoadVal1); 219 llvm::LoadInst *Load = CGF.Builder.CreateLoad(Ptr); 223 llvm::StoreInst *StoreDest = CGF.Builder.CreateStore(Load, Dest); 232 llvm::LoadInst *LoadVal1 = CGF.Builder.CreateLoad(Val1) [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ImmutableMultiset.java | 40 * element among the items passed to the factory method or builder. When the 210 ImmutableMap.Builder<E, Integer> builder = ImmutableMap.builder(); local 214 // Since ImmutableMap.Builder throws an NPE if an element is null, no 216 builder.put(entry.getElement(), count); 224 return new RegularImmutableMultiset<E>(builder.build(), Ints.saturatedCast(size)); 492 * Returns a new builder. The generated builder is equivalent to the builder 495 public static <E> Builder<E> builder() { method [all...] |
/frameworks/base/core/java/android/content/ |
SyncRequest.java | 66 * Builder.build(). 200 protected SyncRequest(SyncRequest.Builder b) { 206 mIsPeriodic = (b.mSyncType == Builder.SYNC_TYPE_PERIODIC); 207 mIsAuthority = (b.mSyncTarget == Builder.SYNC_TARGET_ADAPTER); 219 * Builder class for a {@link SyncRequest}. As you build your SyncRequest this class will also 222 public static class Builder { 260 * Whether this builder is building a periodic sync, or a one-time sync. 301 public Builder() { 309 * SyncRequest.Builder builder = (new SyncRequest.Builder()).syncOnce() [all...] |
/frameworks/compile/mclinker/unittests/ |
LinkerTest.cpp | 61 IRBuilder builder(module, config); 63 // builder.CreateInput("./test.o"); 65 if (linker.link(module, builder)) 102 IRBuilder builder(module, config); 107 builder.ReadInput("crtbegin", crtbegin); 112 builder.ReadInput("plasma", plasma); 115 builder.ReadInput("m"); 116 builder.ReadInput("log"); 117 builder.ReadInput("jnigraphics"); 118 builder.ReadInput("c") [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
GLProtoBuf.java | 1543 Builder builder = newBuilder(); local 1554 Builder builder = newBuilder(); local 1592 Builder builder = new Builder(); local 2218 Builder builder = newBuilder(); local 2229 Builder builder = newBuilder(); local 2267 Builder builder = new Builder(); local 2665 Builder builder = newBuilder(); local 2676 Builder builder = newBuilder(); local 2714 Builder builder = new Builder(); local [all...] |
/external/chromium/chrome/browser/prefs/ |
pref_service_unittest.cc | 236 PrefServiceMockBuilder builder; local 237 builder.WithCommandLine(&command_line); 238 scoped_ptr<PrefService> prefs(builder.Create()); 249 builder.WithCommandLine(&command_line); 250 builder.WithManagedPlatformProvider(provider.get()); 251 scoped_ptr<PrefService> prefs2(builder.Create()); 272 PrefServiceMockBuilder builder; local 273 builder.WithCommandLine(&command_line); 274 scoped_ptr<PrefService> prefs(builder.Create()); 286 builder.WithCommandLine(&command_line) 305 PrefServiceMockBuilder builder; local 334 PrefServiceMockBuilder builder; local [all...] |