Searched refs:sourceRect (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FrameImage2D.java | 95 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()
|
D | SurfaceHolderTarget.java | 166 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/ |
D | surface_control.cpp | 430 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/ |
D | ScrollCaptureViewSupport.java | 396 public int renderView(View view, Rect sourceRect) { in renderView() argument 403 updateRootNode(view, sourceRect); in renderView()
|