Searched refs:screenshot (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/ |
D | MainInteractionSession.java | 149 public void onHandleScreenshot(/*@Nullable*/ Bitmap screenshot) { in onHandleScreenshot() argument 150 Log.i(TAG, String.format("onHandleScreenshot - Screenshot: %s", screenshot)); in onHandleScreenshot() 151 super.onHandleScreenshot(screenshot); in onHandleScreenshot() 153 if (screenshot != null) { in onHandleScreenshot() 157 boolean screenshotMatches = compareScreenshot(screenshot, mCurColor); in onHandleScreenshot() 169 private boolean compareScreenshot(Bitmap screenshot, int color) { in compareScreenshot() argument 172 if (screenshot.getWidth() != size.x || screenshot.getHeight() != size.y) { in compareScreenshot() 173 Log.i(TAG, "width or height didn't match: " + size + " vs " + screenshot.getWidth() in compareScreenshot() 174 + "," + screenshot.getHeight()); in compareScreenshot() 178 screenshot.getPixels(pixels, 0, size.x, 0, 0, size.x, size.y); in compareScreenshot()
|
/cts/hostsidetests/devicepolicy/app/Assistant/src/com/android/cts/devicepolicy/assistapp/ |
D | MyInteractionSessionService.java | 45 public void onHandleScreenshot(Bitmap screenshot) { in onHandleScreenshot() argument 46 Log.d(TAG, "onHandleScreenshot() called with: screenshot = [" + screenshot + "]"); in onHandleScreenshot() 49 intent.putExtra(KEY_HAS_SCREENSHOT, screenshot != null); in onHandleScreenshot()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TextureViewTest.java | 97 Bitmap screenshot = mInstrumentation.getUiAutomation().takeScreenshot(); in getPixel() local 98 int pixel = screenshot.getPixel(point.x, point.y); in getPixel() 99 screenshot.recycle(); in getPixel()
|
/cts/common/util/src/com/android/compatibility/common/util/ |
D | ResultHandler.java | 422 String screenshot = r.getScreenshot(); in writeResults() local 423 if (screenshot != null) { in writeResults() 425 serializer.text(screenshot); in writeResults()
|