/packages/apps/Contacts/src/com/android/contacts/ |
D | VCardExporter.java | 753 StringBuilder builder = new StringBuilder(); in toHalfWidthString() local 761 builder.append(halfWidthText); in toHalfWidthString() 763 builder.append(ch); in toHalfWidthString() 766 return builder.toString(); in toHalfWidthString() 771 StringBuilder builder = new StringBuilder(); in encodeSomeCharacters() local 776 builder.append('\\'); in encodeSomeCharacters() 777 builder.append(';'); in encodeSomeCharacters() 787 builder.append('\\'); in encodeSomeCharacters() 788 builder.append(ch); in encodeSomeCharacters() 792 builder.append(ch); in encodeSomeCharacters() [all …]
|
D | ImportVCardActivity.java | 117 AlertDialog.Builder builder = in run() local 124 builder.show(); in run() 251 VCardDataBuilder builder; in doActuallyReadOneVCard() local 254 builder = new VCardDataBuilder(mResolver, in doActuallyReadOneVCard() 263 builder = new VCardDataBuilder(mResolver, in doActuallyReadOneVCard() 274 builder.setOnProgressRunnable(new Runnable() { in doActuallyReadOneVCard() 281 readOneVCard(mCanonicalPath, charset, builder, detector, false); in doActuallyReadOneVCard() 285 builder.showDebugInfo(); in doActuallyReadOneVCard() 288 private boolean readOneVCard(String canonicalPath, String charset, VBuilder builder, in readOneVCard() argument 297 mVCardParser.parse(is, charset, builder, mCanceled); in readOneVCard() [all …]
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
D | HttpUtils.java | 231 StringBuilder builder = new StringBuilder(); in getHttpAcceptLanguage() local 233 addLocaleToHttpAcceptLanguage(builder, locale); in getHttpAcceptLanguage() 235 if (builder.length() > 0) { in getHttpAcceptLanguage() 236 builder.append(", "); in getHttpAcceptLanguage() 238 addLocaleToHttpAcceptLanguage(builder, Locale.US); in getHttpAcceptLanguage() 240 return builder.toString(); in getHttpAcceptLanguage() 244 StringBuilder builder, Locale locale) { in addLocaleToHttpAcceptLanguage() argument 248 builder.append(language); in addLocaleToHttpAcceptLanguage() 253 builder.append("-"); in addLocaleToHttpAcceptLanguage() 254 builder.append(country); in addLocaleToHttpAcceptLanguage()
|
/packages/apps/Phone/src/com/android/phone/ |
D | EditPinPreference.java | 86 protected void onPrepareDialogBuilder(AlertDialog.Builder builder) { in onPrepareDialogBuilder() argument 87 super.onPrepareDialogBuilder(builder); in onPrepareDialogBuilder() 91 builder.setPositiveButton(null, this); in onPrepareDialogBuilder() 92 builder.setNegativeButton(null, this); in onPrepareDialogBuilder()
|
D | EditPhoneNumberPreference.java | 250 protected void onPrepareDialogBuilder(AlertDialog.Builder builder) { in onPrepareDialogBuilder() argument 256 builder.setPositiveButton(mChangeNumberText, this); in onPrepareDialogBuilder() 257 builder.setNeutralButton(mDisableText, this); in onPrepareDialogBuilder() 259 builder.setPositiveButton(null, null); in onPrepareDialogBuilder() 260 builder.setNeutralButton(mEnableText, this); in onPrepareDialogBuilder() 264 builder.setIcon(R.drawable.ic_dialog_call); in onPrepareDialogBuilder()
|
/packages/apps/Camera/src/com/android/camera/ |
D | MovieViewControl.java | 107 AlertDialog.Builder builder = new AlertDialog.Builder(context); in MovieViewControl() local 108 builder.setTitle(R.string.resume_playing_title); in MovieViewControl() 109 builder.setMessage(String.format( in MovieViewControl() 112 builder.setOnCancelListener(new OnCancelListener() { in MovieViewControl() 116 builder.setPositiveButton(R.string.resume_playing_resume, in MovieViewControl() 122 builder.setNegativeButton(R.string.resume_playing_restart, in MovieViewControl() 127 builder.show(); in MovieViewControl()
|
/packages/apps/GlobalSearch/src/com/android/globalsearch/ |
D | SuggestionFactoryImpl.java | 92 final SuggestionData.Builder builder = new SuggestionData.Builder(BUILTIN_SOURCE_COMPONENT) in getMoreEntry() local 101 builder.icon2(com.android.internal.R.drawable.search_spinner); in getMoreEntry() 103 return builder.build(); in getMoreEntry() 130 final SuggestionData.Builder builder = new SuggestionData.Builder(sourceStat.getName()) in getCorpusEntry() local 148 builder.description(description); in getCorpusEntry() 152 builder.icon2(com.android.internal.R.drawable.search_spinner); in getCorpusEntry() 155 return builder.build(); in getCorpusEntry()
|
D | SuggestionData.java | 279 StringBuilder builder = new StringBuilder("SuggestionData("); in toString() local 280 builder.append("source=").append(mSource.toShortString()) in toString() 283 builder.append(", intentAction=").append(mIntentAction) in toString() 288 builder.append(", intent query=").append(mIntentQuery); in toString() 291 builder.append(", shortcutid=").append(mShortcutId); in toString() 294 builder.append(", pin to bottom=true"); in toString() 297 builder.append(", spinner while refreshing=true"); in toString() 300 builder.append(")"); in toString() 301 return builder.toString(); in toString()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | ManageSimMessages.java | 303 AlertDialog.Builder builder = new AlertDialog.Builder(this); in confirmDeleteDialog() local 304 builder.setTitle(R.string.confirm_dialog_title); in confirmDeleteDialog() 305 builder.setIcon(android.R.drawable.ic_dialog_alert); in confirmDeleteDialog() 306 builder.setCancelable(true); in confirmDeleteDialog() 307 builder.setPositiveButton(R.string.yes, listener); in confirmDeleteDialog() 308 builder.setNegativeButton(R.string.no, null); in confirmDeleteDialog() 309 builder.setMessage(messageId); in confirmDeleteDialog() 311 builder.show(); in confirmDeleteDialog()
|
D | MessageUtils.java | 469 Uri.Builder builder = Threads.CONTENT_URI.buildUpon(); in getAddressByThreadId() local 470 builder.appendQueryParameter("simple", "true"); in getAddressByThreadId() 472 builder.build(), projection, in getAddressByThreadId() 557 AlertDialog.Builder builder = new AlertDialog.Builder(context); in showErrorDialog() local 559 builder.setIcon(R.drawable.ic_sms_mms_not_delivered); in showErrorDialog() 560 builder.setTitle(title); in showErrorDialog() 561 builder.setMessage(message); in showErrorDialog() 562 builder.setPositiveButton(android.R.string.ok, null); in showErrorDialog() 563 builder.show(); in showErrorDialog() 732 AlertDialog.Builder builder = new AlertDialog.Builder(context); in confirmReadReportDialog() local [all …]
|
D | ConversationList.java | 227 Uri.Builder builder = Threads.CONTENT_URI.buildUpon(); in initNormalQueryArgs() local 228 builder.appendQueryParameter("simple", "true"); in initNormalQueryArgs() 229 mBaseUri = builder.build(); in initNormalQueryArgs() 466 AlertDialog.Builder builder = new AlertDialog.Builder(this); in confirmDeleteDialog() local 467 builder.setTitle(R.string.confirm_dialog_title); in confirmDeleteDialog() 468 builder.setIcon(android.R.drawable.ic_dialog_alert); in confirmDeleteDialog() 469 builder.setCancelable(true); in confirmDeleteDialog() 470 builder.setPositiveButton(R.string.yes, listener); in confirmDeleteDialog() 471 builder.setNegativeButton(R.string.no, null); in confirmDeleteDialog() 472 builder.setMessage(deleteAll in confirmDeleteDialog() [all …]
|
D | SlideEditorActivity.java | 452 AlertDialog.Builder builder = new AlertDialog.Builder(this); in showDurationDialog() local 453 builder.setIcon(R.drawable.ic_mms_duration); in showDurationDialog() 455 builder.setTitle(title + (mPosition + 1) + "/" + mSlideshowModel.size()); in showDurationDialog() 457 builder.setItems(R.array.select_dialog_items, in showDurationDialog() 476 builder.show(); in showDurationDialog() 480 AlertDialog.Builder builder = new AlertDialog.Builder(this); in showLayoutSelectorDialog() local 481 builder.setIcon(R.drawable.ic_mms_layout); in showLayoutSelectorDialog() 484 builder.setTitle(title + (mPosition + 1) + "/" + mSlideshowModel.size()); in showLayoutSelectorDialog() 487 builder.setAdapter(adapter, new DialogInterface.OnClickListener() { in showLayoutSelectorDialog() 500 builder.show(); in showLayoutSelectorDialog()
|
/packages/apps/IM/src/com/android/im/service/ |
D | ContactListManagerAdapter.java | 109 Uri.Builder builder = Im.Avatars.CONTENT_URI_AVATARS_BY.buildUpon(); in ContactListManagerAdapter() local 110 ContentUris.appendId(builder, mProviderId); in ContactListManagerAdapter() 111 ContentUris.appendId(builder, mAccountId); in ContactListManagerAdapter() 113 mAvatarUrl = builder.build(); in ContactListManagerAdapter() 115 builder = Im.Contacts.CONTENT_URI_CONTACTS_BY.buildUpon(); in ContactListManagerAdapter() 116 ContentUris.appendId(builder, mProviderId); in ContactListManagerAdapter() 117 ContentUris.appendId(builder, mAccountId); in ContactListManagerAdapter() 119 mContactUrl = builder.build(); in ContactListManagerAdapter() 379 Uri.Builder builder = Im.BlockedList.CONTENT_URI.buildUpon(); in removeObsoleteContactsAndLists() local 380 ContentUris.appendId(builder, mProviderId); in removeObsoleteContactsAndLists() [all …]
|
/packages/apps/Mms/src/com/android/mms/util/ |
D | AddressUtils.java | 50 Uri.Builder builder = Mms.CONTENT_URI.buildUpon(); in getFrom() local 52 builder.appendPath(msgId).appendPath("addr"); in getFrom() 55 builder.build(), new String[] {Addr.ADDRESS, Addr.CHARSET}, in getFrom()
|
D | SmileyParser.java | 131 SpannableStringBuilder builder = new SpannableStringBuilder(text); in addSmileySpans() local 136 builder.setSpan(new ImageSpan(mContext, resId), in addSmileySpans() 141 return builder; in addSmileySpans()
|
/packages/apps/Music/src/com/android/music/ |
D | MusicPicker.java | 243 final StringBuilder builder = mBuilder; in bindView() local 244 builder.delete(0, builder.length()); in bindView() 248 builder.append(mUnknownAlbum); in bindView() 250 builder.append(name); in bindView() 252 builder.append('\n'); in bindView() 255 builder.append(mUnknownArtist); in bindView() 257 builder.append(name); in bindView() 259 int len = builder.length(); in bindView() 263 builder.getChars(0, len, vh.buffer2, 0); in bindView() 485 Uri.Builder builder = mSelectedUri.buildUpon(); in onCreate() local [all …]
|
D | MediaPickerActivity.java | 267 StringBuilder builder = new StringBuilder(); in bindView() local 269 builder.append(context.getString(R.string.unknown_album_name)); in bindView() 271 builder.append(name); in bindView() 273 builder.append("\n"); in bindView() 276 builder.append(context.getString(R.string.unknown_artist_name)); in bindView() 278 builder.append(name); in bindView() 280 tv.setText(builder.toString()); in bindView()
|
/packages/apps/Email/src/com/android/email/mail/internet/ |
D | MimeHeader.java | 112 StringBuilder builder = new StringBuilder(); in writeToString() local 115 builder.append(field.name + ": " + field.value + "\r\n"); in writeToString() 118 return builder.toString(); in writeToString()
|
/packages/apps/Settings/src/com/android/settings/ |
D | LanguageSettings.java | 167 StringBuilder builder = new StringBuilder(256); in onPause() local 179 if (builder.length() > 0) builder.append(':'); in onPause() 180 builder.append(id); in onPause() 199 Settings.Secure.ENABLED_INPUT_METHODS, builder.toString()); in onPause()
|
D | AccessibilitySettings.java | 228 StringBuilder builder = new StringBuilder(256); in persistEnabledAccessibilityServices() local 234 builder.append(key); in persistEnabledAccessibilityServices() 235 builder.append(':'); in persistEnabledAccessibilityServices() 240 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, builder.toString()); in persistEnabledAccessibilityServices()
|
/packages/apps/AlarmClock/src/com/android/alarmclock/ |
D | RepeatPreference.java | 73 protected void onPrepareDialogBuilder(Builder builder) { in onPrepareDialogBuilder() argument 84 builder.setMultiChoiceItems( in onPrepareDialogBuilder()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | SelectCalendarsActivity.java | 181 AlertDialog.Builder builder = new AlertDialog.Builder(SelectCalendarsActivity.this); in onMenuItemClick() local 184 builder.setTitle(R.string.remove_calendars) in onMenuItemClick() 188 builder.setTitle(R.string.add_calendars); in onMenuItemClick() 218 AlertDialog dialog = builder.setMultiChoiceItems(calendarNames, null, this) in onMenuItemClick()
|
/packages/apps/IM/src/com/android/im/app/ |
D | DatabaseUtils.java | 64 Uri.Builder builder = baseUri.buildUpon(); in getAvatarUri() local 65 ContentUris.appendId(builder, providerId); in getAvatarUri() 66 ContentUris.appendId(builder, accountId); in getAvatarUri() 67 return builder.build(); in getAvatarUri()
|
D | AccountActivity.java | 226 SpannableStringBuilder builder = new SpannableStringBuilder(text); in onCreate() local 227 builder.setSpan(new URLSpan(provider.mSignUpUrl), 0, builder.length(), in onCreate() 230 signUp.setText(builder); in onCreate()
|
D | UserPresenceView.java | 83 AlertDialog.Builder builder = new AlertDialog.Builder(mContext); in showStatusListDialog() local 84 builder.setAdapter(getStatusAdapter(), in showStatusListDialog() 94 builder.show(); in showStatusListDialog()
|