Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/
DAppPredictionServiceResolverComparator.java199 List<ComponentName> getTopComponentNames(int topK) { in getTopComponentNames() argument
201 return mResolverRankerService.getTopComponentNames(topK); in getTopComponentNames()
205 .limit(topK) in getTopComponentNames()
DResolverListController.java310 public void topK(List<ResolverActivity.ResolvedComponentInfo> inputList, int k) { in topK() method in ResolverListController
391 public List<ComponentName> getTopComponentNames(int topK) { in getTopComponentNames() argument
392 return mResolverComparator.getTopComponentNames(topK); in getTopComponentNames()
DAbstractResolverComparator.java212 abstract List<ComponentName> getTopComponentNames(int topK); in getTopComponentNames() argument
DResolverRankerServiceResolverComparator.java257 List<ComponentName> getTopComponentNames(int topK) { in getTopComponentNames() argument
260 .limit(topK) in getTopComponentNames()
DResolverListAdapter.java162 public List<ComponentName> getTopComponentNames(int topK) { in getTopComponentNames() argument
163 return mResolverListController.getTopComponentNames(topK); in getTopComponentNames()
DChooserListAdapter.java893 mResolverListController.topK(params[0], in createSortingTask()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverListControllerTest.java137 mController.topK(topKList, 5); in topKEqualsToSort()
142 mController.topK(topKList, 10); in topKEqualsToSort()
147 mController.topK(topKList, 15); in topKEqualsToSort()
DAbstractResolverComparatorTest.java103 List<ComponentName> getTopComponentNames(int topK) { in getTestComparator()
DChooserActivityTest.java366 .topK(any(List.class), anyInt()); in updateChooserCountsAndModelAfterUserSelection()