Home
last modified time | relevance | path

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

12

/frameworks/base/telephony/java/android/telephony/
DSubInfoRecord.java43 public String displayName; field in SubInfoRecord
83 this.displayName = ""; in SubInfoRecord()
94 public SubInfoRecord(long subId, String iccId, int slotId, String displayName, int nameSource, in SubInfoRecord() argument
100 this.displayName = displayName; in SubInfoRecord()
117 String displayName = source.readString();
128 return new SubInfoRecord(subId, iccId, slotId, displayName, nameSource, color, number,
143 dest.writeString(displayName); in writeToParcel()
162 + " mDisplayName=" + displayName + " mNameSource=" + nameSource in toString()
DSubscriptionManager.java510 public static int setDisplayName(String displayName, long subId) { in setDisplayName() argument
511 return setDisplayName(displayName, subId, NAME_SOURCE_UNDEFINDED); in setDisplayName()
523 public static int setDisplayName(String displayName, long subId, long nameSource) { in setDisplayName() argument
525 logd("[setDisplayName]+ displayName:" + displayName + " subId:" + subId in setDisplayName()
538 result = iSub.setDisplayNameUsingSrc(displayName, subId, nameSource); in setDisplayName()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java82 protected RecipientEntry(int entryType, String displayName, String destination, in RecipientEntry() argument
88 mDisplayName = displayName; in RecipientEntry()
144 private static String pickDisplayName(int displayNameSource, String displayName, in pickDisplayName() argument
146 return (displayNameSource > DisplayNameSources.PHONE) ? displayName : destination; in pickDisplayName()
161 public static RecipientEntry constructTopLevelEntry(String displayName, int displayNameSource, in constructTopLevelEntry() argument
166 displayName, destination), destination, destinationType, destinationLabel, in constructTopLevelEntry()
170 public static RecipientEntry constructTopLevelEntry(String displayName, int displayNameSource, in constructTopLevelEntry() argument
175 displayName, destination), destination, destinationType, destinationLabel, in constructTopLevelEntry()
180 public static RecipientEntry constructSecondLevelEntry(String displayName, in constructSecondLevelEntry() argument
185 displayName, destination), destination, destinationType, destinationLabel, in constructSecondLevelEntry()
DDropdownChipLayouter.java83 String displayName = entry.getDisplayName(); in bindView() local
95 if (TextUtils.isEmpty(displayName) || TextUtils.equals(displayName, destination)) { in bindView()
96 displayName = destination; in bindView()
106 displayName = null; in bindView()
117 displayName = null; in bindView()
127 bindTextToView(displayName, viewHolder.displayNameView); in bindView()
DBaseRecipientAdapter.java98 public String displayName; field in BaseRecipientAdapter.DirectorySearchParams
128 public final String displayName; field in BaseRecipientAdapter.TemporaryEntry
140 String displayName, in TemporaryEntry() argument
150 this.displayName = displayName; in TemporaryEntry()
163 this.displayName = cursor.getString(Queries.Query.NAME); in TemporaryEntry()
307 final String displayName = entry.getDisplayName(); in convertResultToString() local
309 if (TextUtils.isEmpty(displayName) || TextUtils.equals(displayName, emailAddress)) { in convertResultToString()
312 return new Rfc822Token(displayName, emailAddress, null).toString(); in convertResultToString()
393 Log.v(TAG, "finished loading directory \"" + mParams.displayName + "\"" + in performFiltering()
647 params.displayName = directoryCursor.getString(DirectoryListQuery.DISPLAY_NAME); in setupOtherDirectories()
[all …]
/frameworks/support/v4/api21/android/support/v4/provider/
DDocumentsContractApi21.java32 String displayName) { in createFile() argument
34 displayName); in createFile()
37 public static Uri createDirectory(Context context, Uri self, String displayName) { in createDirectory() argument
38 return createFile(context, self, DocumentsContract.Document.MIME_TYPE_DIR, displayName); in createDirectory()
71 public static Uri renameTo(Context context, Uri self, String displayName) { in renameTo() argument
72 return DocumentsContract.renameDocument(context.getContentResolver(), self, displayName); in renameTo()
/frameworks/support/v4/java/android/support/v4/provider/
DRawDocumentFile.java36 public DocumentFile createFile(String mimeType, String displayName) { in createFile() argument
40 displayName += "." + extension; in createFile()
42 final File target = new File(mFile, displayName); in createFile()
53 public DocumentFile createDirectory(String displayName) { in createDirectory() argument
54 final File target = new File(mFile, displayName); in createDirectory()
135 public boolean renameTo(String displayName) { in renameTo() argument
136 final File target = new File(mFile.getParentFile(), displayName); in renameTo()
DTreeDocumentFile.java33 public DocumentFile createFile(String mimeType, String displayName) { in createFile() argument
34 final Uri result = DocumentsContractApi21.createFile(mContext, mUri, mimeType, displayName); in createFile()
39 public DocumentFile createDirectory(String displayName) { in createDirectory() argument
40 final Uri result = DocumentsContractApi21.createDirectory(mContext, mUri, displayName); in createDirectory()
110 public boolean renameTo(String displayName) { in renameTo() argument
111 final Uri result = DocumentsContractApi21.renameTo(mContext, mUri, displayName); in renameTo()
DDocumentFile.java164 public abstract DocumentFile createFile(String mimeType, String displayName); in createFile() argument
176 public abstract DocumentFile createDirectory(String displayName); in createDirectory() argument
315 public DocumentFile findFile(String displayName) { in findFile() argument
317 if (displayName.equals(doc.getName())) { in findFile()
344 public abstract boolean renameTo(String displayName); in renameTo() argument
DSingleDocumentFile.java34 public DocumentFile createFile(String mimeType, String displayName) { in createFile() argument
39 public DocumentFile createDirectory(String displayName) { in createDirectory() argument
104 public boolean renameTo(String displayName) { in renameTo() argument
/frameworks/ex/common/java/com/android/common/contacts/
DBaseEmailAddressAdapter.java101 public String displayName; field in BaseEmailAddressAdapter.DirectoryPartition
294 String displayName, String emailAddress); in bindView() argument
328 String directoryName = directoryPartition.displayName; in bindView()
332 String displayName = cursor.getString(EmailQuery.NAME); in bindView() local
334 if (TextUtils.isEmpty(displayName) || TextUtils.equals(displayName, emailAddress)) { in bindView()
335 displayName = emailAddress; in bindView()
338 bindView(v, directoryType, directoryName, displayName, emailAddress); in bindView()
383 partition.displayName = directoryCursor.getString(DirectoryListQuery.DISPLAY_NAME); in onDirectoryLoadFinished()
542 String displayName = cursor.getString(EmailQuery.NAME); in removeDuplicatesAndTruncate() local
545 newCursor.addRow(new Object[]{displayName, emailAddress}); in removeDuplicatesAndTruncate()
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DSaveFragment.java51 public static void show(FragmentManager fm, String mimeType, String displayName) { in show() argument
54 args.putString(EXTRA_DISPLAY_NAME, displayName); in show()
121 final String displayName = mDisplayName.getText().toString();
122 activity.onSaveRequested(mimeType, displayName);
136 getArguments().putString(EXTRA_DISPLAY_NAME, replaceTarget.displayName); in setReplaceTarget()
138 mDisplayName.setText(replaceTarget.displayName); in setReplaceTarget()
DCreateDirectoryFragment.java71 final String displayName = text1.getText().toString(); in onCreateDialog()
76 new CreateDirectoryTask(activity, cwd, displayName).executeOnExecutor( in onCreateDialog()
91 DocumentsActivity activity, DocumentInfo cwd, String displayName) { in CreateDirectoryTask() argument
94 mDisplayName = displayName; in CreateDirectoryTask()
DPickFragment.java77 public void setPickTarget(DocumentInfo pickTarget, CharSequence displayName) { in setPickTarget() argument
85 mPick.setText(TextUtils.expandTemplate(raw, displayName)); in setPickTarget()
DSortingCursorWrapper.java70 final String displayName = getCursorString( in SortingCursorWrapper() local
73 mValueString[i] = DocumentInfo.DIR_PREFIX + displayName; in SortingCursorWrapper()
75 mValueString[i] = displayName; in SortingCursorWrapper()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiDeviceInfo.java124 String displayName = source.readString();
126 deviceType, vendorId, displayName, powerStatus);
157 int vendorId, String displayName, int powerStatus) { in HdmiDeviceInfo() argument
167 mDisplayName = displayName; in HdmiDeviceInfo()
185 int vendorId, String displayName) { in HdmiDeviceInfo() argument
187 vendorId, displayName, HdmiControlManager.POWER_STATUS_UNKNOWN); in HdmiDeviceInfo()
/frameworks/opt/chips/tests/src/com/android/ex/chips/
DRecipientAlternatesAdapterTest.java78 String displayName, in addRow() argument
87 c.addRow(new Object[] {displayName, destination, destinationType, destinationLabel, in addRow()
93 String displayName, in assertRow() argument
103 assertEquals(displayName, c.getString(0)); in assertRow()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
DDocumentInfo.java59 public String displayName; field in DocumentInfo
78 displayName = null; in reset()
98 displayName = DurableUtils.readNullableString(in); in read()
117 DurableUtils.writeNullableString(out, displayName); in write()
166 this.displayName = getCursorString(cursor, Document.COLUMN_DISPLAY_NAME); in updateFromCursor()
215 return "Document{docId=" + documentId + ", name=" + displayName + "}"; in toString()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneInfo.java150 CharSequence displayName = null; in getGmtDisplayName() local
155 displayName = mGmtDisplayNameCache.get(cacheKey); in getGmtDisplayName()
158 if (displayName == null) { in getGmtDisplayName()
191 displayName = spannableText; in getGmtDisplayName()
192 mGmtDisplayNameCache.put(cacheKey, displayName); in getGmtDisplayName()
194 return displayName; in getGmtDisplayName()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl90 int setDisplayName(String displayName, long subId); in setDisplayName() argument
99 int setDisplayNameUsingSrc(String displayName, long subId, long nameSource); in setDisplayNameUsingSrc() argument
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java257 final String displayName = file.getName(); in includeFile() local
265 row.add(Document.COLUMN_DISPLAY_NAME, displayName); in includeFile()
309 public String createDocument(String docId, String mimeType, String displayName) in createDocument() argument
318 file = new File(parent, displayName); in createDocument()
323 displayName = removeExtension(mimeType, displayName); in createDocument()
324 file = new File(parent, addExtension(mimeType, displayName)); in createDocument()
329 file = new File(parent, addExtension(mimeType, displayName + " (" + n + ")")); in createDocument()
344 public String renameDocument(String docId, String displayName) throws FileNotFoundException { in renameDocument() argument
346 final File after = new File(before.getParentFile(), displayName); in renameDocument()
/frameworks/base/core/java/android/provider/
DDocumentsContract.java897 String mimeType, String displayName) { in createDocument() argument
901 return createDocument(client, parentDocumentUri, mimeType, displayName); in createDocument()
912 String mimeType, String displayName) throws RemoteException { in createDocument() argument
916 in.putString(Document.COLUMN_DISPLAY_NAME, displayName); in createDocument()
936 String displayName) { in renameDocument() argument
940 return renameDocument(client, documentUri, displayName); in renameDocument()
951 String displayName) throws RemoteException { in renameDocument() argument
954 in.putString(Document.COLUMN_DISPLAY_NAME, displayName); in renameDocument()
DDocumentsProvider.java219 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() argument
239 public String renameDocument(String documentId, String displayName) in renameDocument() argument
643 final String displayName = extras.getString(Document.COLUMN_DISPLAY_NAME); in call() local
644 final String newDocumentId = createDocument(documentId, mimeType, displayName); in call()
656 final String displayName = extras.getString(Document.COLUMN_DISPLAY_NAME); in call() local
657 final String newDocumentId = renameDocument(documentId, displayName); in call()
/frameworks/base/services/core/java/com/android/server/hdmi/
DDeviceDiscoveryAction.java280 String displayName = null;
282 displayName = new String(cmd.getParams(), "US-ASCII");
286 displayName = HdmiUtils.getDefaultDeviceName(current.mLogicalAddress);
288 current.mDisplayName = displayName;
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java137 String displayName = toTitleCase(l.getDisplayLanguage(l)); in getAllAssetLocales() local
139 Log.v(TAG, "adding "+displayName); in getAllAssetLocales()
141 localeInfos.add(new LocaleInfo(displayName, l)); in getAllAssetLocales()

12