Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DGLConsumer.cpp791 float shrinkAmount = 0.0f; in computeCurrentTransformMatrixLocked() local
807 shrinkAmount = 0.5; in computeCurrentTransformMatrixLocked()
813 shrinkAmount = 1.0; in computeCurrentTransformMatrixLocked()
820 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth; in computeCurrentTransformMatrixLocked()
821 sx = (float(cropRect.width()) - (2.0f * shrinkAmount)) / in computeCurrentTransformMatrixLocked()
825 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) / in computeCurrentTransformMatrixLocked()
827 sy = (float(cropRect.height()) - (2.0f * shrinkAmount)) / in computeCurrentTransformMatrixLocked()