/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/ |
LanguageCallbackTest.java | 39 * test of Ctor, method set/getLocale() 45 assertEquals("US", lc.getLocale().getCountry()); 53 assertNull(lc.getLocale());
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/serialization/ |
LanguageCallbackTest.java | 46 assertEquals(((LanguageCallback) golden).getLocale(), 47 ((LanguageCallback) test).getLocale());
|
/external/webkit/Source/WebCore/platform/text/mac/ |
TextBreakIteratorInternalICUMac.mm | 63 static void getLocale(CFStringRef locale, char localeStringBuffer[maxLocaleStringLength]) 74 getLocale(canonicalLanguageIdentifier(topLanguagePreference().get()).get(), localeStringBuffer); 94 getLocale(canonicalLanguageIdentifier(locale.get()).get(), localeStringBuffer);
|
/external/icu4c/common/ |
locbased.cpp | 16 Locale LocaleBased::getLocale(ULocDataLocaleType type, UErrorCode& status) const {
|
locid.cpp | 695 return getLocale(eROOT); 701 return getLocale(eENGLISH); 707 return getLocale(eFRENCH); 713 return getLocale(eGERMAN); 719 return getLocale(eITALIAN); 725 return getLocale(eJAPANESE); 731 return getLocale(eKOREAN); 737 return getLocale(eCHINESE); 743 return getLocale(eCHINA); 749 return getLocale(eTAIWAN) [all...] |
locbased.h | 28 * A utility class that unifies the implementation of getLocale() by 58 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;
|
/libcore/luni/src/main/native/ |
IcuUtilities.h | 24 extern Locale getLocale(JNIEnv* env, jstring localeName);
|
IcuUtilities.cpp | 31 Locale getLocale(JNIEnv* env, jstring localeName) {
|
/external/apache-http/src/org/apache/http/ |
HttpResponse.java | 69 * {@link #getLocale locale}. 91 * based on the current {@link #getLocale locale}. It can be set 148 Locale getLocale(); 157 * @see #getLocale getLocale
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigurationTest.java | 64 assertEquals(Locale.ANY, configuration.getLocale()); 89 ConfigurationChooser.getLocaleLabel(null, configuration.getLocale(), true)); 91 ConfigurationChooser.getLocaleLabel(null, configuration.getLocale(), false)); 125 assertEquals(locale, copy.getLocale()); 136 assertEquals(locale, copy.getLocale());
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
LocalePropertyEditor.java | 65 // property.setValue(localeDialog.getSelectedLocale().getLocale());
|
/external/smack/src/org/apache/harmony/javax/security/auth/callback/ |
LanguageCallback.java | 33 public Locale getLocale() {
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
SynchronousProfileProvider.java | 43 protected Locale getLocale() {
|
/development/apps/CustomLocale/src/com/android/customlocale2/ |
CustomLocaleActivity.java | 241 return lhs.getLocale().compareTo(rhs.getLocale()); 288 String code = ((LocaleInfo) o).getLocale(); 321 getString(R.string.select_locale_1s_button, info.getLocale())); 344 changeSystemLocale(info.getLocale()); 355 final String localeToRemove = info == null ? "<error>" : info.getLocale(); 434 public String getLocale() {
|
/external/icu4c/test/intltest/ |
aliastst.cpp | 69 //Test function "getLocale(ULocale.VALID_LOCALE)" 81 logln("Calendar(getLocale) old:"+UnicodeString(l1)+" new:"+UnicodeString(l2)); 102 //Test function "getLocale" 114 logln("DateFormat(getLocale) old:%s new:%s",l1,l2); 136 Locale l1 = c1->getLocale(ULOC_VALID_LOCALE, status); 137 Locale l2 = c2->getLocale(ULOC_VALID_LOCALE, status); 148 logln("Collator(getLocale) old:%s new:%s", l1.getName(), l2.getName());
|
svccoll.cpp | 59 Locale loc = frcol->getLocale(ULOC_REQUESTED_LOCALE, status); 63 loc = frcol->getLocale(ULOC_VALID_LOCALE, status); 68 loc = ncol->getLocale(ULOC_REQUESTED_LOCALE, status); 72 loc = ncol->getLocale(ULOC_VALID_LOCALE, status); 76 loc = ncol->getLocale(ULOC_ACTUAL_LOCALE, status); 188 Locale nloc = ncol->getLocale(ULOC_VALID_LOCALE, status); 413 Locale loc = ncol->getLocale(ULOC_REQUESTED_LOCALE, status); 417 loc = ncol->getLocale(ULOC_VALID_LOCALE, status);
|
restsnew.cpp | 419 a.getLocale()==b.getLocale() && 460 logln("Testing getLocale()\n"); 461 if(strcmp(test1.getLocale().getName(), locale->getName()) !=0 ){ 462 errln("FAIL: ResourceBundle::getLocale() failed\n"); 478 if(strcmp(defaultresource.getLocale().getName(), explicitdefaultresource.getLocale().getName()) != 0){ 480 explicitdefaultresource.getLocale().getName(), defaultresource.getLocale().getName(), u_errorName(err)); 487 strcmp(copyRes.getLocale().getName(), defaultresource.getLocale().getName() ) !=0 | [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
SubtypeLocale.java | 211 return getSubtypeLocaleDisplayNameInternal(subtype.getLocale(), displayLocale); 221 final Locale displayLocale = getDisplayLocaleOfSubtypeLocale(subtype.getLocale()); 239 + " locale=" + subtype.getLocale() 251 final String localeString = subtype.getLocale(); 256 final String localeString = subtype.getLocale(); 275 final String key = subtype.getLocale() + ":" + subtype.getExtraValue(); 282 "locale=" + subtype.getLocale() + " extraValue=" + subtype.getExtraValue());
|
/libcore/luni/src/test/java/tests/api/java/util/ |
ResourceBundleTest.java | 263 assertEquals("fr_FR_VAR", bundle.getLocale().toString()); 266 assertEquals("fr_FR", bundle.getLocale().toString()); 269 assertEquals("fr", bundle.getLocale().toString()); 272 assertEquals("en_US", bundle.getLocale().toString()); 275 assertEquals("en_US", bundle.getLocale().toString()); 278 assertEquals("en_US", bundle.getLocale().toString());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
InputMethodButton.java | 105 && (nonAuxSubtype.getLocale().equals(auxSubtype.getLocale())
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ProfileProvider.java | 136 protected Locale getLocale() { 137 return mDelegate.getLocale();
|
/frameworks/base/core/java/android/text/style/ |
LocaleSpan.java | 67 public Locale getLocale() {
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
InputMethodInfoTest.java | 102 assertEquals(mSubtypeLocale, mInputMethodSubtype.getLocale()); 181 assertEquals(mInputMethodSubtype.getLocale(), subtype.getLocale());
|
/external/icu4c/i18n/unicode/ |
msgfmt.h | 169 * <td><code>NumberFormat.createInstance(getLocale(), status)</code> 172 * <td><code>NumberFormat.createInstance(getLocale(), kNumberStyle, status)</code> 175 * <td><code>NumberFormat.createCurrencyInstance(getLocale(), status)</code> 178 * <td><code>NumberFormat.createPercentInstance(getLocale(), status)</code> 181 * <td><code>new DecimalFormat(argStyleText, new DecimalFormatSymbols(getLocale(), status), status)</code> 185 * <td><code>DateFormat.createDateInstance(kDefault, getLocale(), status)</code> 188 * <td><code>DateFormat.createDateInstance(kShort, getLocale(), status)</code> 191 * <td><code>DateFormat.createDateInstance(kDefault, getLocale(), status)</code> 194 * <td><code>DateFormat.createDateInstance(kLong, getLocale(), status)</code> 197 * <td><code>DateFormat.createDateInstance(kFull, getLocale(), status)</code [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
NestedConfiguration.java | 115 configuration.setLocale(values.getLocale(), true); 195 public Locale getLocale() { 197 return super.getLocale(); 199 return mParent.getLocale(); 465 configuration.getLocale(), false);
|