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

1 2 3

  /frameworks/native/cmds/screenshot/
Android.mk 4 LOCAL_SRC_FILES := screenshot.c
6 LOCAL_MODULE := screenshot
  /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/chromium_org/content/test/gpu/gpu_tests/
pixel.py 59 raise page_test.Failure('Browser does not support screenshot capture')
61 screenshot = tab.Screenshot(5)
63 if not screenshot:
64 raise page_test.Failure('Could not capture 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
    [all...]
maps.py 7 captures a screenshot and compares selected pixels against expected values"""
41 raise page_test.Failure('Browser does not support screenshot capture')
42 screenshot = tab.Screenshot(5)
43 if not screenshot:
44 raise page_test.Failure('Could not capture screenshot')
50 MapsValidator.CompareToExpectations(screenshot, expected, dpr)
54 image_name, self.options.build_revision, screenshot)
88 def CompareToExpectations(screenshot, expectations, devicePixelRatio):
94 if x < 0 or y < 0 or x > screenshot.width or y > screenshot.height
    [all...]
  /frameworks/base/cmds/screencap/
screencap.cpp 142 ScreenshotClient screenshot; local
144 if (display != NULL && screenshot.update(display) == 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/chromium/chrome/common/extensions/docs/examples/api/tabs/screenshot/
screenshot.js 1 // To make sure we can uniquely identify each screenshot tab, add an id as a
2 // query param to the url that displays the screenshot.
8 var viewTabUrl = [chrome.extension.getURL('screenshot.html'),
27 // the screenshot. The url of the tab which will display the
28 // screenshot includes a query parameter with a unique id, which
45 // Listen for a click on the camera icon. On that click, take a screenshot.
  /external/chromium_org/content/browser/frame_host/
navigation_entry_screenshot_manager.cc 157 scoped_refptr<ScreenshotData> screenshot = new ScreenshotData(); local
158 screenshot->EncodeScreenshot(
163 screenshot));
172 if (entry->screenshot().get())
180 scoped_refptr<ScreenshotData> screenshot) {
192 entry->SetScreenshotPNGData(screenshot->data());
198 if (entry->screenshot().get())
204 if (!entry->screenshot().get())
222 ->screenshot().get()) {
231 // when taking the screenshot failed for some reason). So there may be a stat
    [all...]
  /external/chromium/chrome/browser/resources/
bug_report.js 45 function addScreenshot(divId, screenshot) {
64 thumbnail.src = screenshot + '?' + Date.now();
89 if ($('screenshot-checkbox').checked && selectedThumbnailId)
160 * Change the type of screenshot we're showing to the user from
161 * the current screenshot to saved screenshots
164 $('screenshot-label-current').style.display = 'none';
165 $('screenshot-label-saved').style.display = 'inline';
168 $('screenshot-link-tosaved').style.display = 'none';
169 $('screenshot-link-tocurrent').style.display = 'inline';
175 * Change the type of screenshot we're showing to the user fro
    [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/droiddriver/src/com/google/android/droiddriver/instrumentation/
InstrumentationDriver.java 84 private Bitmap screenshot; field in class:InstrumentationDriver.ScreenshotRunnable
94 screenshot = Bitmap.createBitmap(rootView.getDrawingCache());
103 return screenshotRunnable.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/chrome/test/chromedriver/chrome/
automation_extension.h 28 Status CaptureScreenshot(std::string* 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/telemetry/telemetry/core/
tab_unittest.py 69 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/ui/android/java/src/org/chromium/ui/
UiUtils.java 107 * Generates a scaled screenshot of the given view. The maximum size of the screenshot is
110 * @param currentView The view to generate a screenshot of.
111 * @param maximumDimension The maximum width or height of the generated screenshot. The bitmap
114 * @param bitmapConfig Bitmap config for the generated screenshot (ARGB_8888 or RGB_565).
119 Bitmap screenshot = null; local
140 screenshot = scaledScreenshot.copy(bitmapConfig, false);
144 screenshot = scaledScreenshot;
161 screenshot = bitmap;
164 Log.d(TAG, "Unable to capture screenshot and scale it down." + e.getMessage())
    [all...]
  /frameworks/base/core/java/android/view/
SurfaceControl.java 524 * @param display The display to take the screenshot of.
525 * @param consumer The {@link Surface} to take the screenshot into.
531 * include in the screenshot.
533 * include in the screenshot.
535 public static void screenshot(IBinder display, Surface consumer, method in class:SurfaceControl
537 screenshot(display, consumer, width, height, minLayer, maxLayer, false); method
543 * @param display The display to take the screenshot of.
544 * @param consumer The {@link Surface} to take the screenshot into.
550 public static void screenshot(IBinder display, Surface consumer, method in class:SurfaceControl
552 screenshot(display, consumer, width, height, 0, 0, true) method
561 public static void screenshot(IBinder display, Surface consumer) { method in class:SurfaceControl
562 screenshot(display, consumer, 0, 0, 0, 0, true); method
586 public static Bitmap screenshot(int width, int height, int minLayer, int maxLayer) { method in class:SurfaceControl
605 public static Bitmap screenshot(int width, int height) { method in class:SurfaceControl
612 private static void screenshot(IBinder display, Surface consumer, method in class:SurfaceControl
    [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 175 // If the user doesn't want to send the screenshot.
176 if (!$('screenshot-checkbox').checked)
177 feedbackInfo.screenshot = null;
220 $('screenshot-checkbox').disabled = true;
221 $('screenshot-checkbox').checked = false;
224 $('screenshot-checkbox').disabled = false;
251 * .) Feedback Object Received -> . take screenshot
255 * .) Screenshot taken -> . Show Feedback window.
273 console.log('FEEDBACK_DEBUG: Taken screenshot. Showing window.');
275 // We've taken our screenshot, show the feedback page without an
    [all...]
  /external/droiddriver/src/com/google/android/droiddriver/base/
AbstractDroidDriver.java 138 Bitmap screenshot = takeScreenshot(); local
139 if (screenshot == null) {
145 screenshot.compress(format, quality, bos);
158 screenshot.recycle();
  /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/jni/
android_view_SurfaceControl.cpp 64 ScreenshotPixelRef(const SkImageInfo& info, ScreenshotClient* screenshot) :
66 mScreenshot(screenshot) {
126 ScreenshotClient* screenshot = new ScreenshotClient(); local
129 ? screenshot->update(displayToken, width, height)
130 : screenshot->update(displayToken, width, height, minLayer, maxLayer))
131 : screenshot->update(displayToken);
133 delete screenshot;
138 screenshotInfo.fWidth = screenshot->getWidth();
139 screenshotInfo.fHeight = screenshot->getHeight();
141 switch (screenshot->getFormat())
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/editors/
UiAutomatorViewer.java 161 ((UiAutomatorViewer) editor).setModel(r.model, r.uiHierarchy, r.screenshot);
169 protected void setModel(UiAutomatorModel model, File modelFile, Image screenshot) {
170 mView.setModel(model, modelFile, screenshot);

Completed in 628 milliseconds

1 2 3