Home
last modified time | relevance | path

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

123456789

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DTimeZone.java362 public final String getDisplayName() { in getDisplayName() method in TimeZone
363 return timeZone.getDisplayName(ULocale.getDefault(Category.DISPLAY).toLocale()); in getDisplayName()
377 public final String getDisplayName(Locale locale) { in getDisplayName() method in TimeZone
378 return timeZone.getDisplayName(locale); in getDisplayName()
392 public final String getDisplayName(ULocale locale) { in getDisplayName() method in TimeZone
393 return timeZone.getDisplayName(locale.toLocale()); in getDisplayName()
410 public final String getDisplayName(boolean daylight, int style) { in getDisplayName() method in TimeZone
411 return getDisplayName(daylight, style, ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
431 public String getDisplayName(boolean daylight, int style, Locale locale) { in getDisplayName() method in TimeZone
432 return getDisplayName(daylight, style, ULocale.forLocale(locale)); in getDisplayName()
[all …]
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_NetworkInterface.java34 if ((theInterface.getDisplayName() in useInterface()
36 || (theInterface.getDisplayName() in useInterface()
38 || (theInterface.getDisplayName() in useInterface()
40 || (theInterface.getDisplayName() in useInterface()
42 || (theInterface.getDisplayName().equals("MS TCP Loopback interface"))) { in useInterface()
48 if ((theInterface.getDisplayName().equals("lo")) in useInterface()
49 || (theInterface.getDisplayName().equals("teredo"))) { in useInterface()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DTimeZoneTest.java93 assertEquals("Pacific Standard Time", tz.getDisplayName()); in testGetDisplayName()
101 assertEquals("Pacific Standard Time", tz.getDisplayName(Locale.US)); in testGetDisplayNameLocale()
109 assertEquals("Pacific Standard Time", tz.getDisplayName(ULocale.US)); in testGetDisplayNameULocale()
117 assertEquals("PDT", tz.getDisplayName(true, TimeZone.SHORT)); in testGetDisplayNameBooleanInt()
118 assertEquals("Pacific Daylight Time", tz.getDisplayName(true, TimeZone.LONG)); in testGetDisplayNameBooleanInt()
126 assertEquals("PDT", tz.getDisplayName(true, TimeZone.SHORT, Locale.US)); in testGetDisplayNameBooleanIntLocale()
127 assertEquals("Pacific Daylight Time", tz.getDisplayName(true, TimeZone.LONG, Locale.US)); in testGetDisplayNameBooleanIntLocale()
135 assertEquals("PDT", tz.getDisplayName(true, TimeZone.SHORT, ULocale.US)); in testGetDisplayNameBooleanIntULocale()
136 assertEquals("Pacific Daylight Time", tz.getDisplayName(true, TimeZone.LONG, ULocale.US)); in testGetDisplayNameBooleanIntULocale()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/
DTimeZoneNameProviderICU.java19 public String getDisplayName(String ID, boolean daylight, int style, Locale locale) { in getDisplayName() method in TimeZoneNameProviderICU
30 String lstd = tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); in getDisplayName()
31 String ldst = tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date); in getDisplayName()
32 String sstd = tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); in getDisplayName()
33 String sdst = tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date); in getDisplayName()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DHoliday.java140 public String getDisplayName() { in getDisplayName() method in Holiday
141 return getDisplayName(ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
155 public String getDisplayName(Locale locale) in getDisplayName() method in Holiday
157 return getDisplayName(ULocale.forLocale(locale)); in getDisplayName()
171 public String getDisplayName(ULocale locale) in getDisplayName() method in Holiday
DTimeZone.java375 public final String getDisplayName() { in getDisplayName() method in TimeZone
389 public final String getDisplayName(Locale locale) { in getDisplayName() method in TimeZone
403 public final String getDisplayName(ULocale locale) { in getDisplayName() method in TimeZone
421 public final String getDisplayName(boolean daylight, int style) { in getDisplayName() method in TimeZone
422 return getDisplayName(daylight, style, ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
441 public String getDisplayName(boolean daylight, int style, Locale locale) { in getDisplayName() method in TimeZone
442 return getDisplayName(daylight, style, ULocale.forLocale(locale)); in getDisplayName()
461 public String getDisplayName(boolean daylight, int style, ULocale locale) { in getDisplayName() method in TimeZone
538 result = tznames.getDisplayName(ZoneMeta.getCanonicalCLDRID(this), nameType, date); in _getDisplayName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DHoliday.java148 public String getDisplayName() { in getDisplayName() method in Holiday
149 return getDisplayName(ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
164 public String getDisplayName(Locale locale) in getDisplayName() method in Holiday
166 return getDisplayName(ULocale.forLocale(locale)); in getDisplayName()
181 public String getDisplayName(ULocale locale) in getDisplayName() method in Holiday
DTimeZone.java429 public final String getDisplayName() { in getDisplayName() method in TimeZone
444 public final String getDisplayName(Locale locale) { in getDisplayName() method in TimeZone
459 public final String getDisplayName(ULocale locale) { in getDisplayName() method in TimeZone
478 public final String getDisplayName(boolean daylight, int style) { in getDisplayName() method in TimeZone
479 return getDisplayName(daylight, style, ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
499 public String getDisplayName(boolean daylight, int style, Locale locale) { in getDisplayName() method in TimeZone
500 return getDisplayName(daylight, style, ULocale.forLocale(locale)); in getDisplayName()
520 public String getDisplayName(boolean daylight, int style, ULocale locale) { in getDisplayName() method in TimeZone
597 result = tznames.getDisplayName(ZoneMeta.getCanonicalCLDRID(this), nameType, date); in _getDisplayName()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCollator.java504 public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() method in Collator.CollatorFactory
505 … return getDisplayName(ULocale.forLocale(objectLocale), ULocale.forLocale(displayLocale)); in getDisplayName()
515 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in Collator.CollatorFactory
520 return objectLocale.getDisplayName(displayLocale); in getDisplayName()
548 abstract String getDisplayName(ULocale ol, ULocale dl); in getDisplayName() method in Collator.ServiceShim
1042 static public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() method in Collator
1043 return getShim().getDisplayName(ULocale.forLocale(objectLocale), in getDisplayName()
1054 static public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in Collator
1055 return getShim().getDisplayName(objectLocale, displayLocale); in getDisplayName()
1065 static public String getDisplayName(Locale objectLocale) { in getDisplayName() method in Collator
[all …]
DCollatorServiceShim.java74 public String getDisplayName(String id, ULocale displayLocale) { in registerFactory() method in CollatorServiceShim.CFactory
76 return delegate.getDisplayName(objectLocale, displayLocale); in registerFactory()
114 String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in CollatorServiceShim
116 return service.getDisplayName(id, displayLocale); in getDisplayName()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DGlobalizationPreferencesTest.java1004 String name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1006 String name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1008 String name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1018 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1020 name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1022 name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1032 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1034 name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1036 name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1046 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_TERRITORY); in TestDisplayName()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java1000 String name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1002 String name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1004 String name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1014 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1016 name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1018 name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1028 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1030 name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1032 name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1042 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_TERRITORY); in TestDisplayName()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollator.java531 public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() method in Collator.CollatorFactory
532 … return getDisplayName(ULocale.forLocale(objectLocale), ULocale.forLocale(displayLocale)); in getDisplayName()
543 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in Collator.CollatorFactory
548 return objectLocale.getDisplayName(displayLocale); in getDisplayName()
578 abstract String getDisplayName(ULocale ol, ULocale dl); in getDisplayName() method in Collator.ServiceShim
1084 static public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() method in Collator
1085 return getShim().getDisplayName(ULocale.forLocale(objectLocale), in getDisplayName()
1097 static public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in Collator
1098 return getShim().getDisplayName(objectLocale, displayLocale); in getDisplayName()
1109 static public String getDisplayName(Locale objectLocale) { in getDisplayName() method in Collator
[all …]
DCollatorServiceShim.java73 public String getDisplayName(String id, ULocale displayLocale) { in registerFactory() method in CollatorServiceShim.CFactory
75 return delegate.getDisplayName(objectLocale, displayLocale); in registerFactory()
113 String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in CollatorServiceShim
115 return service.getDisplayName(id, displayLocale); in getDisplayName()
/external/junit/src/org/junit/runner/
DDescription.java102 public String getDisplayName() { in getDisplayName() method in Description
149 return getDisplayName().hashCode(); in hashCode()
157 return getDisplayName().equals(d.getDisplayName()); in equals()
162 return getDisplayName(); in toString()
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DTimeZoneNameTest.java102 tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date) : in getIcuDisplayName()
103 tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); in getIcuDisplayName()
107 tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date) : in getIcuDisplayName()
108 tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); in getIcuDisplayName()
118 String name = tz.getDisplayName(daylight, style, loc); in checkDisplayName()
142 name = tz.getDisplayName(daylight, style, icuLoc); in checkDisplayName()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationServiceTest.java83 String name = Collator.getDisplayName(fu_FU); in TestRegister()
92 String name = Collator.getDisplayName(fu_FU, fu_FU); in TestRegister()
141 String getDisplayName(ULocale displayLocale) { in TestRegisterFactory() method in CollationServiceTest.CollatorInfo
147 name = locale.getDisplayName(displayLocale); in TestRegisterFactory()
173 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in TestRegisterFactory() method in CollationServiceTest.TestFactory
176 return ci.getDisplayName(displayLocale); in TestRegisterFactory()
245 name = Collator.getDisplayName(fu_FU, fu_FU_FOO); in TestRegisterFactory()
290 String name = Collator.getDisplayName(fu_FU); in TestRegisterFactory()
295 name = Collator.getDisplayName(fu_FU, fu_FU_FOO); in TestRegisterFactory()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationServiceTest.java79 String name = Collator.getDisplayName(fu_FU); in TestRegister()
88 String name = Collator.getDisplayName(fu_FU, fu_FU); in TestRegister()
137 String getDisplayName(ULocale displayLocale) { in TestRegisterFactory() method in CollationServiceTest.CollatorInfo
143 name = locale.getDisplayName(displayLocale); in TestRegisterFactory()
169 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in TestRegisterFactory() method in CollationServiceTest.TestFactory
172 return ci.getDisplayName(displayLocale); in TestRegisterFactory()
241 name = Collator.getDisplayName(fu_FU, fu_FU_FOO); in TestRegisterFactory()
286 String name = Collator.getDisplayName(fu_FU); in TestRegisterFactory()
291 name = Collator.getDisplayName(fu_FU, fu_FU_FOO); in TestRegisterFactory()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceTest.java207 public String getDisplayName(String id, ULocale l) { in TestAPI()
272 confirmIdentical("27) get display name", service.getDisplayName("en_US_VALLEY_GEEK"), null); in TestAPI()
275 String name = service.getDisplayName("en_US_SURFER_DUDE", ULocale.US); in TestAPI()
310 String displayName = service.getDisplayName(actualID[0], ULocale.US); in TestAPI()
314 displayName = service.getDisplayName(id, ULocale.US); in TestAPI()
328 String displayName = service.getDisplayName(actualID[0], ULocale.US); in TestAPI()
332 displayName = service.getDisplayName(id, ULocale.US); in TestAPI()
631 public String getDisplayName(String id, ULocale locale) { in getDisplayName() method in ICUServiceTest.CalifornioLanguageFactory
657 suffix = super.getDisplayName(id, locale); in getDisplayName()
804 public String getDisplayName(String id, ULocale locale) { in TestWrapFactory() method in ICUServiceTest.WrapFactory
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DICUServiceTest.java211 public String getDisplayName(String id, ULocale l) { in TestAPI()
276 confirmIdentical("27) get display name", service.getDisplayName("en_US_VALLEY_GEEK"), null); in TestAPI()
279 String name = service.getDisplayName("en_US_SURFER_DUDE", ULocale.US); in TestAPI()
314 String displayName = service.getDisplayName(actualID[0], ULocale.US); in TestAPI()
318 displayName = service.getDisplayName(id, ULocale.US); in TestAPI()
332 String displayName = service.getDisplayName(actualID[0], ULocale.US); in TestAPI()
336 displayName = service.getDisplayName(id, ULocale.US); in TestAPI()
635 public String getDisplayName(String id, ULocale locale) { in getDisplayName() method in ICUServiceTest.CalifornioLanguageFactory
661 suffix = super.getDisplayName(id, locale); in getDisplayName()
808 public String getDisplayName(String id, ULocale locale) { in TestWrapFactory() method in ICUServiceTest.WrapFactory
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DHolidayTest.java97 logln("holiday: " + h.getDisplayName()); in exerciseHoliday()
98 logln("holiday in " + locale + ": " + h.getDisplayName(locale)); in exerciseHoliday()
113 errln("Error: "+h.getDisplayName()+".firstBetween("+first+", "+now+")="+second); in exerciseHoliday()
186 errln("Patience exceeded for " + h.getDisplayName() +" at " + d); in exerciseHoliday()
190 … errln("Error: for " + h.getDisplayName()+": " + d +" is after end of month " + endOfMonth); in exerciseHoliday()
336 if ("Christmas".equals(h.getDisplayName(ULocale.US))) { in TestDisplayName()
337 if ("Christmas".equals(h.getDisplayName(ULocale.GERMANY))) { in TestDisplayName()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DHolidayTest.java93 logln("holiday: " + h.getDisplayName()); in exerciseHoliday()
94 logln("holiday in " + locale + ": " + h.getDisplayName(locale)); in exerciseHoliday()
109 errln("Error: "+h.getDisplayName()+".firstBetween("+first+", "+now+")="+second); in exerciseHoliday()
182 errln("Patience exceeded for " + h.getDisplayName() +" at " + d); in exerciseHoliday()
186 … errln("Error: for " + h.getDisplayName()+": " + d +" is after end of month " + endOfMonth); in exerciseHoliday()
332 if ("Christmas".equals(h.getDisplayName(ULocale.US))) { in TestDisplayName()
333 if ("Christmas".equals(h.getDisplayName(ULocale.GERMANY))) { in TestDisplayName()
/external/icu/icu4c/source/test/intltest/
Dsvccoll.cpp153 Collator::getDisplayName(fu_FU, displayName); in TestRegister()
164 Collator::getDisplayName(fu_FU, fu_FU, displayName); in TestRegister()
222 UnicodeString& getDisplayName(const Locale& displayLocale, UnicodeString& name) const;
239 CollatorInfo::getDisplayName(const Locale& displayLocale, UnicodeString& name) const { in getDisplayName() function in CollatorInfo
248 return locale.getDisplayName(displayLocale, name); in getDisplayName()
294 virtual UnicodeString& getDisplayName(const Locale& objectLocale, in getDisplayName() function in TestFactory
300 ci->getDisplayName(displayLocale, result); in getDisplayName()
446 Collator::getDisplayName(fu_FU, name); in TestRegisterFactory()
451 Collator::getDisplayName(fu_FU, fu_FU_FOO, name); in TestRegisterFactory()
/external/icu/icu4c/source/i18n/unicode/
Dtimezone.h635 UnicodeString& getDisplayName(UnicodeString& result) const;
650 UnicodeString& getDisplayName(const Locale& locale, UnicodeString& result) const;
664 UnicodeString& getDisplayName(UBool daylight, EDisplayType style, UnicodeString& result) const;
680 …UnicodeString& getDisplayName(UBool daylight, EDisplayType style, const Locale& locale, UnicodeStr…
/external/nist-sip/java/gov/nist/javax/sip/header/
DReplyTo.java110 public String getDisplayName() { in getDisplayName() method in ReplyTo
111 return address.getDisplayName(); in getDisplayName()

123456789