Home
last modified time | relevance | path

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

12

/external/chromium_org/content/test/gpu/gpu_tests/
Dpixel.py61 screenshot = tab.Screenshot(5)
63 if not screenshot:
67 screenshot = screenshot.Crop(
74 image_name, page.revision, screenshot)
77 if not ref_png.IsEqual(screenshot, tolerance=2):
79 self.options.build_revision, screenshot, ref_png)
102 def GetReferenceImage(img_dir, img_name, cur_revision, screenshot): argument
122 PixelValidator.WriteImage(image_path, screenshot)
123 return screenshot
126 def WriteErrorImages(img_dir, img_name, build_revision, screenshot, ref_png): argument
[all …]
Dmaps.py42 screenshot = tab.Screenshot(5)
43 if not screenshot:
50 MapsValidator.CompareToExpectations(screenshot, expected, dpr)
54 image_name, self.options.build_revision, screenshot)
88 def CompareToExpectations(screenshot, expectations, devicePixelRatio): argument
94 if x < 0 or y < 0 or x > screenshot.width or y > screenshot.height:
97 (x, y, screenshot.width, screenshot.height))
99 pixel_color = screenshot.GetPixelColor(x, y)
121 def WriteErrorImage(img_dir, img_name, build_revision, screenshot): argument
135 screenshot.WritePngFile(image_path)
/external/chromium_org/content/browser/frame_host/
Dnavigation_entry_screenshot_manager.cc157 scoped_refptr<ScreenshotData> screenshot = new ScreenshotData(); in OnScreenshotTaken() local
158 screenshot->EncodeScreenshot( in OnScreenshotTaken()
163 screenshot)); in OnScreenshotTaken()
172 if (entry->screenshot().get()) in GetScreenshotCount()
180 scoped_refptr<ScreenshotData> screenshot) { in OnScreenshotEncodeComplete() argument
192 entry->SetScreenshotPNGData(screenshot->data()); in OnScreenshotEncodeComplete()
198 if (entry->screenshot().get()) in OnScreenshotSet()
204 if (!entry->screenshot().get()) in ClearScreenshot()
222 ->screenshot().get()) { in PurgeScreenshotsIfNecessary()
241 if (entry->screenshot().get()) in PurgeScreenshotsIfNecessary()
[all …]
/external/chromium_org/tools/telemetry/telemetry/core/
Dtab_unittest.py69 screenshot = self._tab.Screenshot(5)
70 assert screenshot
71 screenshot.GetPixelColor(0 * pixel_ratio, 0 * pixel_ratio).AssertIsRGB(
73 screenshot.GetPixelColor(31 * pixel_ratio, 31 * pixel_ratio).AssertIsRGB(
75 screenshot.GetPixelColor(32 * pixel_ratio, 32 * pixel_ratio).AssertIsRGB(
/external/chromium_org/native_client_sdk/src/build_tools/screenshot_extension/
DREADME13 src="chrome-extension://kbbhhngcmjcmlgcnbihfgliliemmijmj/screenshot.js">
31 screenshot.captureElement(myPluginEl, onSuccess, onError);
33 See screenshot.js for more info on the API.
/external/chromium_org/ui/android/java/src/org/chromium/ui/
DUiUtils.java119 Bitmap screenshot = null; in generateScaledScreenshot() local
140 screenshot = scaledScreenshot.copy(bitmapConfig, false); in generateScaledScreenshot()
144 screenshot = scaledScreenshot; in generateScaledScreenshot()
161 screenshot = bitmap; in generateScaledScreenshot()
169 return screenshot; in generateScaledScreenshot()
/external/droiddriver/src/com/google/android/droiddriver/base/
DAbstractDroidDriver.java138 Bitmap screenshot = takeScreenshot(); in takeScreenshot() local
139 if (screenshot == null) { in takeScreenshot()
145 screenshot.compress(format, quality, bos); in takeScreenshot()
158 screenshot.recycle(); in takeScreenshot()
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/
DInstrumentationDriver.java84 private Bitmap screenshot; field in InstrumentationDriver.ScreenshotRunnable
94 screenshot = Bitmap.createBitmap(rootView.getDrawingCache()); in run()
103 return screenshotRunnable.screenshot; in takeScreenshot()
/external/chromium_org/chrome/browser/resources/feedback/css/
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/chrome/renderer/resources/extensions/
Dfeedback_private_custom_bindings.js21 if (feedbackInfo.screenshot)
23 blobNatives.GetBlobUuid(feedbackInfo.screenshot);
/external/chromium_org/chrome/browser/feedback/
Dfeedback_util.cc326 userfeedback::PostedScreenshot screenshot; in SendReport() local
327 screenshot.set_mime_type(kPngMimeType); in SendReport()
335 *(screenshot.mutable_dimensions()) = dimensions; in SendReport()
336 screenshot.set_binary_content(*data->image()); in SendReport()
338 *(feedback_data.mutable_screenshot()) = screenshot; in SendReport()
/external/chromium/chrome/browser/
Dbug_report_util.cc317 userfeedback::PostedScreenshot screenshot; local
318 screenshot.set_mime_type(kPngMimeType);
323 *(screenshot.mutable_dimensions()) = dimensions;
324 screenshot.set_binary_content(std::string(png_data, png_data_length));
327 *(feedback_data.mutable_screenshot()) = screenshot;
/external/chromium/chrome/browser/userfeedback/proto/
Dannotations.proto4 // Messages containing data about the annotations drawn on the screenshot of a
16 // An annotation drawn by the user on the screenshot of a web page.
Dextension.proto65 optional PostedScreenshot screenshot = 4; field
87 optional PostedScreenshot screenshot = 9; field
/external/chromium_org/chrome/browser/feedback/proto/
Dannotations.proto5 // Messages containing data about the annotations drawn on the screenshot of a
17 // An annotation drawn by the user on the screenshot of a web page.
/external/chromium_org/build/android/
Dscreenshot.py15 from pylib import screenshot
30 recorder = screenshot.VideoRecorder(adb,
/external/chromium_org/chrome/test/functional/ispy/client/
Dchrome_utils.py149 screenshot = self._screenshot_func()
155 screenshot)
/external/chromium_org/chrome/test/chromedriver/chrome/
Dautomation_extension.cc17 Status AutomationExtension::CaptureScreenshot(std::string* screenshot) { in CaptureScreenshot() argument
28 if (!result->GetAsString(screenshot)) in CaptureScreenshot()
Dautomation_extension.h28 Status CaptureScreenshot(std::string* screenshot);
/external/chromium/chrome/browser/resources/
Dbug_report.js45 function addScreenshot(divId, screenshot) { argument
64 thumbnail.src = screenshot + '?' + Date.now();
/external/chromium/chrome/browser/ui/webui/
Dbug_report_ui.cc83 FilePath screenshot = screenshots.Next(); in GetSavedScreenshots() local
84 while (!screenshot.empty()) { in GetSavedScreenshots()
86 screenshot.BaseName().value()); in GetSavedScreenshots()
90 screenshot = screenshots.Next(); in GetSavedScreenshots()
570 StringValue screenshot(current_screenshot); in HandleRefreshCurrentScreenshot() local
571 web_ui_->CallJavascriptFunction("setupCurrentScreenshot", screenshot); in HandleRefreshCurrentScreenshot()
/external/chromium/chrome/browser/ui/cocoa/
Dbug_report_window_controller_unittest.mm49 // should be available, and we should send screenshot by default.
70 // screenshot option should be turned off.
/external/chromium_org/tools/deep_memory_profiler/visualizer/static/third_party/jqTree/
DREADME.chromium24 * screenshot.png
/external/chromium_org/chrome/browser/resources/feedback/js/
Dfeedback.js177 feedbackInfo.screenshot = null;
286 feedbackInfo.screenshot = dataUrlToBlob(screenshotDataUrl);
/external/chromium_org/chrome/common/extensions/api/
Dfeedback_private.idl40 [instanceOf=Blob] object? screenshot;
89 // take a screenshot of the user's desktop.

12