HomeSort by relevance Sort by last modified time
    Searched defs:locale (Results 376 - 400 of 1524) sorted by null

<<11121314151617181920>>

  /frameworks/base/media/java/android/media/
MediaScanner.java 71 import java.util.Locale;
436 final Locale locale = mContext.getResources().getConfiguration().locale; local
437 if (locale != null) {
438 String language = locale.getLanguage();
439 String country = locale.getCountry();
646 String lowpath = path.toLowerCase(Locale.ROOT);
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
ControlTest.java 34 import java.util.Locale;
208 // no fall back locale
209 Locale defaultLocale = Locale.getDefault();
210 Locale.setDefault(new Locale("TestLanguage", "TestCountry", "Var"));
211 assertNull(control.getFallbackLocale("message", Locale.US));
219 control.getFallbackLocale(null, Locale.US);
224 Locale.setDefault(defaultLocale);
283 * {@link java.util.ResourceBundle.Control#getCandidateLocales(java.lang.String, java.util.Locale)}
291 Locale locale = result.get(0); local
    [all...]
  /libcore/ojluni/src/main/java/java/time/format/
DateTimeFormatter.java 95 import java.util.Locale;
125 * In addition to the format, formatters can be created with desired Locale,
129 * overrides the locale. The locale affects some aspects of formatting and
131 * formatter that uses the locale specific date format.
163 * <td> Formatter with date style from the locale </td>
168 * <td> Formatter with time style from the locale </td>
173 * <td> Formatter with a style for date and time from the locale</td>
179 * <td> Formatter with date and time styles from the locale </td>
261 * {@link #ofPattern(String)} and {@link #ofPattern(String, Locale)} methods
492 private final Locale locale; field in class:DateTimeFormatter
    [all...]
  /libcore/ojluni/src/main/java/sun/util/calendar/
CalendarDate.java 29 import java.util.Locale;
87 private Locale locale; field in class:CalendarDate
359 protected void setLocale(Locale loc) {
360 locale = loc;
  /libcore/ojluni/src/main/java/sun/util/locale/
InternalLocaleBuilder.java 32 package sun.util.locale;
112 throw new LocaleSyntaxException("Ill-formed Unicode locale attribute: " + attribute);
124 throw new LocaleSyntaxException("Ill-formed Unicode locale attribute: " + attribute);
134 throw new LocaleSyntaxException("Ill-formed Unicode locale keyword key: " + key);
152 throw new LocaleSyntaxException("Ill-formed Unicode locale keyword type: "
179 // clear entire Unicode locale extension
386 // When locale ja_JP_JP is created, ca-japanese is always there.
393 // When locale th_TH_TH is created, nu-thai is always there.
400 // no_NO_NY is a valid locale and used by Java 6 or older versions.
406 // Validate base locale fields before updating internal state
    [all...]
LanguageTag.java 32 package sun.util.locale;
  /packages/apps/Dialer/java/com/android/dialer/dialpadview/
DialpadView.java 47 import java.util.Locale;
81 private final boolean isRtl; // whether the dialpad is shown in a right-to-left locale
111 TextUtils.getLayoutDirectionFromLocale(Locale.getDefault()) == View.LAYOUT_DIRECTION_RTL;
235 Locale locale = CompatUtils.getLocale(getContext()); local
238 return "fas".equals(locale.getISO3Language())
239 ? DecimalFormat.getInstance(locale)
240 : DecimalFormat.getInstance(Locale.ENGLISH);
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
ReverseGeocoder.java 35 import java.util.Locale;
125 String currentCountry = Locale.getDefault().getCountry();
325 Locale locale = address.getLocale(); local
326 writeUTF(dos, locale.getLanguage());
327 writeUTF(dos, locale.getCountry());
328 writeUTF(dos, locale.getVariant());
360 Locale locale = null; local
363 locale = new Locale(language)
    [all...]
  /packages/apps/Settings/src/com/android/settings/search/indexing/
IndexData.java 31 import java.util.Locale;
39 public final String locale; field in class:IndexData
70 locale = Locale.getDefault().toString();
73 if (Locale.JAPAN.toString().equalsIgnoreCase(locale)) {
  /packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
IndexData.java 28 import java.util.Locale;
41 public final String locale; field in class:IndexData
71 locale = Locale.getDefault().toString();
74 if (Locale.JAPAN.toString().equalsIgnoreCase(locale)) {
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
TtsEngineSettingsFragment.java 40 import java.util.Locale;
266 Locale currentLocale = null;
271 ArrayList<Pair<String, Locale>> entryPairs =
274 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); local
275 if (locale != null){
276 entryPairs.add(new Pair<>(locale.getDisplayName(), locale));
292 for (Pair<String, Locale> entry : entryPairs) {
353 private void updateLanguageTo(Locale locale)
370 mEnginesHelper.updateLocalePrefForEngine(getEngineName(), locale); local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DictionaryProvider.java 95 public WordListInfo(final String id, final String locale, final String rawChecksum,
98 mLocale = locale;
245 final String locale = uri.getLastPathSegment(); local
247 getDictionaryWordListsForLocale(clientId, locale);
330 * Reads the metadata and returns the collection of dictionaries for a given locale.
334 * locale matching the locale specified in the URI. The manual id serves only to
339 * @param locale the locale for which we want the list, as a String
343 final String locale) {
    [all...]
DictionarySettingsFragment.java 50 import java.util.Locale;
307 final String systemLocaleString = Locale.getDefault().toString();
319 final Locale locale = new Locale(localeString); local
335 && oldPreference.mLocale.equals(locale)) {
349 mClientId, wordlistId, version, locale, description, status,
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyboardTextsTable.java 20 import java.util.Locale;
32 * tools/make-keyboard-text/res/values-<locale>/donottranslate-more-keys.xml
46 // Locale to texts table map.
49 // Texts table to locale maps.
55 throw new RuntimeException("Unknown text name=" + name + " locale="
69 + " locale=" + sTextsTableToLocaleMap.get(textsTable));
72 public static String[] getTextsTable(final Locale locale) {
73 final String localeKey = locale.toString();
77 final String languageKey = locale.getLanguage()
4192 final String locale = (String)LOCALES_AND_TEXTS[i]; external variable declarations
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
CustomInputStylePreference.java 125 // the view would align them to the left even if the system locale is RTL, but that
175 final SubtypeLocaleItem locale = local
181 locale.mLocaleString, layout.mLayoutName);
302 // TODO: Should filter out already existing combinations of locale and layout.
331 // TODO: Should filter out already existing combinations of locale and layout.
  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DictionaryBackupAgent.java 73 Words.LOCALE,
168 String locale = cursor.getString(COLUMN_LOCALE); local
173 String out = name + SEPARATOR + frequency + SEPARATOR + locale + SEPARATOR + appId
227 String locale = null; local
230 if (st.hasMoreTokens()) locale = st.nextToken();
231 if ("null".equalsIgnoreCase(locale)) locale = null;
256 cv.put(Words.LOCALE, locale);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
crtdefs.h 451 char *locale; member in struct:threadlocaleinfostruct::__anon63720
  /system/core/healthd/
healthd_mode_charger.cpp 57 char* locale; variable
  /external/icu/android_icu4j/src/main/java/android/icu/text/
MeasureFormat.java 29 import java.util.Locale;
206 * Create a format from the locale, formatWidth, and format.
208 * @param locale the locale.
212 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) {
213 return getInstance(locale, formatWidth, NumberFormat.getInstance(locale));
217 * Create a format from the {@link java.util.Locale} and formatWidth.
219 * @param locale the {@link java.util.Locale}
1361 private ULocale locale; field in class:MeasureFormat.MeasureProxy
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
MeasureFormat.java 28 import java.util.Locale;
216 * Create a format from the locale, formatWidth, and format.
218 * @param locale the locale.
223 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) {
224 return getInstance(locale, formatWidth, NumberFormat.getInstance(locale));
228 * Create a format from the {@link java.util.Locale} and formatWidth.
230 * @param locale the {@link java.util.Locale}
1390 private ULocale locale; field in class:MeasureFormat.MeasureProxy
    [all...]
  /external/libcxx/src/
locale.cpp 1 //===------------------------- locale.cpp ---------------------------------===//
17 #include "locale"
82 void operator()(locale::facet* p) {p->__release_shared();}
150 const locale::category locale::none;
151 const locale::category locale::collate;
152 const locale::category locale::ctype;
153 const locale::category locale::monetary
540 locale::locale(const char* name) function in class:locale
551 locale::locale(const string& name) function in class:locale
557 locale::locale(const locale& other, const char* name, category c) function in class:locale
568 locale::locale(const locale& other, const string& name, category c) function in class:locale
574 locale::locale(const locale& other, const locale& one, category c) function in class:locale
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/src/
locale.cpp 1 //===------------------------- locale.cpp ---------------------------------===//
20 #include "locale"
84 void operator()(locale::facet* p) {p->__release_shared();}
152 const locale::category locale::none;
153 const locale::category locale::collate;
154 const locale::category locale::ctype;
155 const locale::category locale::monetary
542 locale::locale(const char* name) function in class:locale
553 locale::locale(const string& name) function in class:locale
559 locale::locale(const locale& other, const char* name, category c) function in class:locale
570 locale::locale(const locale& other, const string& name, category c) function in class:locale
576 locale::locale(const locale& other, const locale& one, category c) function in class:locale
    [all...]
  /prebuilts/tools/common/m2/repository/org/xerial/sqlite-jdbc/3.16.1/
sqlite-jdbc-3.16.1.jar 
  /prebuilts/tools/common/m2/repository/org/xerial/sqlite-jdbc/3.20.1/
sqlite-jdbc-3.20.1.jar 
  /external/icu/android_icu4j/src/main/java/android/icu/util/
ULocale.java 22 import java.util.Locale;
38 import android.icu.impl.locale.AsciiUtil;
39 import android.icu.impl.locale.BaseLocale;
40 import android.icu.impl.locale.Extension;
41 import android.icu.impl.locale.InternalLocaleBuilder;
42 import android.icu.impl.locale.KeyTypeData;
43 import android.icu.impl.locale.LanguageTag;
44 import android.icu.impl.locale.LocaleExtensions;
45 import android.icu.impl.locale.LocaleSyntaxException;
46 import android.icu.impl.locale.ParseStatus
287 private transient volatile Locale locale; field in class:ULocale
    [all...]

Completed in 852 milliseconds

<<11121314151617181920>>