HomeSort by relevance Sort by last modified time
    Searched refs:screenshot (Results 1 - 25 of 36) sorted by null

1 2

  /frameworks/base/core/java/com/android/internal/app/
IAssistScreenshotReceiver.aidl 23 void send(in Bitmap screenshot);
  /prebuilts/devtools/tools/lib/
screenshot2.jar 
uiautomatorviewer.jar 
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
ScreenshotStubActivity.java 16 package com.android.systemui.screenshot;
ScreenshotTest.java 16 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...]
  /external/droiddriver/src/io/appium/droiddriver/instrumentation/
InstrumentationUiDevice.java 66 Bitmap screenshot; local
74 screenshot = Bitmap.createBitmap(drawingCache);
79 screenshot =
81 canvas.setBitmap(screenshot);
86 return screenshot;
  /external/droiddriver/src/io/appium/droiddriver/base/
BaseUiDevice.java 86 Bitmap screenshot = takeScreenshot(); local
87 if (screenshot == null) {
93 screenshot.compress(format, quality, bos);
106 screenshot.recycle();
  /cts/tests/tests/assist/service/src/android/voiceinteraction/service/
MainInteractionSession.java 139 public void onHandleScreenshot(/*@Nullable*/ Bitmap screenshot) {
140 Log.i(TAG, String.format("onHandleScreenshot - Screenshot: %s", screenshot));
141 super.onHandleScreenshot(screenshot);
143 if (screenshot != null) {
146 if (mTestName.equals(Utils.SCREENSHOT)) {
147 boolean screenshotMatches = compareScreenshot(screenshot, mCurColor);
148 Log.i(TAG, "this is a screenshot test. Matches? " + screenshotMatches);
159 private boolean compareScreenshot(Bitmap screenshot, int color) {
162 if (screenshot.getWidth() != size.x || screenshot.getHeight() != size.y)
    [all...]
  /frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
UiAutomatorBridge.java 109 Bitmap screenshot = mUiAutomation.takeScreenshot(); local
110 if (screenshot == null) {
117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos);
131 screenshot.recycle();
  /frameworks/base/cmds/screencap/
screencap.cpp 171 ScreenshotClient screenshot; local
189 status_t result = screenshot.update(display, Rect(), 0, 0, 0, -1U,
192 base = screenshot.getPixels();
193 w = screenshot.getWidth();
194 h = screenshot.getHeight();
195 s = screenshot.getStride();
196 f = screenshot.getFormat();
197 size = screenshot.getSize();
  /frameworks/base/core/java/android/service/voice/
IVoiceInteractionSession.aidl 34 void handleScreenshot(in Bitmap screenshot);
VoiceInteractionSession.java 227 // structure), we don't block other incoming IPCs (such as the screenshot) to
249 public void handleScreenshot(Bitmap screenshot) {
251 screenshot));
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
TakeScreenshotService.java 17 package com.android.systemui.screenshot;
GlobalScreenshot.java 17 package com.android.systemui.screenshot;
101 private static final String SCREENSHOT_SHARE_SUBJECT_TEMPLATE = "Screenshot (%s)";
187 // omit the actual screenshot image.
229 // Create screenshot directory if it doesn't exist
242 // Save the screenshot to the MediaStore
319 // Show the final notification to indicate screenshot saved
322 // Create the intent to show the screenshot in gallery
443 // Inflate the screenshot layout
502 * Creates a new worker thread and saves the screenshot to the media store.
535 * Takes a screenshot of the current display and shows an animation
    [all...]
  /frameworks/base/core/java/android/view/
SurfaceControl.java 637 * @param display The display to take the screenshot of.
638 * @param consumer The {@link Surface} to take the screenshot into.
644 * include in the screenshot.
646 * include in the screenshot.
649 * identity transformation while taking the screenshot.
651 public static void screenshot(IBinder display, Surface consumer, method in class:SurfaceControl
654 screenshot(display, consumer, new Rect(), width, height, minLayer, maxLayer, method
661 * @param display The display to take the screenshot of.
662 * @param consumer The {@link Surface} to take the screenshot into.
668 public static void screenshot(IBinder display, Surface consumer method in class:SurfaceControl
670 screenshot(display, consumer, new Rect(), width, height, 0, 0, true, false); method
679 public static void screenshot(IBinder display, Surface consumer) { method in class:SurfaceControl
680 screenshot(display, consumer, new Rect(), 0, 0, 0, 0, true, false); method
713 public static Bitmap screenshot(Rect sourceCrop, int width, int height, method in class:SurfaceControl
735 public static Bitmap screenshot(int width, int height) { method in class:SurfaceControl
743 private static void screenshot(IBinder display, Surface consumer, Rect sourceCrop, method in class:SurfaceControl
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/editors/
UiAutomatorViewer.java 161 ((UiAutomatorViewer) editor).setModel(r.model, r.uiHierarchy, r.screenshot);
169 protected void setModel(UiAutomatorModel model, File modelFile, Image screenshot) {
170 mView.setModel(model, modelFile, screenshot);
  /prebuilts/devtools/tools/
screenshot2 74 exec java -Xmx128M $os_opts $java_debug -Djava.ext.dirs="$frameworkdir" -Djava.library.path="$libdir" -Dcom.android.screenshot.bindir="$progdir" -jar "$jarpath" "$@"
  /frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
MainInteractionSession.java 131 mScreenshot = (ImageView)mContentView.findViewById(R.id.screenshot);
195 public void onHandleScreenshot(Bitmap screenshot) {
196 if (screenshot != null) {
197 mScreenshot.setImageBitmap(screenshot);
199 mScreenshot.setMaxWidth(screenshot.getWidth() / 3);
200 mScreenshot.setMaxHeight(screenshot.getHeight() / 3);
201 mFullScreenshot.setImageBitmap(screenshot);
  /frameworks/base/core/jni/
android_view_SurfaceControl.cpp 76 // Implements SkMallocPixelRef::ReleaseProc, to delete the screenshot on unref.
134 SkAutoTDelete<ScreenshotClient> screenshot(new ScreenshotClient());
141 res = screenshot->update(displayToken, sourceCrop, width, height,
148 screenshotInfo.fWidth = screenshot->getWidth();
149 screenshotInfo.fHeight = screenshot->getHeight();
151 switch (screenshot->getFormat()) {
173 screenshot->getStride() * android::bytesPerPixel(screenshot->getFormat());
180 (void*) screenshot->getPixels(), (void*) screenshot.get(), DeleteScreenshot
    [all...]
  /frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
VoiceInteractionSessionConnection.java 137 public void send(Bitmap screenshot) throws RemoteException {
141 mScreenshot = screenshot;
234 // Wasn't allowed... given that, let's not do the screenshot either.
  /build/
envsetup.sh     [all...]
  /frameworks/base/core/java/android/app/
UiAutomationConnection.java 157 return SurfaceControl.screenshot(width, height);
  /packages/apps/Nfc/src/com/android/nfc/beam/
SendUi.java 70 * mPreAnimator: scales the screenshot down to INTERMEDIATE_SCALE
71 * mSlowSendAnimator: scales the screenshot down to 0.2f (used as a "send in progress" animation)
72 * mFastSendAnimator: quickly scales the screenshot down to 0.0f (used for send success)
74 * mScaleUpAnimator: scales the screenshot back up to full screen (used for failure or receiving)
168 // Besides animating the screenshot, the Beam UI also renders
171 // "pre-animation" has scaled down the screenshot, to avoid
209 mScreenshotLayout = mLayoutInflater.inflate(R.layout.screenshot, null);
211 mScreenshotView = (ImageView) mScreenshotLayout.findViewById(R.id.screenshot);
315 // There's no point in taking the screenshot if
331 // Still waiting for screenshot, store request in stat
    [all...]
  /packages/apps/Camera2/src/com/android/camera/app/
CameraAppUI.java 512 * Preview down-sample rate when taking a screenshot.
597 * Returns a bitmap containing the current screenshot.
600 * preview frame when taking the screenshot
636 Bitmap screenshot = Bitmap.createBitmap(mCameraRootView.getWidth(),
638 Canvas canvas = new Canvas(screenshot);
648 return screenshot;
    [all...]
  /frameworks/base/services/core/java/com/android/server/display/
ColorFade.java 53 * some GL transformations to a screenshot.
94 // Texture names. We only use one texture, which contains the screenshot.
180 // painting the screenshot as-is.
462 SurfaceControl.screenshot(SurfaceControl.getBuiltInDisplay(

Completed in 3497 milliseconds

1 2