Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DGLConsumer.cpp804 float shrinkAmount = 0.0f; in computeCurrentTransformMatrixLocked() local
820 shrinkAmount = 0.5; in computeCurrentTransformMatrixLocked()
826 shrinkAmount = 1.0; in computeCurrentTransformMatrixLocked()
833 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth; in computeCurrentTransformMatrixLocked()
834 sx = (float(cropRect.width()) - (2.0f * shrinkAmount)) / in computeCurrentTransformMatrixLocked()
838 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) / in computeCurrentTransformMatrixLocked()
840 sy = (float(cropRect.height()) - (2.0f * shrinkAmount)) / in computeCurrentTransformMatrixLocked()