Searched refs:mComparator (Results 1 – 6 of 6) sorted by relevance
53 private NoOpResolverComparator mComparator; field in NoOpResolverComparatorTest57 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 …]
33 private final Comparator<ResolveInfo> mComparator; field in FakeResolverComparatorModel46 return mComparator; in getComparator()62 mComparator = comparator; in FakeResolverComparatorModel()
236 private final ViewComparator mComparator; field in NotificationGroupingUtil.Processor253 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()
142 private final DreamInfoComparator mComparator; field in DreamBackend164 mComparator = new DreamInfoComparator(getDefaultDream()); in DreamBackend()215 dreamInfos.sort(mComparator); in getDreamInfos()
58 private Comparator<UsageStats> mComparator = new Comparator<UsageStats>() { field in UsageStatsActivity241 Collections.sort(mStats, mComparator); in update()
2633 private final NotifComparator mComparator; field in ShadeListBuilderTest.PackageSectioner2638 mComparator = comparator; in PackageSectioner()2648 mComparator = null; in PackageSectioner()2654 return mComparator; in getComparator()