/frameworks/native/opengl/tests/hwc/ |
D | hwcRects.cpp | 148 sourceCrop(defaultSourceCrop), in Rectangle() 157 struct hwc_rect sourceCrop; member in Rectangle 322 layer->sourceCrop = it->sourceCrop; in main() 399 rect.sourceCrop.left = 0; in parseRect() 400 rect.sourceCrop.top = 0; in parseRect() 401 rect.sourceCrop.right = rect.sourceDim.width(); in parseRect() 402 rect.sourceCrop.bottom = rect.sourceDim.height(); in parseRect() 475 rect.sourceCrop = hwcTestParseHwcRect(in, error); in parseRect() 489 if (((uint32_t) rect.sourceCrop.left >= rect.sourceDim.width()) in parseRect() 490 || ((uint32_t) rect.sourceCrop.right > rect.sourceDim.width()) in parseRect() [all …]
|
D | hwcStress.cpp | 440 layer->sourceCrop.left = testRandMod(gBuf->getWidth()); in main() 441 layer->sourceCrop.top = testRandMod(gBuf->getHeight()); in main() 442 layer->sourceCrop.right = layer->sourceCrop.left in main() 443 + testRandMod(gBuf->getWidth() - layer->sourceCrop.left) + 1; in main() 444 layer->sourceCrop.bottom = layer->sourceCrop.top in main() 445 + testRandMod(gBuf->getHeight() - layer->sourceCrop.top) + 1; in main() 461 int sourceWidth = layer->sourceCrop.right in main() 462 - layer->sourceCrop.left; in main() 463 int sourceHeight = layer->sourceCrop.bottom in main() 464 - layer->sourceCrop.top; in main()
|
D | hwcColorEquiv.cpp | 358 layer->sourceCrop.left = 0; in main() 359 layer->sourceCrop.top = 0; in main() 360 layer->sourceCrop.right = width; in main() 361 layer->sourceCrop.bottom = refHeight; in main() 372 layer->sourceCrop.left = 0; in main() 373 layer->sourceCrop.top = 0; in main() 374 layer->sourceCrop.right = width; in main() 375 layer->sourceCrop.bottom = equivHeight; in main()
|
D | hwcCommit.cpp | 130 HwcTestDim sourceCrop; member 176 struct hwc_rect sourceCrop; member in Rectangle 255 struct sourceCrop { struct 510 == searchLimits.sourceCrop.width()) ? ">= " : "", in main() 515 == searchLimits.sourceCrop.height()) ? ">= " : "", in main() 523 >= searchLimits.sourceCrop.width()) in main() 525 searchLimits.sourceCrop.height())) ? ">= " : "", in main() 535 >= Rational(searchLimits.sourceCrop.width(), in main() 550 >= Rational(searchLimits.sourceCrop.height(), in main() 954 for (w = searchLimits.sourceCrop.width(); w >= dfDim.width(); w--) { in scMaxWidth() [all …]
|
D | hwcTestLib.cpp | 480 hwcTestRect2str(list->hwLayers[layer].sourceCrop).c_str()); in hwcTestDisplayList() 484 (float) (list->hwLayers[layer].sourceCrop.right in hwcTestDisplayList() 485 - list->hwLayers[layer].sourceCrop.left) in hwcTestDisplayList() 488 (float) (list->hwLayers[layer].sourceCrop.bottom in hwcTestDisplayList() 489 - list->hwLayers[layer].sourceCrop.top) in hwcTestDisplayList()
|
/frameworks/native/include/gui/ |
D | SurfaceComposerClient.h | 186 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 204 Rect sourceCrop, bool useIdentityTransform); 206 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 209 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 213 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
|
D | ISurfaceComposer.h | 145 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | GLES11RenderEngine.cpp | 78 size_t vpw, size_t vph, Rect sourceCrop, size_t hwh, bool yswap, in setViewportAndProjection() argument 84 size_t l = sourceCrop.left; in setViewportAndProjection() 85 size_t r = sourceCrop.right; in setViewportAndProjection() 88 size_t t = hwh - sourceCrop.top; in setViewportAndProjection() 89 size_t b = hwh - sourceCrop.bottom; in setViewportAndProjection()
|
D | GLES20RenderEngine.cpp | 85 size_t vpw, size_t vph, Rect sourceCrop, size_t hwh, bool yswap, in setViewportAndProjection() argument 88 size_t l = sourceCrop.left; in setViewportAndProjection() 89 size_t r = sourceCrop.right; in setViewportAndProjection() 92 size_t t = hwh - sourceCrop.top; in setViewportAndProjection() 93 size_t b = hwh - sourceCrop.bottom; in setViewportAndProjection()
|
D | GLES11RenderEngine.h | 54 Rect sourceCrop, size_t hwh, bool yswap, Transform::orientation_flags rotation);
|
D | GLES20RenderEngine.h | 69 Rect sourceCrop, size_t hwh, bool yswap, Transform::orientation_flags rotation);
|
D | RenderEngine.h | 95 Rect sourceCrop, size_t hwh, bool yswap, Transform::orientation_flags rotation) = 0;
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControl.java | 41 Rect sourceCrop, int width, int height, int minLayer, int maxLayer, in nativeScreenshot() argument 44 Rect sourceCrop, int width, int height, int minLayer, int maxLayer, in nativeScreenshot() argument 700 public static Bitmap screenshot(Rect sourceCrop, int width, int height, in screenshot() argument 706 return nativeScreenshot(displayToken, sourceCrop, width, height, in screenshot() 730 private static void screenshot(IBinder display, Surface consumer, Rect sourceCrop, in screenshot() argument 739 nativeScreenshot(display, consumer, sourceCrop, width, height, in screenshot()
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 690 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, in capture() argument 694 return s->captureScreen(display, producer, sourceCrop, in capture() 718 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, in update() argument 731 status_t err = s->captureScreen(display, mProducer, sourceCrop, in update() 745 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, in update() argument 749 return ScreenshotClient::update(display, sourceCrop, reqWidth, reqHeight, in update() 753 status_t ScreenshotClient::update(const sp<IBinder>& display, Rect sourceCrop, in update() argument 755 return ScreenshotClient::update(display, sourceCrop, 0, 0, 0, -1UL, in update() 759 status_t ScreenshotClient::update(const sp<IBinder>& display, Rect sourceCrop, in update() argument 761 return ScreenshotClient::update(display, sourceCrop, reqWidth, reqHeight, in update()
|
D | ISurfaceComposer.cpp | 108 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, in captureScreen() argument 117 data.write(sourceCrop); in captureScreen() 354 Rect sourceCrop; in onTransact() local 355 data.read(sourceCrop); in onTransact() 364 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ, in onTransact()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 3002 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, in captureScreen() argument 3049 Rect sourceCrop; in captureScreen() member in android::SurfaceFlinger::captureScreen::MessageCaptureScreen 3059 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, in captureScreen() argument 3063 sourceCrop(sourceCrop), reqWidth(reqWidth), reqHeight(reqHeight), in captureScreen() 3077 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ, in captureScreen() 3100 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ, in captureScreen() 3113 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, in renderScreenImplLocked() argument 3126 if (sourceCrop.width() == 0 || sourceCrop.height() == 0 || in renderScreenImplLocked() 3127 !sourceCrop.isValid()) { in renderScreenImplLocked() 3128 sourceCrop.setLeftTop(Point(0, 0)); in renderScreenImplLocked() [all …]
|
D | SurfaceFlinger.h | 206 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 321 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, 328 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
|
D | DisplayDevice.cpp | 290 Rect sourceCrop(0, 0, w, h); in setViewportAndProjection() local 291 mFlinger->getRenderEngine().setViewportAndProjection(w, h, sourceCrop, h, in setViewportAndProjection()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 131 Rect sourceCrop(left, top, right, bottom); in nativeScreenshotBitmap() local 140 res = screenshot->update(displayToken, sourceCrop, width, height, in nativeScreenshotBitmap() 202 Rect sourceCrop(left, top, right, bottom); in nativeScreenshot() local 209 consumer->getIGraphicBufferProducer(), sourceCrop, in nativeScreenshot()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.cpp | 591 disp.framebufferTarget->sourceCrop = r; in createWorkList() 1008 hwc_rect_t& r = getLayer()->sourceCrop; in setCrop() 1195 … l.sourceCrop.left, l.sourceCrop.top, l.sourceCrop.right, l.sourceCrop.bottom, in dump()
|