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

/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
321 layer->sourceCrop = it->sourceCrop;
390 // Set default sourceDim and sourceCrop based on size of display frame.
397 rect.sourceCrop.left = 0;
398 rect.sourceCrop.top = 0;
399 rect.sourceCrop
[all...]
H A DhwcCommit.cpp129 HwcTestDim sourceCrop; member in struct:searchLimits
175 struct hwc_rect sourceCrop; member in class:Rectangle
254 struct sourceCrop { struct in struct:meas
508 == searchLimits.sourceCrop.width()) ? ">= " : "",
513 == searchLimits.sourceCrop.height()) ? ">= " : "",
521 >= searchLimits.sourceCrop.width())
523 searchLimits.sourceCrop.height())) ? ">= " : "",
533 >= Rational(searchLimits.sourceCrop.width(),
548 >= Rational(searchLimits.sourceCrop.height(),
952 for (w = searchLimits.sourceCrop
[all...]
/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp105 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
114 data.write(sourceCrop);
545 Rect sourceCrop(Rect::EMPTY_RECT);
546 data.read(sourceCrop);
555 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ,
103 captureScreen(const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, ISurfaceComposer::Rotation rotation) argument
H A DSurfaceComposerClient.cpp946 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
950 return s->captureScreen(display, producer, sourceCrop,
955 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
969 status_t ret = s->captureScreen(display, producer, sourceCrop, reqWidth, reqHeight,
1001 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
1014 status_t err = s->captureScreen(display, mProducer, sourceCrop,
1028 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
1032 return ScreenshotClient::update(display, sourceCrop, reqWidth, reqHeight,
1036 status_t ScreenshotClient::update(const sp<IBinder>& display, Rect sourceCrop, argument
1038 return ScreenshotClient::update(display, sourceCrop,
943 capture( const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform) argument
954 captureToBuffer(const sp<IBinder>& display, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, uint32_t rotation, sp<GraphicBuffer>* outBuffer) argument
1000 update(const sp<IBinder>& display, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, uint32_t rotation) argument
1027 update(const sp<IBinder>& display, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform) argument
1043 update(const sp<IBinder>& display, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform) argument
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES20RenderEngine.cpp173 size_t vpw, size_t vph, Rect sourceCrop, size_t hwh, bool yswap,
176 size_t l = sourceCrop.left;
177 size_t r = sourceCrop.right;
180 size_t t = hwh - sourceCrop.top;
181 size_t b = hwh - sourceCrop.bottom;
172 setViewportAndProjection( size_t vpw, size_t vph, Rect sourceCrop, size_t hwh, bool yswap, Transform::orientation_flags rotation) argument
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2TestProperties.cpp58 void Hwc2TestBufferArea::setDependent(Hwc2TestSourceCrop* sourceCrop) argument
60 mSourceCrop = sourceCrop;
479 const hwc_frect_t& sourceCrop = get(); local
480 dmp << "\tsource crop: left " << sourceCrop.left << ", top "
481 << sourceCrop.top << ", right " << sourceCrop.right << ", bottom "
482 << sourceCrop.bottom << "\n";
H A DHwc2Test.cpp490 const hwc_frect_t& sourceCrop, hwc2_error_t* outErr = nullptr)
497 sourceCrop));
489 setLayerSourceCrop(hwc2_display_t display, hwc2_layer_t layer, const hwc_frect_t& sourceCrop, hwc2_error_t* outErr = nullptr) argument
/frameworks/native/services/surfaceflinger/
H A DLayer.h764 FloatRect sourceCrop; member in struct:android::Layer::HWCInfo
H A DLayer.cpp689 FloatRect sourceCrop = computeCrop(displayDevice); local
690 error = hwcLayer->setSourceCrop(sourceCrop);
693 "%s (%d)", mName.string(), sourceCrop.left, sourceCrop.top,
694 sourceCrop.right, sourceCrop.bottom, to_string(error).c_str(),
697 hwcInfo.sourceCrop = sourceCrop;
2458 const FloatRect& crop = hwcInfo.sourceCrop;
H A DSurfaceFlinger.cpp4082 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
4122 Rect sourceCrop; member in class:android::MessageCaptureScreen
4133 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
4139 sourceCrop(sourceCrop), reqWidth(reqWidth), reqHeight(reqHeight),
4153 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ,
4169 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ,
4182 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
4195 // if a default or invalid sourceCrop is passed in, set reasonable values
4196 if (sourceCrop
4080 captureScreen(const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, ISurfaceComposer::Rotation rotation) argument
4130 MessageCaptureScreen(SurfaceFlinger* flinger, const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, Transform::orientation_flags rotation, bool isLocalScreenshot) argument
4180 renderScreenImplLocked( const sp<const DisplayDevice>& hw, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool yswap, bool useIdentityTransform, Transform::orientation_flags rotation) argument
4251 captureScreenImplLocked( const sp<const DisplayDevice>& hw, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, Transform::orientation_flags rotation, bool isLocalScreenshot) argument
[all...]
H A DSurfaceFlinger_hwc1.cpp3683 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
3723 Rect sourceCrop; member in class:MessageCaptureScreen
3734 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
3740 sourceCrop(sourceCrop), reqWidth(reqWidth), reqHeight(reqHeight),
3754 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ,
3770 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ,
3783 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
3796 // if a default or invalid sourceCrop is passed in, set reasonable values
3797 if (sourceCrop
3681 captureScreen(const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, ISurfaceComposer::Rotation rotation) argument
3731 MessageCaptureScreen(SurfaceFlinger* flinger, const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, Transform::orientation_flags rotation, bool isLocalScreenshot) argument
3781 renderScreenImplLocked( const sp<const DisplayDevice>& hw, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool yswap, bool useIdentityTransform, Transform::orientation_flags rotation) argument
3854 captureScreenImplLocked( const sp<const DisplayDevice>& hw, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, Transform::orientation_flags rotation, bool isLocalScreenshot) argument
[all...]
/frameworks/base/core/java/android/view/
H A DSurfaceControl.java47 Rect sourceCrop, int width, int height, int minLayer, int maxLayer,
50 Rect sourceCrop, int width, int height, int minLayer, int maxLayer,
53 Rect sourceCrop, int width, int height, int minLayer, int maxLayer,
844 * @param sourceCrop The portion of the screen to capture into the Bitmap;
866 public static Bitmap screenshot(Rect sourceCrop, int width, int height, argument
872 return nativeScreenshot(displayToken, sourceCrop, width, height,
880 public static GraphicBuffer screenshotToBuffer(Rect sourceCrop, int width, int height, argument
885 return nativeScreenshotToBuffer(displayToken, sourceCrop, width, height,
909 private static void screenshot(IBinder display, Surface consumer, Rect sourceCrop, argument
918 nativeScreenshot(display, consumer, sourceCrop, widt
46 nativeScreenshot(IBinder displayToken, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform, int rotation) argument
49 nativeScreenshotToBuffer(IBinder displayToken, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform, int rotation) argument
52 nativeScreenshot(IBinder displayToken, Surface consumer, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp151 Rect sourceCrop = rectFromObj(env, sourceCropObj); local
158 sourceCrop, width, height, minLayer, maxLayer, useIdentityTransform,
182 Rect sourceCrop = rectFromObj(env, sourceCropObj); local
191 res = screenshot->update(displayToken, sourceCrop, width, height,
257 Rect sourceCrop(left, top, right, bottom);
264 consumer->getIGraphicBufferProducer(), sourceCrop,
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayContent.java3538 E screenshot(Rect sourceCrop, int width, int height, int minLayer, int maxLayer, argument

Completed in 611 milliseconds