Home
last modified time | relevance | path

Searched refs:TimestampFrameId (Results 1 – 11 of 11) sorted by relevance

/platform_testing/libraries/motion/tests/src/platform/test/motion/golden/
DJsonGoldenSerializerTest.kt58 TimeSeries(listOf(TimestampFrameId(33)), listOf()), in timestampFrameId_asNumber()
83 listOf(TimestampFrameId(1)), in feature_withSingleDataPoint_specifiesType()
94 listOf(TimestampFrameId(1), TimestampFrameId(2)), in feature_withMultipleDataPoints_specifiesType()
106 listOf(TimestampFrameId(1), TimestampFrameId(2)), in feature_withNullDataPoints_specifiesTypeAndHandlesNull()
118 listOf(TimestampFrameId(1), TimestampFrameId(2)), in feature_withNotFoundDataPoints_specifiesTypeAndHandlesNotFound()
130 listOf(TimestampFrameId(1)), in feature_withNullOnlyDataPoints_noType()
142 listOf(TimestampFrameId(1), TimestampFrameId(2)), in serialize_featureWithMultipleTypesPerDataPoint_throws()
154 listOf(TimestampFrameId(1), TimestampFrameId(2)), in serialize_featureWithUnknownDataPoints_throws()
177 listOf(TimestampFrameId(1), TimestampFrameId(2)), in deserialize_featureWithUnknownType_producesUnknown()
DTimeSeriesTest.kt30 val frameIds = listOf(TimestampFrameId(0)) in moreDataPointsThanFrames_throws()
39 val frameIds = listOf(TimestampFrameId(0), TimestampFrameId(1)) in lessDataPointsThanFrames_throws()
/platform_testing/libraries/motion/tests/src/platform/test/motion/filmstrip/
DFilmstripTest.kt29 import platform.test.motion.golden.TimestampFrameId
54 Filmstrip(listOf(MotionScreenshot(TimestampFrameId(10), mockScreenshot(Color.RED)))) in horizontalSingleFrame()
62 Filmstrip(listOf(MotionScreenshot(TimestampFrameId(10), mockScreenshot(Color.RED)))) in verticalSingleFrame()
74 MotionScreenshot(TimestampFrameId(10), mockScreenshot(Color.RED, w, h)), in horizontalFilmstrip()
75 MotionScreenshot(TimestampFrameId(20), mockScreenshot(Color.GREEN, w, h)), in horizontalFilmstrip()
110 MotionScreenshot(TimestampFrameId(1), mockScreenshot(Color.RED, 100, 200)), in horizontalFilmstrip_variableSize_tileMatchesLargestDimensions()
111 MotionScreenshot(TimestampFrameId(2), mockScreenshot(Color.GREEN, 150, 75)), in horizontalFilmstrip_variableSize_tileMatchesLargestDimensions()
112 MotionScreenshot(TimestampFrameId(3), mockScreenshot(Color.BLUE, 50, 50)), in horizontalFilmstrip_variableSize_tileMatchesLargestDimensions()
127 MotionScreenshot(TimestampFrameId(10), mockScreenshot(Color.RED, w, h)), in verticalFilmstrip()
128 MotionScreenshot(TimestampFrameId(20), mockScreenshot(Color.GREEN, w, h)), in verticalFilmstrip()
[all …]
/platform_testing/libraries/motion/src/platform/test/motion/filmstrip/
DVideoRenderer.kt27 import platform.test.motion.golden.TimestampFrameId in <lambda>()
87 first.frameId is TimestampFrameId && in <lambda>()
88 second.frameId is TimestampFrameId in <lambda>()
/platform_testing/libraries/motion/tests/src/platform/test/motion/
DMotionTestRuleTest.kt33 import platform.test.motion.golden.TimestampFrameId
143 listOf(TimestampFrameId(0), TimestampFrameId(16), SupplementalFrameId("after")), in writeGeneratedTimeSeries_withScreenshots_writesVideoAndIncludesMetadata()
/platform_testing/libraries/motion/tests/src/platform/test/motion/truth/
DRecordedMotionSubjectTest.kt44 import platform.test.motion.golden.TimestampFrameId in <lambda>()
102 doReturn(TimeSeries(listOf(TimestampFrameId(1L)), emptyList())) in <lambda>()
155 actual: TimeSeries = TimeSeries(listOf(TimestampFrameId(0L)), emptyList()) in <lambda>()
DTimeSeriesSubjectTest.kt28 import platform.test.motion.golden.TimestampFrameId in <lambda>()
171 private fun createFrames(frameCount: Int) = List(frameCount) { TimestampFrameId(it.toLong()) } in <lambda>()
/platform_testing/libraries/motion/src/platform/test/motion/golden/
DTimeSeries.kt54 data class TimestampFrameId(val milliseconds: Long) : FrameId { class
DJsonGoldenSerializer.kt69 is Number -> TimestampFrameId(jsonValue.toLong()) in frameIdFromJson()
77 is TimestampFrameId -> frameId.milliseconds in frameIdToJson()
/platform_testing/libraries/motion/src/platform/test/motion/view/
DViewToolkit.kt36 import platform.test.motion.golden.TimestampFrameId in <lambda>()
184 return TimestampFrameId(currentPlayTime) in seekTo()
/platform_testing/libraries/motion/compose/src/platform/test/motion/compose/
DComposeToolkit.kt66 import platform.test.motion.golden.TimestampFrameId in <lambda>()
253 recordFrame(TimestampFrameId(mainClock.currentTime - startFrameTime)) in recordMotion()