Home
last modified time | relevance | path

Searched refs:mComparator (Results 1 – 9 of 9) sorted by relevance

/packages/apps/TV/src/com/android/tv/dvr/ui/
DSortedArrayAdapter.java37 private final Comparator<T> mComparator; field in SortedArrayAdapter
49 mComparator = comparator; in SortedArrayAdapter()
62 Collections.sort(itemsCopy, mComparator); in setInitialItems()
171 if (mComparator.compare(old, item) == 0) { in change()
213 if (mComparator.compare(r, item) <= 0) { in findInsertPosition()
226 int compareResult = mComparator.compare(item, r); in findInsertPositionBinary()
/packages/apps/PermissionController/src/com/android/permissioncontroller/role/ui/
DRoleListSortFunction.java36 private final Comparator<RoleItem> mComparator; field in RoleListSortFunction
41 mComparator = Comparator.comparing(roleItem -> context.getString( in RoleListSortFunction()
49 sorted.sort(mComparator); in apply()
DRoleSortFunction.java42 private final Comparator<Pair<ApplicationInfo, Boolean>> mComparator; field in RoleSortFunction
51 mComparator = labelComparator.thenComparing(userIdComparator); in RoleSortFunction()
59 sorted.sort(mComparator); in apply()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DManageApplicationsController.java49 private final Comparator<ApplicationsState.AppEntry> mComparator; field in ManageApplicationsController
104 mComparator = comparator; in ManageApplicationsController()
117 ArrayList<ApplicationsState.AppEntry> apps = mAppSession.rebuild(filter, mComparator); in updateAppList()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalMergeAlbum.java41 private final Comparator<MediaItem> mComparator; field in LocalMergeAlbum
54 mComparator = comparator; in LocalMergeAlbum()
141 if (k == -1 || mComparator.compare(slot[j], slot[k]) < 0) { in getMediaItem()
/packages/apps/TV/src/com/android/tv/ui/
DSelectInputView.java56 private final TvInputManagerHelper.HardwareInputComparator mComparator; field in SelectInputView
149 mComparator = in SelectInputView()
268 Collections.sort(mInputList, mComparator); in buildInputListAndNotify()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsListAdapter.java212 private final LabelComparator mComparator = new LabelComparator(); field in WidgetsListAdapter.WidgetListRowEntryComparator
216 return mComparator.compare(a.pkgItem.title.toString(), b.pkgItem.title.toString()); in compare()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactRecipientAdapter.java105 private final RecipientEntryComparator mComparator = new RecipientEntryComparator(); field in ContactRecipientAdapter.ContactFilter
216 Collections.sort(tempEntries, mComparator); in performFiltering()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java340 protected RawContactDeltaComparator mComparator; field in ContactEditorFragment
472 mComparator = new RawContactDeltaComparator(mContext); in onAttach()