/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | NotificationImportExportListener.java | 73 final String displayName; in onImportProcessed() local 75 if (request.displayName != null) { in onImportProcessed() 76 displayName = request.displayName; in onImportProcessed() 77 message = mContext.getString(R.string.vcard_import_will_start_message, displayName); in onImportProcessed() 79 displayName = mContext.getString(R.string.vcard_unknown_filename); in onImportProcessed() 94 jobId, displayName, -1, 0); in onImportProcessed() 114 VCardService.TYPE_IMPORT, description, tickerText, jobId, request.displayName, in onImportParsed() 121 request.displayName); in onImportFinished() 152 request.displayName); in onImportCanceled() 161 final String displayName = ExportVCardActivity.getOpenableUriDisplayName(mContext, in onExportProcessed() local [all …]
|
D | CancelRequest.java | 27 public final String displayName; field in CancelRequest 28 public CancelRequest(int jobId, String displayName) { in CancelRequest() argument 30 this.displayName = displayName; in CancelRequest()
|
D | ImportRequest.java | 57 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/ |
D | LetterTileDrawable.java | 117 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/ |
D | ContactPhotoManager.java | 77 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/ |
D | TestDocumentsAccess.java | 63 public Uri createDocument(DocumentInfo parentDoc, String mimeType, String displayName) { in createDocument() argument 67 child.displayName = displayName; in createDocument() 68 child.documentId = displayName; in createDocument() 69 child.derivedUri = DocumentsContract.buildDocumentUri(child.authority, displayName); in createDocument() 92 public void assertCreatedDocument(DocumentInfo parent, String mimeType, String displayName) { in assertCreatedDocument() argument 95 assertEquals(displayName, mLastCreatedDoc.second.displayName); in assertCreatedDocument()
|
/packages/apps/Dialer/java/com/android/dialer/smartdial/util/ |
D | SmartDialNameMatcher.java | 231 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/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadStorageProvider.java | 200 public String createDocument(String parentDocId, String mimeType, String displayName) in createDocument() argument 205 String newDocumentId = super.createDocument(parentDocId, mimeType, displayName); in createDocument() 240 public String renameDocument(String docId, String displayName) in renameDocument() argument 247 return super.renameDocument(docId, displayName); in renameDocument() 250 displayName = FileUtils.buildValidFatFilename(displayName); in renameDocument() 252 renameMediaStoreDownload(docId, displayName); in renameDocument() 255 if (!mDm.rename(getContext(), id, displayName)) { in renameDocument() 257 "Failed to rename to " + displayName + " in downloadsManager"); in renameDocument() 616 final String displayName = cursor.getString( in includeDownloadFromCursor() local 688 if (!DocumentsContract.matchSearchQueryArguments(queryArgs, displayName, mimeType, in includeDownloadFromCursor() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ShortcutIntentBuilder.java | 260 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 …]
|
D | DynamicShortcuts.java | 266 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/apps/Messaging/src/com/android/messaging/ui/ |
D | PersonItemView.java | 121 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/ |
D | BugleRecipientEntry.java | 30 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()
|
D | MediaScratchFileProvider.java | 124 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/Contacts/src/com/android/contacts/editor/ |
D | PickRawContactDialogFragment.java | 90 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/Dialer/java/com/android/dialer/shortcuts/ |
D | IconFactory.java | 83 @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/Messaging/src/com/android/messaging/datamodel/data/ |
D | SubscriptionListData.java | 50 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()
|
D | ContactListItemData.java | 59 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/Car/LensPicker/src/com/android/support/car/lenspicker/ |
D | ResolverAdapter.java | 99 String displayName = ""; in doInBackground() local 104 displayName = info.loadLabel(packageManager).toString(); in doInBackground() 106 Log.d(TAG, "Media service label set to: " + displayName); in doInBackground() 112 if (displayName.equals("")) { in doInBackground() 113 displayName = getComponentLabel(packageManager, aInfo); in doInBackground() 128 items.add(new LensPickerItem(displayName, in doInBackground()
|
D | LensPickerAdapter.java | 106 String displayName = ""; in doInBackground() local 111 displayName = rInfo.loadLabel(mPackageManager).toString(); in doInBackground() 113 Log.d(TAG, "Media service label set to: " + displayName); in doInBackground() 119 if (displayName.equals("")) { in doInBackground() 120 displayName = getComponentLabel(aInfo); in doInBackground() 124 displayName, in doInBackground()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDisplayUtils.java | 63 final CharSequence displayName = contactData.getDisplayName(); in getDisplayName() local 65 if (!TextUtils.isEmpty(displayName)) { in getDisplayName() 68 displayName.toString(), TextDirectionHeuristics.LTR); in getDisplayName() 70 return displayName; in getDisplayName() 100 final String displayName; in getAttribution() local 102 displayName = directoryDisplayName; in getAttribution() 104 displayName = directoryType; in getAttribution() 108 return context.getString(R.string.contact_directory_description, displayName); in getAttribution()
|
/packages/apps/Settings/tests/perftests/src/com/android/settings/tests/perf/ |
D | LaunchSettingsTest.java | 49 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/Dialer/java/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 577 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 …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | SaveFragment.java | 63 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/Car/Cluster/src/android/car/cluster/ |
D | ClusterDisplayProvider.java | 75 String displayName = mNetworkedVirtualDisplay.start(); in setupNetworkDisplay() local 76 trackClusterDisplay(displayName); in setupNetworkDisplay() 79 private void trackClusterDisplay(@Nullable String displayName) { in trackClusterDisplay() argument 85 if (displayName == null && mClusterDisplayId == -1) { in trackClusterDisplay() 90 if (display != null && TextUtils.equals(display.getName(), displayName)) { in trackClusterDisplay()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | MessageBuilder.java | 60 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()
|