Home
last modified time | relevance | path

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

/cts/tests/tests/gameservice/src/android/service/games/
DGameServiceTest.java640 final Rect overlayBounds = waitForTouchableOverlayBounds(); in takeScreenshot_expectedScreenshotSaved() local
670 gameScreenshot.getPixel(overlayBounds.left + 1, in takeScreenshot_expectedScreenshotSaved()
671 overlayBounds.top + 1)).isEqualTo( in takeScreenshot_expectedScreenshotSaved()
674 assertThat(gameScreenshot.getPixel(overlayBounds.left + 1, in takeScreenshot_expectedScreenshotSaved()
675 overlayBounds.bottom - 1)).isEqualTo(Color.RED); in takeScreenshot_expectedScreenshotSaved()
678 gameScreenshot.getPixel(overlayBounds.right - 1, in takeScreenshot_expectedScreenshotSaved()
679 overlayBounds.top + 1)).isEqualTo( in takeScreenshot_expectedScreenshotSaved()
682 assertThat(gameScreenshot.getPixel(overlayBounds.right - 1, in takeScreenshot_expectedScreenshotSaved()
683 overlayBounds.bottom - 1)).isEqualTo(Color.RED); in takeScreenshot_expectedScreenshotSaved()
686 gameScreenshot.getPixel((overlayBounds.left + overlayBounds.right) / 2, in takeScreenshot_expectedScreenshotSaved()
[all …]