HomeSort by relevance Sort by last modified time
    Searched full:getlocale (Results 1 - 25 of 405) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/tests/inputmethodtests/src/android/os/
InputMethodSubtypeTest.java 29 // InputMethodSubtype#getLocale() returns exactly the same string that is passed to the
31 assertEquals(localeString, createDummySubtype(localeString).getLocale());
33 // InputMethodSubtype#getLocale() should be preserved via marshaling.
34 assertEquals(createDummySubtype(localeString).getLocale(),
35 cloneViaParcel(createDummySubtype(localeString)).getLocale());
37 // InputMethodSubtype#getLocale() should be preserved via marshaling.
38 assertEquals(createDummySubtype(localeString).getLocale(),
39 cloneViaParcel(cloneViaParcel(createDummySubtype(localeString))).getLocale());
70 assertEquals("iw", subtypeIw.getLocale());
71 assertEquals("he", subtypeHe.getLocale());
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
LocaleAliasTest.java 79 //Test function "getLocale(ULocale.VALID_LOCALE)"
80 ULocale l1 = c1.getLocale(ULocale.VALID_LOCALE);
81 ULocale l2 = c2.getLocale(ULocale.VALID_LOCALE);
91 logln("Calendar(getLocale) old:"+l1+" new:"+l2);
109 //Test function "getLocale"
110 ULocale l1 = df1.getLocale(ULocale.VALID_LOCALE);
111 ULocale l2 = df2.getLocale(ULocale.VALID_LOCALE);
121 this.logln("DateFormat(getLocale) old:"+l1+" new:"+l2);
  /external/icu/icu4c/source/common/
locid.cpp 762 return getLocale(eROOT);
768 return getLocale(eENGLISH);
774 return getLocale(eFRENCH);
780 return getLocale(eGERMAN);
786 return getLocale(eITALIAN);
792 return getLocale(eJAPANESE);
798 return getLocale(eKOREAN);
804 return getLocale(eCHINESE);
810 return getLocale(eCHINA);
816 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;
locbased.cpp 16 Locale LocaleBased::getLocale(ULocDataLocaleType type, UErrorCode& status) const {
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
ULocaleCollationTest.java 141 * Use reflection to call getLocale() on the given object to
150 Method getLocale = cls.getMethod("getLocale", getLocaleParams);
151 ULocale valid = (ULocale) getLocale.invoke(obj, new Object[] {
153 ULocale actual = (ULocale) getLocale.invoke(obj, new Object[] {
164 // no longer an error, Currency has no getLocale
173 // no longer an error, Currency has no getLocale
179 * Verify the correct getLocale() behavior for the given service.
194 * Verify the correct getLocale() behavior for the given service.
  /external/apache-http/src/org/apache/http/
HttpResponse.java 74 * {@link #getLocale locale}.
96 * based on the current {@link #getLocale locale}. It can be set
153 Locale getLocale();
162 * @see #getLocale getLocale
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
LocaleSet.java 54 public Locale getLocale() {
152 return mPrimaryLocale.getLocale();
156 return mSecondaryLocale.getLocale();
237 return other.isPrimaryLocale(mPrimaryLocale.getLocale())
238 && other.isSecondaryLocale(mSecondaryLocale.getLocale());
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
ConfigurationTest.java 66 assertEquals(Locale.ANY, configuration.getLocale());
91 ConfigurationChooser.getLocaleLabel(null, configuration.getLocale(), true));
93 ConfigurationChooser.getLocaleLabel(null, configuration.getLocale(), false));
127 assertEquals(locale, copy.getLocale());
138 assertEquals(locale, copy.getLocale());
  /frameworks/base/tools/layoutlib/bridge/src/android/widget/
SimpleMonthView_Delegate.java 58 getLocale(delegate, view), DEFAULT_TITLE_FORMAT));
71 new SimpleDateFormat(DAY_OF_WEEK_FORMAT, getLocale(delegate, view));
76 private static Locale getLocale(SimpleMonthView_Delegate delegate, SimpleMonthView view) {
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
CurrencyFormat.java 41 // Needed for getLocale(ULocale.VALID_LOCALE).
118 return new CurrencyFormat(fmt.getLocale(ULocale.ACTUAL_LOCALE));
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
LanguageOnSpacebarUtils.java 53 final Locale locale = subtype.getLocale();
79 final Locale newLocale = subtype.getLocale();
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
LocalePropertyEditor.java 65 // property.setValue(localeDialog.getSelectedLocale().getLocale());
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
I18Name.java 33 public Locale getLocale() {
IconInfo.java 42 public Locale getLocale() {
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/
dictionary_header_structure_policy.h 52 virtual const std::vector<int> *getLocale() const = 0;
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
KlpActionTestsBase.java 34 SubtypeLocaleUtils.getDisplayLocaleOfSubtypeLocale(subtype.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/icu/icu4c/source/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());
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
PluralFormatTest.java 269 /* Tests the method public ULocale getLocale() */
272 if (!cpi.getLocale().equals(new ULocale("en_US"))) {
273 errln("CurrencyPluralInfo.getLocale() was suppose to return true " + "when passing the same ULocale");
275 if (cpi.getLocale().equals(new ULocale("jp_JP"))) {
276 errln("CurrencyPluralInfo.getLocale() was not suppose to return true " + "when passing a different ULocale");
284 if (!cpi.getLocale().equals(new ULocale("en_US"))) {
287 if (cpi.getLocale().equals(new ULocale("jp_JP"))) {
ListFormatterTest.java 135 "getLocale", ULocale.ENGLISH, ListFormatter.getInstance(ULocale.ENGLISH).getLocale());
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
GlobalizationPreferencesTest.java 53 ULocale gpLocale0 = gp.getLocale(0);
60 ULocale gpLocale1 = gp.getLocale(1);
67 ULocale gpLocale2 = gp.getLocale(2);
74 ULocale calLocale = cal.getLocale(ULocale.VALID_LOCALE);
82 ULocale collLocale = coll.getLocale(ULocale.VALID_LOCALE);
90 ULocale brkLocale = brk.getLocale(ULocale.VALID_LOCALE);
99 ULocale dfLocale = df.getLocale(ULocale.VALID_LOCALE);
108 ULocale nfLocale = nf.getLocale(ULocale.VALID_LOCALE);
295 ULocale loc = gp.getLocale(j);
297 if (!gp.getLocale(j).toString().equals(RESULTS_LOCALEIDS[i][j]))
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
RichInputMethodSubtype.java 50 mLocale = LocaleUtils.constructLocaleFromString(mSubtype.getLocale());
65 return SubtypeLocaleUtils.NO_LANGUAGE.equals(mSubtype.getLocale());
95 return SubtypeLocaleUtils.getSubtypeLocaleDisplayName(mSubtype.getLocale());
104 return SubtypeLocaleUtils.getSubtypeLanguageDisplayName(mSubtype.getLocale());
127 public Locale getLocale() {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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());

Completed in 1153 milliseconds

1 2 3 4 5 6 7 8 91011>>