Searched refs:sourceCrop (Results 1 - 20 of 20) 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
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 DhwcStress.cpp440 layer->sourceCrop.left = testRandMod(gBuf->getWidth());
441 layer->sourceCrop.top = testRandMod(gBuf->getHeight());
442 layer->sourceCrop.right = layer->sourceCrop.left
443 + testRandMod(gBuf->getWidth() - layer->sourceCrop.left) + 1;
444 layer->sourceCrop.bottom = layer->sourceCrop.top
445 + testRandMod(gBuf->getHeight() - layer->sourceCrop.top) + 1;
454 // the sourceCrop to displayFrame occurs. This is the
461 int sourceWidth = layer->sourceCrop
[all...]
H A DhwcColorEquiv.cpp358 layer->sourceCrop.left = 0;
359 layer->sourceCrop.top = 0;
360 layer->sourceCrop.right = width;
361 layer->sourceCrop.bottom = refHeight;
372 layer->sourceCrop.left = 0;
373 layer->sourceCrop.top = 0;
374 layer->sourceCrop.right = width;
375 layer->sourceCrop.bottom = equivHeight;
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...]
H A DhwcTestLib.cpp479 testPrintI(" sourceCrop: %s",
480 hwcTestRect2str(list->hwLayers[layer].sourceCrop).c_str());
484 (float) (list->hwLayers[layer].sourceCrop.right
485 - list->hwLayers[layer].sourceCrop.left)
488 (float) (list->hwLayers[layer].sourceCrop.bottom
489 - list->hwLayers[layer].sourceCrop.top)
/frameworks/native/include/gui/
H A DSurfaceComposerClient.h186 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,
H A DISurfaceComposer.h145 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
/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 DGLES11RenderEngine.h54 Rect sourceCrop, size_t hwh, bool yswap, Transform::orientation_flags rotation);
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
H A DGLES20RenderEngine.h69 Rect sourceCrop, size_t hwh, bool yswap, Transform::orientation_flags rotation);
H A DRenderEngine.h95 Rect sourceCrop, size_t hwh, bool yswap, Transform::orientation_flags rotation) = 0;
/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/libs/gui/
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...]
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
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.h206 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,
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...]
H A DDisplayDevice.cpp290 Rect sourceCrop(0, 0, w, h);
291 mFlinger->getRenderEngine().setViewportAndProjection(w, h, sourceCrop, h,
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp591 disp.framebufferTarget->sourceCrop = r;
1008 hwc_rect_t& r = getLayer()->sourceCrop;
1195 l.sourceCrop.left, l.sourceCrop.top, l.sourceCrop.right, l.sourceCrop.bottom,
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp131 Rect sourceCrop(left, top, right, bottom);
140 res = screenshot->update(displayToken, sourceCrop, width, height,
202 Rect sourceCrop(left, top, right, bottom);
209 consumer->getIGraphicBufferProducer(), sourceCrop,

Completed in 513 milliseconds