Lines Matching refs:screenshot

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,
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(IBinder display, Surface consumer,
823 screenshot(display, consumer, new Rect(), width, height, 0, 0, true, false);
829 * @param display The display to take the screenshot of.
830 * @param consumer The {@link Surface} to take the screenshot into.
832 public static void screenshot(IBinder display, Surface consumer) {
833 screenshot(display, consumer, new Rect(), 0, 0, 0, 0, true, false);
839 * CAVEAT: Versions of screenshot that return a {@link Bitmap} can
842 * {@link SurfaceControl#screenshot(IBinder, Surface)}.
851 * include in the screenshot.
853 * include in the screenshot.
856 * identity transformation while taking the screenshot.
857 * @param rotation Apply a custom clockwise rotation to the screenshot, i.e.
866 public static Bitmap screenshot(Rect sourceCrop, int width, int height,
877 * Like {@link SurfaceControl#screenshot(Rect, int, int, int, int, boolean, int)}
890 * Like {@link SurfaceControl#screenshot(int, int, int, int, boolean)} but
891 * includes all Surfaces in the screenshot.
901 public static Bitmap screenshot(int width, int height) {
909 private static void screenshot(IBinder display, Surface consumer, Rect sourceCrop,