HomeSort by relevance Sort by last modified time
    Searched refs:LOCALE (Results 1 - 25 of 38) sorted by null

1 2

  /frameworks/base/core/java/android/util/
LayoutDirection.java 22 * language script of a locale.
45 * Horizontal layout direction is deduced from the default language script for the locale.
47 public static final int LOCALE = 3;
  /frameworks/base/core/java/android/provider/
UserDictionary.java 19 import java.util.Locale;
30 * frequency information and locale information.
81 * The locale that this word belongs to. Null if it pertains to all
82 * locales. Locale is as defined by the string returned by Locale.toString().
85 public static final String LOCALE = "locale";
100 * @deprecated Use {@link #addWord(Context, String, int, String, Locale)}.
106 * @deprecated Use {@link #addWord(Context, String, int, String, Locale)}.
117 * specified locale type
136 final Locale locale; local
    [all...]
  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
UserDictionaryProvider.java 50 * LOCALE (TEXT), APP_ID (INTEGER).
93 + Words.LOCALE + " TEXT,"
198 if (values.containsKey(Words.LOCALE) == false) {
199 values.put(Words.LOCALE, (String) null);
277 sDictProjectionMap.put(Words.LOCALE, Words.LOCALE);
DictionaryBackupAgent.java 72 Words.LOCALE,
167 String locale = cursor.getString(COLUMN_LOCALE); local
172 String out = name + SEPARATOR + frequency + SEPARATOR + locale + SEPARATOR + appId
226 String locale = null; local
229 if (st.hasMoreTokens()) locale = st.nextToken();
230 if ("null".equalsIgnoreCase(locale)) locale = null;
241 cv.put(Words.LOCALE, locale);
  /packages/apps/Settings/src/com/android/settings/inputmethod/
UserDictionaryList.java 37 import java.util.Locale;
58 null == intent ? null : intent.getStringExtra("locale");
62 null == arguments ? null : arguments.getString("locale");
64 final String locale; local
66 locale = localeFromArguments;
68 locale = localeFromIntent;
70 locale = null;
72 mLocale = locale;
78 new String[] { UserDictionary.Words.LOCALE },
85 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE);
87 final String locale = cursor.getString(columnIndex); local
106 final String locale = subtype.getLocale(); local
    [all...]
UserDictionaryAddWordContents.java 34 import java.util.Locale;
45 public static final String EXTRA_LOCALE = "locale";
93 // locale may be null, this means default locale
95 /* package */ void updateLocale(final String locale) {
96 mLocale = null == locale ? Locale.getDefault().toString() : locale;
171 + "=? AND " + UserDictionary.Words.LOCALE + "=?";
173 + "=? AND " + UserDictionary.Words.LOCALE + " is null"
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
UserDictionaryList.java 37 import java.util.Locale;
58 new String[] { UserDictionary.Words.LOCALE },
65 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE);
67 final String locale = cursor.getString(columnIndex); local
68 localeSet.add(null != locale ? locale : "");
72 // For ICS, we need to show "For all languages" in case that the keyboard locale
73 // is different from the system locale
85 final String locale = subtype.getLocale(); local
86 if (!TextUtils.isEmpty(locale)) {
    [all...]
UserDictionaryAddWordContents.java 34 import java.util.Locale;
49 public static final String EXTRA_LOCALE = "locale";
111 // locale may be null, this means default locale
113 /* package */ void updateLocale(final String locale) {
114 mLocale = null == locale ? Locale.getDefault().toString() : locale;
192 + "=? AND " + UserDictionary.Words.LOCALE + "=?";
194 + "=? AND " + UserDictionary.Words.LOCALE + " is null"
    [all...]
UserDictionarySettings.java 43 import java.util.Locale;
87 // Either the locale is empty (means the word is applicable to all locales)
88 // or the word equals our current locale
90 UserDictionary.Words.LOCALE + "=?";
92 UserDictionary.Words.LOCALE + " is null";
127 null == intent ? null : intent.getStringExtra("locale");
131 null == arguments ? null : arguments.getString("locale");
133 final String locale; local
135 locale = localeFromArguments;
137 locale = localeFromIntent
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
UserDictionary_WordsTest.java 27 import java.util.Locale;
38 UserDictionary.Words.LOCALE };
83 assertWord("testWord1", 42, null, Locale.KOREA, 42);
84 assertWord("testWord2", -3007, "tw2", Locale.JAPAN, 0);
85 assertWord("testWord3", 1337, "tw3", Locale.US, 255);
88 private void assertWord(String word, int frequency, String shortcut, Locale locale,
91 UserDictionary.Words.addWord(mContext, word, frequency, shortcut, locale);
102 assertEquals(locale.toString(), cursor.getString(LOCALE_INDEX));
  /external/chromium_org/third_party/icu/source/tools/ctestfw/
uperf.cpp 40 "\t-L or --locale Locale for the test\n";
56 LOCALE,
74 UOPTION_DEF( "locale", 'L', UOPT_REQUIRES_ARG)
86 locale(NULL) {
102 locale(NULL) {
179 if(options[LOCALE].doesOccur) {
180 locale = options[LOCALE].value;
  /external/icu4c/tools/ctestfw/
uperf.cpp 44 "\t-L or --locale Locale for the test\n";
60 LOCALE,
78 UOPTION_DEF( "locale", 'L', UOPT_REQUIRES_ARG)
90 locale(NULL) {
106 locale(NULL) {
183 if(options[LOCALE].doesOccur) {
184 locale = options[LOCALE].value;
  /frameworks/base/core/java/android/text/
TextDirectionHeuristics.java 73 * Force the paragraph direction to the Locale direction. Falls back to left to right.
75 public static final TextDirectionHeuristic LOCALE = TextDirectionHeuristicLocale.INSTANCE;
246 * Algorithm that uses the Locale direction to force the direction of a paragraph.
256 final int dir = TextUtils.getLayoutDirectionFromLocale(java.util.Locale.getDefault());
  /frameworks/support/v4/java/android/support/v4/text/
TextDirectionHeuristicsCompat.java 66 * Force the paragraph direction to the Locale direction. Falls back to left to right.
68 public static final android.support.v4.text.TextDirectionHeuristicCompat LOCALE =
240 * Algorithm that uses the Locale direction to force the direction of a paragraph.
250 final int dir = TextUtilsCompat.getLayoutDirectionFromLocale(java.util.Locale.getDefault());
  /packages/apps/Settings/src/com/android/settings/
UserDictionarySettings.java 43 import java.util.Locale;
55 // Either the locale is empty (means the word is applicable to all locales)
56 // or the word equals our current locale
58 UserDictionary.Words.LOCALE + "=?";
60 UserDictionary.Words.LOCALE + " is null";
93 null == intent ? null : intent.getStringExtra("locale");
97 null == arguments ? null : arguments.getString("locale");
99 final String locale; local
101 locale = localeFromArguments;
103 locale = localeFromIntent
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
re.py 72 With LOCALE, it will match the set [0-9_] plus characters defined
73 as letters for the current locale.
91 L LOCALE Make \w, \W, \b, \B, dependent on the current locale.
98 U UNICODE Make \w, \W, \b, \B, dependent on the Unicode locale.
111 "U", "IGNORECASE", "LOCALE", "MULTILINE", "DOTALL", "VERBOSE",
118 L = LOCALE = sre_compile.SRE_FLAG_LOCALE # assume current 8-bit locale
119 U = UNICODE = sre_compile.SRE_FLAG_UNICODE # assume unicode locale
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
re.py 72 With LOCALE, it will match the set [0-9_] plus characters defined
73 as letters for the current locale.
91 L LOCALE Make \w, \W, \b, \B, dependent on the current locale.
98 U UNICODE Make \w, \W, \b, \B, dependent on the Unicode locale.
111 "U", "IGNORECASE", "LOCALE", "MULTILINE", "DOTALL", "VERBOSE",
118 L = LOCALE = sre_compile.SRE_FLAG_LOCALE # assume current 8-bit locale
119 U = UNICODE = sre_compile.SRE_FLAG_UNICODE # assume unicode locale
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_re.py 375 "abcd abc bcd bx", re.LOCALE).group(1), "bx")
377 "abc bcd bc abxd", re.LOCALE).group(1), "bx")
395 "1aa! a", re.LOCALE).group(0), "1aa! a")
475 self.assertEqual(_sre.getlower(ord('A'), re.LOCALE), ord('a'))
562 self.assertEqual(re.L, re.LOCALE)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_re.py 375 "abcd abc bcd bx", re.LOCALE).group(1), "bx")
377 "abc bcd bc abxd", re.LOCALE).group(1), "bx")
395 "1aa! a", re.LOCALE).group(0), "1aa! a")
475 self.assertEqual(_sre.getlower(ord('A'), re.LOCALE), ord('a'))
562 self.assertEqual(re.L, re.LOCALE)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsDatabaseHelper.java 89 import java.util.Locale;
3143 final Locale locale = Locale.getDefault(); local
    [all...]
  /frameworks/base/core/java/android/widget/
TextView.java 137 import java.util.Locale;
553 private volatile Locale mCurrentSpellCheckerLocaleCache;
8090 final Locale locale; local
    [all...]
  /cts/suite/pts/deviceTests/browserbench/assets/octane/
code-load.js 147 g.LOCALE=\"en\";goog.provide=function(a){if(!COMPILED){if(goog.isProvided_(a))t\
    [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
string-unpack-code.js     [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
string-unpack-code.js     [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
string-unpack-code.js     [all...]

Completed in 945 milliseconds

1 2