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

1 2 3

  /external/chromium_org/content/test/gpu/gpu_tests/
pixel.py 61 raise page_test.Failure('Browser does not support screenshot capture')
63 screenshot = tab.Screenshot(5)
65 if not screenshot:
66 raise page_test.Failure('Could not capture screenshot')
69 screenshot = screenshot.Crop(
77 screenshot):
79 ref_png = screenshot
104 image_name, page.revision, screenshot)
    [all...]
gpu_rasterization.py 45 raise page_test.Failure('Browser does not support screenshot capture')
47 screenshot = tab.Screenshot()
48 if not screenshot:
49 raise page_test.Failure('Could not capture screenshot')
54 screenshot = screenshot.Crop(
60 screenshot,
cloud_storage_test_base.py 25 def _CompareScreenshotSamples(screenshot, expectations, device_pixel_ratio):
31 if x < 0 or y < 0 or x > screenshot.width or y > screenshot.height:
34 (x, y, screenshot.width, screenshot.height))
36 actual_color = screenshot.GetPixelColor(x, y)
77 def _WriteErrorImages(self, img_dir, img_name, screenshot, ref_png):
83 os.path.join(img_dir, 'FAIL_' + full_image_name), screenshot)
92 diff_png = screenshot.Diff(ref_png)
148 def _ConditionallyUploadToCloudStorage(self, img_name, page, tab, screenshot)
    [all...]
maps.py 7 captures a screenshot and compares selected pixels against expected values"""
34 raise page_test.Failure('Browser does not support screenshot capture')
35 screenshot = tab.Screenshot(5)
36 if not screenshot:
37 raise page_test.Failure('Could not capture screenshot')
42 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, int extraIntentFlags) {
62 shareWithLastUsed(activity, title, url, screenshot, extraIntentFlags);
64 showShareDialog(activity, title, url, screenshot, extraIntentFlags);
74 * @param screenshot Screenshot of the page to be shared.
78 final String url, final Bitmap screenshot, final int extraIntentFlags) {
79 Intent intent = getShareIntent(title, url, screenshot, extraIntentFlags);
102 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 162 scoped_refptr<ScreenshotData> screenshot = new ScreenshotData(); local
163 screenshot->EncodeScreenshot(
168 screenshot));
177 if (entry->screenshot().get())
185 scoped_refptr<ScreenshotData> screenshot) {
197 entry->SetScreenshotPNGData(screenshot->data());
203 if (entry->screenshot().get())
209 if (!entry->screenshot().get())
227 ->screenshot().get()) {
236 // 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
12 // Listen for a click on the camera icon. On that click, take a screenshot.
16 var viewTabUrl = chrome.extension.getURL('screenshot.html?id=' + id++)
32 // the screenshot. The url of the tab which will display the
33 // screenshot includes a query parameter with a unique id, which
  /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/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();
  /external/chromium_org/tools/perf/measurements/
screenshot.py 11 class Screenshot(page_test.PageTest):
13 super(Screenshot, self).__init__(
34 screenshot = tab.Screenshot(60)
44 screenshot.WritePngFile(outpath)
screenshot_unittest.py 9 from measurements import screenshot namespace
27 measurement = screenshot.Screenshot()
  /external/chromium_org/chrome/browser/chromeos/login/
screenshot_tester.h 33 // updates golden screenshot or takes a new screenshot and compares it
41 // Takes a screenshot and returns it.
44 // Saves |png_data| as a new golden screenshot for test |test_name_|.
53 // Saves |png_data| as a current screenshot.
54 void ReturnScreenshot(const PNGFile& screenshot, PNGFile png_data);
56 // Loads golden screenshot from the disk. Fails if there is no
57 // golden screenshot for test |test_name_|.
65 // Used for generating names for screenshot files.
screenshot_tester.cc 29 // Sets test mode for screenshot testing.
32 // Sets update mode for screenshot testing.
62 CHECK(false) << "Invalid mode for screenshot testing: " << mode;
91 VLOG(0) << "Loaded golden screenshot";
109 LOG(ERROR) << "Can't take a screenshot";
121 LOG(ERROR) << "Can't save screenshot " << file_name;
124 VLOG(0) << "Screenshot " << file_name << ".png saved successfully to "
129 void ScreenshotTester::ReturnScreenshot(const PNGFile& screenshot,
132 screenshot->data() = png_data->data();
141 PNGFile screenshot = new base::RefCountedBytes local
    [all...]
  /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.
feedback.js 164 // If the user doesn't want to send the screenshot.
165 if (!$('screenshot-checkbox').checked)
166 feedbackInfo.screenshot = null;
209 $('screenshot-checkbox').disabled = true;
210 $('screenshot-checkbox').checked = false;
213 $('screenshot-checkbox').disabled = false;
240 * .) Feedback Object Received -> . take screenshot
244 * .) Screenshot taken -> . Show Feedback window.
256 // We've taken our screenshot, show the feedback page without any
264 $('screenshot-image').src = screenshotDataUrl
    [all...]
  /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 87 #screenshot-container {
91 .content #screenshot-image {
99 .content #screenshot-image:hover {
106 .content #screenshot-image.wide-screen {
111 .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...]

Completed in 2788 milliseconds

1 2 3