Home
last modified time | relevance | path

Searched refs:imageName (Results 1 – 5 of 5) sorted by relevance

/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/utils/
DBitmapUtils.kt24 internal fun loadBitmap(imageName: String): Bitmap { in loadBitmap()
26 context.assets.open("$imageName.png").use { in loadBitmap()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchTransitionsJankTests.java63 public void clickImage(String imageName) { in clickImage() argument
65 By.res(mHelper.PACKAGE_NAME, imageName)), mHelper.TIMEOUT); in clickImage()
66 Assert.assertNotNull(imageName + "Image not found", image); in clickImage()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/util/
DImageUtils.java144 String imageName = getName(relativePath); in assertImageSimilar() local
148 error = "Widths differ too much for " + imageName + ": " + in assertImageSimilar()
152 error = "Heights differ too much for " + imageName + ": " + in assertImageSimilar()
170 File output = new File(getFailureDir(), "delta-" + imageName); in assertImageSimilar()
/platform_testing/tests/microbenchmarks/uibench/src/com/android/uibench/microbenchmark/
DIUiBenchJankHelper.java22 void clickImage(String imageName); in clickImage() argument
DUiBenchJankHelper.java365 public void clickImage(String imageName) { in clickImage() argument
368 Until.findObject(By.res(PACKAGE_NAME, imageName)), FIND_OBJECT_TIMEOUT); in clickImage()
369 Assert.assertNotNull(imageName + "Image not found", image); in clickImage()