/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
LocaleListCompatUtils.java | 23 private static final Class CLASS_LocaleList = CompatUtils.getClass("android.os.LocaleList"); 33 public static boolean isEmpty(final Object localeList) { 34 return (Boolean) CompatUtils.invoke(localeList, Boolean.FALSE, METHOD_isEmpty); 37 public static Locale get(final Object localeList, final int index) { 38 return (Locale) CompatUtils.invoke(localeList, null, METHOD_get, index);
|
EditorInfoCompatUtils.java | 89 final Object localeList = CompatUtils.getFieldValue(editorInfo, null, FIELD_HINT_LOCALES); 90 if (localeList == null) { 93 if (LocaleListCompatUtils.isEmpty(localeList)) { 96 return LocaleListCompatUtils.get(localeList, 0);
|
/cts/tests/tests/text/src/android/text/style/cts/ |
LocaleSpanTest.java | 21 import android.os.LocaleList; 29 private void checkGetLocales(@NonNull final LocaleList locales) { 41 checkGetLocales(LocaleList.getEmptyLocaleList()); 42 checkGetLocales(LocaleList.forLanguageTags("en")); 43 checkGetLocales(LocaleList.forLanguageTags("en-GB,en")); 44 checkGetLocales(LocaleList.forLanguageTags("de-DE-u-co-phonebk,en-GB,en")); 50 new LocaleSpan((LocaleList) null); 75 LocaleSpan localeSpan = new LocaleSpan(LocaleList.getEmptyLocaleList()); 81 LocaleSpan localeSpan = new LocaleSpan(LocaleList.getEmptyLocaleList()); 87 LocaleList localeListForSpan = LocaleList.forLanguageTags("en") [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
AutoReinflateContainer.java | 21 import android.os.LocaleList; 39 private LocaleList mLocaleList; 64 final LocaleList localeList = newConfig.getLocales(); 65 if (localeList != mLocaleList) { 66 mLocaleList = localeList;
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
DeviceInfoActivity.java | 180 StringBuilder localeList = new StringBuilder(); 183 localeList.append(new Locale("en", "US").toString()); 185 localeList.append(s); 187 localeList.append(";"); 190 localeList.toString());
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
CorrectionSettingsFragment.java | 97 final TreeSet<String> localeList = UserDictionaryList.getUserDictionaryLocalesSet(activity); 98 if (null == localeList) { 102 } else if (localeList.size() <= 1) { 104 // If the size of localeList is 0, we don't set the locale parameter in the 110 if (localeList.size() == 1) { 111 final String locale = (String)localeList.toArray()[0];
|
/frameworks/base/core/java/android/os/ |
LocaleList.java | 33 * LocaleList is an immutable list of Locales, typically used to keep an ordered list of user 36 public final class LocaleList implements Parcelable { 38 // This is a comma-separated list of the locales in the LocaleList created at construction time, 45 private static final LocaleList sEmptyLocaleList = new LocaleList(); 58 * Returns whether the {@link LocaleList} contains no {@link Locale} items. 60 * @return {@code true} if this {@link LocaleList} has no {@link Locale} items, {@code false} 68 * Returns the number of {@link Locale} items in this {@link LocaleList}. 76 * Searches this {@link LocaleList} for the specified {@link Locale} and returns the index of 97 if (!(other instanceof LocaleList)) [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
LocalePicker.java | 29 import android.os.LocaleList; 104 List<String> localeList = new ArrayList<String>(locales.length); 105 Collections.addAll(localeList, locales); 110 localeList.remove(locale); 114 Collections.sort(localeList); 118 final ArrayList<LocaleInfo> localeInfos = new ArrayList<LocaleInfo>(localeList.size()); 119 for (String locale : localeList) { 259 * @see #updateLocales(LocaleList) 262 updateLocales(new LocaleList(locale)); 270 public static void updateLocales(LocaleList locales) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
LocaleSet.java | 22 import android.os.LocaleList; 33 private final LocaleList mLocaleList; 35 private LocaleSet(LocaleList localeList, Locale defaultLocaleOverrideForTest) { 36 mLocaleList = localeList; 41 return new LocaleSet(LocaleList.getDefault(), 47 return new LocaleSet(new LocaleList(locales), locales[0]); 100 * (See {@link LocaleList}) 109 public @NonNull LocaleList getAllLocales() {
|
ContactLocaleUtils.java | 24 import android.os.LocaleList; 112 final LocaleList localeList = locales.getAllLocales(); 113 for (int i = 0; i < localeList.size(); i++) { 114 addLabels(ai, localeList.get(i), addedLocales);
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/ |
DemoUtility.java | 128 return localeList; 130 private static Locale[] localeList = {
|
/packages/apps/Settings/src/com/android/settings/localepicker/ |
LocaleDragAndDropAdapter.java | 22 import android.os.LocaleList; 274 final LocaleList ll = new LocaleList(newList); 278 private LocaleList mLocalesToSetNext = null; 279 private LocaleList mLocalesSetLast = null; 281 public void updateLocalesWhenAnimationStops(final LocaleList localeList) { 282 if (localeList.equals(mLocalesToSetNext)) { 288 LocaleList.setDefault(localeList); [all...] |
LocaleListEditor.java | 24 import android.os.LocaleList; 225 final LocaleList localeList = LocalePicker.getLocales(); 226 for (int i = 0; i < localeList.size(); i++) { 227 Locale locale = localeList.get(i);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigurationMatcher.java | 188 List<Locale> localeList = mConfigChooser.getLocaleList(); 203 for (int i = 0 ; i < localeList.size() ; i++) { 204 Locale locale = localeList.get(i); 222 Locale locale = localeList.get(localeIndex); 250 List<Locale> localeList = mConfigChooser.getLocaleList(); 278 max = localeList.size(); 286 Locale l = localeList.get(i); 353 mConfiguration.setLocale(localeList.get(match.bundle.localeIndex), true); 386 mConfiguration.setLocale(localeList.get(match.bundle.localeIndex), true); 456 List<Locale> localeList = mConfigChooser.getLocaleList() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
LayoutReloadMonitor.java | 69 public boolean localeList = false; 73 return code && resources && rClass && localeList && manifest; 348 changeFlags.localeList = true;
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
InputMethodInfoTest.java | 206 final ArrayList<String> localeList = new ArrayList<>(Arrays.asList( 229 for (final String locale : localeList) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/cldr/ |
TestCLDRVsICU.java | 253 String localeList = attributes.getValue("locales"); 255 android.icu.impl.Utility.split(localeList, ' ', currentLocaleString);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/cldr/ |
TestCLDRVsICU.java | 249 String localeList = attributes.getValue("locales"); 251 com.ibm.icu.impl.Utility.split(localeList, ' ', currentLocaleString);
|
/external/icu/icu4c/source/test/intltest/ |
loctest.cpp | [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewTest.java | 42 import android.os.LocaleList; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
GraphicalEditorPart.java | [all...] |
/prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/2.6.1/ |
icu4j-2.6.1.jar | |