Searched refs:screenshotHeight (Results 1 – 2 of 2) sorted by relevance
40 private var screenshotHeight = screenshots.maxOf { it.bitmap.height } in <lambda>() variable52 val aspectRatio = screenshotWidth / screenshotHeight.toFloat() in limitLongestSide()54 screenshotHeight = (screenshotHeight * (sizePx.toFloat() / screenshotWidth)).toInt() in limitLongestSide()56 } else if (aspectRatio < 1 && sizePx < screenshotHeight) { in limitLongestSide()57 screenshotWidth = (screenshotWidth * (sizePx.toFloat() / screenshotHeight)).toInt() in limitLongestSide()58 screenshotHeight = sizePx in limitLongestSide()74 FilmstripOrientation.AUTOMATIC -> screenshotWidth <= screenshotHeight78 val scaleY = screenshotHeight.toFloat() / screenshots.maxOf { it.bitmap.height } in <lambda>()82 HorizontalFilmstripRenderer(screenshots, screenshotWidth, screenshotHeight, scale)84 VerticalFilmstripRenderer(screenshots, screenshotWidth, screenshotHeight, scale)[all …]
33 private var screenshotHeight = screenshots.maxOf { it.bitmap.height } in <lambda>() variable in platform.test.motion.filmstrip.VideoRenderer44 val bitrate = (screenshotWidth * screenshotHeight * bitsPerPixel * FRAME_RATE).toInt() in <lambda>()46 val format = MediaFormat.createVideoFormat(mime, screenshotWidth, screenshotHeight) in <lambda>()