/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 | 70 Words.LOCALE, 164 String locale = cursor.getString(COLUMN_LOCALE); local 169 String out = name + SEPARATOR + frequency + SEPARATOR + locale + SEPARATOR + appId 222 String locale = null; local 225 if (st.hasMoreTokens()) locale = st.nextToken(); 226 if ("null".equalsIgnoreCase(locale)) locale = null; 237 cv.put(Words.LOCALE, locale);
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
UserDictionaryList.java | 31 import java.util.Locale; 48 new String[] { UserDictionary.Words.LOCALE }, 55 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE); 57 String locale = cursor.getString(columnIndex); local 58 localeList.add(null != locale ? locale : ""); 61 localeList.add(Locale.getDefault().toString()); 66 * Creates the entries that allow the user to go into the user dictionary for each locale. 78 for (String locale : localeList) { 79 userDictGroup.addPreference(createUserDictionaryPreference(locale, activity)) [all...] |
UserDictionaryAddWordContents.java | 34 import java.util.Locale; 45 public static final String EXTRA_LOCALE = "locale"; 79 // locale may be null, this means default locale 81 /* package */ void updateLocale(final String locale) { 82 mLocale = null == locale ? Locale.getDefault().toString() : locale; 155 + "=? AND " + UserDictionary.Words.LOCALE + "=?"; 157 + "=? AND " + UserDictionary.Words.LOCALE + " is null" [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionaryList.java | 32 import java.util.Locale; 53 new String[] { UserDictionary.Words.LOCALE }, 61 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE); 63 final String locale = cursor.getString(columnIndex); local 64 final boolean allLocale = TextUtils.isEmpty(locale); 65 localeList.add(allLocale ? "" : locale); 72 // For ICS, we need to show "For all languages" in case that the keyboard locale 73 // is different from the system locale 76 localeList.add(Locale.getDefault().toString()); 81 * Creates the entries that allow the user to go into the user dictionary for each locale [all...] |
UserDictionaryAddWordContents.java | 34 import java.util.Locale; 49 public static final String EXTRA_LOCALE = "locale"; 97 // locale may be null, this means default locale 99 /* package */ void updateLocale(final String locale) { 100 mLocale = null == locale ? Locale.getDefault().toString() : locale; 176 + "=? AND " + UserDictionary.Words.LOCALE + "=?"; 178 + "=? 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/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 | 51 import java.util.Locale; 63 // Either the locale is empty (means the word is applicable to all locales) 64 // or the word equals our current locale 66 UserDictionary.Words.LOCALE + "=?"; 68 UserDictionary.Words.LOCALE + " is null"; 100 null == intent ? null : intent.getStringExtra("locale"); 104 null == arguments ? null : arguments.getString("locale"); 106 final String locale; local 108 locale = localeFromArguments; 110 locale = localeFromIntent [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactsDatabaseHelper.java | 88 import java.util.Locale; 3106 final Locale locale = Locale.getDefault(); local [all...] |
/frameworks/base/core/java/android/widget/ |
TextView.java | 136 import java.util.Locale; 549 private volatile Locale mCurrentSpellCheckerLocaleCache; 7979 final Locale locale; local [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
string-unpack-code.js | [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
string-unpack-code.js | [all...] |
/development/samples/training/NavigationDrawer/libs/ |
android-support-v4.jar | |
/prebuilts/tools/common/freemarker/ |
freemarker-2.3.19.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
com.ibm.icu_4.2.1.v20100412.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/4/ |
android.jar | |
/prebuilts/sdk/6/ |
android.jar | |