Searched defs:screenshot (Results 1 - 12 of 12) 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 DScreenshotServiceErrorReceiver.java17 package com.android.systemui.screenshot;
H A DTakeScreenshotService.java17 package com.android.systemui.screenshot;
H A DScreenshotSelectorView.java17 package com.android.systemui.screenshot;
32 * Draws a selection rectangle while taking screenshot
H A DGlobalScreenshot.java17 package com.android.systemui.screenshot;
178 // The public notification will show similar info but with the actual screenshot omitted
208 * after the screenshot has been written to disk.
234 // Create screenshot directory if it doesn't exist
247 // Save the screenshot to the MediaStore
319 // Show the final notification to indicate screenshot saved
323 // Create the intent to show the screenshot in gallery
446 // Inflate the screenshot layout
509 * Creates a new worker thread and saves the screenshot to the media store.
542 * Takes a screenshot o
[all...]
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp147 ScreenshotClient screenshot; local
165 status_t result = screenshot.update(display, Rect(), 0, 0, 0, -1U,
168 base = screenshot.getPixels();
169 w = screenshot.getWidth();
170 h = screenshot.getHeight();
171 s = screenshot.getStride();
172 f = screenshot.getFormat();
173 size = screenshot.getSize();
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/
H A DTaskCardView.java295 private void setAsScreenShotView(Bitmap screenshot, ImageView screenshotView) { argument
308 screenshotView.setImageBitmap(screenshot);
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DMainInteractionSession.java133 mScreenshot = (ImageView)mContentView.findViewById(R.id.screenshot);
209 public void onHandleScreenshot(Bitmap screenshot) { argument
210 if (screenshot != null) {
211 mScreenshot.setImageBitmap(screenshot);
213 mScreenshot.setMaxWidth(screenshot.getWidth() / 3);
214 mScreenshot.setMaxHeight(screenshot.getHeight() / 3);
215 mFullScreenshot.setImageBitmap(screenshot);
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSession.java246 // structure), we don't block other incoming IPCs (such as the screenshot) to
269 public void handleScreenshot(Bitmap screenshot) {
271 screenshot));
1424 * Called to receive a screenshot of what the user was currently viewing when an assist
1429 public void onHandleScreenshot(@Nullable Bitmap screenshot) { argument
/frameworks/base/core/java/android/view/
H A DSurfaceControl.java703 * @param display The display to take the screenshot of.
704 * @param consumer The {@link Surface} to take the screenshot into.
710 * include in the screenshot.
712 * include in the screenshot.
715 * identity transformation while taking the screenshot.
717 public static void screenshot(IBinder display, Surface consumer, method in class:SurfaceControl
720 screenshot(display, consumer, new Rect(), width, height, minLayer, maxLayer,
727 * @param display The display to take the screenshot of.
728 * @param consumer The {@link Surface} to take the screenshot into.
734 public static void screenshot(IBinde method in class:SurfaceControl
745 public static void screenshot(IBinder display, Surface consumer) { method in class:SurfaceControl
779 public static Bitmap screenshot(Rect sourceCrop, int width, int height, method in class:SurfaceControl
801 public static Bitmap screenshot(int width, int height) { method in class:SurfaceControl
809 private static void screenshot(IBinder display, Surface consumer, Rect sourceCrop, method in class:SurfaceControl
[all...]
/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportProgressService.java159 * Delay before a screenshot is taken.
161 * Should be at least 3 seconds, otherwise its toast might show up in the screenshot.
206 * Flag indicating whether a screenshot is being taken.
656 * Starting point for taking a screenshot.
659 * taking the screenshot.
679 // Show a toast just once, otherwise it might be captured in the screenshot.
686 * Takes a screenshot after {@code delay} seconds.
690 Log.d(TAG, "Taking screenshot for " + id + " in " + delay + " seconds");
699 // It's time to take the screenshot: let the proper thread handle it
721 Log.d(TAG, "Not updating progress for " + info.id + " while taking screenshot"
1680 addScreenshot(File screenshot) argument
[all...]

Completed in 338 milliseconds