/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 42 Rect sourceCrop, int width, int height, int minLayer, int maxLayer, 45 Rect sourceCrop, int width, int height, int minLayer, int maxLayer, 757 * @param sourceCrop The portion of the screen to capture into the Bitmap; 779 public static Bitmap screenshot(Rect sourceCrop, int width, int height, argument 785 return nativeScreenshot(displayToken, sourceCrop, width, height, 809 private static void screenshot(IBinder display, Surface consumer, Rect sourceCrop, argument 818 nativeScreenshot(display, consumer, sourceCrop, width, height, 41 nativeScreenshot(IBinder displayToken, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform, int rotation) argument 44 nativeScreenshot(IBinder displayToken, Surface consumer, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform) argument
|
/frameworks/native/libs/gui/ |
H A D | ISurfaceComposer.cpp | 104 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 113 data.write(sourceCrop); 379 Rect sourceCrop(Rect::EMPTY_RECT); 380 data.read(sourceCrop); 389 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ, 102 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 D | SurfaceComposerClient.cpp | 790 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 794 return s->captureScreen(display, producer, sourceCrop, 818 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 831 status_t err = s->captureScreen(display, mProducer, sourceCrop, 845 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 849 return ScreenshotClient::update(display, sourceCrop, reqWidth, reqHeight, 853 status_t ScreenshotClient::update(const sp<IBinder>& display, Rect sourceCrop, argument 855 return ScreenshotClient::update(display, sourceCrop, 0, 0, 0, -1U, 859 status_t ScreenshotClient::update(const sp<IBinder>& display, Rect sourceCrop, argument 861 return ScreenshotClient::update(display, sourceCrop, reqWidt 787 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 817 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 844 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 D | hwcCommit.cpp | 129 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...] |
H A D | hwcRects.cpp | 45 * 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...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 597 FloatRect sourceCrop = computeCrop(displayDevice); local 598 error = hwcLayer->setSourceCrop(sourceCrop); 601 sourceCrop.left, sourceCrop.top, sourceCrop.right, 602 sourceCrop.bottom, to_string(error).c_str(),
|
H A D | SurfaceFlinger.cpp | 3214 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 3254 Rect sourceCrop; member in class:android::MessageCaptureScreen 3265 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 3271 sourceCrop(sourceCrop), reqWidth(reqWidth), reqHeight(reqHeight), 3285 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ, 3301 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ, 3314 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 3327 // if a default or invalid sourceCrop is passed in, set reasonable values 3328 if (sourceCrop 3212 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 3262 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, bool isLocalScreenshot) argument 3312 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 3379 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, bool isLocalScreenshot) argument [all...] |
H A D | SurfaceFlinger_hwc1.cpp | 3228 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 3268 Rect sourceCrop; member in class:android::MessageCaptureScreen 3279 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 3285 sourceCrop(sourceCrop), reqWidth(reqWidth), reqHeight(reqHeight), 3299 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ, 3315 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ, 3328 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 3341 // if a default or invalid sourceCrop is passed in, set reasonable values 3342 if (sourceCrop 3226 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 3276 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, bool isLocalScreenshot) argument 3326 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 3395 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, bool isLocalScreenshot) argument [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | GLES11RenderEngine.cpp | 72 size_t vpw, size_t vph, Rect sourceCrop, size_t hwh, bool yswap, 78 size_t l = sourceCrop.left; 79 size_t r = sourceCrop.right; 82 size_t t = hwh - sourceCrop.top; 83 size_t b = hwh - sourceCrop.bottom; 71 setViewportAndProjection( size_t vpw, size_t vph, Rect sourceCrop, size_t hwh, bool yswap, Transform::orientation_flags rotation) argument
|
H A D | GLES20RenderEngine.cpp | 79 size_t vpw, size_t vph, Rect sourceCrop, size_t hwh, bool yswap, 82 size_t l = sourceCrop.left; 83 size_t r = sourceCrop.right; 86 size_t t = hwh - sourceCrop.top; 87 size_t b = hwh - sourceCrop.bottom; 78 setViewportAndProjection( size_t vpw, size_t vph, Rect sourceCrop, size_t hwh, bool yswap, Transform::orientation_flags rotation) argument
|