Home
last modified time | relevance | path

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

123

/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java101 protected RecipientEntry(int entryType, String displayName, String destination, in RecipientEntry() argument
105 this(entryType, displayName, destination, destinationType, in RecipientEntry()
110 protected RecipientEntry(int entryType, String displayName, String destination, in RecipientEntry() argument
116 mDisplayName = displayName; in RecipientEntry()
133 protected RecipientEntry(int entryType, String displayName, String destination, in RecipientEntry() argument
137 this(entryType, displayName, destination, destinationType, destinationLabel, in RecipientEntry()
190 public static RecipientEntry constructTopLevelEntry(String displayName, int displayNameSource, in constructTopLevelEntry() argument
195 displayName, destination), destination, destinationType, destinationLabel, in constructTopLevelEntry()
200 public static RecipientEntry constructTopLevelEntry(String displayName, int displayNameSource, in constructTopLevelEntry() argument
205 displayName, destination), destination, destinationType, destinationLabel, in constructTopLevelEntry()
[all …]
DBaseRecipientAdapter.java110 public String displayName; field in BaseRecipientAdapter.DirectorySearchParams
140 public final String displayName; field in BaseRecipientAdapter.TemporaryEntry
152 String displayName, in TemporaryEntry() argument
162 this.displayName = displayName; in TemporaryEntry()
175 this.displayName = cursor.getString(Queries.Query.NAME); in TemporaryEntry()
341 final String displayName = entry.getDisplayName(); in convertResultToString() local
343 if (TextUtils.isEmpty(displayName) || TextUtils.equals(displayName, emailAddress)) { in convertResultToString()
346 return new Rfc822Token(displayName, emailAddress, null).toString(); in convertResultToString()
447 Log.v(TAG, "finished loading directory \"" + mParams.displayName + "\"" + in performFiltering()
728 params.displayName = directoryCursor.getString(DirectoryListQuery.DISPLAY_NAME); in setupOtherDirectories()
[all …]
DDropdownChipLayouter.java121 CharSequence displayName = styledResults[0]; in bindView() local
133 if (TextUtils.isEmpty(displayName) || TextUtils.equals(displayName, destination)) { in bindView()
134 displayName = destination; in bindView()
144 displayName = null; in bindView()
163 displayName = null; in bindView()
175 bindTextToView(displayName, viewHolder.displayNameView); in bindView()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DDisplayIdentification.cpp120 std::string_view displayName; in parseEdid() local
138 displayName = parseEdidText(descriptor); in parseEdid()
152 if (displayName.empty()) { in parseEdid()
154 displayName = serialNumber; in parseEdid()
156 if (displayName.empty()) { in parseEdid()
158 displayName = asciiText; in parseEdid()
160 if (displayName.empty()) { in parseEdid()
165 return Edid{manufacturerId, *pnpId, displayName}; in parseEdid()
193 const auto hash = static_cast<uint32_t>(std::hash<std::string_view>()(edid->displayName)); in parseDisplayIdentificationData()
195 std::string(edid->displayName)}; in parseDisplayIdentificationData()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
DZoneGetter.java127 CharSequence displayName = getTimeZoneDisplayName(data, timeZoneNames, in getZonesList() local
129 if (TextUtils.isEmpty(displayName)) { in getZonesList()
130 displayName = gmtOffsetText; in getZonesList()
135 createDisplayEntry(tz, gmtOffsetText, displayName, offsetMillis); in getZonesList()
142 TimeZone tz, CharSequence gmtOffsetText, CharSequence displayName, int offsetMillis) { in createDisplayEntry() argument
145 map.put(KEY_DISPLAYNAME, displayName.toString()); in createDisplayEntry()
146 map.put(KEY_DISPLAY_LABEL, displayName); in createDisplayEntry()
192 CharSequence displayName = getZoneLongName(timeZoneNames, tz, now); in shouldUseExemplarLocationForLocalNames() local
193 if (displayName == null) { in shouldUseExemplarLocationForLocalNames()
194 displayName = data.gmtOffsetTexts[i]; in shouldUseExemplarLocationForLocalNames()
[all …]
/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/native/services/surfaceflinger/tests/unittests/
DDisplayIdentificationTest.cpp100 EXPECT_EQ("121AT11-801", edid->displayName); in TEST()
106 EXPECT_EQ("HP ZR30w", edid->displayName); in TEST()
112 EXPECT_EQ("SAMSUNG", edid->displayName); in TEST()
125 EXPECT_EQ("CN4202137Q", edid->displayName); in TEST()
131 EXPECT_EQ("CN4202137Q", edid->displayName); in TEST()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiDeviceInfo.java135 String displayName = source.readString();
137 deviceType, vendorId, displayName, powerStatus);
170 int vendorId, String displayName, int powerStatus) { in HdmiDeviceInfo() argument
180 mDisplayName = displayName; in HdmiDeviceInfo()
198 int vendorId, String displayName) { in HdmiDeviceInfo() argument
200 vendorId, displayName, HdmiControlManager.POWER_STATUS_UNKNOWN); in HdmiDeviceInfo()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneInfo.java142 CharSequence displayName = null; in getGmtDisplayName() local
147 displayName = mGmtDisplayNameCache.get(cacheKey); in getGmtDisplayName()
150 if (displayName == null) { in getGmtDisplayName()
183 displayName = spannableText; in getGmtDisplayName()
184 mGmtDisplayNameCache.put(cacheKey, displayName); in getGmtDisplayName()
186 return displayName; in getGmtDisplayName()
DTimeZonePickerUtils.java88 String displayName = getDisplayName(tz, time.isDst != 0); in buildGmtDisplayName() local
89 sb.append(displayName); in buildGmtDisplayName()
/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/opt/net/ims/src/java/com/android/ims/internal/
DConferenceParticipant.java92 public ConferenceParticipant(Uri handle, String displayName, Uri endpoint, int state, in ConferenceParticipant() argument
95 mDisplayName = displayName; in ConferenceParticipant()
111 String displayName = source.readString();
118 new ConferenceParticipant(handle, displayName, endpoint, state,
/frameworks/base/core/java/android/os/
DFileUtils.java1107 public static File buildUniqueFile(File parent, String mimeType, String displayName) in buildUniqueFile() argument
1109 final String[] parts = splitFileName(mimeType, displayName); in buildUniqueFile()
1114 public static File buildNonUniqueFile(File parent, String mimeType, String displayName) { in buildNonUniqueFile() argument
1115 final String[] parts = splitFileName(mimeType, displayName); in buildNonUniqueFile()
1125 public static File buildUniqueFile(File parent, String displayName) in buildUniqueFile() argument
1131 final int lastDot = displayName.lastIndexOf('.'); in buildUniqueFile()
1133 name = displayName.substring(0, lastDot); in buildUniqueFile()
1134 ext = displayName.substring(lastDot + 1); in buildUniqueFile()
1136 name = displayName; in buildUniqueFile()
1151 public static String[] splitFileName(String mimeType, String displayName) { in splitFileName() argument
[all …]
/frameworks/base/core/java/com/android/ims/internal/uce/presence/
DPresResInfo.java77 public void setDisplayName(String displayName) { in setDisplayName() argument
78 this.mDisplayName = displayName; in setDisplayName()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionInfo.java222 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
226 this(id, iccId, simSlotIndex, displayName, carrierName, nameSource, iconTint, number, in SubscriptionInfo()
236 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
241 this(id, iccId, simSlotIndex, displayName, carrierName, nameSource, iconTint, number, in SubscriptionInfo()
250 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
261 this.mDisplayName = displayName; in SubscriptionInfo()
687 CharSequence displayName = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
714 SubscriptionInfo info = new SubscriptionInfo(id, iccId, simSlotIndex, displayName,
/frameworks/base/services/core/java/com/android/server/hdmi/
DDeviceDiscoveryAction.java362 String displayName = null;
365 displayName = HdmiUtils.getDefaultDeviceName(current.mLogicalAddress);
367 displayName = new String(cmd.getParams(), "US-ASCII");
372 displayName = HdmiUtils.getDefaultDeviceName(current.mLogicalAddress);
374 current.mDisplayName = displayName;
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp107 void DisplayDevice::setDisplayName(const std::string& displayName) { in setDisplayName() argument
108 if (!displayName.empty()) { in setDisplayName()
110 mDisplayName = displayName; in setDisplayName()
111 mCompositionDisplay->setName(displayName); in setDisplayName()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java233 public String createDocument(String docId, String mimeType, String displayName) in createDocument() argument
235 displayName = FileUtils.buildValidFatFilename(displayName); in createDocument()
242 final File file = FileUtils.buildUniqueFile(parent, mimeType, displayName); in createDocument()
267 public String renameDocument(String docId, String displayName) throws FileNotFoundException { in renameDocument() argument
270 displayName = FileUtils.buildValidFatFilename(displayName); in renameDocument()
274 final File after = FileUtils.buildUniqueFile(before.getParentFile(), displayName); in renameDocument()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl140 int addSubInfo(String uniqueId, String displayName, int slotIndex, int subscriptionType); in addSubInfo() argument
166 int setDisplayNameUsingSrc(String displayName, int subId, int nameSource); in setDisplayNameUsingSrc() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarButtonTest.java70 final String displayName = "NavVirtualDisplay"; in createVirtualDisplay() local
81 mVirtualDisplay = displayManager.createVirtualDisplay(displayName, displayInfo.logicalWidth, in createVirtualDisplay()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsProvider.java383 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() argument
386 Log.d(TAG, "createDocument: " + displayName); in createDocument()
408 createDocument(storageDocumentIds[0], mimeType, displayName); in createDocument()
435 MediaFile.getFormatCode(displayName, mimeType); in createDocument()
440 .setName(displayName) in createDocument()
443 final String[] parts = FileUtils.splitFileName(mimeType, displayName); in createDocument()
472 "The file name \"" + displayName + "\" is conflicted with existing files " + in createDocument()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java159 public String displayName; field in VCardEntry.NameData
217 builder.withValue(StructuredName.DISPLAY_NAME, displayName); in constructInsertOperation()
2493 String displayName = null; in constructDisplayName() local
2496 displayName = mNameData.mFormatted; in constructDisplayName()
2498 displayName = VCardUtils.constructNameFromElements(mVCardType, mNameData.mFamily, in constructDisplayName()
2501 displayName = VCardUtils.constructNameFromElements(mVCardType, in constructDisplayName()
2504 displayName = mEmailList.get(0).mAddress; in constructDisplayName()
2506 displayName = mPhoneList.get(0).mNumber; in constructDisplayName()
2508 displayName = mPostalList.get(0).getFormattedAddress(mVCardType); in constructDisplayName()
2510 displayName = mOrganizationList.get(0).getFormattedString(); in constructDisplayName()
[all …]
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java254 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() argument
277 public String renameDocument(String documentId, String displayName) in renameDocument() argument
1120 final String displayName = extras.getString(Document.COLUMN_DISPLAY_NAME); in callUnchecked() local
1121 final String newDocumentId = createDocument(documentId, mimeType, displayName); in callUnchecked()
1141 final String displayName = extras.getString(Document.COLUMN_DISPLAY_NAME); in callUnchecked() local
1142 final String newDocumentId = renameDocument(documentId, displayName); in callUnchecked()
DDocumentsContract.java1044 public static boolean matchSearchQueryArguments(Bundle queryArgs, String displayName, in matchSearchQueryArguments() argument
1053 if (!displayName.toLowerCase().contains(argDisplayName.toLowerCase())) { in matchSearchQueryArguments()
1318 @NonNull Uri parentDocumentUri, @NonNull String mimeType, @NonNull String displayName) in createDocument() argument
1324 in.putString(Document.COLUMN_DISPLAY_NAME, displayName); in createDocument()
1386 @NonNull Uri documentUri, @NonNull String displayName) throws FileNotFoundException { in renameDocument() argument
1390 in.putString(Document.COLUMN_DISPLAY_NAME, displayName); in renameDocument()
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java184 String displayName = toTitleCase(l.getDisplayLanguage(l)); in getAllAssetLocales() local
186 Log.v(TAG, "adding "+displayName); in getAllAssetLocales()
188 localeInfos.add(new LocaleInfo(displayName, l)); in getAllAssetLocales()

123