Searched refs:screenshot (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/ |
D | MainInteractionSession.java | 139 public void onHandleScreenshot(/*@Nullable*/ Bitmap screenshot) { in onHandleScreenshot() argument 140 Log.i(TAG, String.format("onHandleScreenshot - Screenshot: %s", screenshot)); in onHandleScreenshot() 141 super.onHandleScreenshot(screenshot); in onHandleScreenshot() 143 if (screenshot != null) { in onHandleScreenshot() 147 boolean screenshotMatches = compareScreenshot(screenshot, mCurColor); in onHandleScreenshot() 159 private boolean compareScreenshot(Bitmap screenshot, int color) { in compareScreenshot() argument 162 if (screenshot.getWidth() != size.x || screenshot.getHeight() != size.y) { in compareScreenshot() 163 Log.i(TAG, "width or height didn't match: " + size + " vs " + screenshot.getWidth() in compareScreenshot() 164 + "," + screenshot.getHeight()); in compareScreenshot() 168 screenshot.getPixels(pixels, 0, size.x, 0, 0, size.x, size.y); in compareScreenshot()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TextureViewTest.java | 91 Bitmap screenshot = mInstrumentation.getUiAutomation().takeScreenshot(); in getPixel() local 92 int pixel = screenshot.getPixel(point.x, point.y); in getPixel() 93 screenshot.recycle(); in getPixel()
|
/cts/common/util/src/com/android/compatibility/common/util/ |
D | ResultHandler.java | 345 String screenshot = r.getScreenshot(); in writeResults() local 346 if (screenshot != null) { in writeResults() 348 serializer.text(screenshot); in writeResults()
|