Searched refs:screenshots (Results 1 – 7 of 7) sorted by relevance
/platform_testing/libraries/motion/src/platform/test/motion/filmstrip/ |
D | Filmstrip.kt | 31 class Filmstrip(private val screenshots: List<MotionScreenshot>) { constant in platform.test.motion.filmstrip.Filmstrip 33 require(screenshots.isNotEmpty()) { "Filmstrip must have at least one screenshot" } in <lambda>() 39 private var screenshotWidth = screenshots.maxOf { it.bitmap.width } in <lambda>() 40 private var screenshotHeight = screenshots.maxOf { it.bitmap.height } in <lambda>() 64 check(screenshots.isNotEmpty()) { "Filmstrip can only be rendered with screenshots" } in renderFilmstrip() 77 val scaleX = screenshotWidth.toFloat() / screenshots.maxOf { it.bitmap.width } in <lambda>() 78 val scaleY = screenshotHeight.toFloat() / screenshots.maxOf { it.bitmap.height } in <lambda>() 82 HorizontalFilmstripRenderer(screenshots, screenshotWidth, screenshotHeight, scale) 84 VerticalFilmstripRenderer(screenshots, screenshotWidth, screenshotHeight, scale) 101 val screenshots: List<MotionScreenshot>, constant in platform.test.motion.filmstrip.FilmstripRenderer [all …]
|
D | VideoRenderer.kt | 30 class VideoRenderer(private val screenshots: List<MotionScreenshot>) { in <lambda>() constant in platform.test.motion.filmstrip.VideoRenderer 32 private var screenshotWidth = screenshots.maxOf { it.bitmap.width } in <lambda>() 33 private var screenshotHeight = screenshots.maxOf { it.bitmap.height } in <lambda>() 41 require(screenshots.isNotEmpty()) { "Filmstrip must have at least one screenshot" } in <lambda>() 71 val screenshotIterator = screenshots.iterator() in <lambda>() 84 screenshots in <lambda>()
|
/platform_testing/libraries/motion/tests/src/platform/test/motion/filmstrip/ |
D | FilmstripTest.kt | 72 val screenshots = in horizontalFilmstrip() constant 80 Filmstrip(screenshots).apply { orientation = FilmstripOrientation.HORIZONTAL } in horizontalFilmstrip() 89 val screenshots = in horizontalFilmstrip_labelsWiderThanScreenshot() constant 102 Filmstrip(screenshots).apply { orientation = FilmstripOrientation.HORIZONTAL } in horizontalFilmstrip_labelsWiderThanScreenshot() 108 val screenshots = in horizontalFilmstrip_variableSize_tileMatchesLargestDimensions() constant 116 Filmstrip(screenshots).apply { orientation = FilmstripOrientation.HORIZONTAL } in horizontalFilmstrip_variableSize_tileMatchesLargestDimensions() 125 val screenshots = in verticalFilmstrip() constant 133 Filmstrip(screenshots).apply { orientation = FilmstripOrientation.VERTICAL } in verticalFilmstrip() 142 val screenshots = in verticalFilmstrip_labelsTallerThanScreenshot() constant 149 Filmstrip(screenshots).apply { orientation = FilmstripOrientation.VERTICAL } in verticalFilmstrip_labelsTallerThanScreenshot() [all …]
|
/platform_testing/libraries/motion/src/platform/test/motion/ |
D | RecordedMotion.kt | 36 screenshots: List<Bitmap>?, in <lambda>() 44 if (screenshots != null) { in <lambda>() 46 timeSeries.frameIds.zip(screenshots) { frameId, bitmap -> in <lambda>() 58 fun MotionTestRule<*>.create(timeSeries: TimeSeries, screenshots: List<Bitmap>?) = in <lambda>() 63 screenshots, in <lambda>()
|
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | TestScreenshotsMetadata.java | 49 Set<TestScreenshotsMetadata.ScreenshotMetadata> screenshots) { in TestScreenshotsMetadata() argument 51 mScreenshotMetadataSet = screenshots; in TestScreenshotsMetadata()
|
/platform_testing/libraries/motion/tests/src/platform/test/motion/truth/ |
D | RecordedMotionSubjectTest.kt | 157 val screenshots = in <lambda>() constant 167 screenshots in <lambda>()
|
/platform_testing/libraries/motion/tests/src/platform/test/motion/ |
D | MotionTestRuleTest.kt | 49 screenshots = null
|