Searched refs:screenshot (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
H A DIAssistScreenshotReceiver.aidl23 void send(in Bitmap screenshot);
/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/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/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiAutomatorBridge.java109 Bitmap screenshot = mUiAutomation.takeScreenshot();
110 if (screenshot == null) {
117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos);
131 screenshot.recycle();
/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;
51 // the screenshot, so skip taking it instead of showing a misleading
54 Log.w(TAG, "Skipping screenshot because storage is locked!");
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;
179 // The public notification will show similar info but with the actual screenshot omitted
210 * after the screenshot has been written to disk.
236 // Create screenshot directory if it doesn't exist
249 // Save the screenshot to the MediaStore
321 // Show the final notification to indicate screenshot saved
325 // Create the intent to show the screenshot in gallery
449 // Inflate the screenshot layout
512 * Creates a new worker thread and saves the screenshot to the media store.
545 * Takes a screenshot o
[all...]
/frameworks/base/core/java/android/service/voice/
H A DIVoiceInteractionSession.aidl35 void handleScreenshot(in Bitmap screenshot);
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.java732 * @param display The display to take the screenshot of.
733 * @param consumer The {@link Surface} to take the screenshot into.
739 * include in the screenshot.
741 * include in the screenshot.
744 * identity transformation while taking the screenshot.
746 public static void screenshot(IBinder display, Surface consumer, method in class:SurfaceControl
749 screenshot(display, consumer, new Rect(), width, height, minLayer, maxLayer,
756 * @param display The display to take the screenshot of.
757 * @param consumer The {@link Surface} to take the screenshot into.
763 public static void screenshot(IBinde method in class:SurfaceControl
774 public static void screenshot(IBinder display, Surface consumer) { method in class:SurfaceControl
808 public static Bitmap screenshot(Rect sourceCrop, int width, int height, method in class:SurfaceControl
830 public static Bitmap screenshot(int width, int height) { method in class:SurfaceControl
838 private static void screenshot(IBinder display, Surface consumer, Rect sourceCrop, method in class:SurfaceControl
[all...]
/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/jni/
H A Dandroid_view_SurfaceControl.cpp71 // Implements SkMallocPixelRef::ReleaseProc, to delete the screenshot on unref.
141 std::unique_ptr<ScreenshotClient> screenshot(new ScreenshotClient());
148 res = screenshot->update(displayToken, sourceCrop, width, height,
156 switch (screenshot->getFormat()) {
176 SkImageInfo screenshotInfo = SkImageInfo::Make(screenshot->getWidth(),
177 screenshot->getHeight(),
181 screenshot->getStride() * android::bytesPerPixel(screenshot->getFormat());
188 (void*) screenshot->getPixels(), (void*) screenshot
[all...]
/frameworks/base/packages/Shell/src/com/android/shell/
H A DScreenshooter.java53 * Takes a screenshot.
55 * @return The screenshot bitmap on success, null otherwise.
92 Log.d(TAG, "Taking screenshot of dimensions " + displayWidth + " x " + displayHeight);
93 // Take the screenshot
95 SurfaceControl.screenshot((int) screenshotWidth, (int) screenshotHeight);
97 Log.e(TAG, "Failed to take screenshot of dimensions " + screenshotWidth + " x "
102 // Rotate the screenshot to the current orientation
H A DBugreportProgressService.java163 * Delay before a screenshot is taken.
165 * Should be at least 3 seconds, otherwise its toast might show up in the screenshot.
210 * Flag indicating whether a screenshot is being taken.
482 // Wear bugreport doesn't need the bug info dialog, screenshot and cancel action.
677 * Starting point for taking a screenshot.
680 * taking the screenshot.
700 // Show a toast just once, otherwise it might be captured in the screenshot.
707 * Takes a screenshot after {@code delay} seconds.
711 Log.d(TAG, "Taking screenshot for " + id + " in " + delay + " seconds");
720 // It's time to take the screenshot
1699 addScreenshot(File screenshot) argument
[all...]
/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/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DVoiceInteractionSessionConnection.java162 public void send(Bitmap screenshot) throws RemoteException {
166 mScreenshot = screenshot;
271 // Wasn't allowed... given that, let's not do the screenshot either.
/frameworks/base/core/java/android/app/
H A DUiAutomationConnection.java160 return SurfaceControl.screenshot(width, height);
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java53 * some GL transformations to a screenshot.
95 // Texture names. We only use one texture, which contains the screenshot.
182 // painting the screenshot as-is.
483 SurfaceControl.screenshot(SurfaceControl.getBuiltInDisplay(
/frameworks/base/services/core/java/com/android/server/wm/
H A DScreenRotationAnimation.java277 // capture a screenshot into the surface we just created
281 SurfaceControl.screenshot(SurfaceControl.getBuiltInDisplay(
930 if (DEBUG_STATE) Slog.v(TAG, "Exit animations done, hiding screenshot surface");
H A DWindowManagerService.java6377 * In portrait mode, it grabs the full screenshot.
6379 * @param displayId the Display to take a screenshot of.
6402 * In portrait mode, it grabs the full screenshot.
6404 * @param displayId the Display to take a screenshot of.
6410 * @param wallpaperOnly true if only the wallpaper layer should be included in the screenshot
6455 // We only include the Ime in the screenshot if the app we are screenshoting is the IME
6456 // target and isn't in multi-window mode. We don't screenshot the IME in multi-window
6499 // include the wallpaper layer in the screenshot as it will coverup
6504 // case we want to include the wallpaper layer in the screenshot because
6509 // screenshot ap
[all...]

Completed in 577 milliseconds