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

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

Completed in 6 milliseconds