Home | History | Annotate | Download | only in shell

Lines Matching refs:screenshot

51      * Takes a screenshot.
53 * @return The screenshot bitmap on success, null otherwise.
90 Log.d(TAG, "Taking screenshot of dimensions " + displayWidth + " x " + displayHeight);
91 // Take the screenshot
92 Bitmap screenShot =
93 SurfaceControl.screenshot((int) screenshotWidth, (int) screenshotHeight);
94 if (screenShot == null) {
95 Log.e(TAG, "Failed to take screenshot of dimensions " + screenshotWidth + " x "
100 // Rotate the screenshot to the current orientation
109 canvas.drawBitmap(screenShot, 0, 0, null);
111 screenShot.recycle();
112 screenShot = unrotatedScreenShot;
116 screenShot.setHasAlpha(false);
118 return screenShot;