HomeSort by relevance Sort by last modified time
    Searched refs:Locale (Results 176 - 200 of 1279) sorted by null

1 2 3 4 5 6 78 91011>>

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
RecapitalizeStatusTests.java 22 import java.util.Locale;
28 status.initialize(30, 40, "abcdefghij", Locale.ENGLISH, " ");
34 status.initialize(30, 44, " abcdefghij", Locale.ENGLISH, " ");
40 status.initialize(30, 40, "abcdefgh ", Locale.ENGLISH, " ");
46 status.initialize(30, 45, " abcdefghij ", Locale.ENGLISH, " ");
55 status.initialize(29, 40, "abcd efghij", Locale.ENGLISH, " ");
67 status.initialize(29, 40, "Abcd Efghij", Locale.ENGLISH, " ");
79 status.initialize(29, 40, "ABCD EFGHIJ", Locale.ENGLISH, " ");
91 status.initialize(29, 39, "AbCDefghij", Locale.ENGLISH, " ");
105 status.initialize(29, 40, "Abcd efghij", Locale.ENGLISH, " ")
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
FormatterTest.java 51 import java.util.Locale;
162 assertEquals(f.locale(), Locale.getDefault());
173 assertEquals(f1.locale(), Locale.getDefault());
189 * @tests java.util.Formatter#Formatter(Locale)
192 Formatter f1 = new Formatter(Locale.FRANCE);
194 assertEquals(f1.locale(), Locale.FRANCE);
197 Formatter f2 = new Formatter((Locale) null)
    [all...]
  /external/apache-http/src/org/apache/http/message/
BasicHttpResponse.java 34 import java.util.Locale;
59 private Locale locale; field in class:BasicHttpResponse
70 * @param locale the locale for looking up reason phrases, or
71 * <code>null</code> for the system locale
75 final Locale locale) {
82 this.locale = (locale != null) ? locale : Locale.getDefault()
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/unicode/
dcfmtsym.h 47 * DecimalFormatSymbols from its locale data. If you need to change any
181 * Create a DecimalFormatSymbols object for the given locale.
183 * @param locale The locale to get symbols for.
188 DecimalFormatSymbols(const Locale& locale, UErrorCode& status);
191 * Create a DecimalFormatSymbols object for the default locale.
264 * Returns the locale for which this object was constructed.
267 inline Locale getLocale() const;
270 * Returns the locale for this object. Two flavors are available
389 Locale locale; member in class:DecimalFormatSymbols
    [all...]
dtptngen.h 42 * since normally this class is pre-built with data from a particular locale.
52 * Construct a flexible generator according to default locale.
60 * Construct a flexible generator according to data for a given locale.
66 static DateTimePatternGenerator* U_EXPORT2 createInstance(const Locale& uLocale, UErrorCode& status);
418 DateTimePatternGenerator(const Locale& locale, UErrorCode & status);
434 Locale pLocale; // pattern locale
449 void initData(const Locale &locale, UErrorCode &status)
    [all...]
  /external/icu4c/i18n/unicode/
dcfmtsym.h 48 * DecimalFormatSymbols from its locale data. If you need to change any
171 * Create a DecimalFormatSymbols object for the given locale.
173 * @param locale The locale to get symbols for.
178 DecimalFormatSymbols(const Locale& locale, UErrorCode& status);
181 * Create a DecimalFormatSymbols object for the default locale.
259 * Returns the locale for which this object was constructed.
262 inline Locale getLocale() const;
265 * Returns the locale for this object. Two flavors are available
388 Locale locale; member in class:DecimalFormatSymbols
    [all...]
dtptngen.h 42 * since normally this class is pre-built with data from a particular locale.
52 * Construct a flexible generator according to default locale.
60 * Construct a flexible generator according to data for a given locale.
66 static DateTimePatternGenerator* U_EXPORT2 createInstance(const Locale& uLocale, UErrorCode& status);
420 DateTimePatternGenerator(const Locale& locale, UErrorCode & status);
436 Locale pLocale; // pattern locale
451 void initData(const Locale &locale, UErrorCode &status)
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
OldNumberFormatTest.java 27 import java.util.Locale;
33 DecimalFormat format = (DecimalFormat) NumberFormat.getIntegerInstance(Locale.US);
41 // try with a locale that has a different integer pattern
42 Locale chLocale = new Locale("de", "CH");
51 Locale arLocale = new Locale("ar", "AE");
74 NumberFormat format = NumberFormat.getInstance(new Locale("hu", "HU"));
113 parseObjectTest(NumberFormat.getInstance(Locale.FRANCE), "asd123,123abc123",
116 parseObjectTest(NumberFormat.getInstance(Locale.FRANCE), "test test"
    [all...]
OldCollationElementIteratorTest.java 23 import java.util.Locale;
29 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(Locale.US);
  /external/chromium_org/third_party/icu/source/i18n/
coll.cpp 27 * createDefault() to call new RuleBasedCollator(Locale&)
55 static U_NAMESPACE_QUALIFIER Locale* availableLocaleList = NULL;
104 CollatorFactory::getDisplayName(const Locale& objectLocale,
105 const Locale& displayLocale,
124 Locale loc;
125 // make sure the requested locale is correct
158 Locale loc("");
172 // because that will overwrite its correct built-in locale
174 // have is the requested locale). (TODO remove in 3.0) [aliu]
177 Locale canonicalLocale("")
    [all...]
  /external/icu4c/i18n/
coll.cpp 27 * createDefault() to call new RuleBasedCollator(Locale&)
57 static icu::Locale* availableLocaleList = NULL;
106 CollatorFactory::getDisplayName(const Locale& objectLocale,
107 const Locale& displayLocale,
129 Locale loc;
130 // make sure the requested locale is correct
165 Locale loc("");
179 // because that will overwrite its correct built-in locale
181 // have is the requested locale). (TODO remove in 3.0) [aliu]
184 Locale canonicalLocale("")
    [all...]
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
NumberFormatTest.java 27 import java.util.Locale;
39 .getInstance(Locale.US);
122 Locale origLocale = Locale.getDefault();
123 Locale.setDefault(Locale.US);
140 Locale.setDefault(origLocale);
144 * @tests java.text.NumberFormat#getIntegerInstance(java.util.Locale)
149 // getIntegerInstance(java.util.Locale)
150 Locale usLocale = Locale.US
    [all...]
  /external/ant-glob/src/org/apache/tools/ant/taskdefs/condition/
Os.java 23 import java.util.Locale;
32 System.getProperty("os.name").toLowerCase(Locale.ENGLISH);
34 System.getProperty("os.arch").toLowerCase(Locale.ENGLISH);
36 System.getProperty("os.version").toLowerCase(Locale.ENGLISH);
145 family = f.toLowerCase(Locale.ENGLISH);
154 this.name = name.toLowerCase(Locale.ENGLISH);
163 this.arch = arch.toLowerCase(Locale.ENGLISH);
172 this.version = version.toLowerCase(Locale.ENGLISH);
  /external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/serialization/
LanguageCallbackTest.java 25 import java.util.Locale;
40 lc.setLocale(Locale.UK);
  /external/apache-http/src/org/apache/http/protocol/
HttpDateGenerator.java 37 import java.util.Locale;
67 this.dateformat = new SimpleDateFormat(PATTERN_RFC1123, Locale.US);
  /external/chromium_org/third_party/WebKit/Source/core/page/
PagePopupClient.h 42 class Locale;
55 // Returns a Locale object associated to the client.
56 virtual Locale& locale() = 0;
  /external/chromium_org/third_party/WebKit/Source/web/
DateTimeChooserImpl.h 60 virtual WebCore::Locale& locale() OVERRIDE;
70 OwnPtr<WebCore::Locale> m_locale;
  /external/icu4c/layoutex/
RunArrays.cpp 132 fLocales = LE_NEW_ARRAY(const Locale *, initialCapacity);
147 fLocales = LE_NEW_ARRAY(const Locale *, capacity);
153 fLocales = (const Locale **) LE_GROW_ARRAY(fLocales, capacity);
156 le_int32 LocaleRuns::add(const Locale *locale, le_int32 limit)
161 Locale **locales = (Locale **) fLocales;
163 locales[index] = (Locale *) locale;
169 const Locale *LocaleRuns::getLocale(le_int32 run) cons
    [all...]
  /frameworks/base/core/java/android/text/method/
AllCapsTransformationMethod.java 23 import java.util.Locale;
26 * Transforms source text into an ALL CAPS string, locale-aware.
34 private Locale mLocale;
37 mLocale = context.getResources().getConfiguration().locale;
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/
ToUpperCase.java 26 import java.util.Locale;
52 output.setObjectValue(inputString.toUpperCase(Locale.getDefault()));
  /frameworks/support/v4/ics/android/support/v4/view/
PagerTitleStripIcs.java 24 import java.util.Locale;
34 private Locale mLocale;
37 mLocale = context.getResources().getConfiguration().locale;
  /libcore/luni/src/test/java/tests/api/org/xml/sax/support/
DoNothingParser.java 26 import java.util.Locale;
52 public void setLocale(Locale locale) {
NoAccessParser.java 26 import java.util.Locale;
52 public void setLocale(Locale locale) {
NoInstanceParser.java 26 import java.util.Locale;
55 public void setLocale(Locale locale) {
  /packages/apps/Email/tests/src/com/android/email/mail/store/imap/
ImapStringTest.java 31 import java.util.Locale;
108 * Confirms that getDateOrNull() works fine regardless of the current locale.
111 Locale savedLocale = Locale.getDefault();
113 Locale.setDefault(Locale.US);
115 Locale.setDefault(Locale.JAPAN);
118 Locale.setDefault(savedLocale);

Completed in 2931 milliseconds

1 2 3 4 5 6 78 91011>>