Home
last modified time | relevance | path

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

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DViewFilter.java89 float relativeAR = bufferAR / frameAR; in getTargetRect() local
95 if (relativeAR > 1.0f) { in getTargetRect()
96 float x = 0.5f - 0.5f / relativeAR; in getTargetRect()
98 result.set(x, y, x + 1.0f / relativeAR, y + 1.0f); in getTargetRect()
101 float y = 0.5f - 0.5f * relativeAR; in getTargetRect()
102 result.set(x, y, x + 1.0f, y + relativeAR); in getTargetRect()
106 if (relativeAR > 1.0f) { in getTargetRect()
108 float y = 0.5f - 0.5f * relativeAR; in getTargetRect()
109 result.set(x, y, x + 1.0f, y + relativeAR); in getTargetRect()
111 float x = 0.5f - 0.5f / relativeAR; in getTargetRect()
[all …]