Home
last modified time | relevance | path

Searched defs:comparator (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DAbstractResolverComparatorTest.java53 AbstractResolverComparator comparator = getTestComparator(context); in testPositionFixed() local
70 AbstractResolverComparator comparator = getTestComparator(context); in testPinned() local
95 AbstractResolverComparator comparator = getTestComparator(context); in testBothPinned() local
DFakeResolverComparatorModel.java36 Comparator<ResolveInfo> comparator) { in makeModelFromComparator()
61 private FakeResolverComparatorModel(Comparator<ResolveInfo> comparator) { in FakeResolverComparatorModel()
/frameworks/base/core/java/com/android/internal/util/
DQuickSelect.java34 @NonNull Comparator<? super T> comparator) { in selectImpl()
83 @NonNull Comparator<? super T> comparator) { in selectImpl()
100 @NonNull Comparator<? super T> comparator) { in partition()
143 @NonNull Comparator<? super T> comparator) { in partition()
194 @NonNull Comparator<? super T> comparator) { in select()
250 @NonNull Comparator<? super T> comparator) { in select()
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/ui/mappers/
DCredentialSelectorUiStateGetMapper.kt68 val comparator = compareBy<CredentialEntryInfo> { entryInfo -> in entryInfo() constant
/frameworks/compile/mclinker/include/mcld/ADT/
DHashEntry.tcc23 static KeyCompare comparator; in compare() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DFlowDumper.kt88 val comparator = compareBy<Pair<String, String>> { it.first }.thenBy { it.second } in dumpFlows() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/
DNotifSection.kt34 val comparator: NotifComparator? = sectioner.comparator constant in com.android.systemui.statusbar.notification.collection.listbuilder.NotifSection
DSemiStableSort.kt106 withIndexOfComparator(sortedItems) { comparator -> in <lambda>() method
/frameworks/libs/native_bridge_support/android_api/linker/
Dlinker_translate_path.cpp140 auto comparator = [name](auto p) { return strcmp(name, p[0]) == 0; }; in translateSystemPathToApexPath() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilderTest.java890 NotifComparator comparator = spy(new HypeComparator(PACKAGE_2, PACKAGE_4)); in testThatSectionComparatorsAreCalled() local
929 NotifComparator comparator = spy(new HypeComparator(PACKAGE_3)); in testThatSectionComparatorsAreNotCalledForSectionWithSingleEntry() local
960 NotifComparator comparator = spy(new HypeComparator(PACKAGE_4)); in testListenersAndPluggablesAreFiredInOrder() local
1875 NotifComparator comparator = new HypeComparator(PACKAGE_1); in testOutOfOrderComparatorInvalidationDoesNotThrowBeforeTooManyRuns() local
1898 NotifComparator comparator = new HypeComparator(PACKAGE_1); in testOutOfOrderComparatorInvalidationThrowsAfterTooManyRuns() local
2635 PackageSectioner(List<String> pkgs, NotifComparator comparator) { in PackageSectioner()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/getflow/
DGetModel.kt225 val comparator = CredentialEntryInfoComparatorByTypeThenTimestamp(typePriorityMap) in toProviderDisplayInfo() constant
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java59 TestGrouping(Comparator<Class<? extends TestCase>> comparator, ClassLoader classLoader) { in TestGrouping()
/frameworks/base/core/java/com/android/internal/app/
DAppPredictionServiceResolverComparator.java233 AbstractResolverComparator comparator) { in adaptLegacyResolverComparatorToComparatorModel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/data/repository/
DMediaFilterRepository.kt95 private val comparator = in <lambda>() constant
/frameworks/base/services/core/java/com/android/server/compat/overrides/
DAppCompatOverridesParser.java203 PackageOverrideComparator comparator = new PackageOverrideComparator(versionCode); in parsePackageOverrides() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilder.java381 private void onNotifComparatorInvalidated(NotifComparator comparator, @Nullable String reason) { in onNotifComparatorInvalidated()
1039 public static <T> boolean isSorted(List<T> items, Comparator<? super T> comparator) { in isSorted()
1194 final NotifComparator comparator = notifSection.getComparator(); in cleanupPluggables() local
/frameworks/libs/native_bridge_support/android_api/
Dapi_analysis.py353 def mark_incompatible_api_with_comparator( argument
/frameworks/libs/binary_translation/kernel_api/tools/
Dapi_analysis.py351 def mark_incompatible_api_with_comparator( argument
/frameworks/base/core/java/android/widget/
DArrayAdapter.java342 public void sort(@NonNull Comparator<? super T> comparator) { in sort()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java939 public ArrayList<AppEntry> rebuild(AppFilter filter, Comparator<AppEntry> comparator) { in rebuild()
943 public ArrayList<AppEntry> rebuild(AppFilter filter, Comparator<AppEntry> comparator, in rebuild()
965 Comparator<AppEntry> comparator; in handleRebuildList() local
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup2.cpp389 auto comparator = [](const char* str1, const char* str2) -> bool { in compile() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationGroupingUtil.java248 ViewComparator comparator, in Processor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsFavoritingActivity.kt92 private lateinit var comparator: Comparator<StructureContainer> in <lambda>() variable in com.android.systemui.controls.management.ControlsFavoritingActivity
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1104 Comparator<Size> comparator = new SizeComparator(); in getAscendingOrderSizes() local
1121 Comparator<Size> comparator = new SizeComparator(); in getSortedSizesForFormat() local
/frameworks/base/core/java/android/hardware/camera2/params/
DMandatoryStreamCombination.java2459 Comparator<Size> comparator = new SizeComparator(); in getAscendingOrderSizes() local

12