Home
last modified time | relevance | path

Searched refs:getDisplayName (Results 1 – 25 of 106) sorted by relevance

12345

/frameworks/base/core/java/com/android/internal/app/
DLocaleHelper.java87 public static String getDisplayName(Locale locale, Locale displayLocale, boolean sentenceCase) { in getDisplayName() method in LocaleHelper
91 : ULocale.getDisplayName(locale.toLanguageTag(), displayULocale); in getDisplayName()
102 public static String getDisplayName(Locale locale, boolean sentenceCase) { in getDisplayName() method in LocaleHelper
103 return getDisplayName(locale, Locale.getDefault(), sentenceCase); in getDisplayName()
161 localeNames[i] = LocaleHelper.getDisplayName(locales.get(i), dispLocale, false); in getDisplayLocaleList()
DLocalePicker.java178getDisplayName(previous.locale, specialLocaleCodes, specialLocaleNames)); in getAllAssetLocales()
180 previous.label = toTitleCase(getDisplayName( in getAllAssetLocales()
184 getDisplayName(l, specialLocaleCodes, specialLocaleNames))); in getAllAssetLocales()
187 getDisplayName(l, specialLocaleCodes, specialLocaleNames)), l)); in getAllAssetLocales()
248 private static String getDisplayName(
258 return l.getDisplayName(l);
/frameworks/opt/localepicker/src/com/android/localepicker/
DLocaleHelper.java113 public static String getDisplayName(Locale locale, Locale displayLocale, boolean sentenceCase) { in getDisplayName() method in LocaleHelper
117 : ULocale.getDisplayName(locale.toLanguageTag(), displayULocale); in getDisplayName()
128 public static String getDisplayName(Locale locale, boolean sentenceCase) { in getDisplayName() method in LocaleHelper
129 return getDisplayName(locale, Locale.getDefault(), sentenceCase); in getDisplayName()
DLocaleStore.java126 LocaleHelper.getDisplayName(mLocale, mLocale, true /* sentence case */); in getFullNameNative()
150 return LocaleHelper.getDisplayName(mLocale, true /* sentence case */); in getFullNameInUiLanguage()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceFilterPair.java49 String getDisplayName() { in getDisplayName() method in DeviceFilterPair
87 + "device=" + mDevice + " " + getDisplayName() in toString()
93 return '(' + getDeviceTypeAsString() + ") " + getMacAddress() + " '" + getDisplayName() in toShortString()
DDeviceListAdapter.java79 holder.mTextView.setText(mDevices.get(position).getDisplayName()); in onBindViewHolder()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneInfo.java202 sb.append(tz.getDisplayName(false /* daylightTime */, TimeZone.LONG)); in toString()
204 sb.append(tz.getDisplayName(false /* daylightTime */, TimeZone.SHORT)); in toString()
207 sb.append(tz.getDisplayName(true, TimeZone.LONG)); in toString()
209 sb.append(tz.getDisplayName(true, TimeZone.SHORT)); in toString()
278 return this.mTz.getDisplayName(Locale.getDefault()).compareTo( in compareTo()
279 other.mTz.getDisplayName(Locale.getDefault())); in compareTo()
DTimeZonePickerUtils.java88 String displayName = getDisplayName(tz, time.isDst != 0); in buildGmtDisplayName()
161 private String getDisplayName(TimeZone tz, boolean daylightTime) { in getDisplayName() method in TimeZonePickerUtils
164 return tz.getDisplayName(daylightTime, TimeZone.LONG, Locale.getDefault()); in getDisplayName()
180 return tz.getDisplayName(daylightTime, TimeZone.LONG, Locale.getDefault()); in getDisplayName()
DTimeZoneData.java198 tz.mDisplayName = tz.mTz.getDisplayName(tz.mTz.inDaylightTime(date), in loadTzs()
241 String name = tz.mTz.getDisplayName(); in printTimeZones()
451 tz.getDisplayName()); in loadTzsInZoneTab()
457 tz.getDisplayName()); in loadTzsInZoneTab()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/security/
DCellularNetworkSecuritySafetySource.java231 subInfo.getDisplayName()), in getNullCipherIssue()
239 subInfo.getDisplayName())) in getNullCipherIssue()
247 subInfo.getDisplayName()), in getNullCipherIssue()
250 subInfo.getDisplayName()), in getNullCipherIssue()
257 subInfo.getDisplayName()), in getNullCipherIssue()
260 subInfo.getDisplayName())) in getNullCipherIssue()
311 subInfo.getDisplayName())).build(); in getIdentifierDisclosureIssue()
319 subInfo.getDisplayName()), in getIdentifierDisclosureIssue()
/frameworks/opt/chips/sample/src/com/android/ex/chips/sample/
DMainActivity.java76 Log.i("ChipsSample", entry.getDisplayName() + " recipient chip added"); in onRecipientChipAdded()
81 Log.i("ChipsSample", entry.getDisplayName() + " recipient chip removed"); in onRecipientChipDeleted()
/frameworks/opt/localepicker/tests/src/com/android/localepicker/
DLocaleHelperTest.java51 LocaleHelper.getDisplayName(Locale.US, Locale.US, /* sentenceCase */ true); in getDisplayName_shouldReturnLocaleDisplayName()
58 LocaleHelper.getDisplayName( in getDisplayName_withDifferentLocale_shouldReturnLocalizedDisplayName()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecNetworkTest.java225 assertThat(cecDeviceInfo.getDisplayName()).isEqualTo( in cecDevices_tracking_logicalAddressOnly()
262 assertThat(cecDeviceInfo.getDisplayName()).isEqualTo( in cecDevices_tracking_reportPhysicalAddress()
309 assertThat(cecDeviceInfo.getDisplayName()).isEqualTo( in cecDevices_tracking_reportPowerStatus()
332 assertThat(cecDeviceInfo.getDisplayName()).isEqualTo(osdName); in cecDevices_tracking_reportOsdName()
353 assertThat(cecDeviceInfo.getDisplayName()).isEqualTo( in cecDevices_tracking_reportVendorId()
392 assertThat(cecDeviceInfo.getDisplayName()).isEqualTo(osdName); in cecDevices_tracking_updatesDeviceInfo()
464 assertThat(cecDeviceInfo.getDisplayName()).isEqualTo(updatedOsdName); in cecDevices_tracking_updatesOsdName()
484 assertThat(cecDeviceInfo.getDisplayName()).isEqualTo( in cecDevices_tracking_updatesVendorId()
525 assertThat(cecDeviceInfo.getDisplayName()).isEqualTo( in cecDevices_tracking_reportPowerStatus_broadcast_infersCec2()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientAlternatesAdapter.java306 if (!TextUtils.isEmpty(entry1.getDisplayName()) in getBetterRecipient()
307 && TextUtils.isEmpty(entry2.getDisplayName())) { in getBetterRecipient()
311 if (!TextUtils.isEmpty(entry2.getDisplayName()) in getBetterRecipient()
312 && TextUtils.isEmpty(entry1.getDisplayName())) { in getBetterRecipient()
317 if (!TextUtils.equals(entry1.getDisplayName(), entry1.getDestination()) in getBetterRecipient()
318 && TextUtils.equals(entry2.getDisplayName(), entry2.getDestination())) { in getBetterRecipient()
322 if (!TextUtils.equals(entry2.getDisplayName(), entry2.getDestination()) in getBetterRecipient()
323 && TextUtils.equals(entry1.getDisplayName(), entry1.getDestination())) { in getBetterRecipient()
DDefaultPhotoManager.java75 Log.d(TAG, "No photo cache for " + entry.getDisplayName() in populatePhotoBytesAsync()
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DAutofillTestWatcher.java52 final String testName = description.getDisplayName(); in starting()
68 final String testName = description.getDisplayName(); in finished()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java111 mDisplayName = profile.getDisplayName(); in Builder()
388 public String getDisplayName() { in getDisplayName() method in SipProfile
389 return mAddress.getDisplayName(); in getDisplayName()
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
DSimpleRecipientChip.java43 mDisplay = entry.getDisplayName(); in SimpleRecipientChip()
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerSubtype.java246 public CharSequence getDisplayName( in getDisplayName() method in SpellCheckerSubtype
249 final String localeStr = locale != null ? locale.getDisplayName() : mSubtypeLocale; in getDisplayName()
/frameworks/base/core/java/com/android/ims/internal/uce/presence/
DPresResInfo.java69 public String getDisplayName() { in getDisplayName() method in PresResInfo
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDumpableDumperRule.java65 mTestName = description.getDisplayName(); in apply()
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DVirtualDeviceManagerServiceTest.java315 activityInfo, mAssociationInfo.getDisplayName()); in createRestrictedActivityBlockedIntent()
848 .isEqualTo(mAssociationInfo.getDisplayName().toString()); in getDisplayNameForPersistentDeviceId_validVirtualDevice_returnsCorrectId()
1523 activityInfo, mAssociationInfo.getDisplayName()); in openNonBlockedAppOnVirtualDisplay_doesNotStartBlockedAlertActivity()
1544 activityInfo, mAssociationInfo.getDisplayName()); in openPermissionControllerOnVirtualDisplay_startBlockedAlertActivity()
1566 activityInfo, mAssociationInfo.getDisplayName()); in openPermissionControllerOnVirtualDisplay_displayOnRemoteDevices_startsWhenFlagIsEnabled()
1588 activityInfo, mAssociationInfo.getDisplayName()); in openPermissionControllerOnVirtualDisplay_dontDisplayOnRemoteDevices_startsWhenFlagIsEnabled()
1609 activityInfo, mAssociationInfo.getDisplayName()); in openSettingsOnVirtualDisplay_startBlockedAlertActivity()
1630 activityInfo, mAssociationInfo.getDisplayName()); in openVendingOnVirtualDisplay_startBlockedAlertActivity()
1651 activityInfo, mAssociationInfo.getDisplayName()); in openGoogleDialerOnVirtualDisplay_startBlockedAlertActivity()
1672 activityInfo, mAssociationInfo.getDisplayName()); in openGoogleMapsOnVirtualDisplay_startBlockedAlertActivity()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DStreamingCall.java156 public CharSequence getDisplayName() { in getDisplayName() method in StreamingCall
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/
DSubscriptionInfoInternalTest.java163 assertThat(mSubInfo.getDisplayName()).isEqualTo( in testSubscriptionInfoInternalSetAndGet()
272 assertThat(subInfo.getDisplayName()).isEqualTo( in testConvertToSubscriptionInfo()
330 assertThat(subInfoNull.getDisplayName()).isEqualTo(""); in testNullability()
/frameworks/base/tools/lint/global/checks/src/main/java/com/google/android/lint/aidl/
DEnforcePermissionFix.kt81 .name(annotateFix.getDisplayName())

12345