Home
last modified time | relevance | path

Searched refs:comparator (Results 1 – 17 of 17) sorted by relevance

/frameworks/compile/mclinker/include/mcld/ADT/
DHashEntry.tcc23 static KeyCompare comparator; in compare() local
24 return comparator(m_Key, pKey); in compare()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java62 public TestGrouping(Comparator<Class<? extends TestCase>> comparator) { in TestGrouping() argument
63 testCaseClasses = new TreeSet<Class<? extends TestCase>>(comparator); in TestGrouping()
100 return this.testCaseClasses.comparator().equals(other.testCaseClasses.comparator()); in equals()
/frameworks/base/core/java/android/widget/
DArrayAdapter.java297 public void sort(@NonNull Comparator<? super T> comparator) { in sort() argument
300 Collections.sort(mOriginalValues, comparator); in sort()
302 Collections.sort(mObjects, comparator); in sort()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java578 public ArrayList<AppEntry> rebuild(AppFilter filter, Comparator<AppEntry> comparator) { in rebuild() argument
579 return rebuild(filter, comparator, true); in rebuild()
582 public ArrayList<AppEntry> rebuild(AppFilter filter, Comparator<AppEntry> comparator, in rebuild() argument
590 mRebuildComparator = comparator; in rebuild()
622 Comparator<AppEntry> comparator; in handleRebuildList() local
629 comparator = mRebuildComparator; in handleRebuildList()
655 if (comparator != null) { in handleRebuildList()
666 if (comparator != null) { in handleRebuildList()
667 Collections.sort(filteredApps, comparator); in handleRebuildList()
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup2.cpp339 auto comparator = [](const char* str1, const char* str2) -> bool { in compile() local
342 std::set<const char*, decltype(comparator)> inputSet(comparator); in compile()
/frameworks/support/v4/java/android/support/v4/widget/
DFocusStrategy.java46 final SequentialComparator<T> comparator = new SequentialComparator<>(isLayoutRtl, adapter); in findNextFocusInRelativeDirection() local
47 Collections.sort(sortedFocusables, comparator); in findNextFocusInRelativeDirection()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationHeaderUtil.java252 ViewComparator comparator, in HeaderProcessor() argument
257 mComparator = comparator; in HeaderProcessor()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1066 Comparator<Size> comparator = new SizeComparator(); in getAscendingOrderSizes() local
1069 Collections.sort(sortedSizes, comparator); in getAscendingOrderSizes()
1083 Comparator<Size> comparator = new SizeComparator(); in getSortedSizesForFormat() local
1089 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
1099 Collections.sort(sortedSizes, comparator); in getSortedSizesForFormat()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeupTimer.java103 mEventQueue.comparator()); in recalculatePeriods()
/frameworks/support/design/src/android/support/design/widget/
DCoordinatorLayout.java2722 private static void selectionSort(final List<View> list, final Comparator<View> comparator) { in selectionSort() argument
2735 if (comparator.compare(array[j], array[min]) < 0) { in selectionSort()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java1511 final Comparator<FilterStats> comparator = new Comparator<FilterStats>() { in dumpImpl() local
1530 ? Arrays.binarySearch(topFilters, 0, len, fs, comparator) : 0; in dumpImpl()
1583 Collections.sort(tmpFilters, comparator); in dumpImpl()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java2374 final Comparator<Configuration> comparator = new Comparator<Configuration>() {
2383 Collections.sort(configs, comparator);
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java15322 Comparator<Pair<ProcessRecord, Integer>> comparator in dumpProcessOomList() local
15340 Collections.sort(list, comparator); in dumpProcessOomList()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt48611 method public java.util.Comparator<? super E> comparator();
48840 method public abstract java.util.Comparator<? super K> comparator();
48849 method public abstract java.util.Comparator<? super E> comparator();
48939 method public java.util.Comparator<? super K> comparator();
48971 method public java.util.Comparator<? super E> comparator();
49240 method public java.util.Comparator<? super K> comparator();
49276 method public java.util.Comparator<? super E> comparator();
49665 method public java.util.Comparator<? super E> comparator();
/frameworks/base/api/
Dcurrent.txt58454 method public java.util.Comparator<? super E> comparator();
58695 method public abstract java.util.Comparator<? super K> comparator();
58707 method public abstract java.util.Comparator<? super E> comparator();
58940 method public java.util.Comparator<? super K> comparator();
58976 method public java.util.Comparator<? super E> comparator();
59438 method public java.util.Comparator<? super K> comparator();
59481 method public java.util.Comparator<? super E> comparator();
59912 method public java.util.Comparator<? super E> comparator();
Dsystem-current.txt61811 method public java.util.Comparator<? super E> comparator();
62052 method public abstract java.util.Comparator<? super K> comparator();
62064 method public abstract java.util.Comparator<? super E> comparator();
62297 method public java.util.Comparator<? super K> comparator();
62333 method public java.util.Comparator<? super E> comparator();
62795 method public java.util.Comparator<? super K> comparator();
62838 method public java.util.Comparator<? super E> comparator();
63269 method public java.util.Comparator<? super E> comparator();
Dtest-current.txt58534 method public java.util.Comparator<? super E> comparator();
58775 method public abstract java.util.Comparator<? super K> comparator();
58787 method public abstract java.util.Comparator<? super E> comparator();
59020 method public java.util.Comparator<? super K> comparator();
59056 method public java.util.Comparator<? super E> comparator();
59518 method public java.util.Comparator<? super K> comparator();
59561 method public java.util.Comparator<? super E> comparator();
59992 method public java.util.Comparator<? super E> comparator();