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

123

/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.java389 public static void formatDuration(long duration, StringBuilder builder) { argument
392 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));
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/
H A DComponentWriter.java88 final StringBuilder builder = new StringBuilder();
89 builder.append("package android.databinding;\n\n");
90 builder.append("public interface DataBindingComponent {\n");
96 addGetter(builder, simpleName, className, index++);
99 addGetter(builder, simpleName, classes.iterator().next(), 0);
102 builder.append("}\n");
103 return builder.toString();
115 private static void addGetter(StringBuilder builder, String simpleName, String className, argument
117 builder.append(INDENT)
122 builder
[all...]
/frameworks/support/v14/preference/src/android/support/v14/preference/
H A DListPreferenceDialogFragment.java41 protected void onPrepareDialogBuilder(AlertDialog.Builder builder) { argument
42 super.onPrepareDialogBuilder(builder);
52 builder.setSingleChoiceItems(preference.getEntries(), mClickedDialogEntryIndex,
72 builder.setPositiveButton(null, null);
H A DMultiSelectListPreferenceDialogFragment.java45 protected void onPrepareDialogBuilder(AlertDialog.Builder builder) { argument
46 super.onPrepareDialogBuilder(builder);
57 builder.setMultiChoiceItems(preference.getEntries(), checkedItems,
H A DPreferenceDialogFragment.java68 final AlertDialog.Builder builder = new AlertDialog.Builder(context)
77 builder.setView(contentView);
79 builder.setMessage(mPreference.getDialogMessage());
82 onPrepareDialogBuilder(builder);
85 final Dialog dialog = builder.create();
91 return builder.create();
106 * Prepares the dialog builder to be shown when the preference is clicked.
112 protected void onPrepareDialogBuilder(AlertDialog.Builder builder) {} argument
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DListPreferenceDialogFragmentCompat.java41 protected void onPrepareDialogBuilder(AlertDialog.Builder builder) { argument
42 super.onPrepareDialogBuilder(builder);
52 builder.setSingleChoiceItems(preference.getEntries(), mClickedDialogEntryIndex,
72 builder.setPositiveButton(null, null);
H A DPreferenceDialogFragmentCompat.java66 final AlertDialog.Builder builder = new AlertDialog.Builder(context)
75 builder.setView(contentView);
77 builder.setMessage(mPreference.getDialogMessage());
80 onPrepareDialogBuilder(builder);
83 final Dialog dialog = builder.create();
89 return builder.create();
104 * Prepares the dialog builder to be shown when the preference is clicked.
110 protected void onPrepareDialogBuilder(AlertDialog.Builder builder) {} argument
/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/base/core/java/android/text/
H A DMeasuredText.java101 StaticLayout.Builder builder) {
102 mBuilder = builder;
100 setPara(CharSequence text, int start, int end, TextDirectionHeuristic textDir, StaticLayout.Builder builder) argument
/frameworks/base/core/java/android/view/inputmethod/
H A DSparseRectFArray.java245 private SparseRectFArray(final SparseRectFArrayBuilder builder) { argument
246 if (builder.mCount == 0) {
251 mKeys = new int[builder.mCount];
252 mCoordinates = new float[builder.mCount * 4];
253 mFlagsArray = new int[builder.mCount];
254 System.arraycopy(builder.mKeys, 0, mKeys, 0, builder.mCount);
255 System.arraycopy(builder.mCoordinates, 0, mCoordinates, 0, builder.mCount * 4);
256 System.arraycopy(builder
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsResizeTaskDialog.java95 AlertDialog.Builder builder) {
96 builder.setTitle(R.string.recents_caption_resize);
113 builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {
120 builder.setView(mResizeTaskDialogContent);
236 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
237 createResizeTaskDialog(context, inflater, builder);
238 return builder.create();
94 createResizeTaskDialog(final Context context, LayoutInflater inflater, AlertDialog.Builder builder) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DWifiSignalController.java189 protected void toString(StringBuilder builder) { argument
190 super.toString(builder);
191 builder.append(',').append("ssid=").append(ssid);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DOutputPort.java173 void onOpen(FrameQueue.Builder builder) { argument
174 mQueueBuilder = builder;
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DNotificationCompat.java36 NotificationBuilderWithBuilderAccessor builder, android.support.v4.app.NotificationCompat.Style style) {
39 NotificationCompatImpl21.addMediaStyle(builder,
45 private static void addMediaStyleToBuilderIcs(NotificationBuilderWithBuilderAccessor builder, argument
49 NotificationCompatImplBase.overrideContentView(builder, b.mContext,
71 * See {@link android.support.v4.app.NotificationCompat}. In addition to the builder in v4, this
72 * builder also supports {@link MediaStyle}.
101 NotificationBuilderWithBuilderAccessor builder) {
102 addMediaStyleToBuilderIcs(builder, b);
103 return builder.build();
111 NotificationBuilderWithBuilderAccessor builder) {
35 addMediaStyleToBuilderLollipop( NotificationBuilderWithBuilderAccessor builder, android.support.v4.app.NotificationCompat.Style style) argument
100 build(android.support.v4.app.NotificationCompat.Builder b, NotificationBuilderWithBuilderAccessor builder) argument
110 build(android.support.v4.app.NotificationCompat.Builder b, NotificationBuilderWithBuilderAccessor builder) argument
122 build(android.support.v4.app.NotificationCompat.Builder b, NotificationBuilderWithBuilderAccessor builder) argument
178 MediaStyle(android.support.v4.app.NotificationCompat.Builder builder) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
H A DNotificationCompatImplBase.java47 NotificationBuilderWithBuilderAccessor builder,
55 builder.getBuilder().setContent(views);
57 builder.getBuilder().setOngoing(true);
46 overrideContentView( NotificationBuilderWithBuilderAccessor builder, Context context, CharSequence contentTitle, CharSequence contentText, CharSequence contentInfo, int number, Bitmap largeIcon, CharSequence subText, boolean useChronometer, long when, List<T> actions, int[] actionsToShowInCompact, boolean showCancelButton, PendingIntent cancelButtonIntent) argument
/frameworks/base/core/java/android/preference/
H A DListPreference.java245 protected void onPrepareDialogBuilder(Builder builder) { argument
246 super.onPrepareDialogBuilder(builder);
254 builder.setSingleChoiceItems(mEntries, mClickedDialogEntryIndex,
273 builder.setPositiveButton(null, null);
H A DMultiCheckPreference.java242 protected void onPrepareDialogBuilder(Builder builder) { argument
243 super.onPrepareDialogBuilder(builder);
251 builder.setMultiChoiceItems(mEntries, mSetValues,
H A DMultiSelectListPreference.java170 protected void onPrepareDialogBuilder(Builder builder) { argument
171 super.onPrepareDialogBuilder(builder);
180 builder.setMultiChoiceItems(mEntries, checkedItems,
/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...]

Completed in 584 milliseconds

123