Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/com/android/internal/app/
DLocaleHelper.java115 public static String getDisplayName(Locale locale, Locale displayLocale, boolean sentenceCase) { in getDisplayName() method in LocaleHelper
119 : ULocale.getDisplayName(locale.toLanguageTag(), displayULocale); in getDisplayName()
130 public static String getDisplayName(Locale locale, boolean sentenceCase) { in getDisplayName() method in LocaleHelper
131 return getDisplayName(locale, Locale.getDefault(), sentenceCase); in getDisplayName()
189 localeNames[i] = LocaleHelper.getDisplayName(locales.get(i), dispLocale, false); in getDisplayLocaleList()
DLocalePicker.java136getDisplayName(previous.locale, specialLocaleCodes, specialLocaleNames)); in getAllAssetLocales()
138 previous.label = toTitleCase(getDisplayName( in getAllAssetLocales()
142 getDisplayName(l, specialLocaleCodes, specialLocaleNames))); in getAllAssetLocales()
145 getDisplayName(l, specialLocaleCodes, specialLocaleNames)), l)); in getAllAssetLocales()
206 private static String getDisplayName(
216 return l.getDisplayName(l);
DLocaleStore.java126 LocaleHelper.getDisplayName(mLocale, mLocale, true /* sentence case */); in getFullNameNative()
151 return LocaleHelper.getDisplayName(mLocale, true /* sentence case */); in getFullNameInUiLanguage()
/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/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/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoTest.java53 assertEquals("T-mobile", mSubscriptionInfoUT.getDisplayName()); in testSubProperties()
74 assertEquals("T-mobile", mSubscriptionInfoUT.getDisplayName()); in testSetGetDisplayName()
76 assertEquals("Verizon", mSubscriptionInfoUT.getDisplayName()); in testSetGetDisplayName()
/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/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/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()
DDropdownChipLayouter.java179 bindDrawableToDeleteView(deleteDrawable, entry.getDisplayName(), viewHolder.deleteView); in bindView()
470 return getStyledResults(constraint, entry.getDisplayName(), entry.getDestination()); in getStyledResults()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java109 mDisplayName = profile.getDisplayName(); in Builder()
386 public String getDisplayName() { in getDisplayName() method in SipProfile
387 return mAddress.getDisplayName(); in getDisplayName()
/frameworks/base/core/java/com/android/ims/internal/uce/presence/
DPresResInfo.java68 public String getDisplayName() { in getDisplayName() method in PresResInfo
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
DSimpleRecipientChip.java43 mDisplay = entry.getDisplayName(); in SimpleRecipientChip()
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerSubtype.java244 public CharSequence getDisplayName( in getDisplayName() method in SpellCheckerSubtype
247 final String localeStr = locale != null ? locale.getDisplayName() : mSubtypeLocale; in getDisplayName()
/frameworks/base/core/jni/
Dandroid_view_InputDevice.cpp40 ScopedLocalRef<jstring> nameObj(env, env->NewStringUTF(deviceInfo.getDisplayName().c_str())); in android_view_InputDevice_create()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceDiscoveryService.java295 if (DEBUG) Log.i(LOG_TAG, "Lost device " + device.getDisplayName()); in onDeviceLost()
342 textView.setText(device.getDisplayName()); in bind()
404 public String getDisplayName() { in getDisplayName() method in DeviceDiscoveryService.DeviceFilterPair
DDeviceChooserActivity.java65 selectedDevice.getDisplayName()), 0)); in onCreate()
/frameworks/native/include/input/
DInputDevice.h94 inline const std::string& getDisplayName() const { in getDisplayName() function
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardEntryTests.java136 assertEquals("test1", parent.getDisplayName()); in testNestHandling()
137 assertEquals("test2", child.getDisplayName()); in testNestHandling()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeUtilCompat.java378 final CharSequence subtypeName = subtype.getDisplayName(context, in getSubtypeLocaleNameAsSentence()
395 subtypeNames[i] = subtypes.get(i).getDisplayName(context, in getSubtypeLocaleNameListAsSentence()
DInputMethodAndSubtypeUtil.java378 final CharSequence subtypeName = subtype.getDisplayName(context, in getSubtypeLocaleNameAsSentence()
395 subtypeNames[i] = subtypes.get(i).getDisplayName(context, in getSubtypeLocaleNameListAsSentence()

123