Lines Matching refs:rw
141 float rw = cropAspect > mRotateAspect ? in updateCaptureRequest() local
149 transformMat[1] = -rw / ch; // +y -> -x in updateCaptureRequest()
151 xShift = (cw + rw) / 2; // left edge of crop to right edge of rotated in updateCaptureRequest()
155 transformMat[1] = rw / ch; // +y -> +x in updateCaptureRequest()
157 xShift = (cw - rw) / 2; // left edge of crop to left edge of rotated in updateCaptureRequest()
268 float rw = cropAspect > mRotateAspect ? in updateCaptureResult() local
274 rx = cx + (cw - rw) / 2; in updateCaptureResult()
278 transformMat[1] = ch / rw; // +y -> +x in updateCaptureResult()
280 xShift = -(cw - rw) / 2; // left edge of rotated to left edge of cropped in updateCaptureResult()
284 transformMat[1] = -ch / rw; // +y -> -x in updateCaptureResult()
286 xShift = (cw + rw) / 2; // left edge of rotated to left edge of cropped in updateCaptureResult()