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

  /external/chromium-trace/catapult/devil/devil/android/tools/
screenshot.py 6 """Takes a screenshot from an Android device."""
32 help='File to which the screenshot will be saved.')
40 def screenshot(device): function in function:main
46 print 'Screenshot for device %s written to %s' % (
49 device_utils.DeviceUtils.parallel(devices).pMap(screenshot)
  /external/autotest/client/profilers/screenshot/
screenshot.py 5 This profiler will take a screenshot at the specified interval.
14 class screenshot(profiler.profiler): class in inherits:profiler.profiler
15 """ Profiler for running screenshot """
20 """Initializes the screenshot profiler.
23 interval (int): How often to take a screenshot in seconds
37 """ Thread that runs screenshot at the specified interval """
46 logging.info("screenshot thread starting")
54 "screenshot-%d.png" % (int(start_time)))
57 cmd = ['screenshot', path]
59 logging.debug("Taking screenshot")
    [all...]
  /external/droiddriver/src/io/appium/droiddriver/base/
BaseUiDevice.java 92 Bitmap screenshot = takeScreenshot(); local
93 if (screenshot == null) {
99 screenshot.compress(format, quality, bos);
112 screenshot.recycle();
  /external/droiddriver/src/io/appium/droiddriver/instrumentation/
InstrumentationUiDevice.java 66 Bitmap screenshot; local
74 screenshot = Bitmap.createBitmap(drawingCache);
79 screenshot =
81 canvas.setBitmap(screenshot);
86 return screenshot;
  /external/swiftshader/src/D3D8/
Direct3DSwapChain8.cpp 200 void Direct3DSwapChain8::screenshot(void *destBuffer) function in class:D3D8::Direct3DSwapChain8
202 frameBuffer->screenshot(destBuffer);
  /cts/tests/tests/view/src/android/view/cts/
TextureViewTest.java 157 Bitmap screenshot = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); local
158 int result = new SynchronousPixelCopy().request(window, viewPos, screenshot);
161 PixelCopyTest.assertBitmapQuadColor(screenshot,
199 Bitmap screenshot = Bitmap.createBitmap(viewPos.width(), viewPos.height(), local
201 int result = new SynchronousPixelCopy().request(window, viewPos, screenshot);
211 screenshot.getPixel(10, texturePos.top - 10));
213 screenshot.getPixel(10, texturePos.bottom + 10));
215 screenshot.getPixel(texturePos.left + 10, texturePos.top + 10));
217 screenshot.getPixel(texturePos.right - 10, texturePos.top + 10));
219 screenshot.getPixel(texturePos.left + 10, texturePos.bottom - 10))
340 Bitmap screenshot = Bitmap.createBitmap(viewPos.width(), viewPos.height(), local
533 Bitmap screenshot = Bitmap.createBitmap(window.getDecorView().getWidth(), local
    [all...]
  /external/swiftshader/src/Main/
FrameBufferDD.cpp 339 void FrameBufferDD::screenshot(void *destBuffer) function in class:sw::FrameBufferDD
FrameBufferGDI.cpp 121 void FrameBufferGDI::screenshot(void *destBuffer) function in class:sw::FrameBufferGDI
  /external/swiftshader/src/WSI/
FrameBufferDD.cpp 332 void FrameBufferDD::screenshot(void *destBuffer) function in class:sw::FrameBufferDD
FrameBufferGDI.cpp 121 void FrameBufferGDI::screenshot(void *destBuffer) function in class:sw::FrameBufferGDI
  /cts/tests/framework/base/windowmanager/src/android/server/wm/
LocationOnScreenTests.java 157 final Bitmap screenshot = getInstrumentation().getUiAutomation().takeScreenshot(); local
162 if (isTestColors(screenshot, guess.x, guess.y)) {
166 for (int y = 0; y < screenshot.getHeight(); y++) {
167 for (int x = 0; x < screenshot.getWidth() - 1; x++) {
168 if (isTestColors(screenshot, x, y)) {
175 BitmapUtils.saveBitmap(screenshot, path, file);
181 private boolean isTestColors(Bitmap screenshot, int x, int y) {
182 return sameColorWithinTolerance(screenshot.getPixel(x, y), TEST_COLOR_1)
183 && sameColorWithinTolerance(screenshot.getPixel(x + 1, y), TEST_COLOR_2);
  /cts/tests/tests/assist/service/src/android/assist/service/
MainInteractionSession.java 159 public void onHandleScreenshot(/*@Nullable*/ Bitmap screenshot) {
160 Log.i(TAG, String.format("onHandleScreenshot - Screenshot: %s", screenshot));
161 super.onHandleScreenshot(screenshot);
163 if (screenshot != null) {
166 if (mTestName.equals(Utils.SCREENSHOT)) {
167 boolean screenshotMatches = compareScreenshot(screenshot, mCurColor);
168 Log.i(TAG, "this is a screenshot test. Matches? " + screenshotMatches);
179 private boolean compareScreenshot(Bitmap screenshot, int color) {
182 if (screenshot.getWidth() != size.x || screenshot.getHeight() != size.y)
    [all...]

Completed in 857 milliseconds