Home
last modified time | relevance | path

Searched refs:getScript (Results 1 – 25 of 165) sorted by relevance

1234567

/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestIdentity.java41 String fScript = ltp.getScript().length() > 0 ? ltp.getScript() in TestIdentityVsFilename()
66 String iScript = ltp.getScript().length() > 0 ? ltp.getScript() in TestIdentityVsFilename()
DTestInheritance.java202 String script = ltp.getScript(); in show()
259 String script = ltp.set(localeID).getScript(); in TestLikelyAndDefaultConsistency()
356 && !lp.set(loc).getScript() in TestParentLocaleInvariants()
357 .equals(lp.set(parentLocale).getScript())) { in TestParentLocaleInvariants()
362 if (lp.getScript().length() == 0 && lp.getRegion().length() == 0) { in TestParentLocaleInvariants()
418 String script = ltp.getScript(); in verifyScriptsWithDefaultContents()
479 String sourceScript = ltp.getScript(); in verifyLikelySubtagsImplicationsForDefaultContents()
483 String likelyMaxScript = ltp.getScript(); in verifyLikelySubtagsImplicationsForDefaultContents()
525 String dcScript = ltp.set(dc).getScript(); in verifyLikelySubtagsImplicationsForDefaultContents()
574 String sourceScript = ltp.getScript(); in verifyDefaultContentsImplicationsForLikelySubtags()
[all …]
DLikelySubtagsTest.java110 String sourceScript = ltp.getScript(); in add()
186 if (!sourceLtp.getScript().isEmpty()) in checkAdding()
188 sourceLtp.setScript(maxLtp.getScript()); in checkAdding()
258 String sourceScript = ltp.getScript(); in TestStability()
262 String targetScript = ltp.getScript(); in TestStability()
287 int script = UScript.getScript(ch); in TestForMissingScriptMetadata()
DLanguageTest.java109 String script = parser.set(language).getScript(); in TestThatLanguagesHaveScript()
114 script = parser.set(likely).getScript(); in TestThatLanguagesHaveScript()
206 + (parser.getScript().isEmpty() ? "?" : getScriptName(parser in getLocaleName()
207 .getScript())) in getLocaleName()
/external/antlr/gunit/src/main/java/org/antlr/gunit/swingui/
DTestCaseEditController.java212 this.editInputString.setText(input.getScript()); in updateInputEditor()
216 this.editInputMulti.setText(input.getScript()); in updateInputEditor()
220 this.editInputFile.setText(input.getScript()); in updateInputEditor()
240 this.editOutputAST.setText(output.getScript()); in updateOutputEditor()
246 this.editOutputResult.setValue(output.getScript()); in updateOutputEditor()
252 this.editOutputStd.setText(output.getScript()); in updateOutputEditor()
258 this.editOutputReturn.setText(output.getScript()); in updateOutputEditor()
612 clamp(clampAtNewLine(item.getInput().getScript()), 18)); in getListCellRendererComponent()
614 clamp(clampAtNewLine(item.getOutput().getScript()), 18)); in getListCellRendererComponent()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleMatcher.java167 String script = ulocale.getScript(); in canonicalize()
371 final String script = languageCode.getScript(); in addLikelySubtags()
419 if (script != null && !script.equals(ulocale.getScript())) { in matches()
436 public String getScript() { in getScript() method in LocaleMatcher.LocalePatternMatcher
448 result += "-" + getScript(); in toString()
661 …diff += scriptScores.getScore(aMax, a.getScript(), aMax.getScript(), bMax, b.getScript(), bMax.get… in match()
734 String dscript = desiredMatcher.getScript(); in addDistance()
735 String sscript = supportedMatcher.getScript(); in addDistance()
DULocale.java725 cmp = getScript().compareTo(other.getScript()); in compareTo()
834 public String getScript() { in getScript() method in ULocale
835 return base().getScript(); in getScript()
844 public static String getScript(String localeID) { in getScript() method in ULocale
845 return new LocaleIDParser(localeID).getScript(); in getScript()
1154 parser.setBaseName(lscvToID("nn", parser.getScript(), parser.getCountry(), null)); in canonicalize()
1282 String script = getScript(); in isRightToLeft()
1300 script = likely.getScript(); in isRightToLeft()
1497 .scriptDisplayName(locale.getScript()); in getDisplayScriptInternal()
1502 .scriptDisplayNameInContext(locale.getScript()); in getDisplayScriptInContextInternal()
[all …]
/external/cldr/tools/java/com/ibm/icu/util/
DLocaleMatcher.java157 String script = ulocale.getScript(); in canonicalize()
359 final String script = languageCode.getScript(); in addLikelySubtags()
407 if (script != null && !script.equals(ulocale.getScript())) { in matches()
424 public String getScript() { in getScript() method in LocaleMatcher.LocalePatternMatcher
435 result += "-" + getScript(); in toString()
634 …diff += scriptScores.getScore(aMax, a.getScript(), aMax.getScript(), bMax, b.getScript(), bMax.get… in match()
723 String dscript = desiredMatcher.getScript(); in addDistance()
724 String sscript = supportedMatcher.getScript(); in addDistance()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java170 String script = ulocale.getScript(); in canonicalize()
378 final String script = languageCode.getScript(); in addLikelySubtags()
426 if (script != null && !script.equals(ulocale.getScript())) { in matches()
443 public String getScript() { in getScript() method in LocaleMatcher.LocalePatternMatcher
455 result += "-" + getScript(); in toString()
667 …diff += scriptScores.getScore(aMax, a.getScript(), aMax.getScript(), bMax, b.getScript(), bMax.get… in match()
740 String dscript = desiredMatcher.getScript(); in addDistance()
741 String sscript = supportedMatcher.getScript(); in addDistance()
DULocale.java776 cmp = getScript().compareTo(other.getScript()); in compareTo()
891 public String getScript() { in getScript() method in ULocale
892 return base().getScript(); in getScript()
902 public static String getScript(String localeID) { in getScript() method in ULocale
903 return new LocaleIDParser(localeID).getScript(); in getScript()
1228 parser.setBaseName(lscvToID("nn", parser.getScript(), parser.getCountry(), null)); in canonicalize()
1363 String script = getScript(); in isRightToLeft()
1381 script = likely.getScript(); in isRightToLeft()
1586 .scriptDisplayName(locale.getScript()); in getDisplayScriptInternal()
1591 .scriptDisplayNameInContext(locale.getScript()); in getDisplayScriptInContextInternal()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DTestUScript.java38 UScript.COMMON==UScript.getScript(0x0640) && in TestGetScriptOfCharsWithScriptExtensions()
39 UScript.INHERITED==UScript.getScript(0x0650) && in TestGetScriptOfCharsWithScriptExtensions()
40 UScript.ARABIC==UScript.getScript(0xfdf2)) in TestGetScriptOfCharsWithScriptExtensions()
146 if(sample.length()!=1 || UScript.getScript(sample.charAt(0))!=UScript.LATIN) { in TestScriptMetadataAPI()
231 charScript, UScript.getScript(firstChar)); in TestScriptMetadata()
271 code = UScript.getScript(i); in TestAllCodepoints()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DTestUScript.java41 UScript.COMMON==UScript.getScript(0x0640) && in TestGetScriptOfCharsWithScriptExtensions()
42 UScript.INHERITED==UScript.getScript(0x0650) && in TestGetScriptOfCharsWithScriptExtensions()
43 UScript.ARABIC==UScript.getScript(0xfdf2)) in TestGetScriptOfCharsWithScriptExtensions()
149 if(sample.length()!=1 || UScript.getScript(sample.charAt(0))!=UScript.LATIN) { in TestScriptMetadataAPI()
234 charScript, UScript.getScript(firstChar)); in TestScriptMetadata()
274 code = UScript.getScript(i); in TestAllCodepoints()
/external/antlr/gunit/src/main/java/org/antlr/gunit/swingui/model/
DTestCaseOutputResult.java48 return getScript(); in toString()
51 public String getScript() { in getScript() method in TestCaseOutputResult
DTestCase.java59 return String.format("[%s]->[%s]", input.getScript(), output.getScript()); in toString()
/external/cldr/tools/java/org/unicode/cldr/tool/
DScriptPopulations.java35 String script = languageTagParser.getScript(); in main()
39 script = languageTagParser.set(maxFrom).getScript(); in main()
56 String script = languageTagParser.getScript(); in main()
DCheckLangTagBNF.java180 System.out.println("ulocale.getScript " + loc2.getScript()); in main()
286 checkStrings("script", ltp.getScript(), slp.getScript()); in checkParse()
298 if (ltp.getScript().length() != 0) System.out.println("\tscript:\t" + ltp.getScript()); in checkParse()
DGenerateMaximalLocales.java325 _FALLBACK_SCRIPTS.put(lan, additionLtp.getScript()); in _FALLBACK_SCRIPTS.put() argument
712 if (ltp.getScript().length() != 0) { in printDefaultContent()
733 … if (ltp.set(child).getScript().length() == 0 && !suppressScriptLocales.contains(child)) { in printDefaultContent()
983 maxData.add(lan, additionLtp.getScript(), additionLtp.getRegion(), 1.0); in tryDifferentAlgorithm()
1201 String script = ltp.getScript(); in maximize()
1262 String script = ltp.getScript(); in minimize()
1614 String script = parser.getScript(); in printingName()
1726 if (targetParser.getScript().equals(UNKNOWN_SCRIPT)) { in minimize()
1757 String script = parser.set(locale).getScript(); in minimize()
1969 result = new LanguageTagParser().set(temp).getScript(); in getScriptForLocale2()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DCLDRLocale.java73 String s = cldrLocale.getScript(); in getDisplayName()
102 return ldn.scriptDisplayName(cldrLocale.getScript()); in getDisplayScript()
168 if (file != null) return file.getName("script", cldrLocale.getScript()); in getDisplayScript()
170 cldrLocale.getScript(), in getDisplayScript()
474 public String getScript() {
475 return parts == null ? null : parts.getScript();
DLanguageTagCanonicalizer.java87 return parser.getScript(); in get()
144 if (mainField == LanguageTagField.script || ltp1.getScript().length() == 0) { in copyFields2()
145 ltp1.setScript(ltp2.getScript()); in copyFields2()
/external/cldr/tools/java/org/unicode/cldr/draft/
DXLikelySubtags.java77 return new LSR(locale.getLanguage(), locale.getScript(), locale.getCountry()); in from()
81 return fromMaximalized(locale.getLanguage(), locale.getScript(), locale.getCountry()); in fromMaximalized()
165 final String script = ltp.getScript(); in init()
170 final String scriptTarget = ltp.getScript(); in init()
291 return maximize(source.getLanguage(), source.getScript(), source.getCountry()); in maximize()
470 scripts.add(ltp.getScript()); in main()
475 add(target, scriptCounter, ltp.getScript(), 1); in main()
480 scriptCounter.add(ltp.getScript(), 1); in main()
/external/parameter-framework/upstream/tools/xmlGenerator/
DPFWScriptGenerator.py44 def getScript(self): member in PfwScriptTranslator
144 options.output.write("\n".join(translator.getScript()))
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DULocale.java793 public String getScript() { in getScript() method in ULocale
794 return getScript(localeID); in getScript()
804 public static String getScript(String localeID) { in getScript() method in ULocale
805 return new LocaleIDParser(localeID).getScript(); in getScript()
1093 parser.setBaseName(lscvToID("nn", parser.getScript(), parser.getCountry(), null)); in canonicalize()
1360 dispScript = locale.getScript(); in getDisplayScriptInternal()
1685 String script = getScript(); in getCharacterOrientation()
1814 if (aLocale.getScript().length() == 0 in acceptLanguage()
1815 && availableLocales[j].getScript().length() > 0 in acceptLanguage()
1820 if (minAvail.getScript().length() == 0) { in acceptLanguage()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DXLikelySubtags.java195 "x8", locale.getLanguage() + locale.getScript() + locale.getCountry(), "");
197 return new LSR(locale.getLanguage(), locale.getScript(), locale.getCountry());
208 "x8", locale.getLanguage() + locale.getScript() + locale.getCountry(), "");
210 return fromMaximalized(locale.getLanguage(), locale.getScript(), locale.getCountry());
425 return maximize(source.getLanguage(), source.getScript(), source.getCountry());
/external/epid-sdk/doc/html/
Dnavtree.js97 function getScript(scriptName,func,show) function
280 getScript(node.relpath+varName,function(){
353 getScript(node.relpath+varName,function(){
370 getScript(n.relpath+varName,function(){
451 getScript(relpath+'navtreeindex'+i,function(){
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DXLikelySubtags.java205 "x8", locale.getLanguage() + locale.getScript() + locale.getCountry(), "");
207 return new LSR(locale.getLanguage(), locale.getScript(), locale.getCountry());
218 "x8", locale.getLanguage() + locale.getScript() + locale.getCountry(), "");
220 return fromMaximalized(locale.getLanguage(), locale.getScript(), locale.getCountry());
435 return maximize(source.getLanguage(), source.getScript(), source.getCountry());

1234567