/external/chromium_org/content/test/gpu/gpu_tests/ |
H A D | 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) 106 if not ref_png.IsEqual(screenshot, toleranc [all...] |
H A D | 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,
|
H A D | 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...] |
H A D | 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)
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
H A D | feedback_private_custom_bindings.js | 21 if (feedbackInfo.screenshot) 23 blobNatives.GetBlobUuid(feedbackInfo.screenshot);
|
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ |
H A D | 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/ |
H A D | 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); 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 D | screenshot_unittest.py | 9 from measurements import screenshot namespace 26 measurement = screenshot.Screenshot()
|
H A D | screenshot.py | 33 screenshot = tab.Screenshot(60) 43 screenshot.WritePngFile(outpath)
|
/external/droiddriver/src/com/google/android/droiddriver/base/ |
H A D | BaseUiDevice.java | 86 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 D | 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 faile 198 OnScreenshotEncodeComplete( int unique_id, scoped_refptr<ScreenshotData> screenshot) argument [all...] |
/external/chromium_org/chrome/test/chromedriver/chrome/ |
H A D | automation_extension.h | 28 Status CaptureScreenshot(std::string* screenshot);
|
H A D | automation_extension.cc | 17 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 D | stub_web_view.cc | 120 Status StubWebView::CaptureScreenshot(std::string* screenshot) { argument
|
H A D | stub_web_view.h | 65 virtual Status CaptureScreenshot(std::string* screenshot) OVERRIDE;
|
H A D | web_view.h | 143 virtual Status CaptureScreenshot(std::string* screenshot) = 0;
|
/external/chromium_org/chrome/browser/resources/feedback/css/ |
H A D | 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 {
|
/external/chromium_org/components/feedback/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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; 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 D | screenshot.py | 7 """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 D | ispy_api.py | 144 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 D | 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 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 D | overscroll_navigation_overlay.cc | 198 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 D | screenshot.js | 5 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.
|