Home
last modified time | relevance | path

Searched refs:mRankingComparator (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationData.java72 protected final Comparator<NotificationEntry> mRankingComparator = field in NotificationData
429 mRankingComparator.compare(mSortedAndFiltered.get(0), mSortedAndFiltered.get(0)); in filterAndSort()
431 Collections.sort(mSortedAndFiltered, mRankingComparator); in filterAndSort()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationDataTest.java500 assertEquals(1, mNotificationData.mRankingComparator.compare(a, b)); in testSort_highPriorityTrumpsNMSRank()
535 assertEquals(-1, mNotificationData.mRankingComparator.compare(a, b)); in testSort_samePriorityUsesNMSRank()