Searched defs:builder (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/base/core/java/android/util/
H A DStringBuilderPrinter.java29 * @param builder The StringBuilder where you would like output to go.
31 public StringBuilderPrinter(StringBuilder builder) { argument
32 mBuilder = builder;
H A DTimeUtils.java366 public static void formatDuration(long duration, StringBuilder builder) { argument
369 builder.append(sFormatStr, 0, len);
/frameworks/base/core/java/android/content/
H A DContentUris.java92 * @param builder to append the ID to
95 * @return the given builder
97 public static Uri.Builder appendId(Uri.Builder builder, long id) { argument
98 return builder.appendEncodedPath(String.valueOf(id));
H A DContentProviderOperation.java56 private ContentProviderOperation(Builder builder) { argument
57 mType = builder.mType;
58 mUri = builder.mUri;
59 mValues = builder.mValues;
60 mSelection = builder.mSelection;
61 mSelectionArgs = builder.mSelectionArgs;
62 mExpectedCount = builder.mExpectedCount;
63 mSelectionArgsBackReferences = builder.mSelectionArgsBackReferences;
64 mValuesBackReferences = builder.mValuesBackReferences;
65 mYieldAllowed = builder
[all...]
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
H A DInstrumentationTestSuiteBuilderTest.java65 private SuiteExecutionRecorder runSuite(TestSuiteBuilder builder) { argument
66 TestSuite suite = builder.build();
H A DUnitTestSuiteBuilderTest.java58 private SuiteExecutionRecorder runSuite(TestSuiteBuilder builder) { argument
59 TestSuite suite = builder.build();
H A DTestSuiteBuilderTest.java167 private SuiteExecutionRecorder runSuite(TestSuiteBuilder builder) { argument
168 TestSuite suite = builder.build();
/frameworks/ex/common/java/com/android/common/content/
H A DProjectionMap.java68 public static Builder builder() { method in class:ProjectionMap
/frameworks/support/v4/java/android/support/v4/util/
H A DTimeUtils.java147 public static void formatDuration(long duration, StringBuilder builder) { argument
150 builder.append(sFormatStr, 0, len);
/frameworks/rs/
H A DrsProgramFragment.cpp105 Element::Builder builder; local
106 builder.add(colorElem.get(), "Color", 1);
107 ObjectBaseRef<const Element> constInput = builder.create(rsc);
H A DrsFont.cpp505 Element::Builder builder; local
506 builder.add(colorElem.get(), "Color", 1);
507 builder.add(gammaElem.get(), "Gamma", 1);
508 ObjectBaseRef<const Element> constInput = builder.create(mRSC);
604 Element::Builder builder; local
605 builder.add(posElem.get(), "position", 1);
606 builder.add(texElem.get(), "texture0", 1);
607 ObjectBaseRef<const Element> vertexDataElem = builder.create(mRSC);
/frameworks/base/core/java/android/preference/
H A DListPreference.java228 protected void onPrepareDialogBuilder(Builder builder) { argument
229 super.onPrepareDialogBuilder(builder);
237 builder.setSingleChoiceItems(mEntries, mClickedDialogEntryIndex,
256 builder.setPositiveButton(null, null);
H A DMultiCheckPreference.java232 protected void onPrepareDialogBuilder(Builder builder) { argument
233 super.onPrepareDialogBuilder(builder);
241 builder.setMultiChoiceItems(mEntries, mSetValues,
H A DMultiSelectListPreference.java159 protected void onPrepareDialogBuilder(Builder builder) { argument
160 super.onPrepareDialogBuilder(builder);
169 builder.setMultiChoiceItems(mEntries, checkedItems,
H A DDialogPreference.java253 * Prepares the dialog builder to be shown when the preference is clicked.
259 protected void onPrepareDialogBuilder(AlertDialog.Builder builder) { argument
/frameworks/base/core/java/com/android/internal/os/
H A DLoggingPrintStream.java38 private final StringBuilder builder = new StringBuilder(); field in class:LoggingPrintStream
86 int length = builder.length();
93 && (nextBreak = builder.indexOf("\n", start)) != -1) {
94 log(builder.substring(start, nextBreak));
101 log(builder.substring(start));
103 builder.setLength(0);
106 builder.delete(0, start);
143 // copy chars from the char buffer into our string builder
145 builder.append(decodedChars);
182 private final Formatter formatter = new Formatter(builder, nul
[all...]
/frameworks/base/core/tests/coretests/src/android/content/
H A DContentProviderOperationTest.java300 ContentProviderOperation.Builder builder = ContentProviderOperation.newInsert(
303 builderSetExpectedCount(builder, 42);
304 builderSetSelection(builder, "selection");
305 builderSetSelectionArgs(builder, new String[]{"a", "b"});
306 builderSetSelectionArgsBackReferences(builder, selArgsBackRef);
307 builderSetValues(builder, values);
308 builderSetValuesBackReferences(builder, valuesBackRef);
310 op1 = newOperationFromBuilder(builder);
332 ContentProviderOperation.Builder builder = ContentProviderOperation.newUpdate(
335 builderSetSelectionArgsBackReferences(builder, selArgsBackRe
376 newOperationFromBuilder( ContentProviderOperation.Builder builder) argument
385 builderSetSelectionArgsBackReferences( ContentProviderOperation.Builder builder, HashMap<Integer, Integer> selArgsBackRef) argument
394 builderSetValuesBackReferences( ContentProviderOperation.Builder builder, ContentValues valuesBackReferences) argument
403 builderSetSelection( ContentProviderOperation.Builder builder, String selection) argument
412 builderSetSelectionArgs( ContentProviderOperation.Builder builder, String[] selArgs) argument
421 builderSetValues( ContentProviderOperation.Builder builder, ContentValues values) argument
430 builderSetExpectedCount( ContentProviderOperation.Builder builder, Integer expectedCount) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java43 LayoutBuilder b = builder();
69 LayoutBuilder b = builder()
84 LayoutBuilder b = builder()
101 LayoutBuilder b = builder()
121 LayoutBuilder b = builder()
149 LayoutBuilder b = builder()
169 LayoutBuilder b = builder()
191 LayoutBuilder b = builder()
231 /* package */ static LayoutBuilder builder() { method in class:StaticLayoutTest
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java355 StringBuilder builder = null; field in class:SafeSaxTest.YouTubeContentHandler
379 this.builder = new StringBuilder();
417 this.builder = new StringBuilder();
452 if (builder != null) {
453 builder.append(text, start, length);
459 return builder.toString();
461 builder = null;
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerEntry.java155 static void buildCreationString(StringBuilder builder) { argument
162 builder.append(", ");
164 builder.append(String.format("%s %s", ATTRIBUTES[i],
/frameworks/base/services/java/com/android/server/
H A DNativeDaemonConnector.java208 private void makeCommand(StringBuilder builder, String cmd, Object... args) argument
215 builder.append(cmd);
222 builder.append(' ');
223 appendEscaped(builder, argString);
404 static void appendEscaped(StringBuilder builder, String arg) { argument
407 builder.append('"');
415 builder.append("\\\"");
417 builder.append("\\\\");
419 builder.append(c);
424 builder
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardBuilder.java53 * <pre class="prettyprint">final VCardBuilder builder = new VCardBuilder(vcardType);
54 * builder.appendNameProperties(contentValuesListMap.get(StructuredName.CONTENT_ITEM_TYPE))
66 * return builder.toString();</pre>
948 StringBuilder builder = new StringBuilder();
952 if (ch == '\n' && builder.length() > 0) {
953 phoneList.add(builder.toString());
954 builder = new StringBuilder();
956 builder.append(ch);
959 if (builder.length() > 0) {
960 phoneList.add(builder
1750 appendUncommonPhoneType(final StringBuilder builder, final Integer type) argument
2080 appendTypeParameter(final StringBuilder builder, final String type) argument
[all...]
/frameworks/base/core/java/android/net/
H A DUri.java370 StringBuilder builder = new StringBuilder(64);
371 builder.append(scheme);
372 builder.append(':');
377 builder.append(c);
379 builder.append('x');
383 return builder.toString();
389 StringBuilder builder = new StringBuilder(64);
391 builder.append(scheme);
392 builder.append(':');
395 builder
1209 appendSspTo(StringBuilder builder) argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompat.java577 public void setBuilder(Builder builder) { argument
578 if (mBuilder != builder) {
579 mBuilder = builder;
618 public BigPictureStyle(Builder builder) { argument
619 setBuilder(builder);
672 public BigTextStyle(Builder builder) { argument
673 setBuilder(builder);
730 public InboxStyle(Builder builder) { argument
731 setBuilder(builder);
/frameworks/base/core/java/android/app/
H A DNotification.java1674 public void setBuilder(Builder builder) { argument
1675 if (mBuilder != builder) {
1676 mBuilder = builder;
1748 public BigPictureStyle(Builder builder) { argument
1749 setBuilder(builder);
1829 public BigTextStyle(Builder builder) { argument
1830 setBuilder(builder);
1913 public InboxStyle(Builder builder) { argument
1914 setBuilder(builder);

Completed in 3040 milliseconds

12