/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/ |
D | DefaultAppSearchAlgorithm.java | 152 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/ |
D | RegionZonePicker.java | 136 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()
|
D | RegionSearchPicker.java | 179 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/ |
D | RegionZonePicker.java | 136 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()
|
D | RegionSearchPicker.java | 179 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/ |
D | AutoManagePermissionsFragment.java | 48 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()
|
D | AutoPermissionAppsFragment.java | 74 private Collator mCollator; field in AutoPermissionAppsFragment 90 mCollator = Collator.getInstance( in onCreate() 212 int result = mCollator.compare(x.getLabel(), y.getLabel()); in onPermissionsLoaded()
|
D | AutoAppPermissionsFragment.java | 54 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/ |
D | ManagePermissionsFragment.java | 53 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()
|
D | AdjustUserSensitiveFragment.java | 70 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()
|
D | AppPermissionsFragment.java | 79 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()
|
D | PermissionAppsFragment.java | 107 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/ |
D | ContactRecipientAdapter.java | 248 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/ |
D | LabelComparator.java | 27 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/ |
D | SavedNetworkComparator.java | 28 final Collator mCollator = Collator.getInstance(); 32 return mCollator.compare(
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/savedaccesspoints/ |
D | SavedNetworkComparator.java | 28 final Collator mCollator = Collator.getInstance(); 32 return mCollator.compare(
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetItemComparator.java | 32 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/ |
D | LiveWallpaperListAdapter.java | 162 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/ |
D | PendingList.java | 106 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/ |
D | ZenRuleSelectionDialog.java | 214 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/ |
D | ZenRuleSelectionDialog.java | 214 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/ |
D | LiveWallpaperInfo.java | 90 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/ |
D | AppPicker.java | 144 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/ |
D | AppWidgetLoader.java | 161 Collator mCollator = Collator.getInstance(); in getItems() 164 return mCollator.compare(lhs.getLabel(), rhs.getLabel()); in getItems()
|
/packages/apps/Settings/src/com/android/settings/ |
D | AppWidgetLoader.java | 161 Collator mCollator = Collator.getInstance(); in getItems() 164 return mCollator.compare(lhs.getLabel(), rhs.getLabel()); in getItems()
|