Home
last modified time | relevance | path

Searched refs:language (Results 1 – 25 of 73) sorted by relevance

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DLocale.java42 public final LanguageQualifier language; field in Locale
54 private Locale(@NonNull LanguageQualifier language, @NonNull RegionQualifier region) { in Locale() argument
55 if (language.getValue().equals(FAKE_LANG_VALUE)) { in Locale()
56 language = ANY_LANGUAGE; in Locale()
61 this.language = language; in Locale()
74 @NonNull LanguageQualifier language, in create()
76 return new Locale(language, region); in create()
85 public static Locale create(@NonNull LanguageQualifier language) { in create() argument
86 return new Locale(language, ANY_REGION); in create()
97 String languageCode = hasLanguage() ? language.getValue() : null; in getFlagImage()
[all …]
DLocaleManager.java110 public Image getFlag(@Nullable String language, @Nullable String region) { in getFlag() argument
111 assert region != null || language != null; in getFlag()
114 assert language != null; in getFlag()
121 if (language.equals(locale.getLanguage())) { in getFlag()
129 if (language.equals("ca")) { //$NON-NLS-1$ in getFlag()
131 } else if (language.equals("gd")) { //$NON-NLS-1$ in getFlag()
133 } else if (language.equals("cy")) { //$NON-NLS-1$ in getFlag()
137 region = sLanguageToCountry.get(language); in getFlag()
157 public Image getFlag(LanguageQualifier language, RegionQualifier region) { in getFlag() argument
158 String languageCode = language != null ? language.getValue() : null; in getFlag()
[all …]
DConfiguration.java421 mFullConfig.setLanguageQualifier(locale.language); in syncFolderConfig()
468 sb.append(locale.language.getValue()); in toPersistentString()
537 LanguageQualifier language = Locale.ANY_LANGUAGE; in initialize() local
542 language = new LanguageQualifier(locales[0]); in initialize()
547 mLocale = Locale.create(language, region); in initialize()
619 LanguageQualifier language = Locale.ANY_LANGUAGE; in loadRenderState() local
624 language = new LanguageQualifier(locales[0]); in loadRenderState()
630 locale = Locale.create(language, region); in loadRenderState()
677 sb.append(locale.language.getValue()); in saveRenderState()
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
DTranslationDetector.java242 String language = getLanguage(name); in checkTranslations() local
243 if (language == null) { in checkTranslations()
244 language = defaultLanguage; in checkTranslations()
247 parentFolderToLanguage.put(parent, language); in checkTranslations()
261 String language = parentFolderToLanguage.get(file.getParentFile()); in checkTranslations() local
262 assert language != null : file.getParent(); in checkTranslations()
265 Set<String> languageStrings = languageToStrings.get(language); in checkTranslations()
269 languageToStrings.put(language, fileStrings); in checkTranslations()
313 String language = languageRegion.substring(0, regionIndex); in checkTranslations() local
314 Set<String> fallback = languageToStrings.get(language); in checkTranslations()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DConfigurationTest.java64 Locale language = Locale.create(new LanguageQualifier("nb")); in test() local
65 configuration.setLocale(language, true /* skipSync */); in test()
69 configuration.setLocale(language, false /* skipSync */); in test()
DLocaleManagerTest.java194 String language = entry.getKey(); in testAvailableIcons() local
200 + language + "(" + languageNames.get(language) + "))"); in testAvailableIcons()
/sdk/emulator/opengl/tests/translator_tests/MacCommon/
Dsetup_gl.m13 * See the License for the specific language governing permissions and
/sdk/adtproductbuild/
Dbuild.properties12 # See the License for the specific language governing permissions and
/sdk/build/
Dtools.linux.atree13 # See the License for the specific language governing permissions and
Dtools.darwin.atree13 # See the License for the specific language governing permissions and
/sdk/monitor/
Dbuild.properties12 # See the License for the specific language governing permissions and
Dmonitor.bat13 rem See the License for the specific language governing permissions and
/sdk/hierarchyviewer/etc/
Dhierarchyviewer1.bat13 rem See the License for the specific language governing permissions and
/sdk/emulator/opengl/host/libs/libOpenglRender/
DNativeMacSubWindow.m13 * See the License for the specific language governing permissions and
/sdk/draw9patch/etc/
Ddraw9patch.bat13 rem See the License for the specific language governing permissions and
/sdk/apkbuilder/etc/
Dapkbuilder.bat13 rem See the License for the specific language governing permissions and
/sdk/emulator/opengl/host/libs/Translator/EGL/
DMacPixelFormatsAttribs.m13 * See the License for the specific language governing permissions and
/sdk/files/
Dpost_tools_install.bat13 rem See the License for the specific language governing permissions and
/sdk/traceview/etc/
Dtraceview.bat13 rem See the License for the specific language governing permissions and
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
Dmessages.properties13 # See the License for the specific language governing permissions and
/sdk/monkeyrunner/etc/
Dmonkeyrunner.bat13 rem See the License for the specific language governing permissions and
/sdk/uiautomatorviewer/etc/
Duiautomatorviewer.bat13 rem See the License for the specific language governing permissions and
/sdk/lint/cli/etc/
Dlint.bat13 rem See the License for the specific language governing permissions and
/sdk/find_java/
Dfind_java.bat13 rem See the License for the specific language governing permissions and
/sdk/hierarchyviewer2/app/etc/
Dhierarchyviewer.bat13 rem See the License for the specific language governing permissions and

123