Home
last modified time | relevance | path

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

12345678

/packages/apps/Contacts/src/com/android/contacts/vcard/
DNotificationImportExportListener.java75 final String displayName; in onImportProcessed() local
77 if (request.displayName != null) { in onImportProcessed()
78 displayName = request.displayName; in onImportProcessed()
79 message = mContext.getString(R.string.vcard_import_will_start_message, displayName); in onImportProcessed()
81 displayName = mContext.getString(R.string.vcard_unknown_filename); in onImportProcessed()
96 jobId, displayName, -1, 0); in onImportProcessed()
116 VCardService.TYPE_IMPORT, description, tickerText, jobId, request.displayName, in onImportParsed()
123 request.displayName); in onImportFinished()
154 request.displayName); in onImportCanceled()
163 final String displayName = request.displayName; 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()
DExportRequest.java27 public final String displayName; field in ExportRequest
37 public ExportRequest(Uri destUri, String exportType, String displayName) { in ExportRequest() argument
40 this.displayName = displayName; in ExportRequest()
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/Dialer/java/com/android/dialer/lettertile/
DLetterTileDrawable.java117 private String displayName; field in LetterTileDrawable
337 final String displayName, final String identifier) { in setLetterAndColorFromContactDetails() argument
338 if (!TextUtils.isEmpty(displayName) && isEnglishLetter(displayName.charAt(0))) { in setLetterAndColorFromContactDetails()
339 letter = Character.toUpperCase(displayName.charAt(0)); in setLetterAndColorFromContactDetails()
377 @Nullable final String displayName, in setCanonicalDialerLetterTileDetails()
393 && ((displayName == null && identifierForTileColor == null) in setCanonicalDialerLetterTileDetails()
394 || (displayName != null && displayName.equals(this.displayName)))) { in setCanonicalDialerLetterTileDetails()
398 this.displayName = displayName; in setCanonicalDialerLetterTileDetails()
406 this.setLetterAndColorFromContactDetails(displayName, identifierForTileColor); in setCanonicalDialerLetterTileDetails()
408 this.setLetterAndColorFromContactDetails(displayName, displayName); in setCanonicalDialerLetterTileDetails()
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManager.java77 if (!TextUtils.isEmpty(request.displayName)) { in getDefaultAvatarUriForContact()
78 builder.appendQueryParameter(DISPLAY_NAME_PARAM_KEY, request.displayName); in getDefaultAvatarUriForContact()
236 String displayName, in loadDialerThumbnailOrPhoto() argument
242 badge.getContext().getString(R.string.description_quick_contact_for, displayName)); in loadDialerThumbnailOrPhoto()
247 displayName, lookupKey, contactType, true /* isCircular */); in loadDialerThumbnailOrPhoto()
390 public String displayName; field in ContactPhotoManager.DefaultImageRequest
425 public DefaultImageRequest(String displayName, String identifier, boolean isCircular) { in DefaultImageRequest() argument
427 displayName, in DefaultImageRequest()
436 String displayName, String identifier, int contactType, boolean isCircular) { in DefaultImageRequest() argument
437 this(displayName, identifier, contactType, SCALE_DEFAULT, OFFSET_DEFAULT, isCircular); in DefaultImageRequest()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDocumentsAccess.java64 public Uri createDocument(DocumentInfo parentDoc, String mimeType, String displayName) { in createDocument() argument
68 child.displayName = displayName; in createDocument()
69 child.documentId = displayName; in createDocument()
70 child.derivedUri = DocumentsContract.buildDocumentUri(child.authority, displayName); in createDocument()
93 public void assertCreatedDocument(DocumentInfo parent, String mimeType, String displayName) { in assertCreatedDocument() argument
96 assertEquals(displayName, mLastCreatedDoc.second.displayName); in assertCreatedDocument()
/packages/apps/Dialer/java/com/android/dialer/smartdial/util/
DSmartDialNameMatcher.java231 String displayName, in matchesCombination() argument
235 constructEmptyMask(builder, displayName.length()); in matchesCombination()
236 final int nameLength = displayName.length(); in matchesCombination()
266 char ch = displayName.charAt(nameStart); in matchesCombination()
294 context, displayName.charAt(nameStart - 1)))) { in matchesCombination()
300 context, displayName.charAt(nameStart)))) { in matchesCombination()
330 CompositeSmartDialMap.normalizeCharacter(context, displayName.charAt(j)))) { in matchesCombination()
336 final String remainder = displayName.substring(j + 1); in matchesCombination()
408 public boolean matches(Context context, String displayName) { in matches() argument
410 return matchesCombination(context, displayName, query, matchPositions); in matches()
/packages/apps/Contacts/src/com/android/contacts/
DShortcutIntentBuilder.java260 private Drawable getPhotoDrawable(byte[] bitmapData, String displayName, String lookupKey) { in getPhotoDrawable() argument
265 final DefaultImageRequest request = new DefaultImageRequest(displayName, lookupKey, in getPhotoDrawable()
276 private void createContactShortcutIntent(Uri contactUri, String contentType, String displayName, in createContactShortcutIntent() argument
279 if (TextUtils.isEmpty(displayName)) { in createContactShortcutIntent()
280 displayName = mContext.getResources().getString(R.string.missing_name); in createContactShortcutIntent()
288 contactId, lookupKey, displayName); in createContactShortcutIntent()
293 final Drawable drawable = getPhotoDrawable(bitmapData, displayName, lookupKey); in createContactShortcutIntent()
308 intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, displayName); in createContactShortcutIntent()
313 private void createPhoneNumberShortcutIntent(Uri uri, String displayName, String lookupKey, in createPhoneNumberShortcutIntent() argument
316 final Drawable drawable = getPhotoDrawable(bitmapData, displayName, lookupKey); in createPhoneNumberShortcutIntent()
[all …]
DDynamicShortcuts.java266 final String displayName = cursor.getString(2); in builderForContactShortcut() local
267 return builderForContactShortcut(id, lookupKey, displayName); in builderForContactShortcut()
271 ShortcutInfo.Builder builderForContactShortcut(long id, String lookupKey, String displayName) { in builderForContactShortcut() argument
272 if (lookupKey == null || displayName == null) { in builderForContactShortcut()
285 setLabel(builder, displayName); in builderForContactShortcut()
307 public ShortcutInfo getQuickContactShortcutInfo(long id, String lookupKey, String displayName) { in getQuickContactShortcutInfo() argument
308 final ShortcutInfo.Builder builder = builderForContactShortcut(id, lookupKey, displayName); in getQuickContactShortcutInfo()
312 addIconForContact(id, lookupKey, displayName, builder); in getQuickContactShortcutInfo()
333 final String displayName = cursor.getString(2); in addIconForContact() local
334 addIconForContact(id, lookupKey, displayName, builder); in addIconForContact()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DFileUtils.java663 public static File buildUniqueFile(File parent, String mimeType, String displayName)
665 final String[] parts = splitFileName(mimeType, displayName);
670 public static File buildNonUniqueFile(File parent, String mimeType, String displayName) {
671 final String[] parts = splitFileName(mimeType, displayName);
681 public static File buildUniqueFile(File parent, String displayName)
687 final int lastDot = displayName.lastIndexOf('.');
689 name = displayName.substring(0, lastDot);
690 ext = displayName.substring(lastDot + 1);
692 name = displayName;
707 public static String[] splitFileName(String mimeType, String displayName) {
[all …]
/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.java124 String displayName; in query() local
126 displayName = sUriToDisplayNameMap.get(uri); in query()
128 if (!TextUtils.isEmpty(displayName)) { in query()
132 row.add(displayName); in query()
140 final String displayName) { in addUriToDisplayNameEntry() argument
141 if (TextUtils.isEmpty(displayName)) { in addUriToDisplayNameEntry()
145 sUriToDisplayNameMap.put(scratchFileUri, displayName); in addUriToDisplayNameEntry()
/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/
DLoggedInUserView.java22 private final String displayName; field in LoggedInUserView
25 LoggedInUserView(String displayName) { in LoggedInUserView() argument
26 this.displayName = displayName; in LoggedInUserView()
30 return displayName; in getDisplayName()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java202 public String createDocument(String parentDocId, String mimeType, String displayName) in createDocument() argument
207 String newDocumentId = super.createDocument(parentDocId, mimeType, displayName); in createDocument()
242 public String renameDocument(String docId, String displayName) in renameDocument() argument
249 return super.renameDocument(docId, displayName); in renameDocument()
252 displayName = FileUtils.buildValidFatFilename(displayName); in renameDocument()
254 return renameMediaStoreDownload(docId, displayName); in renameDocument()
257 if (!mDm.rename(getContext(), id, displayName)) { in renameDocument()
259 "Failed to rename to " + displayName + " in downloadsManager"); in renameDocument()
620 final String displayName = cursor.getString( in includeDownloadFromCursor() local
692 if (!DocumentsContract.matchSearchQueryArguments(queryArgs, displayName, mimeType, in includeDownloadFromCursor()
[all …]
/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/Dialer/java/com/android/dialer/shortcuts/
DIconFactory.java83 @NonNull Uri lookupUri, @NonNull String displayName, @NonNull String lookupKey) { in create() argument
92 ? createAdaptiveIcon(displayName, lookupKey, inputStream) in create()
93 : createFlatIcon(displayName, lookupKey, inputStream); in create()
98 @NonNull String displayName, @NonNull String lookupKey, @Nullable InputStream inputStream) { in createAdaptiveIcon()
105 displayName, in createAdaptiveIcon()
122 @NonNull String displayName, @NonNull String lookupKey, @Nullable InputStream inputStream) { in createFlatIcon()
128 displayName, lookupKey, LetterTileDrawable.SHAPE_CIRCLE, LetterTileDrawable.TYPE_DEFAULT); in createFlatIcon()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPickRawContactDialogFragment.java90 holder.displayName = (TextView) view.findViewById(R.id.display_name); in getView()
103 String displayName = in getView() local
105 ? rawContact.displayName : rawContact.displayNameAlt; in getView()
107 if (TextUtils.isEmpty(displayName)) { in getView()
108 displayName = mContext.getString(R.string.missing_name); in getView()
110 holder.displayName.setText(displayName); in getView()
134 displayName, String.valueOf(rawContact.id), /* isCircular = */ true); in getView()
145 TextView displayName; field in PickRawContactDialogFragment.RawContactAccountListAdapter.RawContactViewHolder
/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()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java64 final CharSequence displayName = contactData.getDisplayName(); in getDisplayName() local
66 if (!TextUtils.isEmpty(displayName)) { in getDisplayName()
69 displayName.toString(), TextDirectionHeuristics.LTR); in getDisplayName()
71 return displayName; in getDisplayName()
101 final String displayName; in getAttribution() local
103 displayName = directoryDisplayName; in getAttribution()
105 displayName = directoryType; in getAttribution()
109 return context.getString(R.string.contact_directory_description, displayName); in getAttribution()
/packages/apps/Settings/tests/perftests/src/com/android/settings/tests/perf/
DLaunchSettingsTest.java49 String displayName; field in LaunchSettingsTest.Page
52 Page(String action, String displayName, String title) { in Page() argument
54 this.displayName = displayName; in Page()
117 executePreformanceTest(page.action, page.displayName, page.title); in settingsPerformanceTest()
122 private void executePreformanceTest(String action, String displayName, String title) in executePreformanceTest() argument
127 mDevice.wait(Until.findObject(By.text(displayName)), TIME_OUT); in executePreformanceTest()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DSaveFragment.java63 static void show(FragmentManager fm, String mimeType, String displayName) { in show() argument
66 args.putString(EXTRA_DISPLAY_NAME, displayName); in show()
181 final String displayName = mDisplayName.getText().toString(); in performSave() local
182 mInjector.actions.saveDocument(mimeType, displayName, mInProgressStateListener); in performSave()
195 getArguments().putString(EXTRA_DISPLAY_NAME, replaceTarget.displayName); in setReplaceTarget()
197 mDisplayName.setText(replaceTarget.displayName); in setReplaceTarget()
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DMessageBuilder.java60 String displayName = BidiFormatter.getInstance().unicodeWrap(docs.get(0).displayName); in generateDeleteMessage() local
63 displayName) in generateDeleteMessage()
65 displayName); in generateDeleteMessage()
121 documentInfo.displayName)) + "<br>"); in generateListMessage()
/packages/apps/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java577 final String displayName = updatedContactCursor.getString(PhoneQuery.PHONE_DISPLAY_NAME); in insertUpdatedContactsAndNumberPrefix() local
578 if (displayName == null) { in insertUpdatedContactsAndNumberPrefix()
581 insert.bindString(5, displayName); in insertUpdatedContactsAndNumberPrefix()
978 final String displayName = cursor.getString(columnDisplayNamePrimary); in getLooseMatches() local
997 final boolean nameMatches = nameMatcher.matches(context, displayName); in getLooseMatches()
1005 id, dataID, displayName, phoneNumber, lookupKey, photoId, carrierPresence)); in getLooseMatches()
1008 stopWatch.lap("Added one result: Name: " + displayName); in getLooseMatches()
1243 public final String displayName; field in DialerDatabaseHelper.ContactNumber
1252 String displayName, in ContactNumber() argument
1259 this.displayName = displayName; in ContactNumber()
[all …]

12345678