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
135 * @param language message language code
145 String language, String body, int cmasCategory, int responseType, int severity,
152 serviceCategory, language, body, SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY, null,
144 createCmasSmsMessage(int serviceCategory, int messageId, String language, String body, int cmasCategory, int responseType, int severity, int urgency, int certainty) argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DCaptionPreviewFragment.java13 * See the License for the specific language governing permissions and
171 public void livePreviewLanguage(String language) { argument
173 if (!TextUtils.isEmpty(language)) {
174 final String[] splitLocale = language.split("_");
H A DCaptionSetupActivity.java13 * See the License for the specific language governing permissions and
620 private void setLanguage(String language) { argument
621 mLanguage = language;
622 mLanguageName = getLanguageName(language);
624 Settings.Secure.putString(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_LOCALE, language);
716 private String getLanguageName(String language) { argument
718 if (language.equals(mLanguageLocales [i])) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DLocaleSet.java13 * See the License for the specific language governing permissions and
33 private static boolean isLanguageCJK(String language) { argument
34 return CHINESE_LANGUAGE.equals(language) ||
35 JAPANESE_LANGUAGE.equals(language) ||
36 KOREAN_LANGUAGE.equals(language);
66 public boolean isLanguage(String language) { argument
67 return mLanguage == null ? (language == null)
68 : mLanguage.equalsIgnoreCase(language);
98 // We can only parse language tags.
133 // disallow both locales with same language (redundan
222 isPrimaryLanguage(String language) argument
226 isSecondaryLanguage(String language) argument
[all...]
/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...]
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 527 milliseconds