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

123

/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/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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DLanguageOnSpacebarHelper.java13 * See the License for the specific language governing permissions and
27 * This class determines that the language name on the spacebar should be displayed in what format.
49 final String language = SubtypeLocaleUtils.getSubtypeLocale(ims).getLanguage();
50 if (keyboardLanguage.equals(language) && keyboardLayout.equals(
56 // locale and keyboard layout. Otherwise displaying language name is enough.
/packages/apps/ContactsCommon/libs/
H A Dgeocoder-2.9.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/i18n/ com/google/i18n/phonenumbers/ ...
/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/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DDownloadOverMeteredDialog.java13 * License for the specific language governing permissions and limitations under
59 final String language = (null == locale ? "" : locale.getDisplayLanguage());
61 prompt.setText(Html.fromHtml(String.format(promptFormat, language)));
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertService.java13 * See the License for the specific language governing permissions and
317 String language = message.getLanguageCode();
318 if (message.isEtwsMessage() && !"ja".equals(language)) {
319 Log.w(TAG, "bad language code for ETWS - using Japanese TTS");
320 language = "ja";
321 } else if (message.isCmasMessage() && !"en".equals(language)) {
322 Log.w(TAG, "bad language code for CMAS - using English TTS");
323 language = "en";
326 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/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/packages/inputmethods/LatinIME/native/jni/
H A DCleanupNativeFileList.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/make-keyboard-text/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/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/apps/ContactsCommon/TestCommon/
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/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 3609 milliseconds

123