Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DNoOpResolverComparatorTest.java53 private NoOpResolverComparator mComparator; field in NoOpResolverComparatorTest
57 mComparator = new NoOpResolverComparator( in setUp()
66 mComparator.doCompute(originalOrder); in testKnownItemsSortInOriginalOrder()
71 Collections.sort(queryOrder, mComparator); in testKnownItemsSortInOriginalOrder()
78 mComparator.doCompute(originalOrder); in testUnknownItemsSortAfterKnownItems()
83 Collections.sort(queryOrder, mComparator); in testUnknownItemsSortAfterKnownItems()
91 mComparator.doCompute(originalOrder); in testKnownItemsGetNonZeroScoresInOrder()
93 float score1 = mComparator.getScore(resolution1.getResolveInfoAt(0)); in testKnownItemsGetNonZeroScoresInOrder()
94 float score2 = mComparator.getScore(resolution2.getResolveInfoAt(0)); in testKnownItemsGetNonZeroScoresInOrder()
104 mComparator.doCompute(originalOrder); in testUnknownItemsGetZeroScore()
[all …]
DFakeResolverComparatorModel.java33 private final Comparator<ResolveInfo> mComparator; field in FakeResolverComparatorModel
46 return mComparator; in getComparator()
62 mComparator = comparator; in FakeResolverComparatorModel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationGroupingUtil.java236 private final ViewComparator mComparator; field in NotificationGroupingUtil.Processor
253 mComparator = comparator; in Processor()
262 mApply = !mComparator.isEmpty(mParentView); in init()
279 mApply = mComparator.compare(mParentView, ownView, in compareToGroupParent()
301 if (view != null && !mComparator.isEmpty(view)) { in applyToView()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/
DDreamBackend.java142 private final DreamInfoComparator mComparator; field in DreamBackend
164 mComparator = new DreamInfoComparator(getDefaultDream()); in DreamBackend()
215 dreamInfos.sort(mComparator); in getDreamInfos()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageStatsActivity.java58 private Comparator<UsageStats> mComparator = new Comparator<UsageStats>() { field in UsageStatsActivity
241 Collections.sort(mStats, mComparator); in update()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilderTest.java2633 private final NotifComparator mComparator; field in ShadeListBuilderTest.PackageSectioner
2638 mComparator = comparator; in PackageSectioner()
2648 mComparator = null; in PackageSectioner()
2654 return mComparator; in getComparator()