/frameworks/native/opengl/tests/hwc/ |
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...] |
H A D | hwcStress.cpp | 441 layer->sourceCrop.left = testRandMod(gBuf->getWidth()); 442 layer->sourceCrop.top = testRandMod(gBuf->getHeight()); 443 layer->sourceCrop.right = layer->sourceCrop.left 444 + testRandMod(gBuf->getWidth() - layer->sourceCrop.left) + 1; 445 layer->sourceCrop.bottom = layer->sourceCrop.top 446 + testRandMod(gBuf->getHeight() - layer->sourceCrop.top) + 1; 455 // the sourceCrop to displayFrame occurs. This is the 462 int sourceWidth = layer->sourceCrop [all...] |
H A D | hwcColorEquiv.cpp | 356 layer->sourceCrop.left = 0; 357 layer->sourceCrop.top = 0; 358 layer->sourceCrop.right = width; 359 layer->sourceCrop.bottom = refHeight; 370 layer->sourceCrop.left = 0; 371 layer->sourceCrop.top = 0; 372 layer->sourceCrop.right = width; 373 layer->sourceCrop.bottom = equivHeight;
|
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 | hwcTestLib.cpp | 477 testPrintI(" sourceCrop: %s", 478 hwcTestRect2str(list->hwLayers[layer].sourceCrop).c_str()); 482 (float) (list->hwLayers[layer].sourceCrop.right 483 - list->hwLayers[layer].sourceCrop.left) 486 (float) (list->hwLayers[layer].sourceCrop.bottom 487 - list->hwLayers[layer].sourceCrop.top)
|
/frameworks/native/include/gui/ |
H A D | SurfaceComposerClient.h | 197 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 215 Rect sourceCrop, bool useIdentityTransform); 217 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 220 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 224 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
|
H A D | ISurfaceComposer.h | 145 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
|
/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
|
H A D | GLES11RenderEngine.h | 54 Rect sourceCrop, size_t hwh, bool yswap,
|
H A D | GLES20RenderEngine.h | 69 Rect sourceCrop, size_t hwh, bool yswap,
|
H A D | RenderEngine.h | 95 Rect sourceCrop, size_t hwh, bool yswap, Transform::orientation_flags rotation) = 0;
|
/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 | 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...] |
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
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.h | 213 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 330 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 337 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
|
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...] |
H A D | DisplayDevice.cpp | 364 Rect sourceCrop(0, 0, w, h); 365 mFlinger->getRenderEngine().setViewportAndProjection(w, h, sourceCrop, h,
|
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(),
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer_hwc1.cpp | 613 disp.framebufferTarget->sourceCrop = r; 1038 hwc_rect_t& r = getLayer()->sourceCrop; 1246 l.sourceCrop.left, l.sourceCrop.top, l.sourceCrop.right, l.sourceCrop.bottom,
|
/frameworks/base/core/jni/ |
H A D | android_view_SurfaceControl.cpp | 139 Rect sourceCrop(left, top, right, bottom); 148 res = screenshot->update(displayToken, sourceCrop, width, height, 208 Rect sourceCrop(left, top, right, bottom); 215 consumer->getIGraphicBufferProducer(), sourceCrop,
|