Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
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()
/frameworks/base/core/tests/coretests/src/android/widget/
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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconsInteractor.kt239 subList: List<SubscriptionModel>, in filterSubsBasedOnOpportunistic()
244 if (subList.size != 2) { in filterSubsBasedOnOpportunistic()
245 return subList in filterSubsBasedOnOpportunistic()
248 val info1 = subList[0] in filterSubsBasedOnOpportunistic()
249 val info2 = subList[1] in filterSubsBasedOnOpportunistic()
253 return subList in filterSubsBasedOnOpportunistic()
258 return subList in filterSubsBasedOnOpportunistic()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/
DShadeListBuilderHelper.kt41 subLists.add(itemList.subList(currentSectionStartIndex, i)) in getContiguousSubLists()
49 subLists.add(itemList.subList(currentSectionStartIndex, numEntries)) in getContiguousSubLists()
DSemiStableSort.kt68 val result = output.takeIf { it.isEmpty() } ?: output.subList(output.size, output.size) in <lambda>()
92 val result = output.takeIf { it.isEmpty() } ?: output.subList(output.size, output.size) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DPatternBouncerViewModelTest.kt121 CORRECT_PATTERN.subList(0, index + 1).map { in <lambda>()
132 x = CORRECT_PATTERN.subList(0, index + 1).last().x, in <lambda>()
133 y = CORRECT_PATTERN.subList(0, index + 1).last().y, in <lambda>()
151 CORRECT_PATTERN.subList(0, 3).forEach { coordinate -> dragToCoordinate(coordinate) } in <lambda>()
307 CORRECT_PATTERN.subList( in <lambda>()
334 CORRECT_PATTERN.subList(2, 7).forEach(::dragToCoordinate) in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DRequestSadActionTest.java361 concatenateSads(mSupportedSads.subList(0, 4)))).isTrue(); in allSupported_completeResult()
363 concatenateSads(mSupportedSads.subList(4, 8)))).isTrue(); in allSupported_completeResult()
365 concatenateSads(mSupportedSads.subList(8, 12)))).isTrue(); in allSupported_completeResult()
367 concatenateSads(mSupportedSads.subList(12, 15)))).isTrue(); in allSupported_completeResult()
431 concatenateSads(mSupportedSads.subList(0, 3)))).isTrue(); in subsetSupported_subsetResult()
433 concatenateSads(mSupportedSads.subList(3, 4)))).isTrue(); in subsetSupported_subsetResult()
435 concatenateSads(mSupportedSads.subList(4, 8)))).isTrue(); in subsetSupported_subsetResult()
437 concatenateSads(mSupportedSads.subList(8, 9)))).isTrue(); in subsetSupported_subsetResult()
636 concatenateSads(mSupportedSads.subList(0, 4)))).isTrue(); in selectedSads_allSupported_completeResult()
638 concatenateSads(mSupportedSads.subList(4, 8)))).isTrue(); in selectedSads_allSupported_completeResult()
[all …]
/frameworks/base/tools/codegen/src/com/android/codegen/
DFileInfo.kt94 mainClassBounds.fileInfo.sourceLines.subList(0, mainClassBounds.range.start))) in <lambda>()
213 val initial = Code(lines = classBounds.fileInfo.sourceLines.subList( in <lambda>()
224 chunks += Code(lines = classBounds.fileInfo.sourceLines.subList( in <lambda>()
232 GeneratedCode(classBounds.fileInfo.sourceLines.subList( in <lambda>()
/frameworks/base/services/people/java/com/android/server/people/data/
DAggregateEventHistoryImpl.java91 results.addAll(lhs.subList(i, lhs.size())); in combineEventLists()
93 results.addAll(rhs.subList(j, rhs.size())); in combineEventLists()
DEventList.java122 mEvents.subList(i, eventsSize).clear(); in removeOldEvents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
DPinInputViewModel.kt59 previousInput.subList(previousInput.indexOfLastClearAllToKeep(), previousInput.size) in <lambda>()
109 return input.subList(startIndex, input.size).takeWhile { it is Digit }.map { it as Digit } in getDigits()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dump/
DDumpsysTableLoggerTest.kt86 val data = lines.subList(3, lines.size - 1) in <lambda>()
96 val data = lines.subList(3, lines.size - 1) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
DKeyguardTransitionRepositoryTest.kt127 assertSteps(steps.subList(0, 4), firstTransitionSteps, AOD, LOCKSCREEN) in <lambda>()
131 assertSteps(steps.subList(4, steps.size), secondTransitionSteps, LOCKSCREEN, AOD) in <lambda>()
162 assertSteps(steps.subList(0, 4), firstTransitionSteps, AOD, LOCKSCREEN) in <lambda>()
166 assertSteps(steps.subList(4, steps.size), secondTransitionSteps, LOCKSCREEN, AOD) in <lambda>()
197 assertSteps(steps.subList(0, 4), firstTransitionSteps, AOD, LOCKSCREEN) in <lambda>()
201 assertSteps(steps.subList(4, steps.size), secondTransitionSteps, LOCKSCREEN, AOD) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DTimeLimitedInputEventBuffer.java185 public List<T> subList(int fromIndex, int toIndex) { in subList() method in TimeLimitedInputEventBuffer
186 return mInputEvents.subList(fromIndex, toIndex); in subList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyChipBuilder.kt38 return subList(0, size - 1).joinTo(StringBuilder(), separator = separator).apply { in joinWithAnd()
/frameworks/base/mime/java/android/content/type/
DDefaultMimeMapFactory.java99 builder.addMimeMapping(specs.get(0), specs.subList(1, specs.size())); in parseTypes()
/frameworks/base/media/java/android/media/browse/
DMediaBrowserUtils.java104 return list.subList(fromIndex, toIndex); in applyPagingOptions()
/frameworks/base/services/tests/vibrator/utils/com/android/server/vibrator/
DFakeVibratorControllerProvider.java364 for (List<VibrationEffectSegment> subList : mEffectSegments.values()) { in getAllEffectSegments()
365 result.addAll(subList); in getAllEffectSegments()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DChoreographerCallbacks.java90 toExecute = new ArrayList<>(mCallbacks.subList(0, idx)); in execute()
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DSourceTransformer.kt204 val oldLines = processedCode.subList(begin, range.end.line) in <lambda>()
223 val oldLines = processedCode.subList(begin, range.end.line) in <lambda>()
/frameworks/base/services/core/java/com/android/server/vibrator/
DComposePwleVibratorStep.java135 ? segments.subList(0, bestBreakPosition) in unrollRampSegments()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/interactor/
DCurrentTilesInteractorImplTest.kt478 underTest.removeTiles(specs.subList(0, 1)) in removeTile_platform()
480 assertThat(tiles).isEqualTo(specs.subList(1, 2)) in removeTile_platform()
496 assertThat(tiles).isEqualTo(specs.subList(0, 1)) in removeTile_customTile_lifecycleEnded()
531 underTest.removeTiles(currentSpecs.subList(0, 2)) in removeTiles_currentUser()
534 assertThat(tiles1).isEqualTo(currentSpecs.subList(2, 3)) in removeTiles_currentUser()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java416 mLastEvents.addAll(newLogs.subList(pos, newLogs.size())); in saveLastEvents()
465 dedupedLogs.addAll(newLogs.subList(curPos, newLogs.size())); in mergeBatchLocked()
488 mPendingLogs = new ArrayList<>(mPendingLogs.subList( in addToLegacyBufferLocked()
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/
DMultipleStaticMocksTest.java63 assertThat(mCollected.subList(n, mCollected.size())) in verifyCollected()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DCornerPathRenderer.java94 for (PointF point : points.subList(1, points.size())) { in toPath()

123