Searched refs:TimestampFrameId (Results 1 – 11 of 11) sorted by relevance
/platform_testing/libraries/motion/tests/src/platform/test/motion/golden/ |
D | JsonGoldenSerializerTest.kt | 58 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()
|
D | TimeSeriesTest.kt | 30 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/ |
D | FilmstripTest.kt | 29 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/ |
D | VideoRenderer.kt | 27 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/ |
D | MotionTestRuleTest.kt | 33 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/ |
D | RecordedMotionSubjectTest.kt | 44 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>()
|
D | TimeSeriesSubjectTest.kt | 28 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/ |
D | TimeSeries.kt | 54 data class TimestampFrameId(val milliseconds: Long) : FrameId { dataClass
|
D | JsonGoldenSerializer.kt | 69 is Number -> TimestampFrameId(jsonValue.toLong()) in frameIdFromJson() 77 is TimestampFrameId -> frameId.milliseconds in frameIdToJson()
|
/platform_testing/libraries/motion/src/platform/test/motion/view/ |
D | ViewToolkit.kt | 36 import platform.test.motion.golden.TimestampFrameId in <lambda>() 184 return TimestampFrameId(currentPlayTime) in seekTo()
|
/platform_testing/libraries/motion/compose/src/platform/test/motion/compose/ |
D | ComposeToolkit.kt | 66 import platform.test.motion.golden.TimestampFrameId in <lambda>() 253 recordFrame(TimestampFrameId(mainClock.currentTime - startFrameTime)) in recordMotion()
|