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
128 * @param language message language code
138 String language, String body, int cmasCategory, int responseType, int severity,
145 serviceCategory, language, body, SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY, null,
137 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 * See the License for the specific language governing permissions and
30 public void setLanguage(final String language) { argument
31 final int[] codes = sLanguageToCodesMap.get(language);
153 final String language = (String)LANGUAGE_AND_CODES[i];
155 sLanguageToCodesMap.put(language, codes);
H A DKeyboardTextsSet.java13 * See the License for the specific language governing permissions and
56 public void setLanguage(final String language) { argument
57 mTexts = sLocaleToTextsMap.get(language);
2854 // TODO: Move these to sr-Latn once we can handle IETF language tag with script name specified.
3516 final String language = (String)LANGUAGES_AND_TEXTS[i];
3518 sLocaleToTextsMap.put(language, texts);
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
H A DMoreKeysResources.java13 * See the License for the specific language governing permissions and
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.equals(DEFAUT_LANGUAGE_NAME)) {
157 out.format(" /* Language %s: %s */\n", language, getLanguageDisplayNam
182 getLanguageDisplayName(final String language) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapbMessage.java12 * See the License for the specific language governing permissions and
56 private String language = null; field in class:BluetoothMapbMessage
590 language = arg[1].trim(); // TODO: Validate ?
/packages/services/Telephony/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 3005 milliseconds