Searched defs:language (Results 1 - 7 of 7) sorted by relevance

/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/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/
H A DSendCdmaCmasMessages.java13 * See the License for the specific language governing permissions and
129 * @param language message language code
139 String language, String body, int cmasCategory, int responseType, int severity,
146 serviceCategory, language, body, SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY, null,
138 createCmasSmsMessage(int serviceCategory, int messageId, String language, String body, int cmasCategory, int responseType, int severity, int urgency, int certainty) argument
/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);
H A DKeyboardTextsSet.java13 * License for the specific language governing permissions and limitations under
56 public void setLanguage(final String language) { argument
57 mTexts = sLocaleToTextsMap.get(language);
2323 // TODO: Move these to sr-Latn once we can handle IETF language tag with script name specified.
2718 /* Language zz: No language */
2884 "zz", LANGUAGE_zz, /* No language */
2894 final String language = (String)LANGUAGES_AND_TEXTS[i];
2896 sLocaleToTextsMap.put(language, texts);
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DInputMethodAndSubtypeUtil.java13 * See the License for the specific language governing permissions and
413 private static boolean containsSubtypeOf(InputMethodInfo imi, String language) { argument
416 if (imi.getSubtypeAt(i).getLocale().startsWith(language)) {
/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/Phone/src/com/android/phone/
H A DCellBroadcastSms.java13 * See the License for the specific language governing permissions and
326 // set the new language to the array which will be transmitted later
349 // set the listener for the language list preference
649 private static void setConfigDataCompleteLanguage(int language) { argument
650 //It is only possible to set the same language for all entries
652 mConfigDataComplete[i] = language;
657 int language = mConfigDataComplete[2];
658 //2 is the language value of the first entry
659 //It is only possible to set the same language for all entries
660 if (language <
[all...]

Completed in 248 milliseconds