Home
last modified time | relevance | path

Searched refs:mLocaleList (Results 1 – 5 of 5) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLocaleSet.java34 private final LocaleList mLocaleList; field in LocaleSet
37 mLocaleList = localeList; in LocaleSet()
111 return mLocaleList; in getAllLocales()
125 for (int i = 0; i < mLocaleList.size(); i++) { in shouldPreferJapanese()
126 final Locale l = mLocaleList.get(i); in shouldPreferJapanese()
144 for (int i = 0; i < mLocaleList.size(); i++) { in shouldPreferSimplifiedChinese()
145 final Locale l = mLocaleList.get(i); in shouldPreferSimplifiedChinese()
163 return Objects.equals(mLocaleList, LocaleList.getDefault()); in isCurrent()
173 return mLocaleList.equals(other.mLocaleList); in equals()
180 return mLocaleList.toString(); in toString()
/packages/apps/Settings/tests/robotests/src/com/android/settings/localepicker/
DLocaleListEditorTest.java109 private List<LocaleStore.LocaleInfo> mLocaleList; field in LocaleListEditorTest
273 when(mAdapter.getFeedItemList()).thenReturn(mLocaleList); in showConfirmDialog_systemLocaleSelected_shouldShowLocaleChangeDialog()
341 when(mAdapter.getFeedItemList()).thenReturn(mLocaleList); in onTouch_dragDifferentLocaleToTop_showConfirmDialog()
355 when(mAdapter.getFeedItemList()).thenReturn(mLocaleList); in onTouch_dragSameLocaleToTop_updateAdapter()
464 mLocaleList = new ArrayList<>(); in onBindViewHolder_shouldSetCheckedBoxText()
465 mLocaleList.add(mLocaleInfo); in onBindViewHolder_shouldSetCheckedBoxText()
469 mAdapter = spy(new LocaleDragAndDropAdapter(mLocaleListEditor, mLocaleList)); in onBindViewHolder_shouldSetCheckedBoxText()
470 ReflectionHelpers.setField(mAdapter, "mFeedItemList", mLocaleList); in onBindViewHolder_shouldSetCheckedBoxText()
471 ReflectionHelpers.setField(mAdapter, "mCacheItemList", new ArrayList<>(mLocaleList)); in onBindViewHolder_shouldSetCheckedBoxText()
491 mLocaleList = new ArrayList<>(); in setUpLocaleConditions()
[all …]
/packages/apps/Settings/src/com/android/settings/regionalpreferences/
DNumberingSystemController.java34 private LocaleList mLocaleList; field in NumberingSystemController
39 mLocaleList = getNumberingSystemLocale(); in NumberingSystemController()
55 return mLocaleList.isEmpty() ? CONDITIONALLY_UNAVAILABLE : AVAILABLE; in getAvailabilityStatus()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java90 protected LocaleList mLocaleList = LocaleList.getEmptyLocaleList(); field in BaseIconCache
230 mLocaleList = mContext.getResources().getConfiguration().getLocales(); in updateSystemState()
231 mSystemState = mLocaleList.toLanguageTags() + "," + Build.VERSION.SDK_INT; in updateSystemState()
272 componentName.getPackageName(), cachingLogic.getKeywords(object, mLocaleList)); in addIconToDBAndMemCache()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSsidTranslatorTest.java59 private @Mock LocaleList mLocaleList; field in SsidTranslatorTest
68 when(mConfiguration.getLocales()).thenReturn(mLocaleList); in setUp()
69 when(mLocaleList.get(0)).thenReturn(mLocale); in setUp()