Home
last modified time | relevance | path

Searched refs:sourceRect (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameImage2D.java95 public void copyToFrame(FrameImage2D target, RectF sourceRect, RectF targetRect) { in copyToFrame() argument
97 gpuImageCopy(this, target, sourceRect, targetRect); in copyToFrame()
99 cpuImageCopy(this, target, sourceRect, targetRect); in copyToFrame()
DSurfaceHolderTarget.java166 Rect sourceRect = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight()); in renderCanvas() local
168 RectF targetRect = getTargetRect(sourceRect, surfaceRect); in renderCanvas()
172 canvas.drawBitmap(bitmap, sourceRect, targetRect, new Paint()); in renderCanvas()
/frameworks/base/native/android/
Dsurface_control.cpp430 Rect sourceRect = static_cast<const Rect&>(source); in ASurfaceTransaction_setGeometry() local
433 sourceRect.left = std::max(sourceRect.left, 0); in ASurfaceTransaction_setGeometry()
434 sourceRect.top = std::max(sourceRect.top, 0); in ASurfaceTransaction_setGeometry()
436 if (!sourceRect.isValid()) { in ASurfaceTransaction_setGeometry()
437 sourceRect.makeInvalid(); in ASurfaceTransaction_setGeometry()
439 transaction->setBufferCrop(surfaceControl, sourceRect); in ASurfaceTransaction_setGeometry()
/frameworks/base/core/java/com/android/internal/view/
DScrollCaptureViewSupport.java396 public int renderView(View view, Rect sourceRect) { in renderView() argument
403 updateRootNode(view, sourceRect); in renderView()