Home
last modified time | relevance | path

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

/cts/tests/tests/gameservice/src/android/service/games/
DGameServiceTest.java655 final Bitmap gameScreenshot = ImageDecoder.decodeBitmap(source).copy( in takeScreenshot_expectedScreenshotSaved() local
659 assertThat(gameScreenshot.getWidth()).isEqualTo(screenSize.getWidth()); in takeScreenshot_expectedScreenshotSaved()
660 assertThat(gameScreenshot.getHeight()).isEqualTo(screenSize.getHeight()); in takeScreenshot_expectedScreenshotSaved()
670 gameScreenshot.getPixel(overlayBounds.left + 1, in takeScreenshot_expectedScreenshotSaved()
674 assertThat(gameScreenshot.getPixel(overlayBounds.left + 1, in takeScreenshot_expectedScreenshotSaved()
678 gameScreenshot.getPixel(overlayBounds.right - 1, in takeScreenshot_expectedScreenshotSaved()
682 assertThat(gameScreenshot.getPixel(overlayBounds.right - 1, in takeScreenshot_expectedScreenshotSaved()
686 gameScreenshot.getPixel((overlayBounds.left + overlayBounds.right) / 2, in takeScreenshot_expectedScreenshotSaved()
695 gameScreenshot.getPixel(overlayBounds.left / 2, in takeScreenshot_expectedScreenshotSaved()
699 assertThat(gameScreenshot.getPixel(overlayBounds.left / 2, in takeScreenshot_expectedScreenshotSaved()
[all …]