Home
last modified time | relevance | path

Searched refs:displayName (Results 1 – 25 of 113) sorted by relevance

12345

/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
DNotificationImportExportListener.java72 final String displayName; in onImportProcessed() local
74 if (request.displayName != null) { in onImportProcessed()
75 displayName = request.displayName; in onImportProcessed()
76 message = mContext.getString(R.string.vcard_import_will_start_message, displayName); in onImportProcessed()
78 displayName = mContext.getString(R.string.vcard_unknown_filename); in onImportProcessed()
92 VCardService.TYPE_IMPORT, message, message, jobId, displayName, -1, 0); in onImportProcessed()
114 jobId, request.displayName, totalCount, currentCount); in onImportParsed()
121 request.displayName); in onImportFinished()
152 request.displayName); in onImportCanceled()
161 final String displayName = ExportVCardActivity.getOpenableUriDisplayName(mContext, in onExportProcessed() local
[all …]
DCancelRequest.java27 public final String displayName; field in CancelRequest
28 public CancelRequest(int jobId, String displayName) { in CancelRequest() argument
30 this.displayName = displayName; in CancelRequest()
DImportRequest.java57 public final String displayName; field in ImportRequest
100 byte[] data, Uri uri, String displayName, int estimatedType, String estimatedCharset, in ImportRequest() argument
105 this.displayName = displayName; in ImportRequest()
/packages/apps/Contacts/src/com/android/contacts/editor/
DStructuredNameEditorView.java143 String displayName = values.getDisplayName(); in switchFromFullNameToStructuredName() local
145 getContext(), displayName); in switchFromFullNameToStructuredName()
155 mSnapshot.setDisplayName(displayName); in switchFromFullNameToStructuredName()
167 String displayName = NameConverter.structuredNameToDisplayName(getContext(), in switchFromStructuredNameToFullName() local
169 if (!TextUtils.isEmpty(displayName)) { in switchFromStructuredNameToFullName()
171 values.put(StructuredName.DISPLAY_NAME, displayName); in switchFromStructuredNameToFullName()
196 String displayName = NameConverter.structuredNameToDisplayName(getContext(), in rebuildFullName() local
198 values.setDisplayName(displayName); in rebuildFullName()
208 String displayName = values.getDisplayName(); in rebuildStructuredName() local
210 getContext(), displayName); in rebuildStructuredName()
[all …]
DEditorIntents.java70 String displayName, String phoneticName, /* Bundle updatedPhotos, */ in createCompactInsertContactIntent() argument
74 if (rawContactDeltaList != null || displayName != null || phoneticName != null) { in createCompactInsertContactIntent()
75 putRawContactDeltaValues(intent, rawContactDeltaList, displayName, phoneticName); in createCompactInsertContactIntent()
116 String displayName, String phoneticName, boolean isNewLocalProfile) { in createInsertContactIntent() argument
121 putRawContactDeltaValues(intent, rawContactDeltaList, displayName, phoneticName); in createInsertContactIntent()
163 RawContactDeltaList rawContactDeltaList, String displayName, String phoneticName) { in putRawContactDeltaValues() argument
173 if (!TextUtils.isEmpty(displayName)) { in putRawContactDeltaValues()
174 intent.putExtra(ContactsContract.Intents.Insert.NAME, displayName); in putRawContactDeltaValues()
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DSmartDialNameMatcher.java262 boolean matchesCombination(String displayName, String query, in matchesCombination() argument
265 constructEmptyMask(builder, displayName.length()); in matchesCombination()
267 final int nameLength = displayName.length(); in matchesCombination()
297 char ch = displayName.charAt(nameStart); in matchesCombination()
322 displayName.charAt(nameStart - 1)))) { in matchesCombination()
326 displayName.charAt(nameStart)))) { in matchesCombination()
356 displayName.charAt(j)))) { in matchesCombination()
362 final String remainder = displayName.substring(j + 1); in matchesCombination()
413 public boolean matches(String displayName) { in matches() argument
415 return matchesCombination(displayName, mQuery, mMatchPositions); in matches()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleRecipientEntry.java30 protected BugleRecipientEntry(final int entryType, final String displayName, in BugleRecipientEntry() argument
35 super(entryType, displayName, destination, destinationType, destinationLabel, contactId, in BugleRecipientEntry()
39 public static BugleRecipientEntry constructTopLevelEntry(final String displayName, in constructTopLevelEntry() argument
44 return new BugleRecipientEntry(ENTRY_TYPE_PERSON, displayName, destination, destinationType, in constructTopLevelEntry()
49 public static BugleRecipientEntry constructSecondLevelEntry(final String displayName, in constructSecondLevelEntry() argument
54 return new BugleRecipientEntry(ENTRY_TYPE_PERSON, displayName, destination, destinationType, in constructSecondLevelEntry()
DMediaScratchFileProvider.java108 String displayName; in query() local
110 displayName = sUriToDisplayNameMap.get(uri); in query()
112 if (!TextUtils.isEmpty(displayName)) { in query()
116 row.add(displayName); in query()
124 final String displayName) { in addUriToDisplayNameEntry() argument
125 if (TextUtils.isEmpty(displayName)) { in addUriToDisplayNameEntry()
129 sUriToDisplayNameMap.put(scratchFileUri, displayName); in addUriToDisplayNameEntry()
/packages/apps/Dialer/tests/src/com/android/dialer/database/
DDatabaseTestUtils.java56 MatrixCursor nameCursor, String number, int id, String displayName) { in constructNewContactWithDummyIds() argument
58 displayName, 0, 0, 0, 0, 0, 0, 0, 0); in constructNewContactWithDummyIds()
63 String displayName, int photoId, int lastTimeUsed, int timesUsed, int starred, in constructNewContact() argument
75 contactCursor.addRow(new Object[]{id, "", "", number, contactId, lookupKey, displayName, in constructNewContact()
78 nameCursor.addRow(new Object[]{displayName, contactId}); in constructNewContact()
80 return new ContactNumber(contactId, id, displayName, number, lookupKey, 0, 0); in constructNewContact()
/packages/apps/Dialer/tests/src/com/android/dialer/dialpad/
DSmartDialNameMatcherTest.java251 private void checkMatches(String displayName, String query, boolean expectedMatches, in checkMatches() argument
257 displayName, query, matchPositions); in checkMatches()
258 Log.d(TAG, "query=" + query + " text=" + displayName in checkMatches()
259 + " nfd=" + Normalizer.normalize(displayName, Normalizer.Form.NFD) in checkMatches()
260 + " nfc=" + Normalizer.normalize(displayName, Normalizer.Form.NFC) in checkMatches()
261 + " nfkd=" + Normalizer.normalize(displayName, Normalizer.Form.NFKD) in checkMatches()
262 + " nfkc=" + Normalizer.normalize(displayName, Normalizer.Form.NFKC) in checkMatches()
/packages/apps/Messaging/src/com/android/messaging/ui/
DPersonItemView.java121 final String displayName = mBinding.getData().getDisplayName(); in getDisplayName() local
122 if (width == 0 || TextUtils.isEmpty(displayName) || !displayName.contains(",")) { in getDisplayName()
123 return displayName; in getDisplayName()
129 displayName, in getDisplayName()
218 final String displayName = getDisplayName(); in setNameTextView() local
219 if (TextUtils.isEmpty(displayName)) { in setNameTextView()
223 mNameTextView.setText(displayName); in setNameTextView()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DSubscriptionListData.java50 public final String displayName; field in SubscriptionListData.SubscriptionListEntry
55 final Uri selectedIconUri, final String displayName, final int displayColor, in SubscriptionListEntry() argument
60 this.displayName = displayName; in SubscriptionListEntry()
72 final String displayName = TextUtils.isEmpty(subscriptionName) ? in fromSelfParticipantData() local
79 displayName, selfParticipantData.getSubscriptionColor(), in fromSelfParticipantData()
DContactListItemData.java59 final String displayName = cursor.getString(ContactUtil.INDEX_DISPLAY_NAME); in bind() local
80 mRecipientEntry = ContactUtil.createRecipientEntry(displayName, in bind()
104 final CharSequence displayName = mStyledName != null ? mStyledName : in getDisplayName() local
106 return displayName == null ? "" : displayName; in getDisplayName()
DSettingsData.java59 private SettingsItem(final String displayName, final String displayDetail, in SettingsItem() argument
61 mDisplayName = displayName; in SettingsItem()
95 final String displayName = context.getString(R.string.sim_specific_settings, in fromSelfParticipant() local
97 return new SettingsItem(displayName, displayDetail, displayName, in fromSelfParticipant()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DShortcutIntentBuilder.java254 private Drawable getPhotoDrawable(byte[] bitmapData, String displayName, String lookupKey) { in getPhotoDrawable() argument
260 false, new DefaultImageRequest(displayName, lookupKey, false)); in getPhotoDrawable()
264 private void createContactShortcutIntent(Uri contactUri, String contentType, String displayName, in createContactShortcutIntent() argument
266 Drawable drawable = getPhotoDrawable(bitmapData, displayName, lookupKey); in createContactShortcutIntent()
294 if (TextUtils.isEmpty(displayName)) { in createContactShortcutIntent()
298 intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, displayName); in createContactShortcutIntent()
304 private void createPhoneNumberShortcutIntent(Uri uri, String displayName, String lookupKey, in createPhoneNumberShortcutIntent() argument
307 Drawable drawable = getPhotoDrawable(bitmapData, displayName, lookupKey); in createPhoneNumberShortcutIntent()
329 if (TextUtils.isEmpty(displayName)) { in createPhoneNumberShortcutIntent()
330 displayName = mContext.getResources().getString(R.string.missing_name); in createPhoneNumberShortcutIntent()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DNameConverter.java92 String displayName = null; in fetchDisplayName() local
100 displayName = cursor.getString(0); in fetchDisplayName()
106 return displayName; in fetchDisplayName()
120 String displayName) { in displayNameToStructuredName() argument
124 appendQueryParameter(builder, StructuredName.DISPLAY_NAME, displayName); in displayNameToStructuredName()
155 public static ContentValues displayNameToStructuredName(Context context, String displayName, in displayNameToStructuredName() argument
160 Map<String, String> mapValues = displayNameToStructuredName(context, displayName); in displayNameToStructuredName()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java111 public String createDocument(String docId, String mimeType, String displayName) in createDocument() argument
113 displayName = FileUtils.buildValidFatFilename(displayName); in createDocument()
126 final File file = FileUtils.buildUniqueFile(parent, mimeType, displayName); in createDocument()
158 public String renameDocument(String documentId, String displayName) in renameDocument() argument
160 displayName = FileUtils.buildValidFatFilename(displayName); in renameDocument()
166 if (!mDm.rename(getContext(), id, displayName)) { in renameDocument()
168 "Failed to rename to " + displayName + " in downloadsManager"); in renameDocument()
332 final String displayName = cursor.getString( in includeDownloadFromCursor() local
392 row.add(Document.COLUMN_DISPLAY_NAME, displayName); in includeDownloadFromCursor()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java65 final CharSequence displayName = contactData.getDisplayName(); in getDisplayName() local
67 if (!TextUtils.isEmpty(displayName)) { in getDisplayName()
70 displayName.toString(), TextDirectionHeuristics.LTR); in getDisplayName()
72 return displayName; in getDisplayName()
102 final String displayName; in getAttribution() local
104 displayName = directoryDisplayName; in getAttribution()
106 displayName = directoryType; in getAttribution()
110 return context.getString(R.string.contact_directory_description, displayName); in getAttribution()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DContactInfoCache.java459 String displayName = null; in populateCacheEntry() local
505 displayName = getPresentationString(context, presentation, info.callSubject); in populateCacheEntry()
506 Log.d(TAG, " ==> no name *or* number! displayName = " + displayName); in populateCacheEntry()
511 displayName = getPresentationString(context, presentation, info.callSubject); in populateCacheEntry()
512 Log.d(TAG, " ==> presentation not allowed! displayName = " + displayName); in populateCacheEntry()
515 displayName = info.cnapName; in populateCacheEntry()
518 Log.d(TAG, " ==> cnapName available: displayName '" + displayName + in populateCacheEntry()
548 displayName = getPresentationString(context, presentation, info.callSubject); in populateCacheEntry()
550 " displayName = " + displayName); in populateCacheEntry()
554 displayName = info.name; in populateCacheEntry()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DSimSelectorItemView.java72 final String displayName = mData.displayName; in updateViewAppearance() local
73 if (TextUtils.isEmpty(displayName)) { in updateViewAppearance()
77 mNameTextView.setText(displayName); in updateViewAppearance()
/packages/apps/Dialer/src/com/android/dialer/database/
DDialerDatabaseHelper.java273 public final String displayName; field in DialerDatabaseHelper.ContactNumber
279 public ContactNumber(long id, long dataID, String displayName, String phoneNumber, in ContactNumber() argument
283 this.displayName = displayName; in ContactNumber()
292 return Objects.hashCode(id, dataId, displayName, phoneNumber, lookupKey, photoId, in hashCode()
305 && Objects.equal(this.displayName, that.displayName) in equals()
805 final String displayName = updatedContactCursor.getString( in insertUpdatedContactsAndNumberPrefix() local
807 if (displayName == null) { in insertUpdatedContactsAndNumberPrefix()
810 insert.bindString(5, displayName); in insertUpdatedContactsAndNumberPrefix()
1127 final String displayName = cursor.getString(columnDisplayNamePrimary); in getLooseMatches() local
1146 final boolean nameMatches = nameMatcher.matches(displayName); in getLooseMatches()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/lettertiles/
DLetterTileDrawable.java258 public LetterTileDrawable setLetterAndColorFromContactDetails(final String displayName, in setLetterAndColorFromContactDetails() argument
260 if (displayName != null && displayName.length() > 0 in setLetterAndColorFromContactDetails()
261 && isEnglishLetter(displayName.charAt(0))) { in setLetterAndColorFromContactDetails()
262 mLetter = Character.toUpperCase(displayName.charAt(0)); in setLetterAndColorFromContactDetails()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAccount.java56 private final String displayName; field in Account
265 json.put(AccountColumns.NAME, displayName); in serialize()
305 displayName); in serialize()
379 displayName = (String) json.get(UIProvider.AccountColumns.NAME); in Account()
386 accountManagerName = displayName; in Account()
446 displayName = cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.NAME)); in Account()
597 displayName = in.readString(); in Account()
646 dest.writeString(displayName); in writeToParcel()
712 return TextUtils.equals(displayName, other.displayName) && in equals()
769 return Objects.hashCode(displayName, in hashCode()
[all …]
/packages/apps/Dialer/src/com/android/dialer/calllog/
DPhoneNumberDisplayUtil.java70 final CharSequence displayName = getDisplayName(context, number, presentation, isVoicemail); in getDisplayNumber() local
71 if (!TextUtils.isEmpty(displayName)) { in getDisplayNumber()
72 return displayName; in getDisplayNumber()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/
DEncoderUtil.java120 public static String encodeAddressDisplayName(String displayName) { in encodeAddressDisplayName() argument
127 if (isAtomPhrase(displayName)) { in encodeAddressDisplayName()
128 return displayName; in encodeAddressDisplayName()
129 } else if (hasToBeEncoded(displayName, 0)) { in encodeAddressDisplayName()
130 return encodeEncodedWord(displayName, Usage.WORD_ENTITY); in encodeAddressDisplayName()
132 return quote(displayName); in encodeAddressDisplayName()

12345