Home
last modified time | relevance | path

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

/device/generic/goldfish/camera/
DEmulatedFakeCameraDevice.cpp307 const int squareSize = std::min(mFrameWidth, mFrameHeight) / 4; in drawCheckerboard() local
312 if (squareX + squareSize > mFrameWidth) { in drawCheckerboard()
314 double relativeWidth = static_cast<double>(squareSize) / mFrameWidth; in drawCheckerboard()
322 if (squareY + squareSize > mFrameHeight) { in drawCheckerboard()
324 double relativeHeight = static_cast<double>(squareSize) / mFrameHeight; in drawCheckerboard()
338 drawSquare(buffer, squareX, squareY, squareSize, mSquareColor); in drawCheckerboard()