/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/listbuilder/ |
D | SemiStableSortTest.kt | 194 assertTrue(emptyList<Int>().isSorted(intCmp)) in <lambda>() 195 assertTrue(listOf(1).isSorted(intCmp)) in <lambda>() 196 assertTrue(listOf(1, 2).isSorted(intCmp)) in <lambda>() 197 assertTrue(listOf(1, 2, 3).isSorted(intCmp)) in <lambda>() 198 assertTrue(listOf(1, 2, 3, 4).isSorted(intCmp)) in <lambda>() 199 assertTrue(listOf(1, 2, 3, 4, 5).isSorted(intCmp)) in <lambda>() 200 assertTrue(listOf(1, 1, 1, 1, 1).isSorted(intCmp)) in <lambda>() 201 assertTrue(listOf(1, 1, 2, 2, 3, 3).isSorted(intCmp)) in <lambda>() 202 assertFalse(listOf(2, 1).isSorted(intCmp)) in <lambda>() 203 assertFalse(listOf(2, 1, 2).isSorted(intCmp)) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/ |
D | SemiStableSort.kt | 71 val isOrdered = result.isSorted(comparator) in <lambda>() 95 val isOrdered = result.isSorted(stableRankComparator) in <lambda>() 177 fun <T> List<T>.isSorted(comparator: Comparator<T>): Boolean { in <lambda>() method
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | ShadeListBuilderTest.java | 2271 assertTrue(ShadeListBuilder.isSorted(Collections.emptyList(), intCmp)); in testIsSorted() 2272 assertTrue(ShadeListBuilder.isSorted(Collections.singletonList(1), intCmp)); in testIsSorted() 2273 assertTrue(ShadeListBuilder.isSorted(Arrays.asList(1, 2), intCmp)); in testIsSorted() 2274 assertTrue(ShadeListBuilder.isSorted(Arrays.asList(1, 2, 3), intCmp)); in testIsSorted() 2275 assertTrue(ShadeListBuilder.isSorted(Arrays.asList(1, 2, 3, 4), intCmp)); in testIsSorted() 2276 assertTrue(ShadeListBuilder.isSorted(Arrays.asList(1, 2, 3, 4, 5), intCmp)); in testIsSorted() 2277 assertTrue(ShadeListBuilder.isSorted(Arrays.asList(1, 1, 1, 1, 1), intCmp)); in testIsSorted() 2278 assertTrue(ShadeListBuilder.isSorted(Arrays.asList(1, 1, 2, 2, 3, 3), intCmp)); in testIsSorted() 2280 assertFalse(ShadeListBuilder.isSorted(Arrays.asList(2, 1), intCmp)); in testIsSorted() 2281 assertFalse(ShadeListBuilder.isSorted(Arrays.asList(2, 1, 2), intCmp)); in testIsSorted() [all …]
|
/frameworks/base/tools/aapt/ |
D | StringPool.cpp | 64 pool->isSorted() ? "sorted" : "non-sorted", in printStringPool()
|
/frameworks/base/tools/aapt2/ |
D | Debug.cpp | 454 pool->isSorted() ? "sorted" : "non-sorted", N, pool->styleCount(), in DumpResStringPool()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 554 bool isSorted() const;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | ShadeListBuilder.java | 1039 public static <T> boolean isSorted(List<T> items, Comparator<? super T> comparator) { in isSorted() method in ShadeListBuilder
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1250 bool ResStringPool::isSorted() const in isSorted() function in android::ResStringPool
|