/packages/apps/Launcher3/src/com/android/launcher3/search/ |
D | StringMatcherUtility.java | 114 private final Collator mCollator; field in StringMatcherUtility.StringMatcher 119 mCollator = Collator.getInstance(); in StringMatcher() 120 mCollator.setStrength(Collator.PRIMARY); in StringMatcher() 121 mCollator.setDecomposition(Collator.CANONICAL_DECOMPOSITION); in StringMatcher() 128 switch (mCollator.compare(query, target)) { in matches() 136 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/modules/Permission/PermissionController/src/com/android/permissioncontroller/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 | 67 private Collator mCollator; field in AutoAppPermissionsFragment 106 mCollator = Collator.getInstance( in onCreate() 195 groups.sort((x, y) -> mCollator.compare(x.getLabel(), y.getLabel())); in updatePreferences()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | ManagePermissionsFragment.java | 50 private Collator mCollator; field in ManagePermissionsFragment 61 mCollator = Collator.getInstance( in onCreate() 150 mCollator.compare(lhs.getTitle().toString(), rhs.getTitle().toString()), in updatePermissionsUi()
|
D | AllAppPermissionsFragment.java | 68 private Collator mCollator; field in AllAppPermissionsFragment 119 mCollator = Collator.getInstance( in onCreate() 222 return mCollator.compare(lhs.getTitle().toString(), rhs.getTitle().toString()); in comparePreferences()
|
D | AppPermissionGroupsFragment.java | 121 private Collator mCollator; field in AppPermissionGroupsFragment 180 mCollator = Collator.getInstance( in onCreate() 583 groupLabels.sort(mCollator); in setAutoRevokeToggleState() 599 return mCollator.compare(lhs.getTitle().toString(), in comparePreferences()
|
D | PermissionAppsFragment.java | 122 private Collator mCollator; field in PermissionAppsFragment 136 mCollator = Collator.getInstance( in onCreate() 478 int result = mCollator.compare(lhs.getTitle().toString(), in comparePreference()
|
/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/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/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/modules/Permission/PermissionController/src/com/android/permissioncontroller/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/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/ |
D | Contact.java | 211 private Collator mCollator; field in Contact 691 if (mCollator == null || mLocale == null || !mLocale.equals(currentLocale)) { in compareNames() 692 mCollator = Collator.getInstance(currentLocale); in compareNames() 695 return mCollator.compare(name == null ? "" : name, otherName == null ? "" : otherName); in compareNames()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
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/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()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/ |
D | PictureInPictureSettings.java | 69 private final Collator mCollator = Collator.getInstance(); field in PictureInPictureSettings.AppComparator 82 int nameCmp = mCollator.compare(sa.toString(), sb.toString()); in compare()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
D | AccountType.java | 486 private final Collator mCollator = Collator.getInstance(); field in AccountType.DisplayLabelComparator 499 return mCollator.compare(getDisplayLabel(lhs), getDisplayLabel(rhs)); in compare()
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | AccountType.java | 519 private final Collator mCollator = Collator.getInstance(); field in AccountType.DisplayLabelComparator 532 return mCollator.compare(getDisplayLabel(lhs), getDisplayLabel(rhs)); in compare()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | LiveWallpaperInfo.java | 300 final Collator mCollator = Collator.getInstance(); in getAllOnDevice() 304 return mCollator.compare(info1.loadLabel(pm), info2.loadLabel(pm)); in getAllOnDevice()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
D | AppPermissionGroup.java | 97 private final Collator mCollator; field in AppPermissionGroup 455 mCollator = Collator.getInstance( in AppPermissionGroup() 1314 final int result = mCollator.compare(mLabel.toString(), another.mLabel.toString());
|