Searched refs:language (Results 1 - 25 of 52) sorted by relevance

123

/packages/inputmethods/LatinIME/tools/maketext/src/com/android/inputmethod/latin/maketext/
H A DMoreKeysResources.java13 * See the License for the specific language governing permissions and
45 private static final String NO_LANGUAGE_DISPLAY_NAME = "No language";
61 final String language = getLanguageFromResDir(parentName);
64 mResourcesMap.put(language, new StringResourceMap(stream));
77 final String language = dirName.substring(languagePos + 1);
78 final int countryPos = language.indexOf("-r");
80 return language;
82 return language.replace("-r", "_");
153 for (final String language : allLanguages) {
154 if (language
176 getLanguageDisplayName(final String language) argument
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
H A DGoogleSearch.java13 * See the License for the specific language governing permissions and
73 * Construct the language code (hl= paramater) for the given locale.
76 String language = locale.getLanguage();
77 StringBuilder hl = new StringBuilder(language);
80 if (!TextUtils.isEmpty(country) && useLangCountryHl(language, country)) {
85 if (DBG) Log.d(TAG, "language " + language + ", country " + country + " -> hl=" + hl);
90 private static boolean useLangCountryHl(String language, String country) { argument
92 if ("en".equals(language)) {
94 } else if ("zh".equals(language)) {
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DKeyboardCodesSet.java13 * License for the specific language governing permissions and limitations under
30 public void setLanguage(final String language) { argument
31 final int[] codes = sLanguageToCodesMap.get(language);
146 final String language = (String)LANGUAGE_AND_CODES[i];
148 sLanguageToCodesMap.put(language, codes);
/packages/inputmethods/LatinIME/tools/maketext/res/com/android/inputmethod/keyboard/internal/
H A DKeyboardTextsSet.tmpl13 * License for the specific language governing permissions and limitations under
56 public void setLanguage(final String language) {
57 mTexts = sLocaleToTextsMap.get(language);
129 final String language = (String)LANGUAGES_AND_TEXTS[i];
131 sLocaleToTextsMap.put(language, texts);
/packages/apps/Browser/src/com/android/browser/search/
H A DSearchEngineInfo.java13 * See the License for the specific language governing permissions and
49 private static final String PARAMETER_LANGUAGE = "{language}";
84 // Add the current language/country information to the URIs.
86 StringBuilder language = new StringBuilder(locale.getLanguage());
88 language.append('-');
89 language.append(locale.getCountry());
92 String language_str = language.toString();
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
H A DInputModeSwitcher.java13 * See the License for the specific language governing permissions and
96 * Used to indicate which language the current input mode is in. If the
98 * also used to get language information. For example, a Chinese symbol soft
100 * tell user the language information. BTW, the smiley soft keyboard mode
108 * Used to indicate the current language. An input mode should be anded with
114 * Used to indicate the current language. An input mode should be anded with
226 * Used to remember recent mode to input language.
556 // try to keep the previous mode to input language text.
558 // soft keyboard related information from the previous language
664 int language
[all...]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertService.java13 * See the License for the specific language governing permissions and
309 String language = message.getLanguageCode();
310 if (message.isEtwsMessage() && !"ja".equals(language)) {
311 Log.w(TAG, "bad language code for ETWS - using Japanese TTS");
312 language = "ja";
313 } else if (message.isCmasMessage() && !"en".equals(language)) {
314 Log.w(TAG, "bad language code for CMAS - using English TTS");
315 language = "en";
318 language);
/packages/apps/Launcher2/tests/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/packages/experimental/BugReportSender/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/packages/experimental/ExampleImsFramework/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/packages/experimental/LoaderApp/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/packages/inputmethods/LatinIME/tools/dicttool/etc/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/packages/inputmethods/LatinIME/tools/maketext/etc/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaScannerService.java14 ** See the License for the specific language governing permissions and
72 String language = locale.getLanguage();
75 if (language != null) {
77 scanner.setLocale(language + "_" + country);
79 scanner.setLocale(language);
/packages/apps/BasicSmsReceiver/tests/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/packages/apps/Browser/tests/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/packages/apps/Email/tests/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/packages/apps/Exchange/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/packages/apps/Exchange/exchange2/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/packages/apps/Exchange/exchange2/tests/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/packages/apps/Exchange/tests/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/packages/apps/Gallery2/gallerycommon/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/packages/apps/KeyChain/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/packages/apps/KeyChain/support/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/packages/apps/KeyChain/tests/
H A DAndroid.mk12 # See the License for the specific language governing permissions and

Completed in 620 milliseconds

123