Searched defs:screenshot (Results 1 - 7 of 7) 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.
57 // unlikely, but check if a new screenshot file was already created
59 // wait for screenshot to be created
64 assertNotNull(String.format("Could not find screenshot after %d seconds",
69 assertTrue(String.format("Detected new screenshot %s but its not a file",
71 assertTrue(String.format("Detected new screenshot %s but its not an image",
101 * 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;
196 // Create screenshot directory if it doesn't exist
203 // Save the screenshot to the MediaStore
275 // Show the final notification to indicate screenshot saved
278 // Create the intent to show the screenshot in gallery
356 // Inflate the screenshot layout
402 * Creates a new worker thread and saves the screenshot to the media store.
433 * Takes a screenshot of the current display and shows an animation.
436 // We need to orient the screenshot correctly (and the Surface api seems to take screenshots
451 // Take the screenshot
[all...]
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp142 ScreenshotClient screenshot; local
144 if (display != NULL && screenshot.update(display) == 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/jni/
H A Dandroid_view_SurfaceControl.cpp64 ScreenshotPixelRef(const SkImageInfo& info, ScreenshotClient* screenshot) : argument
66 mScreenshot(screenshot) {
126 ScreenshotClient* screenshot = new ScreenshotClient(); local
129 ? screenshot->update(displayToken, width, height)
130 : screenshot->update(displayToken, width, height, minLayer, maxLayer))
131 : screenshot->update(displayToken);
133 delete screenshot;
138 screenshotInfo.fWidth = screenshot->getWidth();
139 screenshotInfo.fHeight = screenshot->getHeight();
141 switch (screenshot
[all...]
/frameworks/base/core/java/android/view/
H A DSurfaceControl.java524 * @param display The display to take the screenshot of.
525 * @param consumer The {@link Surface} to take the screenshot into.
531 * include in the screenshot.
533 * include in the screenshot.
535 public static void screenshot(IBinder display, Surface consumer, method in class:SurfaceControl
537 screenshot(display, consumer, width, height, minLayer, maxLayer, false);
543 * @param display The display to take the screenshot of.
544 * @param consumer The {@link Surface} to take the screenshot into.
550 public static void screenshot(IBinder display, Surface consumer, method in class:SurfaceControl
552 screenshot(displa
561 public static void screenshot(IBinder display, Surface consumer) { method in class:SurfaceControl
586 public static Bitmap screenshot(int width, int height, int minLayer, int maxLayer) { method in class:SurfaceControl
605 public static Bitmap screenshot(int width, int height) { method in class:SurfaceControl
612 private static void screenshot(IBinder display, Surface consumer, method in class:SurfaceControl
[all...]

Completed in 1744 milliseconds