Home
last modified time | relevance | path

Searched refs:aspectRatio (Results 1 – 2 of 2) sorted by relevance

/platform_testing/libraries/motion/src/platform/test/motion/filmstrip/
DFilmstrip.kt52 val aspectRatio = screenshotWidth / screenshotHeight.toFloat() in limitLongestSide() constant
53 if (aspectRatio >= 1 && sizePx < screenshotWidth) { in limitLongestSide()
56 } else if (aspectRatio < 1 && sizePx < screenshotHeight) { in limitLongestSide()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/region/
DRegionSubject.kt398 val aspectRatio = thisBounds.width().toFloat() / thisBounds.height() in <lambda>() constant
400 if (abs(aspectRatio - otherAspectRatio) > threshold) { in <lambda>()
410 .addExtraDescription("Region aspect ratio", aspectRatio) in <lambda>()