Home
last modified time | relevance | path

Searched refs:mCollator (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DDefaultAppSearchAlgorithm.java152 private final Collator mCollator; field in DefaultAppSearchAlgorithm.StringMatcher
157 mCollator = Collator.getInstance(); in StringMatcher()
158 mCollator.setStrength(Collator.PRIMARY); in StringMatcher()
159 mCollator.setDecomposition(Collator.CANONICAL_DECOMPOSITION); in StringMatcher()
166 switch (mCollator.compare(query, target)) { in matches()
174 return mCollator.compare(query + MAX_UNICODE, target) > -1; in matches()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DRegionZonePicker.java136 private Collator mCollator; field in RegionZonePicker.TimeZoneInfoComparator
141 mCollator = collator; in TimeZoneInfoComparator()
154 result = mCollator.compare(tzi1.getExemplarLocation(), tzi2.getExemplarLocation()); in compare()
157 result = mCollator.compare(tzi1.getGenericName(), tzi2.getGenericName()); in compare()
DRegionSearchPicker.java179 private final Collator mCollator; field in RegionSearchPicker.RegionInfoComparator
182 mCollator = collator; in RegionInfoComparator()
187 return mCollator.compare(r1.getTitle(), r2.getTitle()); in compare()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DRegionZonePicker.java136 private Collator mCollator; field in RegionZonePicker.TimeZoneInfoComparator
141 mCollator = collator; in TimeZoneInfoComparator()
154 result = mCollator.compare(tzi1.getExemplarLocation(), tzi2.getExemplarLocation()); in compare()
157 result = mCollator.compare(tzi1.getGenericName(), tzi2.getGenericName()); in compare()
DRegionSearchPicker.java179 private final Collator mCollator; field in RegionSearchPicker.RegionInfoComparator
182 mCollator = collator; in RegionInfoComparator()
187 return mCollator.compare(r1.getTitle(), r2.getTitle()); in compare()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoManagePermissionsFragment.java48 private Collator mCollator; field in AutoManagePermissionsFragment
58 mCollator = Collator.getInstance( in onCreate()
116 groups.sort((x, y) -> mCollator.compare(x.getLabel(), y.getLabel())); in updatePermissionsUi()
DAutoPermissionAppsFragment.java74 private Collator mCollator; field in AutoPermissionAppsFragment
90 mCollator = Collator.getInstance( in onCreate()
212 int result = mCollator.compare(x.getLabel(), y.getLabel()); in onPermissionsLoaded()
DAutoAppPermissionsFragment.java54 private Collator mCollator; field in AutoAppPermissionsFragment
97 mCollator = Collator.getInstance( in onCreate()
171 groups.sort((x, y) -> mCollator.compare(x.getLabel(), y.getLabel())); in updatePreferences()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DManagePermissionsFragment.java53 private Collator mCollator; field in ManagePermissionsFragment
67 mCollator = Collator.getInstance( in onCreate()
124 groups.sort((x, y) -> mCollator.compare(x.getLabel(), y.getLabel())); in updatePermissionsUi()
DAdjustUserSensitiveFragment.java70 private Collator mCollator; field in AdjustUserSensitiveFragment
115 mCollator = Collator.getInstance(getContext().getResources().getConfiguration().getLocales() in onCreate()
155 mCollator.compare(mLabelCache.get(a.packageName), mLabelCache.get(b.packageName))); in updateOverrideUi()
DAppPermissionsFragment.java79 private Collator mCollator; field in AppPermissionsFragment
130 mCollator = Collator.getInstance( in onCreate()
229 groups.sort((x, y) -> mCollator.compare(x.getLabel(), y.getLabel())); in updatePreferences()
DPermissionAppsFragment.java107 private Collator mCollator; field in PermissionAppsFragment
129 mCollator = Collator.getInstance( in onCreate()
265 int result = mCollator.compare(x.getLabel(), y.getLabel()); in onPermissionsLoaded()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactRecipientAdapter.java248 private final Collator mCollator; field in ContactRecipientAdapter.ContactFilter.RecipientEntryComparator
251 mCollator = Collator.getInstance(Locale.getDefault()); in RecipientEntryComparator()
252 mCollator.setStrength(Collator.PRIMARY); in RecipientEntryComparator()
274 final int displayNameCompare = mCollator.compare(lhs.getDisplayName(), in compare()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLabelComparator.java27 private final Collator mCollator = Collator.getInstance(); field in LabelComparator
44 return mCollator.compare(titleA, titleB); in compare()
/packages/apps/Settings/src/com/android/settings/wifi/savedaccesspoints/
DSavedNetworkComparator.java28 final Collator mCollator = Collator.getInstance();
32 return mCollator.compare(
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/savedaccesspoints/
DSavedNetworkComparator.java28 final Collator mCollator = Collator.getInstance();
32 return mCollator.compare(
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetItemComparator.java32 private final Collator mCollator = Collator.getInstance(); field in WidgetItemComparator
44 int labelCompare = mCollator.compare(a.label, b.label); in compare()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperListAdapter.java162 final Collator mCollator; in doInBackground()
165 mCollator = Collator.getInstance(); in doInBackground()
169 return mCollator.compare(info1.loadLabel(packageManager), in doInBackground()
/packages/apps/PermissionController/src/com/android/packageinstaller/incident/
DPendingList.java106 private Collator mCollator; field in PendingList.Updater
116 mCollator = Collator.getInstance( in Updater()
163 return mCollator.compare(a.label, b.label); in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenRuleSelectionDialog.java214 private final Collator mCollator = Collator.getInstance();
218 int byAppName = mCollator.compare(lhs.packageLabel, rhs.packageLabel);
222 return mCollator.compare(lhs.title, rhs.title);
/packages/apps/Settings/src/com/android/settings/notification/
DZenRuleSelectionDialog.java214 private final Collator mCollator = Collator.getInstance();
218 int byAppName = mCollator.compare(lhs.packageLabel, rhs.packageLabel);
222 return mCollator.compare(lhs.title, rhs.title);
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DLiveWallpaperInfo.java90 final Collator mCollator = Collator.getInstance(); in doInBackground()
93 return mCollator.compare(info1.loadLabel(pm), info2.loadLabel(pm)); in doInBackground()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DAppPicker.java144 private final Collator mCollator = Collator.getInstance(); in onCreateActions()
148 return mCollator.compare(a.getTitle(), b.getTitle()); in onCreateActions()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DAppWidgetLoader.java161 Collator mCollator = Collator.getInstance(); in getItems()
164 return mCollator.compare(lhs.getLabel(), rhs.getLabel()); in getItems()
/packages/apps/Settings/src/com/android/settings/
DAppWidgetLoader.java161 Collator mCollator = Collator.getInstance(); in getItems()
164 return mCollator.compare(lhs.getLabel(), rhs.getLabel()); in getItems()

12