Lines Matching refs:consumer
43 private static native void nativeScreenshot(IBinder displayToken, Surface consumer,
625 * @param consumer The {@link Surface} to take the screenshot into.
638 public static void screenshot(IBinder display, Surface consumer,
641 screenshot(display, consumer, new Rect(), width, height, minLayer, maxLayer,
649 * @param consumer The {@link Surface} to take the screenshot into.
655 public static void screenshot(IBinder display, Surface consumer,
657 screenshot(display, consumer, new Rect(), width, height, 0, 0, true, false);
664 * @param consumer The {@link Surface} to take the screenshot into.
666 public static void screenshot(IBinder display, Surface consumer) {
667 screenshot(display, consumer, new Rect(), 0, 0, 0, 0, true, false);
730 private static void screenshot(IBinder display, Surface consumer, Rect sourceCrop,
736 if (consumer == null) {
737 throw new IllegalArgumentException("consumer must not be null");
739 nativeScreenshot(display, consumer, sourceCrop, width, height,