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

1 2 3

  /external/chromium_org/content/test/gpu/gpu_tests/
pixel.py 60 raise page_test.Failure('Browser does not support screenshot capture')
62 screenshot = tab.Screenshot(5)
64 if not screenshot:
65 raise page_test.Failure('Could not capture screenshot')
68 screenshot = screenshot.Crop(
76 screenshot):
78 ref_png = screenshot
103 image_name, page.revision, screenshot)
    [all...]
gpu_rasterization.py 46 raise page_test.Failure('Browser does not support screenshot capture')
48 screenshot = tab.Screenshot()
49 if not screenshot:
50 raise page_test.Failure('Could not capture screenshot')
55 screenshot = screenshot.Crop(
61 screenshot,
cloud_storage_test_base.py 24 def _CompareScreenshotSamples(screenshot, expectations, device_pixel_ratio):
30 if x < 0 or y < 0 or x > screenshot.width or y > screenshot.height:
33 (x, y, screenshot.width, screenshot.height))
35 actual_color = screenshot.GetPixelColor(x, y)
76 def _WriteErrorImages(self, img_dir, img_name, screenshot, ref_png):
82 os.path.join(img_dir, 'FAIL_' + full_image_name), screenshot)
91 diff_png = screenshot.Diff(ref_png)
147 def _ConditionallyUploadToCloudStorage(self, img_name, page, tab, screenshot)
    [all...]
maps.py 7 captures a screenshot and compares selected pixels against expected values"""
36 raise page_test.Failure('Browser does not support screenshot capture')
37 screenshot = tab.Screenshot(5)
38 if not screenshot:
39 raise page_test.Failure('Could not capture screenshot')
44 page.display_name, screenshot, expected, dpr)
  /prebuilts/devtools/tools/lib/
screenshot2.jar 
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
ScreenshotStubActivity.java 16 package com.android.systemui.screenshot;
  /external/droiddriver/src/com/google/android/droiddriver/instrumentation/
InstrumentationUiDevice.java 43 return screenshotRunnable.screenshot;
53 Bitmap screenshot; field in class:InstrumentationUiDevice.ScreenshotRunnable
68 screenshot = Bitmap.createBitmap(drawingCache);
73 screenshot =
75 canvas.setBitmap(screenshot);
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/share/
ShareHelper.java 57 * @param screenshot Screenshot of the page to be shared.
60 Bitmap screenshot) {
62 shareWithLastUsed(activity, title, url, screenshot);
64 showShareDialog(activity, title, url, screenshot);
74 * @param screenshot Screenshot of the page to be shared.
77 final String url, final Bitmap screenshot) {
78 Intent intent = getShareIntent(title, url, screenshot);
101 Intent intent = getDirectShareIntentForComponent(title, url, screenshot, component)
    [all...]
  /frameworks/base/cmds/screencap/
screencap.cpp 142 ScreenshotClient screenshot; local
144 if (display != NULL && screenshot.update(display, Rect(), false) == NO_ERROR) {
145 base = screenshot.getPixels();
146 w = screenshot.getWidth();
147 h = screenshot.getHeight();
148 s = screenshot.getStride();
149 f = screenshot.getFormat();
150 size = screenshot.getSize();
  /external/droiddriver/src/com/google/android/droiddriver/base/
BaseUiDevice.java 86 Bitmap screenshot = takeScreenshot(); local
87 if (screenshot == null) {
93 screenshot.compress(format, quality, bos);
106 screenshot.recycle();
  /external/chromium_org/content/browser/frame_host/
navigation_entry_screenshot_manager.cc 177 scoped_refptr<ScreenshotData> screenshot = new ScreenshotData(); local
178 screenshot->EncodeScreenshot(
183 screenshot));
192 if (entry->screenshot().get())
200 scoped_refptr<ScreenshotData> screenshot) {
212 entry->SetScreenshotPNGData(screenshot->data());
218 if (entry->screenshot().get())
224 if (!entry->screenshot().get())
242 ->screenshot().get()) {
251 // when taking the screenshot failed for some reason). So there may be a stat
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/api/tabs/screenshot/
background.js 5 // To make sure we can uniquely identify each screenshot tab, add an id as a
6 // query param to the url that displays the screenshot.
8 // because the event page will stay open as long as any screenshot tabs are
15 var viewTabUrl = chrome.extension.getURL('screenshot.html?id=' + id++)
33 // the screenshot. The url of the tab which will display the
34 // screenshot includes a query parameter with a unique id, which
50 // Listen for a click on the camera icon. On that click, take a screenshot.
  /external/chromium_org/chrome/renderer/resources/extensions/
feedback_private_custom_bindings.js 21 if (feedbackInfo.screenshot)
23 blobNatives.GetBlobUuid(feedbackInfo.screenshot);
  /external/chromium_org/native_client_sdk/src/build_tools/screenshot_extension/
background.js 6 console.log('Taking screenshot.');
8 console.log('Got screenshot, returning...');
  /frameworks/testing/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();
  /external/chromium_org/tools/perf/measurements/
screenshot.py 10 class Screenshot(page_measurement.PageMeasurement):
12 super(Screenshot, self).__init__(
33 screenshot = tab.Screenshot(60)
43 screenshot.WritePngFile(outpath)
screenshot_unittest.py 9 from measurements import screenshot namespace
26 measurement = screenshot.Screenshot()
  /external/chromium_org/chrome/browser/resources/feedback/js/
take_screenshot.js 6 * Function to take the screenshot of the current screen.
8 * canvas with the screenshot on it.
  /external/chromium_org/chrome/test/chromedriver/chrome/
automation_extension.h 28 Status CaptureScreenshot(std::string* screenshot);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
TakeScreenshotService.java 17 package com.android.systemui.screenshot;
  /external/chromium_org/chrome/browser/resources/feedback/css/
feedback.css 86 #screenshot-container {
90 .content #screenshot-image {
98 .content #screenshot-image:hover {
105 .content #screenshot-image.wide-screen {
110 .content #screenshot-image.wide-screen:hover {
  /frameworks/base/core/java/android/view/
SurfaceControl.java 624 * @param display The display to take the screenshot of.
625 * @param consumer The {@link Surface} to take the screenshot into.
631 * include in the screenshot.
633 * include in the screenshot.
636 * identity transformation while taking the screenshot.
638 public static void screenshot(IBinder display, Surface consumer, method in class:SurfaceControl
641 screenshot(display, consumer, new Rect(), width, height, minLayer, maxLayer, method
648 * @param display The display to take the screenshot of.
649 * @param consumer The {@link Surface} to take the screenshot into.
655 public static void screenshot(IBinder display, Surface consumer method in class:SurfaceControl
657 screenshot(display, consumer, new Rect(), width, height, 0, 0, true, false); method
666 public static void screenshot(IBinder display, Surface consumer) { method in class:SurfaceControl
667 screenshot(display, consumer, new Rect(), 0, 0, 0, 0, true, false); method
700 public static Bitmap screenshot(Rect sourceCrop, int width, int height, method in class:SurfaceControl
722 public static Bitmap screenshot(int width, int height) { method in class:SurfaceControl
730 private static void screenshot(IBinder display, Surface consumer, Rect sourceCrop, method in class:SurfaceControl
    [all...]
  /external/chromium_org/components/feedback/
feedback_common.cc 197 userfeedback::PostedScreenshot screenshot; local
198 screenshot.set_mime_type(kPngMimeType);
200 // Set that we 'have' dimensions of the screenshot. These dimensions are
206 *(screenshot.mutable_dimensions()) = dimensions;
207 screenshot.set_binary_content(*image());
209 *(feedback_data->mutable_screenshot()) = screenshot;
  /external/chromium_org/tools/telemetry/telemetry/core/
tab_unittest.py 170 screenshot = self._tab.Screenshot(5)
171 assert screenshot
172 screenshot.GetPixelColor(0 * pixel_ratio, 0 * pixel_ratio).AssertIsRGB(
174 screenshot.GetPixelColor(31 * pixel_ratio, 31 * pixel_ratio).AssertIsRGB(
176 screenshot.GetPixelColor(32 * pixel_ratio, 32 * pixel_ratio).AssertIsRGB(
  /external/chromium_org/ui/android/java/src/org/chromium/ui/
UiUtils.java 144 * Generates a scaled screenshot of the given view. The maximum size of the screenshot is
147 * @param currentView The view to generate a screenshot of.
148 * @param maximumDimension The maximum width or height of the generated screenshot. The bitmap
151 * @param bitmapConfig Bitmap config for the generated screenshot (ARGB_8888 or RGB_565).
156 Bitmap screenshot = null; local
177 screenshot = scaledScreenshot.copy(bitmapConfig, false);
181 screenshot = scaledScreenshot;
198 screenshot = bitmap;
201 Log.d(TAG, "Unable to capture screenshot and scale it down." + e.getMessage())
    [all...]

Completed in 1414 milliseconds

1 2 3