/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | LocaleSet.java | 33 private static boolean isLanguageCJK(String language) { in isLanguageCJK() argument 34 return CHINESE_LANGUAGE.equals(language) || in isLanguageCJK() 35 JAPANESE_LANGUAGE.equals(language) || in isLanguageCJK() 36 KOREAN_LANGUAGE.equals(language); in isLanguageCJK() 66 public boolean isLanguage(String language) { in isLanguage() argument 67 return mLanguage == null ? (language == null) in isLanguage() 68 : mLanguage.equalsIgnoreCase(language); in isLanguage() 222 public boolean isPrimaryLanguage(String language) { in isPrimaryLanguage() argument 223 return mPrimaryLocale.isLanguage(language); in isPrimaryLanguage() 226 public boolean isSecondaryLanguage(String language) { in isSecondaryLanguage() argument [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
D | GoogleSearch.java | 76 String language = locale.getLanguage(); in getLanguage() local 77 StringBuilder hl = new StringBuilder(language); in getLanguage() 80 if (!TextUtils.isEmpty(country) && useLangCountryHl(language, country)) { in getLanguage() 85 if (DBG) Log.d(TAG, "language " + language + ", country " + country + " -> hl=" + hl); in getLanguage() 90 private static boolean useLangCountryHl(String language, String country) { in useLangCountryHl() argument 92 if ("en".equals(language)) { in useLangCountryHl() 94 } else if ("zh".equals(language)) { in useLangCountryHl() 96 } else if ("pt".equals(language)) { in useLangCountryHl()
|
D | GoogleSuggestClient.java | 108 String language = GoogleSearch.getLanguage(l); in query() local 110 language); in query()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertService.java | 370 String language = message.getLanguageCode(); in openEmergencyAlertNotification() local 371 if (message.isEtwsMessage() && !"ja".equals(language)) { in openEmergencyAlertNotification() 373 language = "ja"; in openEmergencyAlertNotification() 374 } else if (message.isCmasMessage() && !"en".equals(language)) { in openEmergencyAlertNotification() 376 language = "en"; in openEmergencyAlertNotification() 379 language); in openEmergencyAlertNotification()
|
/packages/apps/Browser/src/com/android/browser/search/ |
D | SearchEngineInfo.java | 86 StringBuilder language = new StringBuilder(locale.getLanguage()); in SearchEngineInfo() local 88 language.append('-'); in SearchEngineInfo() 89 language.append(locale.getCountry()); in SearchEngineInfo() 92 String language_str = language.toString(); in SearchEngineInfo()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CellBroadcastSms.java | 649 private static void setConfigDataCompleteLanguage(int language) { in setConfigDataCompleteLanguage() argument 652 mConfigDataComplete[i] = language; in setConfigDataCompleteLanguage() 657 int language = mConfigDataComplete[2]; in getConfigDataLanguage() local 660 if (language < 1 || language > 7) { in getConfigDataLanguage() 665 return language; in getConfigDataLanguage()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | ReverseGeocoder.java | 357 String language = readUTF(dis); in lookupAddress() local 361 if (language != null) { in lookupAddress() 363 locale = new Locale(language); in lookupAddress() 365 locale = new Locale(language, country); in lookupAddress() 367 locale = new Locale(language, country, variant); in lookupAddress()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaScannerService.java | 72 String language = locale.getLanguage(); in createMediaScanner() local 75 if (language != null) { in createMediaScanner() 77 scanner.setLocale(language + "_" + country); in createMediaScanner() 79 scanner.setLocale(language); in createMediaScanner()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | CaptionSetupActivity.java | 620 private void setLanguage(String language) { in setLanguage() argument 621 mLanguage = language; in setLanguage() 622 mLanguageName = getLanguageName(language); in setLanguage() 624 Settings.Secure.putString(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_LOCALE, language); in setLanguage() 716 private String getLanguageName(String language) { in getLanguageName() argument 718 if (language.equals(mLanguageLocales [i])) { in getLanguageName()
|
D | CaptionPreviewFragment.java | 171 public void livePreviewLanguage(String language) { in livePreviewLanguage() argument 173 if (!TextUtils.isEmpty(language)) { in livePreviewLanguage() 174 final String[] splitLocale = language.split("_"); in livePreviewLanguage()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsHttpClient.java | 279 final String language = convertObsoleteLanguageCodeToNew(locale.getLanguage()); in addLocaleToHttpAcceptLanguage() local 280 if (language != null) { in addLocaleToHttpAcceptLanguage() 281 builder.append(language); in addLocaleToHttpAcceptLanguage()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsHttpClient.java | 291 final String language = convertObsoleteLanguageCodeToNew(locale.getLanguage()); in addLocaleToHttpAcceptLanguage() local 292 if (language != null) { in addLocaleToHttpAcceptLanguage() 293 builder.append(language); in addLocaleToHttpAcceptLanguage()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | LanguageOnSpacebarUtils.java | 61 final String language = SubtypeLocaleUtils.getSubtypeLocale(ims).getLanguage(); in getLanguageOnSpacebarFormatType() local 62 if (keyboardLanguage.equals(language) && keyboardLayout.equals( in getLanguageOnSpacebarFormatType()
|
D | ScriptUtils.java | 187 String language = locale.getLanguage(); in getScriptFromSpellCheckerLocale() local 188 Integer script = mLanguageCodeToScriptCode.get(language); in getScriptFromSpellCheckerLocale()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DownloadOverMeteredDialog.java | 60 final String language = (null == localeString) ? "" in setTexts() local 63 prompt.setText(Html.fromHtml(String.format(promptFormat, language))); in setTexts()
|
/packages/apps/Browser/tools/ |
D | get_search_engines.py | 209 language = locale[0:separator_pos] 211 dir_path = os.path.join(self.resdir, 'values-' + language + '-r' + country)
|
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/ |
D | SendCdmaCmasMessages.java | 145 String language, String body, int cmasCategory, int responseType, int severity, in createCmasSmsMessage() argument 152 serviceCategory, language, body, SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY, null, in createCmasSmsMessage()
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/parser/ |
D | AddressListParser.jj | 17 * specific language governing permissions and limitations * 49 * See the License for the specific language governing permissions and
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
D | AddressListParser.jj | 17 * specific language governing permissions and limitations * 49 * See the License for the specific language governing permissions and
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MainKeyboardView.java | 872 final String language = layoutLanguageOnSpacebar(paint, keyboard.mId.mSubtype, width); in drawLanguageOnSpacebar() local 885 canvas.drawText(language, width / 2, baseline - descent, paint); in drawLanguageOnSpacebar()
|
/packages/apps/ExactCalculator/ |
D | NOTICE | 10 See the License for the specific language governing permissions and 21 See the License for the specific language governing permissions and
|
/packages/apps/Calculator/ |
D | NOTICE | 10 See the License for the specific language governing permissions and 21 See the License for the specific language governing permissions and
|
D | build.gradle | 13 * See the License for the specific language governing permissions and
|
/packages/apps/Messaging/ |
D | proguard-release.flags | 12 # See the License for the specific language governing permissions and
|
/packages/apps/DeskClock/ |
D | build.gradle | 13 * See the License for the specific language governing permissions and
|