Searched refs:screenshot (Results 1 - 25 of 36) sorted by relevance

12

/external/chromium_org/content/test/gpu/gpu_tests/
H A Dpixel.py60 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)
106 if not ref_png.IsEqual(screenshot, toleranc
[all...]
H A Dgpu_rasterization.py46 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,
H A Dcloud_storage_test_base.py24 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...]
H A Dmaps.py7 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)
/external/chromium_org/chrome/renderer/resources/extensions/
H A Dfeedback_private_custom_bindings.js21 if (feedbackInfo.screenshot)
23 blobNatives.GetBlobUuid(feedbackInfo.screenshot);
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/
H A DInstrumentationUiDevice.java43 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/
H A DShareHelper.java57 * @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);
114 * @param screenshot Screenshot of the page to be shared.
117 Activity activity, String title, String url, Bitmap screenshot) {
59 share(boolean shareDirectly, Activity activity, String title, String url, Bitmap screenshot) argument
76 showShareDialog(final Activity activity, final String title, final String url, final Bitmap screenshot) argument
116 shareWithLastUsed( Activity activity, String title, String url, Bitmap screenshot) argument
153 getShareIntent(String title, String url, Bitmap screenshot) argument
162 getDirectShareIntentForComponent(String title, String url, Bitmap screenshot, ComponentName component) argument
[all...]
/external/chromium_org/tools/perf/measurements/
H A Dscreenshot_unittest.py9 from measurements import screenshot namespace
26 measurement = screenshot.Screenshot()
H A Dscreenshot.py33 screenshot = tab.Screenshot(60)
43 screenshot.WritePngFile(outpath)
/external/droiddriver/src/com/google/android/droiddriver/base/
H A DBaseUiDevice.java86 Bitmap screenshot = takeScreenshot();
87 if (screenshot == null) {
93 screenshot.compress(format, quality, bos);
106 screenshot.recycle();
/external/chromium_org/content/browser/frame_host/
H A Dnavigation_entry_screenshot_manager.cc177 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 faile
198 OnScreenshotEncodeComplete( int unique_id, scoped_refptr<ScreenshotData> screenshot) argument
[all...]
/external/chromium_org/chrome/test/chromedriver/chrome/
H A Dautomation_extension.h28 Status CaptureScreenshot(std::string* screenshot);
H A Dautomation_extension.cc17 Status AutomationExtension::CaptureScreenshot(std::string* screenshot) { argument
27 return Status(status.code(), "cannot take screenshot", status);
28 if (!result->GetAsString(screenshot))
29 return Status(kUnknownError, "screenshot is not a string");
H A Dstub_web_view.cc120 Status StubWebView::CaptureScreenshot(std::string* screenshot) { argument
H A Dstub_web_view.h65 virtual Status CaptureScreenshot(std::string* screenshot) OVERRIDE;
H A Dweb_view.h143 virtual Status CaptureScreenshot(std::string* screenshot) = 0;
/external/chromium_org/chrome/browser/resources/feedback/css/
H A Dfeedback.css86 #screenshot-container {
90 .content #screenshot-image {
98 .content #screenshot-image:hover {
105 .content #screenshot-image.wide-screen {
110 .content #screenshot-image.wide-screen:hover {
/external/chromium_org/components/feedback/
H A Dfeedback_common.cc197 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/
H A Dtab_unittest.py170 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/
H A DUiUtils.java144 * 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;
177 screenshot = scaledScreenshot.copy(bitmapConfig, false);
181 screenshot = scaledScreenshot;
198 screenshot = bitmap;
201 Log.d(TAG, "Unable to capture screenshot an
[all...]
/external/chromium_org/build/android/
H A Dscreenshot.py7 """Takes a screenshot or a screen video capture from an Android device."""
15 from pylib import screenshot namespace
30 recorder = screenshot.VideoRecorder(device,
48 usage='screenshot.py [options] [filename]')
/external/chromium_org/chrome/test/ispy/
H A Dispy_api.py144 chrome_version, version_file, screenshot):
145 """Compare a screenshot with the given expectation in I-Spy.
152 screenshot: a PIL.Image to compare.
160 screenshot)
217 screenshot: a list of similar PIL.Images.
/external/chromium_org/chrome/browser/resources/feedback/js/
H A Dfeedback.js164 // 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
262 console.log('FEEDBACK_DEBUG: Taken screenshot. Showing window.');
264 // We've taken our screenshot, show the feedback page without any
272 $('screenshot
[all...]
/external/chromium_org/content/browser/web_contents/aura/
H A Doverscroll_navigation_overlay.cc198 if (entry && entry->screenshot().get()) {
200 image_reps.push_back(gfx::ImagePNGRep(entry->screenshot(),
/external/chromium_org/native_client_sdk/src/build_tools/screenshot_extension/
H A Dscreenshot.js5 var screenshot = (function() {
17 /** This is set to true when the background page injects screenshot code into
54 /** Post a message to take a screenshot.
57 * screenshot code.
60 * screenshot is complete, the background page will return
72 /** Post all queued screenshot requests.
74 * Should only be called after the screenshot code has been injected by the
184 // Load the full screenshot into imgEl.

Completed in 611 milliseconds

12