Searched refs:currentWidth (Results 1 – 4 of 4) sorted by relevance
37 private int currentWidth = 0; field in Camera2SurfaceViewActivity67 if (expectWidth == currentWidth && expectHeight == currentHeight) { in waitForSurfaceSizeChanged()83 if (currentWidth == expectWidth && currentHeight == expectHeight) { in waitForSurfaceSizeChanged()105 currentWidth = width; in surfaceChanged()
525 private static int modifyWordWidth(int value, int currentWidth, int targetWidth) { in modifyWordWidth() argument527 if (targetWidth > currentWidth) { in modifyWordWidth()529 newValue = value << (targetWidth - currentWidth); in modifyWordWidth()532 newValue = value >> (currentWidth - targetWidth); in modifyWordWidth()
508 private static int modifyWordWidth(int value, int currentWidth, int targetWidth) { in modifyWordWidth() argument510 if (targetWidth > currentWidth) { in modifyWordWidth()512 newValue = value << (targetWidth - currentWidth); in modifyWordWidth()515 newValue = value >> (currentWidth - targetWidth); in modifyWordWidth()
889 uint32_t currentWidth = static_cast<uint32_t>(crop.width()); in scaleDownCrop() local893 if (newWidth < currentWidth) { in scaleDownCrop()894 uint32_t dw = currentWidth - newWidth; in scaleDownCrop()