Home
last modified time | relevance | path

Searched refs:subList (Results 1 – 25 of 57) sorted by relevance

123

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
H A DListGridLayout.java96 ViewGroup subList = getSublist(i); in removeAllItems() local
97 if (subList != null) { in removeAllItems()
98 subList.removeAllViews(); in removeAllItems()
99 subList.setVisibility(View.GONE); in removeAllItems()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/
H A DEditTextCursorAnchorInfoTest.java256 assertThat(lineBounds).isEqualTo(DEFAULT_LINE_BOUNDS.subList(0, 3)); in testVisibleLineBounds_cutBottomLines()
270 List<RectF> expectedLineBounds = subList(DEFAULT_LINE_BOUNDS, 2, 5); in testVisibleLineBounds_scrolled_cutTopLines()
289 List<RectF> expectedLineBounds = subList(DEFAULT_LINE_BOUNDS, 2, 4); in testVisibleLineBounds_scrolled_cutTopAndBottomLines()
306 List<RectF> expectedLineBounds = subList(DEFAULT_LINE_BOUNDS, 2, 4); in testVisibleLineBounds_scrolled_partiallyVisibleLines()
344 List<RectF> expectedLineBounds = subList(DEFAULT_LINE_BOUNDS, 0, 2); in testVisibleLineBounds_withCompoundDrawable_cutBottomLines()
366 List<RectF> expectedLineBounds = subList(DEFAULT_LINE_BOUNDS, 1, 3); in testVisibleLineBounds_withCompoundDrawable_scrolled()
388 List<RectF> expectedLineBounds = subList(DEFAULT_LINE_BOUNDS, 0, 3); in testVisibleLineBounds_withCompoundDrawable_partiallyVisible()
422 List<RectF> expectedLineBounds = subList(DEFAULT_LINE_BOUNDS, 0, 2); in testVisibleLineBounds_withPaddings_cutBottomLines()
443 List<RectF> expectedLineBounds = subList(DEFAULT_LINE_BOUNDS, 1, 3); in testVisibleLineBounds_withPaddings_scrolled()
464 List<RectF> expectedLineBounds = subList(DEFAULT_LINE_BOUNDS, 0, 3); in testVisibleLineBounds_withPadding_partiallyVisible()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/
H A DShadeListBuilderHelper.kt41 subLists.add(itemList.subList(currentSectionStartIndex, i))
49 subLists.add(itemList.subList(currentSectionStartIndex, numEntries))
H A DSemiStableSort.kt68 val result = output.takeIf { it.isEmpty() } ?: output.subList(output.size, output.size)
92 val result = output.takeIf { it.isEmpty() } ?: output.subList(output.size, output.size)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bouncer/ui/viewmodel/
H A DPatternBouncerViewModelTest.kt150 CORRECT_PATTERN.subList(0, index + 1).map {
161 x = CORRECT_PATTERN.subList(0, index + 1).last().x,
162 y = CORRECT_PATTERN.subList(0, index + 1).last().y,
188 CORRECT_PATTERN.subList(0, 3).forEach { coordinate ->
221 CORRECT_PATTERN.subList(2, 7).forEach { coordinate ->
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
H A DRequestSadActionTest.java354 concatenateSads(mSupportedSads.subList(0, 4)))).isTrue(); in allSupported_completeResult()
356 concatenateSads(mSupportedSads.subList(4, 8)))).isTrue(); in allSupported_completeResult()
358 concatenateSads(mSupportedSads.subList(8, 12)))).isTrue(); in allSupported_completeResult()
360 concatenateSads(mSupportedSads.subList(12, 15)))).isTrue(); in allSupported_completeResult()
424 concatenateSads(mSupportedSads.subList(0, 3)))).isTrue(); in subsetSupported_subsetResult()
426 concatenateSads(mSupportedSads.subList(3, 4)))).isTrue(); in subsetSupported_subsetResult()
428 concatenateSads(mSupportedSads.subList(4, 8)))).isTrue(); in subsetSupported_subsetResult()
430 concatenateSads(mSupportedSads.subList(8, 9)))).isTrue(); in subsetSupported_subsetResult()
629 concatenateSads(mSupportedSads.subList(0, 4)))).isTrue(); in selectedSads_allSupported_completeResult()
631 concatenateSads(mSupportedSads.subList(4, 8)))).isTrue(); in selectedSads_allSupported_completeResult()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
H A DKeyguardTransitionInteractorTest.kt83 assertThat(aodToLockscreenSteps).isEqualTo(steps.subList(2, 5))
84 assertThat(lockscreenToAodSteps).isEqualTo(steps.subList(5, 8))
106 assertThat(dozeAmountSteps.subList(0, 3))
114 assertThat(dozeAmountSteps.subList(3, 7)).isEqualTo(steps.subList(3, 7))
/aosp14/frameworks/base/tools/codegen/src/com/android/codegen/
H A DFileInfo.kt94 mainClassBounds.fileInfo.sourceLines.subList(0, mainClassBounds.range.start)))
213 val initial = Code(lines = classBounds.fileInfo.sourceLines.subList(
224 chunks += Code(lines = classBounds.fileInfo.sourceLines.subList(
232 GeneratedCode(classBounds.fileInfo.sourceLines.subList(
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
H A DPinInputViewModel.kt61 previousInput.subList(previousInput.indexOfLastClearAllToKeep(), previousInput.size)
111 return input.subList(startIndex, input.size).takeWhile { it is Digit }.map { it as Digit }
/aosp14/frameworks/base/services/people/java/com/android/server/people/data/
H A DAggregateEventHistoryImpl.java91 results.addAll(lhs.subList(i, lhs.size())); in combineEventLists()
93 results.addAll(rhs.subList(j, rhs.size())); in combineEventLists()
H A DEventList.java122 mEvents.subList(i, eventsSize).clear(); in removeOldEvents()
H A DEventIndex.java381 result.addAll(longerSlots.subList(i, longerSlots.size())); in combineTimeSlotLists()
383 result.addAll(shorterSlots.subList(j, shorterSlots.size())); in combineTimeSlotLists()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dump/
H A DDumpsysTableLoggerTest.kt86 val data = lines.subList(3, lines.size - 1)
96 val data = lines.subList(3, lines.size - 1)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DTimeLimitedMotionEventBuffer.java185 public List<MotionEvent> subList(int fromIndex, int toIndex) { in subList() method in TimeLimitedMotionEventBuffer
186 return mMotionEvents.subList(fromIndex, toIndex); in subList()
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DSecurityLogMonitor.java323 mLastEvents.addAll(newLogs.subList(pos, newLogs.size())); in saveLastEvents()
375 List<SecurityEvent> idLogs = newLogs.subList(curPos, newLogs.size()); in mergeBatchLocked()
386 mPendingLogs = new ArrayList<>(mPendingLogs.subList( in mergeBatchLocked()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
H A DPrivacyChipBuilder.kt38 return subList(0, size - 1).joinTo(StringBuilder(), separator = separator).apply {
/aosp14/frameworks/base/mime/java/android/content/type/
H A DDefaultMimeMapFactory.java99 builder.addMimeMapping(specs.get(0), specs.subList(1, specs.size())); in parseTypes()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/pipeline/domain/interactor/
H A DCurrentTilesInteractorImplTest.kt467 underTest.removeTiles(specs.subList(0, 1))
469 assertThat(tiles).isEqualTo(specs.subList(1, 2))
485 assertThat(tiles).isEqualTo(specs.subList(0, 1))
520 underTest.removeTiles(currentSpecs.subList(0, 2))
523 assertThat(tiles1).isEqualTo(currentSpecs.subList(2, 3))
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DFakeVibratorControllerProvider.java356 for (List<VibrationEffectSegment> subList : mEffectSegments.values()) { in getAllEffectSegments()
357 result.addAll(subList); in getAllEffectSegments()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
H A DKeyguardTransitionRepositoryTest.kt107 assertSteps(steps.subList(0, 4), firstTransitionSteps, AOD, LOCKSCREEN)
110 assertSteps(steps.subList(4, steps.size), secondTransitionSteps, LOCKSCREEN, AOD)
/aosp14/frameworks/base/services/core/java/com/android/server/vibrator/
H A DComposePwleVibratorStep.java136 ? segments.subList(0, bestBreakPosition) in unrollRampSegments()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DRemoteDisplayChangeController.java151 mCallbacks.subList(0, idx + 1).clear(); in continueDisplayChange()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
H A DCornerPathRenderer.java94 for (PointF point : points.subList(1, points.size())) { in toPath()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/
H A DMediaTttCommandLineHelper.kt102 args.subList(2, args.size).forEach {
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DResolverListControllerTest.java149 sortList.subList(0, 5), topKList.subList(0, 5)); in topKEqualsToSort()

123