Home
last modified time | relevance | path

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

12345678910

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DTimeZone.java364 public final String getDisplayName() { in getDisplayName() method in TimeZone
365 return timeZone.getDisplayName(ULocale.getDefault(Category.DISPLAY).toLocale()); in getDisplayName()
379 public final String getDisplayName(Locale locale) { in getDisplayName() method in TimeZone
380 return timeZone.getDisplayName(locale); in getDisplayName()
394 public final String getDisplayName(ULocale locale) { in getDisplayName() method in TimeZone
395 return timeZone.getDisplayName(locale.toLocale()); in getDisplayName()
412 public final String getDisplayName(boolean daylight, int style) { in getDisplayName() method in TimeZone
413 return getDisplayName(daylight, style, ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
433 public String getDisplayName(boolean daylight, int style, Locale locale) { in getDisplayName() method in TimeZone
434 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/cldr/tools/java/org/unicode/cldr/util/
DCLDRLocale.java36 String getDisplayName(CLDRLocale cldrLocale); in getDisplayName() method
38 …String getDisplayName(CLDRLocale cldrLocale, boolean onlyConstructCompound, Transform<String, Stri… in getDisplayName() method
75 public String getDisplayName(CLDRLocale cldrLocale) { in getDisplayName() method in CLDRLocale.SimpleFormatter
116 …public String getDisplayName(CLDRLocale cldrLocale, boolean onlyConstructCompound, Transform<Strin… in getDisplayName() method in CLDRLocale.SimpleFormatter
117 return getDisplayName(cldrLocale); in getDisplayName()
160 public String getDisplayName(CLDRLocale cldrLocale) { in getDisplayName() method in CLDRLocale.CLDRFormatter
162 return super.getDisplayName(cldrLocale); in getDisplayName()
166 …public String getDisplayName(CLDRLocale cldrLocale, boolean onlyConstructCompound, Transform<Strin… in getDisplayName() method in CLDRLocale.CLDRFormatter
168 return super.getDisplayName(cldrLocale); in getDisplayName()
548 public String getDisplayName() {
[all …]
DDayPeriodsCheck.java82 System.out.print(locale.getDisplayName(ULocale.ENGLISH)); in main()
94 System.out.println(locale.getDisplayName(ULocale.ENGLISH)); in main()
131 …"</th><th colSpan='2'><h4>" + locale.getDisplayName(ULocale.ENGLISH) + " (" + locale + ")</h4></tr… in main()
133 …System.out.println(LanguageGroup.get(locale) + "\t" + locale.getDisplayName(ULocale.ENGLISH) + "\t… in main()
161 …System.out.println("||" + LanguageGroup.get(locale) + "||" + locale.getDisplayName(ULocale.ENGLISH… in show()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DTimeZoneTest.java95 assertEquals("Pacific Standard Time", tz.getDisplayName()); in testGetDisplayName()
103 assertEquals("Pacific Standard Time", tz.getDisplayName(Locale.US)); in testGetDisplayNameLocale()
111 assertEquals("Pacific Standard Time", tz.getDisplayName(ULocale.US)); in testGetDisplayNameULocale()
119 assertEquals("PDT", tz.getDisplayName(true, TimeZone.SHORT)); in testGetDisplayNameBooleanInt()
120 assertEquals("Pacific Daylight Time", tz.getDisplayName(true, TimeZone.LONG)); in testGetDisplayNameBooleanInt()
128 assertEquals("PDT", tz.getDisplayName(true, TimeZone.SHORT, Locale.US)); in testGetDisplayNameBooleanIntLocale()
129 assertEquals("Pacific Daylight Time", tz.getDisplayName(true, TimeZone.LONG, Locale.US)); in testGetDisplayNameBooleanIntLocale()
137 assertEquals("PDT", tz.getDisplayName(true, TimeZone.SHORT, ULocale.US)); in testGetDisplayNameBooleanIntULocale()
138 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.java21 public String getDisplayName(String ID, boolean daylight, int style, Locale locale) { in getDisplayName() method in TimeZoneNameProviderICU
32 String lstd = tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); in getDisplayName()
33 String ldst = tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date); in getDisplayName()
34 String sstd = tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); in getDisplayName()
35 String sdst = tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date); in getDisplayName()
/external/junit-params/src/test/java/junitparams/internal/
DTestMethodTest.java51 …ertEquals("for_others_to_work(junitparams.internal.TestMethodTest)", description.getDisplayName()); in flatTestMethodStructure()
65 assertEquals("forOthersToWork", description.getDisplayName()); in hierarchicalTestMethodStructure()
66 …sToWork)(junitparams.internal.TestMethodTest)", description.getChildren().get(0).getDisplayName()); in hierarchicalTestMethodStructure()
67 …sToWork)(junitparams.internal.TestMethodTest)", description.getChildren().get(1).getDisplayName()); in hierarchicalTestMethodStructure()
78 assertEquals("forOthersToWorkWithArray", description.getDisplayName()); in hierarchicalArrayTestMethodStructure()
80 description.getChildren().get(0).getDisplayName()); in hierarchicalArrayTestMethodStructure()
82 description.getChildren().get(1).getDisplayName()); in hierarchicalArrayTestMethodStructure()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DHoliday.java146 public String getDisplayName() { in getDisplayName() method in Holiday
147 return getDisplayName(ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
161 public String getDisplayName(Locale locale) in getDisplayName() method in Holiday
163 return getDisplayName(ULocale.forLocale(locale)); in getDisplayName()
177 public String getDisplayName(ULocale locale) in getDisplayName() method in Holiday
DTimeZone.java370 public final String getDisplayName() { in getDisplayName() method in TimeZone
384 public final String getDisplayName(Locale locale) { in getDisplayName() method in TimeZone
398 public final String getDisplayName(ULocale locale) { in getDisplayName() method in TimeZone
416 public final String getDisplayName(boolean daylight, int style) { in getDisplayName() method in TimeZone
417 return getDisplayName(daylight, style, ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
436 public String getDisplayName(boolean daylight, int style, Locale locale) { in getDisplayName() method in TimeZone
437 return getDisplayName(daylight, style, ULocale.forLocale(locale)); in getDisplayName()
456 public String getDisplayName(boolean daylight, int style, ULocale locale) { in getDisplayName() method in TimeZone
533 result = tznames.getDisplayName(ZoneMeta.getCanonicalCLDRID(this), nameType, date); in _getDisplayName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DHoliday.java154 public String getDisplayName() { in getDisplayName() method in Holiday
155 return getDisplayName(ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
170 public String getDisplayName(Locale locale) in getDisplayName() method in Holiday
172 return getDisplayName(ULocale.forLocale(locale)); in getDisplayName()
187 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/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java1009 String name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1011 String name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1013 String name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1023 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1025 name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1027 name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1037 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1039 name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1041 name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1051 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_TERRITORY); in TestDisplayName()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DGlobalizationPreferencesTest.java1012 String name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1014 String name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1016 String name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1026 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1028 name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1030 name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1040 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1042 name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1044 name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1054 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_TERRITORY); in TestDisplayName()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollator.java550 public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() method in Collator.CollatorFactory
551 … return getDisplayName(ULocale.forLocale(objectLocale), ULocale.forLocale(displayLocale)); in getDisplayName()
562 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in Collator.CollatorFactory
567 return objectLocale.getDisplayName(displayLocale); in getDisplayName()
597 abstract String getDisplayName(ULocale ol, ULocale dl); in getDisplayName() method in Collator.ServiceShim
1102 static public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() method in Collator
1103 return getShim().getDisplayName(ULocale.forLocale(objectLocale), in getDisplayName()
1115 static public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in Collator
1116 return getShim().getDisplayName(objectLocale, displayLocale); in getDisplayName()
1127 static public String getDisplayName(Locale objectLocale) { in getDisplayName() method in Collator
[all …]
DCollatorServiceShim.java81 public String getDisplayName(String id, ULocale displayLocale) { in registerFactory() method in CollatorServiceShim.CFactory
83 return delegate.getDisplayName(objectLocale, displayLocale); in registerFactory()
126 String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in CollatorServiceShim
128 return service.getDisplayName(id, displayLocale); in getDisplayName()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCollator.java523 public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() method in Collator.CollatorFactory
524 … return getDisplayName(ULocale.forLocale(objectLocale), ULocale.forLocale(displayLocale)); in getDisplayName()
534 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in Collator.CollatorFactory
539 return objectLocale.getDisplayName(displayLocale); in getDisplayName()
567 abstract String getDisplayName(ULocale ol, ULocale dl); in getDisplayName() method in Collator.ServiceShim
1060 static public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() method in Collator
1061 return getShim().getDisplayName(ULocale.forLocale(objectLocale), in getDisplayName()
1072 static public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in Collator
1073 return getShim().getDisplayName(objectLocale, displayLocale); in getDisplayName()
1083 static public String getDisplayName(Locale objectLocale) { in getDisplayName() method in Collator
[all …]
DCollatorServiceShim.java82 public String getDisplayName(String id, ULocale displayLocale) { in registerFactory() method in CollatorServiceShim.CFactory
84 return delegate.getDisplayName(objectLocale, displayLocale); in registerFactory()
127 String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in CollatorServiceShim
129 return service.getDisplayName(id, displayLocale); in getDisplayName()
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DTimeZoneNameTest.java107 tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date) : in getIcuDisplayName()
108 tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); in getIcuDisplayName()
112 tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date) : in getIcuDisplayName()
113 tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); in getIcuDisplayName()
123 String name = tz.getDisplayName(daylight, style, loc); in checkDisplayName()
147 name = tz.getDisplayName(daylight, style, icuLoc); in checkDisplayName()
174 String uLocaleName = uLocaleInstance.getDisplayName(availableId, nameType, date); in testGetInstance_Locale()
175 String localeName = localeInstance.getDisplayName(availableId, nameType, date); in testGetInstance_Locale()
/external/cldr/tools/java/org/unicode/cldr/icu/
DListNumbers.java113 private static String getDisplayName(RuleBasedNumberFormat spellout, String currRuleName) { in getDisplayName() method in ListNumbers
193 … System.out.print("<th class=\"thead\"><b>" + getDisplayName(rbnf, name) + "</b></th>"); in printSkipLine()
201 + loc.getDisplayName() + "</h2>"); in printTable()
209 + getDisplayName(rbnf, rbnf.getDefaultRuleSetName())); in printTable()
216 … System.out.print("<th class=\"thead\"><b>" + getDisplayName(rbnf, name) + "</b></th>"); in printTable()
273 + new ULocale(parent.getString()).getDisplayName() + "</p>"); in main()
/external/icu/icu4j/main/tests/collate/src/com/ibm/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()
142 String getDisplayName(ULocale displayLocale) { in TestRegisterFactory() method in CollationServiceTest.CollatorInfo
148 name = locale.getDisplayName(displayLocale); in TestRegisterFactory()
176 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in TestRegisterFactory() method in CollationServiceTest.TestFactory
179 return ci.getDisplayName(displayLocale); in TestRegisterFactory()
251 name = Collator.getDisplayName(fu_FU, fu_FU_FOO); in TestRegisterFactory()
296 String name = Collator.getDisplayName(fu_FU); in TestRegisterFactory()
301 name = Collator.getDisplayName(fu_FU, fu_FU_FOO); in TestRegisterFactory()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationServiceTest.java86 String name = Collator.getDisplayName(fu_FU); in TestRegister()
95 String name = Collator.getDisplayName(fu_FU, fu_FU); in TestRegister()
145 String getDisplayName(ULocale displayLocale) { in TestRegisterFactory() method in CollationServiceTest.CollatorInfo
151 name = locale.getDisplayName(displayLocale); in TestRegisterFactory()
179 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in TestRegisterFactory() method in CollationServiceTest.TestFactory
182 return ci.getDisplayName(displayLocale); in TestRegisterFactory()
254 name = Collator.getDisplayName(fu_FU, fu_FU_FOO); in TestRegisterFactory()
299 String name = Collator.getDisplayName(fu_FU); in TestRegisterFactory()
304 name = Collator.getDisplayName(fu_FU, fu_FU_FOO); in TestRegisterFactory()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceTest.java214 public String getDisplayName(String id, ULocale l) { in TestAPI()
279 confirmIdentical("27) get display name", service.getDisplayName("en_US_VALLEY_GEEK"), null); in TestAPI()
282 String name = service.getDisplayName("en_US_SURFER_DUDE", ULocale.US); in TestAPI()
317 String displayName = service.getDisplayName(actualID[0], ULocale.US); in TestAPI()
321 displayName = service.getDisplayName(id, ULocale.US); in TestAPI()
335 String displayName = service.getDisplayName(actualID[0], ULocale.US); in TestAPI()
339 displayName = service.getDisplayName(id, ULocale.US); in TestAPI()
646 public String getDisplayName(String id, ULocale locale) { in getDisplayName() method in ICUServiceTest.CalifornioLanguageFactory
672 suffix = super.getDisplayName(id, locale); in getDisplayName()
825 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.java217 public String getDisplayName(String id, ULocale l) { in TestAPI()
282 confirmIdentical("27) get display name", service.getDisplayName("en_US_VALLEY_GEEK"), null); in TestAPI()
285 String name = service.getDisplayName("en_US_SURFER_DUDE", ULocale.US); in TestAPI()
320 String displayName = service.getDisplayName(actualID[0], ULocale.US); in TestAPI()
324 displayName = service.getDisplayName(id, ULocale.US); in TestAPI()
338 String displayName = service.getDisplayName(actualID[0], ULocale.US); in TestAPI()
342 displayName = service.getDisplayName(id, ULocale.US); in TestAPI()
649 public String getDisplayName(String id, ULocale locale) { in getDisplayName() method in ICUServiceTest.CalifornioLanguageFactory
675 suffix = super.getDisplayName(id, locale); in getDisplayName()
828 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.java104 logln("holiday: " + h.getDisplayName()); in exerciseHoliday()
105 logln("holiday in " + locale + ": " + h.getDisplayName(locale)); in exerciseHoliday()
120 errln("Error: "+h.getDisplayName()+".firstBetween("+first+", "+now+")="+second); in exerciseHoliday()
193 errln("Patience exceeded for " + h.getDisplayName() +" at " + d); in exerciseHoliday()
197 … errln("Error: for " + h.getDisplayName()+": " + d +" is after end of month " + endOfMonth); in exerciseHoliday()
347 if ("Christmas".equals(h.getDisplayName(ULocale.US))) { in TestDisplayName()
348 if ("Christmas".equals(h.getDisplayName(ULocale.GERMANY))) { in TestDisplayName()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DHolidayTest.java101 logln("holiday: " + h.getDisplayName()); in exerciseHoliday()
102 logln("holiday in " + locale + ": " + h.getDisplayName(locale)); in exerciseHoliday()
117 errln("Error: "+h.getDisplayName()+".firstBetween("+first+", "+now+")="+second); in exerciseHoliday()
190 errln("Patience exceeded for " + h.getDisplayName() +" at " + d); in exerciseHoliday()
194 … errln("Error: for " + h.getDisplayName()+": " + d +" is after end of month " + endOfMonth); in exerciseHoliday()
344 if ("Christmas".equals(h.getDisplayName(ULocale.US))) { in TestDisplayName()
345 if ("Christmas".equals(h.getDisplayName(ULocale.GERMANY))) { in TestDisplayName()

12345678910