HomeSort by relevance Sort by last modified time
    Searched defs:screenshot (Results 1 - 21 of 21) sorted by null

  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
ScreenshotStubActivity.java 16 package com.android.systemui.screenshot;
ScreenshotTest.java 16 package com.android.systemui.screenshot;
30 * Functional tests for the global screenshot feature.
44 * to trigger the screenshot, and verifies the screenshot was taken successfully.
57 // unlikely, but check if a new screenshot file was already created
59 // wait for screenshot to be created
64 assertNotNull(String.format("Could not find screenshot after %d seconds",
69 assertTrue(String.format("Detected new screenshot %s but its not a file",
71 assertTrue(String.format("Detected new screenshot %s but its not an image",
101 * Inject the key sequence to take a screenshot
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
TakeScreenshotService.java 17 package com.android.systemui.screenshot;
GlobalScreenshot.java 17 package com.android.systemui.screenshot;
96 private static final String SCREENSHOT_SHARE_SUBJECT_TEMPLATE = "Screenshot (%s)";
196 // Create screenshot directory if it doesn't exist
203 // Save the screenshot to the MediaStore
275 // Show the final notification to indicate screenshot saved
278 // Create the intent to show the screenshot in gallery
356 // Inflate the screenshot layout
402 * Creates a new worker thread and saves the screenshot to the media store.
433 * Takes a screenshot of the current display and shows an animation.
436 // We need to orient the screenshot correctly (and the Surface api seems to take screenshot
    [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();
  /prebuilts/devtools/tools/lib/
screenshot2.jar 
uiautomatorviewer.jar 
chimpchat.jar 
hierarchyviewer2lib.jar 
  /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();
  /frameworks/uiautomator/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/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/content/browser/web_contents/
web_contents_screenshot_manager.cc 156 scoped_refptr<ScreenshotData> screenshot = new ScreenshotData(); local
157 screenshot->EncodeScreenshot(
162 screenshot));
171 if (entry->screenshot().get())
179 scoped_refptr<ScreenshotData> screenshot) {
191 entry->SetScreenshotPNGData(screenshot->data());
200 if (!entry->screenshot().get())
218 ->screenshot().get()) {
227 // when taking the screenshot failed for some reason). So there may be a state
229 // any screenshot. In such cases, keep the screenshots for |kMaxScreenshots
    [all...]
navigation_entry_impl.h 190 const scoped_refptr<base::RefCountedBytes> screenshot() const { function in class:content::NavigationEntryImpl
242 // restore). The screenshot of a page is taken when navigating away from the
243 // page. This screenshot is displayed during an overscroll-navigation
244 // gesture. |screenshot_| will be NULL when the screenshot is not available
245 // (e.g. after a session restore, or if taking the screenshot of a page
  /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/browser/
bug_report_util.cc 317 userfeedback::PostedScreenshot screenshot; local
318 screenshot.set_mime_type(kPngMimeType);
319 // Set the dimensions of the screenshot
323 *(screenshot.mutable_dimensions()) = dimensions;
324 screenshot.set_binary_content(std::string(png_data, png_data_length));
326 // Set the screenshot object in feedback
327 *(feedback_data.mutable_screenshot()) = screenshot;
  /external/chromium/chrome/browser/ui/webui/
bug_report_ui.cc 83 FilePath screenshot = screenshots.Next(); local
84 while (!screenshot.empty()) {
86 screenshot.BaseName().value());
90 screenshot = screenshots.Next();
152 // Do not refresh screenshot, do not create a new tab
255 localized_strings.SetString(std::string("current-screenshot"),
257 localized_strings.SetString(std::string("saved-screenshot"),
271 localized_strings.SetString(std::string("choose-different-screenshot"),
274 localized_strings.SetString(std::string("choose-original-screenshot"),
456 // setting the screenshot to NULL, effectively disabling the sourc
    [all...]
  /external/chromium_org/chrome/browser/feedback/
feedback_util.cc 308 userfeedback::PostedScreenshot screenshot; local
309 screenshot.set_mime_type(kPngMimeType);
310 // Set the dimensions of the screenshot
315 *(screenshot.mutable_dimensions()) = dimensions;
319 screenshot.set_binary_content(std::string(image_data, image_data_size));
321 // Set the screenshot object in feedback
322 *(feedback_data.mutable_screenshot()) = screenshot;
  /external/chromium_org/chrome/browser/ui/webui/
feedback_ui.cc 95 // Compare two screenshot filepaths, which include the screenshot timestamp
96 // in the format of screenshot-yyyymmdd-hhmmss.png. Return true if |filepath1|
202 // Do not refresh screenshot, do not create a new tab.
217 // instead to grab the screenshot. We want everything on the screen, not
312 source->AddLocalizedString("current-screenshot",
314 source->AddLocalizedString("saved-screenshot",
327 source->AddLocalizedString("choose-different-screenshot",
329 source->AddLocalizedString("choose-original-screenshot",
377 // Make sure we don't leave any screenshot data around
725 base::FilePath screenshot = screenshots.Next(); local
    [all...]
  /external/chromium_org/chrome/test/chromedriver/
window_commands.cc 654 std::string screenshot; local
655 Status status = web_view->CaptureScreenshot(&screenshot);
658 value->reset(new base::StringValue(screenshot));
  /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...]

Completed in 1960 milliseconds