Searched defs:screenshot (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DScreenshotStubActivity.java16 package com.android.systemui.screenshot;
H A DScreenshotTest.java16 package com.android.systemui.screenshot;
30 * Functional tests for the global screenshot feature.
44 * to trigger the screenshot, and verifies the screenshot was taken successfully.
61 // unlikely, but check if a new screenshot file was already created
63 // wait for screenshot to be created
68 assertNotNull(String.format("Could not find screenshot after %d seconds",
73 assertTrue(String.format("Detected new screenshot %s but its not a file",
75 assertTrue(String.format("Detected new screenshot %s but its not an image",
105 * Inject the key sequence to take a screenshot
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DTakeScreenshotService.java17 package com.android.systemui.screenshot;
H A DGlobalScreenshot.java17 package com.android.systemui.screenshot;
175 // omit the actual screenshot image.
217 // Create screenshot directory if it doesn't exist
224 // Save the screenshot to the MediaStore
295 // Show the final notification to indicate screenshot saved
298 // Create the intent to show the screenshot in gallery
394 // Inflate the screenshot layout
453 * Creates a new worker thread and saves the screenshot to the media store.
486 * Takes a screenshot of the current display and shows an animation.
489 // We need to orient the screenshot correctl
[all...]
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp142 ScreenshotClient screenshot; local
144 if (display != NULL && screenshot.update(display, Rect(), false) == NO_ERROR) {
145 base = screenshot.getPixels();
146 w = screenshot.getWidth();
147 h = screenshot.getHeight();
148 s = screenshot.getStride();
149 f = screenshot.getFormat();
150 size = screenshot.getSize();
/frameworks/base/core/java/android/view/
H A DSurfaceControl.java624 * @param display The display to take the screenshot of.
625 * @param consumer The {@link Surface} to take the screenshot into.
631 * include in the screenshot.
633 * include in the screenshot.
636 * identity transformation while taking the screenshot.
638 public static void screenshot(IBinder display, Surface consumer, method in class:SurfaceControl
641 screenshot(display, consumer, new Rect(), width, height, minLayer, maxLayer,
648 * @param display The display to take the screenshot of.
649 * @param consumer The {@link Surface} to take the screenshot into.
655 public static void screenshot(IBinde method in class:SurfaceControl
666 public static void screenshot(IBinder display, Surface consumer) { method in class:SurfaceControl
700 public static Bitmap screenshot(Rect sourceCrop, int width, int height, method in class:SurfaceControl
722 public static Bitmap screenshot(int width, int height) { method in class:SurfaceControl
730 private static void screenshot(IBinder display, Surface consumer, Rect sourceCrop, method in class:SurfaceControl
[all...]

Completed in 596 milliseconds