/external/chromium_org/third_party/sfntly/cpp/src/sfntly/ |
font.h | 123 // construct one use an instance of Font::Builder. 126 // A builder for a font object. The builder allows the for the creation of 127 // immutable Font objects. The builder is a one use non-thread safe object and 129 // further Font object new builder will be required. 130 class Builder : public RefCounted<Builder> { 132 virtual ~Builder(); 134 static CALLER_ATTACH Builder* 136 static CALLER_ATTACH Builder* [all...] |
/external/sfntly/cpp/src/sfntly/ |
font.h | 123 // construct one use an instance of Font::Builder. 126 // A builder for a font object. The builder allows the for the creation of 127 // immutable Font objects. The builder is a one use non-thread safe object and 129 // further Font object new builder will be required. 130 class Builder : public RefCounted<Builder> { 132 virtual ~Builder(); 134 static CALLER_ATTACH Builder* 136 static CALLER_ATTACH Builder* [all...] |
/developers/build/templates/CardStream/_MODULE_/ |
README-CardStream.txt | 41 -Create a instance of Card.Builder with a tag String that *must* be unique among all cards. 43 Card.Builder builder = new Card.Builder(UNIQUE_TAG_STRING); 45 -Set the properties for your card in the builder. Some properties (title, description, progress type) can also 48 builder.setTitle(String title) 51 All actions *must* be defined through the builder. They can be hidden or shown later again, but they must be defined 52 in the builder before .build() is called. 54 -To implement an action, use Builder.addAction with a label, id, type (Neutral/Positive/Negative) and 59 builder.addAction(actionLabel1, 0, Card.ACTION_NEUTRAL, new Card.CardActionCallback() [all...] |
/developers/samples/android/sensors/BatchStepSensor/BatchStepSensorSample/ |
README-CardStream.txt | 41 -Create a instance of Card.Builder with a tag String that *must* be unique among all cards. 43 Card.Builder builder = new Card.Builder(UNIQUE_TAG_STRING); 45 -Set the properties for your card in the builder. Some properties (title, description, progress type) can also 48 builder.setTitle(String title) 51 All actions *must* be defined through the builder. They can be hidden or shown later again, but they must be defined 52 in the builder before .build() is called. 54 -To implement an action, use Builder.addAction with a label, id, type (Neutral/Positive/Negative) and 59 builder.addAction(actionLabel1, 0, Card.ACTION_NEUTRAL, new Card.CardActionCallback() [all...] |
/external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/ |
AccountHolder.java | 95 public static Builder create() { 96 return new Builder(); 119 private Builder copy() { 124 public static class Builder { 136 public Builder account(Account account) { 141 public Builder password(String password) { 146 public Builder authToken(String authTokenType, String authToken) { 154 public Builder authTokens(Map<String, String> authTokens) { 159 public Builder hasBeenAccepted(String authTokenType, boolean hasBeenAccepted) { 167 public Builder hasBeenAcceptedMap(Map<String, Boolean> hasBeenAcceptedMap) [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/ |
table.h | 37 // Note: original version is Builder<T extends Table> 40 class Builder : public FontDataTable::Builder { 42 virtual ~Builder(); 46 // Get a builder for the table type specified by the data in the header. 49 // @return builder for the table specified 50 static CALLER_ATTACH Builder* GetBuilder(Header* header, 56 Builder(Header* header, WritableFontData* data); 57 Builder(Header* header, ReadableFontData* data); 58 Builder(Header* header) [all...] |
/external/chromium_org/third_party/skia/src/gpu/effects/ |
GrDistanceFieldTextureEffect.cpp | 25 virtual void emitCode(GrGLFullShaderBuilder* builder, 37 builder->addVarying(kVec2f_GrSLType, "textureCoords", &vsVaryingName, &fsVaryingNamePtr); 41 builder->getEffectAttributeName(drawEffect.getVertexAttribIndices()[0])->c_str(); 42 builder->vsCodeAppendf("\t%s = %s;\n", vsVaryingName, attrName); 44 builder->fsCodeAppend("\tvec4 texColor = "); 45 builder->fsAppendTextureLookup(samplers[0], 48 builder->fsCodeAppend(";\n"); 49 builder->fsCodeAppend("\tfloat distance = texColor.r;\n"); 52 builder->fsCodeAppend("\tfloat afwidth = 0.7071*length(vec2(dFdx(distance), dFdy(distance)));\n"); 53 builder->fsCodeAppend("\tfloat val = smoothstep("THRESHOLD"-afwidth, "THRESHOLD"+afwidth, distance);\n") [all...] |
/external/sfntly/cpp/src/sfntly/table/ |
table.h | 37 // Note: original version is Builder<T extends Table> 40 class Builder : public FontDataTable::Builder { 42 virtual ~Builder(); 46 // Get a builder for the table type specified by the data in the header. 49 // @return builder for the table specified 50 static CALLER_ATTACH Builder* GetBuilder(Header* header, 56 Builder(Header* header, WritableFontData* data); 57 Builder(Header* header, ReadableFontData* data); 58 Builder(Header* header) [all...] |
/external/skia/src/gpu/effects/ |
GrDistanceFieldTextureEffect.cpp | 25 virtual void emitCode(GrGLFullShaderBuilder* builder, 37 builder->addVarying(kVec2f_GrSLType, "textureCoords", &vsVaryingName, &fsVaryingNamePtr); 41 builder->getEffectAttributeName(drawEffect.getVertexAttribIndices()[0])->c_str(); 42 builder->vsCodeAppendf("\t%s = %s;\n", vsVaryingName, attrName); 44 builder->fsCodeAppend("\tvec4 texColor = "); 45 builder->fsAppendTextureLookup(samplers[0], 48 builder->fsCodeAppend(";\n"); 49 builder->fsCodeAppend("\tfloat distance = texColor.r;\n"); 52 builder->fsCodeAppend("\tfloat afwidth = 0.7071*length(vec2(dFdx(distance), dFdy(distance)));\n"); 53 builder->fsCodeAppend("\tfloat val = smoothstep("THRESHOLD"-afwidth, "THRESHOLD"+afwidth, distance);\n") [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
PackedStringTests.java | 50 // test the builder in "create mode" 52 PackedString.Builder b = new PackedString.Builder(); 60 PackedString.Builder b2 = new PackedString.Builder(packedOut); 68 // test the builder in "edit mode" 70 // Start with a Builder based on a non-empty packed string 71 PackedString.Builder b = new PackedString.Builder(PACKED_STRING_TAGGED); 93 PackedString.Builder b2 = new PackedString.Builder(packedOut) [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
ContactsSyncParser.java | 4 import android.content.ContentProviderOperation.Builder; 691 public void addValues(RowBuilder builder); 713 public void addValues(RowBuilder builder) { 714 builder.withValue(Email.DATA, email); 715 builder.withValue(Email.DISPLAY_NAME, displayName); 732 public void addValues(RowBuilder builder) { 733 builder.withValue(Im.DATA, im); 752 public void addValues(RowBuilder builder) { 753 builder.withValue(Im.DATA, phone); 754 builder.withValue(Phone.TYPE, type) 771 Builder builder; field in class:ContactsSyncParser.RowBuilder 814 Builder builder = ContentProviderOperation.newInsert( local 950 RowBuilder builder = null; local 990 RowBuilder builder = local 1024 RowBuilder builder = untypedRowBuilder(entity, EasChildren.CONTENT_ITEM_TYPE); local 1033 RowBuilder builder = local 1040 RowBuilder builder = local 1061 RowBuilder builder = untypedRowBuilder(entity, StructuredName.CONTENT_ITEM_TYPE); local 1083 RowBuilder builder = untypedRowBuilder(entity, EasPersonal.CONTENT_ITEM_TYPE); local 1098 RowBuilder builder = untypedRowBuilder(entity, EasBusiness.CONTENT_ITEM_TYPE); local 1115 RowBuilder builder = untypedRowBuilder(entity, Photo.CONTENT_ITEM_TYPE); local 1124 RowBuilder builder = typedRowBuilder(entity, Phone.CONTENT_ITEM_TYPE, type); local 1135 RowBuilder builder = untypedRowBuilder(entity, Website.CONTENT_ITEM_TYPE); local 1146 RowBuilder builder = typedRowBuilder(entity, Relation.CONTENT_ITEM_TYPE, type); local 1157 RowBuilder builder = local 1170 RowBuilder builder = typedRowBuilder(entity, StructuredPostal.CONTENT_ITEM_TYPE, local 1232 RowBuilder builder = newRowBuilder(entity, mimeType); local 1250 RowBuilder builder = new RowBuilder( local 1264 RowBuilder builder = typedRowBuilder(entity, Organization.CONTENT_ITEM_TYPE, type); local 1283 RowBuilder builder = typedRowBuilder(entity, Note.CONTENT_ITEM_TYPE, -1); local [all...] |
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/model/ |
testfile.py | 39 builder = db.StringProperty() variable in class:TestFile 43 def delete_file(cls, key, master, builder, test_type, name, before, limit): 53 files = cls.get_files(master, builder, test_type, name, before, load_data=False, limit=limit) 56 "File not found, master: %s, builder: %s, test_type:%s, name: %s, before: %s.", 57 master, builder, test_type, name, before) 66 def get_files(cls, master, builder, test_type, name, before=None, load_data=True, limit=1): 70 if builder: 71 query = query.filter("builder =", builder) 89 file_information = "master: %s, builder: %s, test_type: %s, name: %s." % (file.master, file.builder, file.test_type, file.name [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_struct.c | 57 member_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, Elements(indices), ""); 74 res = LLVMBuildLoad(gallivm->builder, member_ptr, ""); 91 element_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, Elements(indices), ""); 110 res = LLVMBuildLoad(gallivm->builder, element_ptr, ""); 128 LLVMBuildStore(gallivm->builder, value, element_ptr); 133 lp_build_pointer_get(LLVMBuilderRef builder, 140 element_ptr = LLVMBuildGEP(builder, ptr, &index, 1, ""); 141 res = LLVMBuildLoad(builder, element_ptr, ""); 150 lp_build_pointer_get_unaligned(LLVMBuilderRef builder, 158 element_ptr = LLVMBuildGEP(builder, ptr, &index, 1, "") [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ImmutableClassToInstanceMap.java | 33 * Returns a new builder. The generated builder is equivalent to the builder 34 * created by the {@link Builder} constructor. 36 public static <B> Builder<B> builder() { method in class:ImmutableClassToInstanceMap 37 return new Builder<B>(); 41 * A builder for creating immutable class-to-instance maps. Example: 45 * new ImmutableClassToInstanceMap.Builder<Handler>() 52 * and build again. Thus each map generated by this builder will be a superse [all...] |
ImmutableTable.java | 64 * {@link Builder} and call {@link Builder#orderRowsBy}, 65 * {@link Builder#orderColumnsBy}, and {@link Builder#putAll} 89 ImmutableSet.Builder<Cell<R, C, V>> cellSetBuilder 90 = ImmutableSet.builder(); 106 * Returns a new builder. The generated builder is equivalent to the builder 107 * created by the {@link Builder#Builder()} constructor 109 public static final <R, C, V> Builder<R, C, V> builder() { method in class:ImmutableTable [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_struct.c | 57 member_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, Elements(indices), ""); 74 res = LLVMBuildLoad(gallivm->builder, member_ptr, ""); 91 element_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, Elements(indices), ""); 110 res = LLVMBuildLoad(gallivm->builder, element_ptr, ""); 128 LLVMBuildStore(gallivm->builder, value, element_ptr); 133 lp_build_pointer_get(LLVMBuilderRef builder, 140 element_ptr = LLVMBuildGEP(builder, ptr, &index, 1, ""); 141 res = LLVMBuildLoad(builder, element_ptr, ""); 150 lp_build_pointer_get_unaligned(LLVMBuilderRef builder, 158 element_ptr = LLVMBuildGEP(builder, ptr, &index, 1, "") [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
UnknownFieldSet.java | 33 import com.google.protobuf.AbstractMessageLite.Builder.LimitedInputStream; 53 * {@link Message.Builder} contains an {@link Builder}). 62 /** Create a new {@link Builder}. */ 63 public static Builder newBuilder() { 64 return Builder.create(); 68 * Create a new {@link Builder} and initialize it to be a copy 71 public static Builder newBuilder(final UnknownFieldSet copyFrom) { 260 public Builder newBuilderForType() { 264 public Builder toBuilder() 293 Builder builder = new Builder(); local 816 Builder builder = new Builder(); local [all...] |
DynamicMessage.java | 126 /** Construct a {@link Message.Builder} for the given type. */ 127 public static Builder newBuilder(Descriptor type) { 128 return new Builder(type); 132 * Construct a {@link Message.Builder} for a message of the same type as 135 public static Builder newBuilder(Message prototype) { 136 return new Builder(prototype.getDescriptorForType()).mergeFrom(prototype); 231 public Builder newBuilderForType() { 232 return new Builder(type); 235 public Builder toBuilder() { 250 * Builder for {@link DynamicMessage}s [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
HtmlUtils.java | 81 final SpannableStringBuilder builder; local 83 builder = (SpannableStringBuilder) original; 85 builder = new SpannableStringBuilder(original); 88 final QuoteSpan[] quoteSpans = builder.getSpans(0, length, QuoteSpan.class); 94 replaceSpan(builder, quoteSpans[i], new StreamItemQuoteSpan(color, width)); 98 final ImageSpan[] imageSpans = builder.getSpans(0, length, ImageSpan.class); 102 replaceSpan(builder, span, new ImageSpan(span.getDrawable(), 110 for (int i = builder.length() - 1; i >= 0; i--) { 111 if (builder.charAt(i) != '\n') { 119 return builder; [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/truetype/ |
loca_table.h | 41 class Builder : public Table::Builder, public RefCounted<Builder> { 44 Builder(Header* header, WritableFontData* data); 45 Builder(Header* header, ReadableFontData* data); 46 virtual ~Builder(); 48 static CALLER_ATTACH Builder* CreateBuilder(Header* header, 57 // Gets the List of locas for loca table builder. These may be manipulated 61 // If there is no current data for the loca table builder or the loca list 67 // connection of that previous list to this builder will be broken [all...] |
/external/sfntly/cpp/src/sfntly/table/truetype/ |
loca_table.h | 41 class Builder : public Table::Builder, public RefCounted<Builder> { 44 Builder(Header* header, WritableFontData* data); 45 Builder(Header* header, ReadableFontData* data); 46 virtual ~Builder(); 48 static CALLER_ATTACH Builder* CreateBuilder(Header* header, 57 // Gets the List of locas for loca table builder. These may be manipulated 61 // If there is no current data for the loca table builder or the loca list 67 // connection of that previous list to this builder will be broken [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableMapTest.java | 24 import com.google.common.collect.ImmutableMap.Builder; 284 = new Builder<String, Integer>().build(); 289 ImmutableMap<String, Integer> map = new Builder<String, Integer>() 296 ImmutableMap<String, Integer> map = new Builder<String, Integer>() 308 ImmutableMap<String, Integer> map = new Builder<String, Integer>() 315 Builder<String, Integer> builder = new Builder<String, Integer>(); local 317 builder.put(Maps.immutableEntry("one", (Integer) null)); 322 builder.put(Maps.immutableEntry((String) null, 1)) 333 ImmutableMap.Builder<String, Integer> builder = local 376 Builder<String, Integer> builder = new Builder<String, Integer>(); local 391 Builder<String, Integer> builder = new Builder<String, Integer>(); local 400 Builder<String, Integer> builder = new Builder<String, Integer>(); local 409 Builder<String, Integer> builder = new Builder<String, Integer>(); local 418 Builder<String, Integer> builder = new Builder<String, Integer>(); local 427 Builder<String, Integer> builder = new Builder<String, Integer>() local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_bld_interp.c | 135 LLVMBuilderRef builder = coeff_bld->gallivm->builder; local 147 *pixoffx = LLVMBuildInsertElement(builder, *pixoffx, pixxf, nr, ""); 148 *pixoffy = LLVMBuildInsertElement(builder, *pixoffy, pixyf, nr, ""); 168 LLVMBuilderRef builder = gallivm->builder; local 196 ptr = LLVMBuildGEP(builder, dadx_ptr, &index, 1, ""); 197 ptr = LLVMBuildBitCast(builder, ptr, 199 dadxaos = LLVMBuildLoad(builder, ptr, ""); 201 ptr = LLVMBuildGEP(builder, dady_ptr, &index, 1, "") 245 LLVMBuilderRef builder = gallivm->builder; local 369 LLVMBuilderRef builder = gallivm->builder; local 557 LLVMBuilderRef builder = gallivm->builder; local 676 LLVMBuilderRef builder = bld->coeff_bld.gallivm->builder; local [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_bld_interp.c | 135 LLVMBuilderRef builder = coeff_bld->gallivm->builder; local 147 *pixoffx = LLVMBuildInsertElement(builder, *pixoffx, pixxf, nr, ""); 148 *pixoffy = LLVMBuildInsertElement(builder, *pixoffy, pixyf, nr, ""); 168 LLVMBuilderRef builder = gallivm->builder; local 196 ptr = LLVMBuildGEP(builder, dadx_ptr, &index, 1, ""); 197 ptr = LLVMBuildBitCast(builder, ptr, 199 dadxaos = LLVMBuildLoad(builder, ptr, ""); 201 ptr = LLVMBuildGEP(builder, dady_ptr, &index, 1, "") 245 LLVMBuilderRef builder = gallivm->builder; local 369 LLVMBuilderRef builder = gallivm->builder; local 557 LLVMBuilderRef builder = gallivm->builder; local 676 LLVMBuilderRef builder = bld->coeff_bld.gallivm->builder; local [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardEntry.java | 162 final ContentProviderOperation.Builder builder = ContentProviderOperation local 164 builder.withValueBackReference(StructuredName.RAW_CONTACT_ID, backReferenceIndex); 165 builder.withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); 168 builder.withValue(StructuredName.GIVEN_NAME, mGiven); 171 builder.withValue(StructuredName.FAMILY_NAME, mFamily); 174 builder.withValue(StructuredName.MIDDLE_NAME, mMiddle); 177 builder.withValue(StructuredName.PREFIX, mPrefix); 180 builder.withValue(StructuredName.SUFFIX, mSuffix); 186 builder.withValue(StructuredName.PHONETIC_GIVEN_NAME, mPhoneticGiven) 322 final ContentProviderOperation.Builder builder = ContentProviderOperation local 412 final ContentProviderOperation.Builder builder = ContentProviderOperation local 555 final ContentProviderOperation.Builder builder = ContentProviderOperation local 594 StringBuilder builder = new StringBuilder(); local 753 final StringBuilder builder = new StringBuilder(); local 778 final ContentProviderOperation.Builder builder = ContentProviderOperation local 889 final ContentProviderOperation.Builder builder = ContentProviderOperation local 993 final ContentProviderOperation.Builder builder = ContentProviderOperation local 1076 final ContentProviderOperation.Builder builder = ContentProviderOperation local 1129 final ContentProviderOperation.Builder builder = ContentProviderOperation local 1184 final ContentProviderOperation.Builder builder = ContentProviderOperation local 1242 final ContentProviderOperation.Builder builder = ContentProviderOperation local 1298 final ContentProviderOperation.Builder builder = ContentProviderOperation local 1367 final ContentProviderOperation.Builder builder = ContentProviderOperation local 1466 final ContentProviderOperation.Builder builder = ContentProviderOperation local 1526 final StringBuilder builder = new StringBuilder(); local 1769 final StringBuilder builder = new StringBuilder(); local 1861 final StringBuilder builder = new StringBuilder(); local 1902 StringBuilder builder = new StringBuilder(); local 2548 ContentProviderOperation.Builder builder = ContentProviderOperation local 2577 StringBuilder builder = new StringBuilder(); local [all...] |