/frameworks/base/core/java/com/android/internal/app/ |
H A D | IAssistScreenshotReceiver.aidl | 23 void send(in Bitmap screenshot);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
H A D | ScreenshotStubActivity.java | 16 package com.android.systemui.screenshot;
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiAutomatorBridge.java | 109 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 D | ScreenshotServiceErrorReceiver.java | 17 package com.android.systemui.screenshot;
|
H A D | TakeScreenshotService.java | 17 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 D | ScreenshotSelectorView.java | 17 package com.android.systemui.screenshot; 32 * Draws a selection rectangle while taking screenshot
|
H A D | GlobalScreenshot.java | 17 package com.android.systemui.screenshot; 182 // The public notification will show similar info but with the actual screenshot omitted 214 * after the screenshot has been written to disk. 240 // Create screenshot directory if it doesn't exist 253 // Save the screenshot to the MediaStore 325 // Show the final notification to indicate screenshot saved 329 // Create the intent to show the screenshot in gallery 454 // Inflate the screenshot layout 517 * Creates a new worker thread and saves the screenshot to the media store. 550 * Takes a screenshot o [all...] |
/frameworks/base/cmds/screencap/ |
H A D | screencap.cpp | 152 ScreenshotClient screenshot; local 170 status_t result = screenshot.update(display, Rect(), 175 base = screenshot.getPixels(); 176 w = screenshot.getWidth(); 177 h = screenshot.getHeight(); 178 s = screenshot.getStride(); 179 f = screenshot.getFormat(); 180 size = screenshot.getSize();
|
/frameworks/base/core/java/android/service/voice/ |
H A D | IVoiceInteractionSession.aidl | 35 void handleScreenshot(in Bitmap screenshot);
|
H A D | VoiceInteractionSession.java | 249 // structure), we don't block other incoming IPCs (such as the screenshot) to 272 public void handleScreenshot(Bitmap screenshot) { 274 screenshot)); 1523 * Called to receive a screenshot of what the user was currently viewing when an assist 1528 public void onHandleScreenshot(@Nullable Bitmap screenshot) { argument
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 790 * @param display The display to take the screenshot of. 791 * @param consumer The {@link Surface} to take the screenshot into. 797 * include in the screenshot. 799 * include in the screenshot. 802 * identity transformation while taking the screenshot. 804 public static void screenshot(IBinder display, Surface consumer, method in class:SurfaceControl 807 screenshot(display, consumer, new Rect(), width, height, minLayer, maxLayer, 814 * @param display The display to take the screenshot of. 815 * @param consumer The {@link Surface} to take the screenshot into. 821 public static void screenshot(IBinde method in class:SurfaceControl 832 public static void screenshot(IBinder display, Surface consumer) { method in class:SurfaceControl 866 public static Bitmap screenshot(Rect sourceCrop, int width, int height, method in class:SurfaceControl 901 public static Bitmap screenshot(int width, int height) { method in class:SurfaceControl 909 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 D | MainInteractionSession.java | 133 mScreenshot = (ImageView)mContentView.findViewById(R.id.screenshot); 207 public void onHandleScreenshot(Bitmap screenshot) { argument 209 if (screenshot != null) { 210 mScreenshot.setImageBitmap(screenshot); 212 mScreenshot.setMaxWidth(screenshot.getWidth() / 3); 213 mScreenshot.setMaxHeight(screenshot.getHeight() / 3); 214 mFullScreenshot.setImageBitmap(screenshot);
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | Screenshooter.java | 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 93 SurfaceControl.screenshot((int) screenshotWidth, (int) screenshotHeight); 95 Log.e(TAG, "Failed to take screenshot of dimensions " + screenshotWidth + " x " 100 // Rotate the screenshot to the current orientation
|
H A D | BugreportProgressService.java | 182 * Delay before a screenshot is taken. 184 * Should be at least 3 seconds, otherwise its toast might show up in the screenshot. 228 * Flag indicating whether a screenshot is being taken. 503 // Wear bugreport doesn't need the bug info dialog, screenshot and cancel action. 628 * Starting point for taking a screenshot. 631 * taking the screenshot. 651 // Show a toast just once, otherwise it might be captured in the screenshot. 658 * Takes a screenshot after {@code delay} seconds. 662 Log.d(TAG, "Taking screenshot for " + id + " in " + delay + " seconds"); 671 // It's time to take the screenshot 1741 addScreenshot(File screenshot) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_SurfaceControl.cpp | 72 // Implements SkMallocPixelRef::ReleaseProc, to delete the screenshot on unref. 184 std::unique_ptr<ScreenshotClient> screenshot(new ScreenshotClient()); 191 res = screenshot->update(displayToken, sourceCrop, width, height, 199 switch (screenshot->getFormat()) { 224 SkImageInfo screenshotInfo = SkImageInfo::Make(screenshot->getWidth(), 225 screenshot->getHeight(), 231 screenshot->getStride() * android::bytesPerPixel(screenshot->getFormat()); 238 (void*) screenshot->getPixels(), (void*) screenshot [all...] |
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionSessionConnection.java | 164 public void send(Bitmap screenshot) throws RemoteException { 168 mScreenshot = screenshot; 271 // Wasn't allowed... given that, let's not do the screenshot either.
|
/frameworks/base/core/java/android/app/ |
H A D | UiAutomationConnection.java | 160 return SurfaceControl.screenshot(width, height);
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 53 * 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 D | ScreenRotationAnimation.java | 280 // capture a screenshot into the surface we just created 284 SurfaceControl.screenshot(SurfaceControl.getBuiltInDisplay( 933 if (DEBUG_STATE) Slog.v(TAG, "Exit animations done, hiding screenshot surface");
|
H A D | DisplayContent.java | 1006 // The screen rotation animation uses a screenshot to freeze the screen 2837 * In portrait mode, it grabs the full screenshot. 2844 * @param wallpaperOnly true if only the wallpaper layer should be included in the screenshot 2852 frameScale, wallpaperOnly, includeDecor, SurfaceControl::screenshot); 2882 // Create a copy of the screenshot that is immutable and backed in ashmem. 2918 if (DEBUG_SCREENSHOT) Slog.i(TAG_WM, "Attempted to take screenshot while display" 2947 // layer in the screenshot as it will cover-up the layer of the target 2952 // case we want to include the wallpaper layer in the screenshot because 2957 // screenshot app. 2982 // We want to screenshot wit 3538 E screenshot(Rect sourceCrop, int width, int height, int minLayer, int maxLayer, method in interface:DisplayContent.Screenshoter [all...] |