Searched defs:sourceCrop (Results 1 - 8 of 8) sorted by relevance

/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp108 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
117 data.write(sourceCrop);
354 Rect sourceCrop; local
355 data.read(sourceCrop);
364 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ,
106 captureScreen(const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform, ISurfaceComposer::Rotation rotation) argument
H A DSurfaceComposerClient.cpp690 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
694 return s->captureScreen(display, producer, sourceCrop,
718 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
731 status_t err = s->captureScreen(display, mProducer, sourceCrop,
745 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
749 return ScreenshotClient::update(display, sourceCrop, reqWidth, reqHeight,
753 status_t ScreenshotClient::update(const sp<IBinder>& display, Rect sourceCrop, argument
755 return ScreenshotClient::update(display, sourceCrop, 0, 0, 0, -1UL,
759 status_t ScreenshotClient::update(const sp<IBinder>& display, Rect sourceCrop, argument
761 return ScreenshotClient::update(display, sourceCrop, reqWidt
687 capture( const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform) argument
717 update(const sp<IBinder>& display, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform, uint32_t rotation) argument
744 update(const sp<IBinder>& display, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform) argument
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcRects.cpp45 * sourceCrop: [left, top, right, bottom]
55 * sourceDim: [50, 60] sourceCrop: [5, 8, 12, 15]
148 sourceCrop(defaultSourceCrop),
157 struct hwc_rect sourceCrop; member in class:Rectangle
322 layer->sourceCrop = it->sourceCrop;
392 // Set default sourceDim and sourceCrop based on size of display frame.
399 rect.sourceCrop.left = 0;
400 rect.sourceCrop.top = 0;
401 rect.sourceCrop
[all...]
H A DhwcCommit.cpp130 HwcTestDim sourceCrop; member in struct:searchLimits
176 struct hwc_rect sourceCrop; member in class:Rectangle
255 struct sourceCrop { struct in struct:meas
510 == searchLimits.sourceCrop.width()) ? ">= " : "",
515 == searchLimits.sourceCrop.height()) ? ">= " : "",
523 >= searchLimits.sourceCrop.width())
525 searchLimits.sourceCrop.height())) ? ">= " : "",
535 >= Rational(searchLimits.sourceCrop.width(),
550 >= Rational(searchLimits.sourceCrop.height(),
954 for (w = searchLimits.sourceCrop
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES11RenderEngine.cpp78 size_t vpw, size_t vph, Rect sourceCrop, size_t hwh, bool yswap,
84 size_t l = sourceCrop.left;
85 size_t r = sourceCrop.right;
88 size_t t = hwh - sourceCrop.top;
89 size_t b = hwh - sourceCrop.bottom;
77 setViewportAndProjection( size_t vpw, size_t vph, Rect sourceCrop, size_t hwh, bool yswap, Transform::orientation_flags rotation) argument
H A DGLES20RenderEngine.cpp85 size_t vpw, size_t vph, Rect sourceCrop, size_t hwh, bool yswap,
88 size_t l = sourceCrop.left;
89 size_t r = sourceCrop.right;
92 size_t t = hwh - sourceCrop.top;
93 size_t b = hwh - sourceCrop.bottom;
84 setViewportAndProjection( size_t vpw, size_t vph, Rect sourceCrop, size_t hwh, bool yswap, Transform::orientation_flags rotation) argument
/frameworks/base/core/java/android/view/
H A DSurfaceControl.java41 Rect sourceCrop, int width, int height, int minLayer, int maxLayer,
44 Rect sourceCrop, int width, int height, int minLayer, int maxLayer,
678 * @param sourceCrop The portion of the screen to capture into the Bitmap;
700 public static Bitmap screenshot(Rect sourceCrop, int width, int height, argument
706 return nativeScreenshot(displayToken, sourceCrop, width, height,
730 private static void screenshot(IBinder display, Surface consumer, Rect sourceCrop, argument
739 nativeScreenshot(display, consumer, sourceCrop, width, height,
40 nativeScreenshot(IBinder displayToken, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform, int rotation) argument
43 nativeScreenshot(IBinder displayToken, Surface consumer, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform) argument
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp3002 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
3049 Rect sourceCrop; member in class:android::MessageCaptureScreen
3059 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
3063 sourceCrop(sourceCrop), reqWidth(reqWidth), reqHeight(reqHeight),
3077 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ,
3100 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ,
3113 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
3125 // if a default or invalid sourceCrop is passed in, set reasonable values
3126 if (sourceCrop
3000 captureScreen(const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform, ISurfaceComposer::Rotation rotation) argument
3056 MessageCaptureScreen(SurfaceFlinger* flinger, const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform, Transform::orientation_flags rotation) argument
3111 renderScreenImplLocked( const sp<const DisplayDevice>& hw, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool yswap, bool useIdentityTransform, Transform::orientation_flags rotation) argument
3179 captureScreenImplLocked( const sp<const DisplayDevice>& hw, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform, Transform::orientation_flags rotation) argument
[all...]

Completed in 1325 milliseconds