Searched refs:locale (Results 1 – 11 of 11) sorted by relevance
/development/apps/CustomLocale/src/com/android/customlocale2/ |
D | CustomLocaleReceiver.java | 57 String locale = intent.getStringExtra(EXTRA_LOCALE); in onReceive() local 60 boolean is_ok = locale != null; in onReceive() 61 is_ok = is_ok && (locale.length() == 2 || locale.length() == 5); in onReceive() 62 if (is_ok && locale.length() >= 2) { in onReceive() 63 is_ok = Character.isLetter(locale.charAt(0)) && in onReceive() 64 Character.isLetter(locale.charAt(1)); in onReceive() 66 if (is_ok && locale.length() == 5) { in onReceive() 67 is_ok = locale.charAt(2) == '_' && in onReceive() 68 Character.isLetter(locale.charAt(3)) && in onReceive() 69 Character.isLetter(locale.charAt(4)); in onReceive() [all …]
|
D | CustomLocaleActivity.java | 134 String locale = data.getExtras().getString(NewLocaleDialog.INTENT_EXTRA_LOCALE); in onActivityResult() local 135 if (locale != null && locale.length() > 0) { in onActivityResult() 141 customLocales = locale; in onActivityResult() 143 customLocales += CUSTOM_LOCALES_SEP + locale; in onActivityResult() 153 getString(R.string.added_custom_locale_1s, locale), in onActivityResult() 161 checkLocaleInList(locale); in onActivityResult() 164 changeSystemLocale(locale); in onActivityResult() 215 for (String locale : locales) { in setupLocaleList() 216 if (locale != null && locale.length() > 0) { in setupLocaleList() 217 Locale loc = new Locale(locale); in setupLocaleList() [all …]
|
D | ChangeLocale.java | 42 public static boolean changeSystemLocale(String locale) { in changeSystemLocale() argument 44 Log.d(TAG, "Change locale to: " + locale); in changeSystemLocale() 53 String[] langCountry = locale.split("_"); in changeSystemLocale() 57 loc = new Locale(locale); in changeSystemLocale() 60 config.locale = loc; in changeSystemLocale()
|
D | NewLocaleDialog.java | 59 String locale = mEditText.getText().toString(); in onClick() local 63 Log.d(TAG, "New Locale: " + locale + (select ? " + select" : "")); in onClick() 67 data.putExtra(INTENT_EXTRA_LOCALE, locale); in onClick()
|
/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/ |
D | NfcProvisioningFragment.java | 77 mEditLocale = (EditText) view.findViewById(R.id.locale); in onViewCreated() 84 mEditLocale.addTextChangedListener(new TextWatcherWrapper(R.id.locale, this)); in onViewCreated() 153 case R.id.locale: in onTextChanged()
|
D | ProvisioningValuesLoader.java | 166 context.getResources().getConfiguration().locale.toString()); in loadSystemValues()
|
/development/scripts/ |
D | usb-reset-by-serial.py | 28 import locale 94 encoding = locale.getdefaultlocale()[1]
|
/development/apps/Development/src/com/android/development/ |
D | ConfigurationViewer.java | 44 + "locale=" + c.locale + "\n" in onCreate()
|
/development/tools/logblame/ |
D | sample.txt | 863 Indexing locale 'en_US' took 17 millis 866 Indexing locale 'en_US' took 10 millis 1138 Indexing locale 'en_US' took 35 millis 1141 Indexing locale 'en_US' took 10 millis 2149 Indexing locale 'en_US' took 60 millis 2152 Indexing locale 'en_US' took 22 millis 2417 Indexing locale 'en_US' took 22 millis 2420 Indexing locale 'en_US' took 23 millis 2706 Indexing locale 'en_US' took 42 millis 2709 Indexing locale 'en_US' took 19 millis
|
/development/tools/winscope/ |
D | yarn.lock | 3586 os-locale@^1.4.0: 3588 …resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13… 5452 os-locale "^1.4.0"
|
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/ |
D | commit.csv | 10688 …pps/ExactCalculator,fake_gsX3Di92TZSQ_Wn7igyk5Q@fakeemail.com,Fix Calculator locale change log spam 11243 …ameworks/opt/telephony,fake_TtGwor2oSAOeKDMjMsehrg@fakeemail.com,support locale change for notific… 12177 …orm/build,fake_9lVTMhJRSeODW5sBb8OEqw@fakeemail.com,Add en-XC (cracked pseudo-locale) to L10n build 14402 …l2J4XmHSlQ@fakeemail.com,"do not use functions from <ctypes.h>, they are locale-dependent (and slo… 22115 …,fake_1ViOpRpRTx6YQwQMN1mW9Q@fakeemail.com,Add system header pragma to BSD locale fallback headers. 22251 …atform/external/libcxx,fake_yi3s3vMeQu-RcFShb8YRCw@fakeemail.com,Protect locale tests under noexce… 22371 …com,"Cleanup usages of _LIBCPP_HAS_NO_<c++11-feature> in <bitset>, <ios>, <locale>, and <iterator>" 22415 …80c4,platform/external/libcxx,fake_MlGmZMtaQaSjnMd9fRTnUA@fakeemail.com,[locale] Avoid copy of __a… 22435 …rnal/libcxx,fake_1ViOpRpRTx6YQwQMN1mW9Q@fakeemail.com,Fix DLL import/export on Win32 locale helpers 22467 …a78,platform/external/libcxx,fake_1ViOpRpRTx6YQwQMN1mW9Q@fakeemail.com,Fix Windows locale detection [all …]
|