Home
last modified time | relevance | path

Searched refs:screenshot (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiAutomatorBridge.java109 Bitmap screenshot = mUiAutomation.takeScreenshot(); in takeScreenshot() local
110 if (screenshot == null) { in takeScreenshot()
117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos); in takeScreenshot()
131 screenshot.recycle(); in takeScreenshot()
/frameworks/base/services/core/java/com/android/server/am/
DAssistDataRequester.java102 default void onAssistScreenshotReceivedLocked(Bitmap screenshot) { in onAssistScreenshotReceivedLocked() argument
348 public void onHandleAssistScreenshot(Bitmap screenshot) { in onHandleAssistScreenshot() argument
358 dispatchAssistScreenshotReceived(screenshot); in onHandleAssistScreenshot()
362 mAssistScreenshot.add(screenshot); in onHandleAssistScreenshot()
379 private void dispatchAssistScreenshotReceived(Bitmap screenshot) { in dispatchAssistScreenshotReceived() argument
380 mCallbacks.onAssistScreenshotReceivedLocked(screenshot); in dispatchAssistScreenshotReceived()
/frameworks/base/services/core/java/com/android/server/wm/
DAssistDataReceiverProxy.java67 public void onAssistScreenshotReceivedLocked(Bitmap screenshot) { in onAssistScreenshotReceivedLocked() argument
70 mReceiver.onHandleAssistScreenshot(screenshot); in onAssistScreenshotReceivedLocked()
DRecentsAnimationController.java284 public void setCancelWithDeferredScreenshot(boolean screenshot) {
286 setCancelWithDeferredScreenshotLocked(screenshot);
488 boolean screenshot, String reason) { in cancelAnimation() argument
499 if (screenshot) { in cancelAnimation()
529 void setCancelWithDeferredScreenshotLocked(boolean screenshot) { in setCancelWithDeferredScreenshotLocked() argument
530 mCancelWithDeferredScreenshot = screenshot; in setCancelWithDeferredScreenshotLocked()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp509 std::unique_ptr<ScreenCapture> screenshot() { in screenshot() function in android::LayerTransactionTest
510 std::unique_ptr<ScreenCapture> screenshot; in screenshot() local
511 ScreenCapture::captureScreen(&screenshot); in screenshot()
512 return screenshot; in screenshot()
595 return mDelegate->screenshot(); in getScreenCapture()
1064 std::unique_ptr<ScreenCapture> screenshot; in TEST_P() local
1067 ScreenCapture::captureLayers(&screenshot, parentHandle, Rect(0, 0, 32, 32)); in TEST_P()
1068 screenshot->expectColor(Rect(0, 0, 32, 32), Color::BLUE); in TEST_P()
1099 std::unique_ptr<ScreenCapture> screenshot; in TEST_P() local
1100 ScreenCapture::captureScreen(&screenshot); in TEST_P()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DRecentsAnimationControllerCompat.java94 public void setCancelWithDeferredScreenshot(boolean screenshot) { in setCancelWithDeferredScreenshot() argument
96 mAnimationController.setCancelWithDeferredScreenshot(screenshot); in setCancelWithDeferredScreenshot()
DAssistDataReceiver.java27 public void onHandleAssistScreenshot(Bitmap screenshot) {} in onHandleAssistScreenshot() argument
DActivityManagerWrapper.java215 public void onHandleAssistScreenshot(Bitmap screenshot) { in startRecentsActivity()
216 assistDataReceiver.onHandleAssistScreenshot(screenshot); in startRecentsActivity()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DMainInteractionSession.java135 mScreenshot = (ImageView)mContentView.findViewById(R.id.screenshot); in onCreateContentView()
220 public void onHandleScreenshot(Bitmap screenshot) { in onHandleScreenshot() argument
222 if (screenshot != null) { in onHandleScreenshot()
223 mScreenshot.setImageBitmap(screenshot); in onHandleScreenshot()
225 mScreenshot.setMaxWidth(screenshot.getWidth() / 3); in onHandleScreenshot()
226 mScreenshot.setMaxHeight(screenshot.getHeight() / 3); in onHandleScreenshot()
227 mFullScreenshot.setImageBitmap(screenshot); in onHandleScreenshot()
/frameworks/base/core/java/android/app/
DIAssistDataReceiver.aidl27 void onHandleAssistScreenshot(in Bitmap screenshot); in onHandleAssistScreenshot() argument
DUiAutomationConnection.java188 return SurfaceControl.screenshot(crop, width, height, rotation); in takeScreenshot()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScreenshotStubActivity.java16 package com.android.systemui.screenshot;
/frameworks/base/core/java/android/view/
DIRecentsAnimationController.aidl98 void setCancelWithDeferredScreenshot(boolean screenshot); in setCancelWithDeferredScreenshot() argument
DSurfaceControl.java1849 public static void screenshot(IBinder display, Surface consumer) { in screenshot() method in SurfaceControl
1850 screenshot(display, consumer, new Rect(), 0, 0, false, 0); in screenshot()
1860 public static void screenshot(IBinder display, Surface consumer, Rect sourceCrop, int width, in screenshot() method in SurfaceControl
1880 public static Bitmap screenshot(Rect sourceCrop, int width, int height, int rotation) { in screenshot() method in SurfaceControl
1881 return screenshot(sourceCrop, width, height, false, rotation); in screenshot()
1898 public static Bitmap screenshot(Rect sourceCrop, int width, int height, in screenshot() method in SurfaceControl
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotServiceErrorReceiver.java17 package com.android.systemui.screenshot;
DTakeScreenshotService.java17 package com.android.systemui.screenshot;
DScreenshotSelectorView.java17 package com.android.systemui.screenshot;
DGlobalScreenshot.java17 package com.android.systemui.screenshot;
22 import static com.android.systemui.screenshot.GlobalScreenshot.EXTRA_ACTION_INTENT;
23 import static com.android.systemui.screenshot.GlobalScreenshot.EXTRA_CANCEL_NOTIFICATION;
24 import static com.android.systemui.screenshot.GlobalScreenshot.EXTRA_DISALLOW_ENTER_PIP;
594 mScreenBitmap = SurfaceControl.screenshot(crop, width, height, rot); in takeScreenshot()
/frameworks/base/core/java/android/service/voice/
DIVoiceInteractionSession.aidl36 void handleScreenshot(in Bitmap screenshot); in handleScreenshot() argument
DVoiceInteractionSession.java324 public void handleScreenshot(Bitmap screenshot) {
326 screenshot));
1737 public void onHandleScreenshot(@Nullable Bitmap screenshot) { in onHandleScreenshot() argument
/frameworks/base/packages/Shell/src/com/android/shell/
DScreenshooter.java55 SurfaceControl.screenshot(crop, displayWidth, displayHeight, rotation); in takeScreenshot()
DBugreportProgressService.java924 for (File screenshot : info.screenshotFiles) { in buildSendIntent()
925 final Uri screenshotUri = getUri(context, screenshot); in buildSendIntent()
1754 void addScreenshot(File screenshot) { in addScreenshot() argument
1755 screenshotFiles.add(screenshot); in addScreenshot()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DAssistDataRequesterTest.java362 public void onAssistScreenshotReceivedLocked(Bitmap screenshot) { in onAssistScreenshotReceivedLocked() argument
363 mReceivedScreenshots.add(screenshot); in onAssistScreenshotReceivedLocked()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java73 public abstract SurfaceControl.ScreenshotGraphicBuffer screenshot(int displayId); in screenshot() method in DisplayManagerInternal
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java295 public void onAssistScreenshotReceivedLocked(Bitmap screenshot) { in onAssistScreenshotReceivedLocked() argument
302 mSession.handleScreenshot(screenshot); in onAssistScreenshotReceivedLocked()

12