HomeSort by relevance Sort by last modified time
    Searched full:builder (Results 1 - 25 of 3521) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/text/src/android/text/cts/
SelectionTest.java 29 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
30 assertEquals(-1, Selection.getSelectionStart(builder));
32 Selection.setSelection(builder, 3, 8);
33 assertEquals(3, Selection.getSelectionStart(builder));
35 Selection.setSelection(builder, 3, 9);
36 assertEquals(3, Selection.getSelectionStart(builder));
38 Selection.setSelection(builder, 5, 7);
39 assertEquals(5, Selection.getSelectionStart(builder));
46 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
47 assertEquals(-1, Selection.getSelectionEnd(builder));
63 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
91 SpannableStringBuilder builder = new SpannableStringBuilder("hello, world"); local
118 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
137 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
163 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
190 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
221 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
255 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
287 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
333 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
359 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
381 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
411 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
432 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
467 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
493 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
524 SpannableStringBuilder builder = new SpannableStringBuilder(text); local
    [all...]
SpannableStringBuilderTest.java 85 SpannableStringBuilder builder = new SpannableStringBuilder("spannable string"); local
86 assertEquals(0, builder.getSpanFlags(mUnderlineSpan));
88 builder.setSpan(mUnderlineSpan, 2, 4, Spanned.SPAN_INCLUSIVE_INCLUSIVE);
89 builder.setSpan(mUnderlineSpan, 0, 1, Spanned.SPAN_EXCLUSIVE_INCLUSIVE);
90 builder.setSpan(mStrikethroughSpan, 5, 7, Spanned.SPAN_INCLUSIVE_EXCLUSIVE);
92 assertEquals(Spanned.SPAN_EXCLUSIVE_INCLUSIVE, builder.getSpanFlags(mUnderlineSpan));
93 assertEquals(Spanned.SPAN_INCLUSIVE_EXCLUSIVE, builder.getSpanFlags(mStrikethroughSpan));
94 assertEquals(0, builder.getSpanFlags(new Object()));
98 SpannableStringBuilder builder = new SpannableStringBuilder("spannable string"); local
100 builder.setSpan(mUnderlineSpan, 1, 2, Spanned.SPAN_INCLUSIVE_INCLUSIVE)
113 SpannableStringBuilder builder = new SpannableStringBuilder("hello, world"); local
156 SpannableStringBuilder builder = new SpannableStringBuilder("hello, world"); local
161 SpannableStringBuilder builder = new SpannableStringBuilder("hello, world!"); local
193 SpannableStringBuilder builder = new SpannableStringBuilder("hello, world"); local
266 SpannableStringBuilder builder = new SpannableStringBuilder("hello, world"); local
280 SpannableStringBuilder builder = new SpannableStringBuilder("hello"); local
313 SpannableStringBuilder builder = new SpannableStringBuilder("hello"); local
325 SpannableStringBuilder builder = new SpannableStringBuilder("hello"); local
356 SpannableStringBuilder builder = new SpannableStringBuilder("hello"); local
371 SpannableStringBuilder builder = new SpannableStringBuilder("hello, world"); local
385 SpannableStringBuilder builder = new SpannableStringBuilder("hello"); local
394 SpannableStringBuilder builder = new SpannableStringBuilder(); local
407 SpannableStringBuilder builder = new SpannableStringBuilder("hello, world"); local
429 SpannableStringBuilder builder = new SpannableStringBuilder("hello"); local
437 SpannableStringBuilder builder = new SpannableStringBuilder("hello"); local
445 SpannableStringBuilder builder = new SpannableStringBuilder("hello"); local
464 SpannableStringBuilder builder = new SpannableStringBuilder("hello"); local
509 SpannableStringBuilder builder = new SpannableStringBuilder("hello"); local
540 SpannableStringBuilder builder = new SpannableStringBuilder("hello"); local
547 SpannableStringBuilder builder = new SpannableStringBuilder("hello, world"); local
566 SpannableStringBuilder builder = new SpannableStringBuilder("hello"); local
573 SpannableStringBuilder builder = new SpannableStringBuilder("hello,world"); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/text/
StringBuilderTest.cpp 51 static void expectBuilderContent(const String& expected, const StringBuilder& builder)
53 // Not using builder.toString() because it changes internal state of builder.
54 if (builder.is8Bit())
55 EXPECT_EQ(expected, String(builder.characters8(), builder.length()));
57 EXPECT_EQ(expected, String(builder.characters16(), builder.length()));
60 void expectEmpty(const StringBuilder& builder)
62 EXPECT_EQ(0U, builder.length())
69 StringBuilder builder; local
75 StringBuilder builder; local
116 StringBuilder builder; local
149 StringBuilder builder; local
157 StringBuilder builder; local
168 StringBuilder builder; local
220 StringBuilder builder; local
231 StringBuilder builder; local
259 StringBuilder builder; local
264 StringBuilder builder; local
270 StringBuilder builder; local
276 StringBuilder builder; local
282 StringBuilder builder; local
289 StringBuilder builder; local
295 StringBuilder builder; local
306 StringBuilder builder; local
311 StringBuilder builder; local
    [all...]
  /external/chromium/third_party/libjingle/source/talk/site_scons/site_tools/
talk_noops.py 5 """Noop tool that defines builder functions for non-default platforms to
8 import SCons.Builder
14 builder = SCons.Builder.Builder(
17 env.Append(BUILDERS={'RES': builder, 'Grit': builder})
  /external/chromium_org/third_party/libjingle/source/talk/site_scons/site_tools/
talk_noops.py 5 """Noop tool that defines builder functions for non-default platforms to
8 import SCons.Builder
14 builder = SCons.Builder.Builder(
17 env.Append(BUILDERS={'RES': builder, 'Grit': builder})
  /external/chromium_org/chrome/common/
content_settings_pattern_parser_unittest.cc 31 ::testing::StrictMock<MockBuilder> builder; local
35 EXPECT_CALL(builder, WithSchemeWildcard()).Times(1).WillOnce(
36 ::testing::Return(&builder));
37 EXPECT_CALL(builder, WithDomainWildcard()).Times(1).WillOnce(
38 ::testing::Return(&builder));
39 EXPECT_CALL(builder, WithPortWildcard()).Times(1).WillOnce(
40 ::testing::Return(&builder));
41 content_settings::PatternParser::Parse("*", &builder);
42 ::testing::Mock::VerifyAndClear(&builder);
44 EXPECT_CALL(builder, WithScheme("http")).Times(1).WillOnce
155 ::testing::StrictMock<MockBuilder> builder; local
    [all...]
  /frameworks/base/services/java/com/android/server/pm/
Installer.java 192 StringBuilder builder = new StringBuilder("install"); local
193 builder.append(' ');
194 builder.append(name);
195 builder.append(' ');
196 builder.append(uid);
197 builder.append(' ');
198 builder.append(gid);
199 builder.append(' ');
200 builder.append(seinfo != null ? seinfo : "!");
201 return execute(builder.toString())
205 StringBuilder builder = new StringBuilder("dexopt"); local
215 StringBuilder builder = new StringBuilder("movedex"); local
224 StringBuilder builder = new StringBuilder("rmdex"); local
231 StringBuilder builder = new StringBuilder("remove"); local
240 StringBuilder builder = new StringBuilder("rename"); local
249 StringBuilder builder = new StringBuilder("fixuid"); local
260 StringBuilder builder = new StringBuilder("rmcache"); local
269 StringBuilder builder = new StringBuilder("mkuserdata"); local
280 StringBuilder builder = new StringBuilder("rmuser"); local
287 StringBuilder builder = new StringBuilder("rmuserdata"); local
304 StringBuilder builder = new StringBuilder("freecache"); local
312 StringBuilder builder = new StringBuilder("getsize"); local
364 StringBuilder builder = new StringBuilder("linklib "); local
    [all...]
  /external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/
subtable.cc 35 * SubTable::Builder class
37 SubTable::Builder::~Builder() {
40 SubTable::Builder::Builder(int32_t data_size)
41 : FontDataTable::Builder(data_size) {
44 SubTable::Builder::Builder(WritableFontData* data,
46 : FontDataTable::Builder(data) {
50 SubTable::Builder::Builder(ReadableFontData* data
    [all...]
  /external/sfntly/cpp/src/sfntly/table/
subtable.cc 35 * SubTable::Builder class
37 SubTable::Builder::~Builder() {
40 SubTable::Builder::Builder(int32_t data_size)
41 : FontDataTable::Builder(data_size) {
44 SubTable::Builder::Builder(WritableFontData* data,
46 : FontDataTable::Builder(data) {
50 SubTable::Builder::Builder(ReadableFontData* data
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableTableTest.java 28 ImmutableTable.Builder<String, Integer, Character> builder = local
29 ImmutableTable.builder();
31 builder.put((String) data[i], (Integer) data[i + 1],
34 return builder.build();
38 ImmutableTable.Builder<Character, Integer, String> builder = local
39 new ImmutableTable.Builder<Character, Integer, String>();
40 assertEquals(ImmutableTable.of(), builder.build());
41 assertEquals(ImmutableTable.of('a', 1, "foo"), builder
57 ImmutableTable.Builder<Character, Integer, String> builder = local
65 ImmutableTable.Builder<Character, Integer, String> builder = local
92 ImmutableTable.Builder<Character, Integer, String> builder = local
121 ImmutableTable.Builder<Character, Integer, String> builder = local
134 ImmutableTable.Builder<Character, Integer, String> builder = local
221 ImmutableTable.Builder<Character, Integer, String> builder local
234 ImmutableTable.Builder<Character, Integer, String> builder local
257 ImmutableTable.Builder<Character, Integer, String> builder local
279 ImmutableTable.Builder<Character, Integer, String> builder local
297 ImmutableTable.Builder<Character, Integer, String> builder local
314 ImmutableTable.Builder<Character, Integer, String> builder local
332 ImmutableTable.Builder<Character, Integer, String> builder local
    [all...]
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DownloadInfo.java 28 private DownloadInfo(Builder builder) {
29 mUrl = builder.mUrl;
30 mUserAgent = builder.mUserAgent;
31 mMimeType = builder.mMimeType;
32 mCookie = builder.mCookie;
33 mFileName = builder.mFileName;
34 mDescription = builder.mDescription;
35 mFilePath = builder.mFilePath;
36 mReferer = builder.mReferer
223 Builder builder = new Builder(); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/
ArrayBufferBuilderTest.cpp 60 ArrayBufferBuilder builder(2 * dataSize);
62 EXPECT_EQ(dataSize, builder.append(data, dataSize));
63 EXPECT_EQ(dataSize, builder.byteLength());
64 EXPECT_EQ(dataSize * 2, builder.capacity());
66 EXPECT_EQ(dataSize, builder.append(data, dataSize));
67 EXPECT_EQ(dataSize * 2, builder.byteLength());
68 EXPECT_EQ(dataSize * 2, builder.capacity());
70 EXPECT_EQ(dataSize, builder.append(data, dataSize));
71 EXPECT_EQ(dataSize * 3, builder.byteLength());
72 EXPECT_GE(builder.capacity(), dataSize * 3)
94 ArrayBufferBuilder builder; local
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/xmllite/
xmlbuilder_unittest.cc 42 XmlBuilder builder; local
43 XmlParser::ParseXml(&builder, "<testing/>");
44 EXPECT_EQ("<testing/>", builder.BuiltElement()->Str());
48 XmlBuilder builder; local
49 XmlParser::ParseXml(&builder, "<testing a='b'/>");
50 EXPECT_EQ("<testing a=\"b\"/>", builder.BuiltElement()->Str());
54 XmlBuilder builder; local
55 XmlParser::ParseXml(&builder, "<testing e='' long='some text'/>");
57 builder.BuiltElement()->Str());
61 XmlBuilder builder; local
69 XmlBuilder builder; local
80 XmlBuilder builder; local
86 XmlBuilder builder; local
93 XmlBuilder builder; local
100 XmlBuilder builder; local
107 XmlBuilder builder; local
115 XmlBuilder builder; local
121 XmlBuilder builder; local
128 XmlBuilder builder; local
135 XmlBuilder builder; local
142 XmlBuilder builder; local
150 XmlBuilder builder; local
156 XmlBuilder builder; local
163 XmlBuilder builder; local
169 XmlBuilder builder; local
175 XmlBuilder builder; local
181 XmlBuilder builder; local
188 XmlBuilder builder; local
    [all...]
  /external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/
bitmap_glyph.cc 31 BitmapGlyphBuilderPtr builder; local
32 builder.Attach(Builder::CreateGlyphBuilder(data, format));
33 if (builder) {
34 glyph.Attach(down_cast<BitmapGlyph*>(builder->Build()));
44 * BitmapGlyph::Builder class
46 BitmapGlyph::Builder::~Builder() {
49 CALLER_ATTACH BitmapGlyph::Builder*
50 BitmapGlyph::Builder::CreateGlyphBuilder(ReadableFontData* data
52 BitmapGlyphBuilderPtr builder; local
    [all...]
big_glyph_metrics.cc 63 * BigGlyphMetrics::Builder class
65 BigGlyphMetrics::Builder::Builder(WritableFontData* data)
66 : GlyphMetrics::Builder(data) {
69 BigGlyphMetrics::Builder::Builder(ReadableFontData* data)
70 : GlyphMetrics::Builder(data) {
73 BigGlyphMetrics::Builder::~Builder() {
76 int32_t BigGlyphMetrics::Builder::Height()
    [all...]
  /external/sfntly/cpp/src/sfntly/table/bitmap/
bitmap_glyph.cc 31 BitmapGlyphBuilderPtr builder; local
32 builder.Attach(Builder::CreateGlyphBuilder(data, format));
33 if (builder) {
34 glyph.Attach(down_cast<BitmapGlyph*>(builder->Build()));
44 * BitmapGlyph::Builder class
46 BitmapGlyph::Builder::~Builder() {
49 CALLER_ATTACH BitmapGlyph::Builder*
50 BitmapGlyph::Builder::CreateGlyphBuilder(ReadableFontData* data
52 BitmapGlyphBuilderPtr builder; local
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContentProviderOperation.java 7 import android.content.ContentProviderOperation.Builder;
25 public static Builder newInsert(Uri uri) {
26 Builder builder = Robolectric.newInstanceOf(Builder.class); local
27 ShadowContentProviderOperationBuilder shadowBuilder = Robolectric.shadowOf(builder);
30 return builder;
34 public static Builder newUpdate(Uri uri) {
35 Builder builder = Robolectric.newInstanceOf(Builder.class) local
44 Builder builder = Robolectric.newInstanceOf(Builder.class); local
    [all...]
  /frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
KMLFormatter.java 29 LineBuilder builder = new LineBuilder(); local
30 builder.addLine("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
31 builder.addLine("<kml xmlns=\"http://earth.google.com/kml/2.2\">");
32 builder.addLine("<Document>");
33 return builder.toString();
37 LineBuilder builder = new LineBuilder(); local
38 builder.addLine("</Document>");
39 builder.addLine("</kml>");
40 return builder.toString();
44 LineBuilder builder = new LineBuilder() local
    [all...]
  /cts/tools/signature-tools/src/signature/model/impl/
SigConstructor.java 35 StringBuilder builder = new StringBuilder(); local
36 builder.append(super.toString());
37 builder.append(" ");
38 builder.append(Modifier.toString(getModifiers()));
40 builder.append("<");
41 builder.append(ModelUtil.separate(getTypeParameters(), ", "));
42 builder.append("> ");
44 builder.append(getName());
45 builder.append("(");
46 builder.append(getParameters().isEmpty() ? "" : ModelUtil.separate
    [all...]
  /external/protobuf/java/src/test/java/com/google/protobuf/
DynamicMessageTest.java 57 Message.Builder builder = local
59 reflectionTester.setAllFieldsViaReflection(builder);
60 Message message = builder.build();
65 Message.Builder builder = local
67 builder.build();
69 builder.build();
77 Message.Builder builder local
89 Message.Builder builder = local
98 Message.Builder builder = local
106 Message.Builder builder = local
112 Message.Builder builder = local
121 Message.Builder builder = local
146 Message.Builder builder = local
161 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
173 Message.Builder builder = local
188 TestPackedTypes.Builder builder = TestPackedTypes.newBuilder(); local
200 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
209 DynamicMessage.Builder builder = local
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
SpannableStringBuilderTest.java 16 SpannableStringBuilder builder = new SpannableStringBuilder("abc"); local
17 builder.append('d').append("e").append("f");
18 assertThat(builder.toString(), equalTo("abcdef"));
23 SpannableStringBuilder builder = new SpannableStringBuilder("abc"); local
24 assertThat(builder.length(), equalTo(3));
29 SpannableStringBuilder builder = new SpannableStringBuilder("abc"); local
30 assertThat(builder.replace(2, 3, "").toString(), equalTo("ab"));
31 assertThat(builder.replace(0, 2, "xyz").toString(), equalTo("xyz"));
36 SpannableStringBuilder builder = new SpannableStringBuilder("abc"); local
37 assertThat(builder.insert(1, "xy").toString(), equalTo("axybc"))
42 SpannableStringBuilder builder = new SpannableStringBuilder("abc"); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
ChangeDefaultEmulatorActivity.java 55 AlertDialog.Builder builder = new AlertDialog.Builder(this); local
56 builder.setTitle("Note");
57 builder.setMessage(R.string.nfc_hce_change_preinstalled_wallet);
58 builder.setPositiveButton("OK", this);
59 builder.show();
62 AlertDialog.Builder builder = new AlertDialog.Builder(this) local
118 AlertDialog.Builder builder = new AlertDialog.Builder(this); local
133 AlertDialog.Builder builder = new AlertDialog.Builder(this); local
142 AlertDialog.Builder builder = new AlertDialog.Builder(this); local
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
NativeDaemonConnectorTest.java 35 final StringBuilder builder = new StringBuilder(); local
37 builder.setLength(0);
38 appendEscaped(builder, "");
39 assertEquals("", builder.toString());
41 builder.setLength(0);
42 appendEscaped(builder, "foo");
43 assertEquals("foo", builder.toString());
45 builder.setLength(0);
46 appendEscaped(builder, "foo\"bar");
47 assertEquals("foo\\\"bar", builder.toString())
55 final StringBuilder builder = new StringBuilder(); local
67 final StringBuilder builder = new StringBuilder(); local
    [all...]
  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
GeneratedMessageTest.java 92 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
93 TestUtil.setAllFields(builder);
94 TestAllTypes message = builder.build();
99 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
101 builder.setOptionalSfixed64(100);
102 builder.addRepeatedInt32(100);
104 builder.setOptionalImportEnum(UnittestImport.ImportEnum.IMPORT_BAR);
105 builder.addRepeatedImportEnum(UnittestImport.ImportEnum.IMPORT_BAR)
153 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
169 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
227 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
293 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
301 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
350 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
368 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
447 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
455 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
464 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
473 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
478 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
488 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
515 TestUnpackedTypes.Builder builder = TestUnpackedTypes.newBuilder(); local
522 TestPackedTypes.Builder builder = TestPackedTypes.newBuilder(); local
536 TestAllExtensions.Builder builder = TestAllExtensions.newBuilder(); local
543 TestAllExtensions.Builder builder = TestAllExtensions.newBuilder(); local
556 TestAllExtensions.Builder builder = TestAllExtensions.newBuilder(); local
565 TestAllExtensions.Builder builder = TestAllExtensions.newBuilder(); local
574 TestAllExtensions.Builder builder = TestAllExtensions.newBuilder(); local
579 TestAllExtensions.Builder builder = TestAllExtensions.newBuilder(); local
590 TestAllExtensions.Builder builder = TestAllExtensions.newBuilder(); local
642 TestAllExtensionsLite.Builder builder = TestAllExtensionsLite.newBuilder(); local
651 TestAllExtensionsLite.Builder builder = TestAllExtensionsLite.newBuilder(); local
746 TestOptimizedForSize.Builder builder = TestOptimizedForSize.newBuilder(); local
760 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
804 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
821 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
882 TestAllTypes.Builder builder = (TestAllTypes.Builder) local
937 TestAllExtensions.Builder builder = (TestAllExtensions.Builder) local
965 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
979 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
1090 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
1111 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local
    [all...]
  /external/smack/src/org/jivesoftware/smackx/pubsub/
GetItemsRequest.java 62 StringBuilder builder = new StringBuilder("<"); local
63 builder.append(getElementName());
65 builder.append(" node='");
66 builder.append(getNode());
67 builder.append("'");
71 builder.append(" subid='");
72 builder.append(getSubscriptionId());
73 builder.append("'");
78 builder.append(" max_items='");
79 builder.append(getMaxItems())
    [all...]

Completed in 1195 milliseconds

1 2 3 4 5 6 7 8 91011>>