Searched refs:currentWidth (Results 1 – 5 of 5) 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()
376 uint32_t currentWidth = static_cast<uint32_t>(crop.width()); in scaleDownCrop() local380 if (newWidth < currentWidth) { in scaleDownCrop()381 uint32_t dw = currentWidth - newWidth; in scaleDownCrop()
739 auto currentWidth = std::get<0>(it); in getMatchingDepthSize() local741 if ((currentWidth == width) && (currentHeight == height)) { in getMatchingDepthSize()746 float currentRatio = static_cast<float> (currentWidth) / in getMatchingDepthSize()748 auto currentSize = currentWidth * currentHeight; in getMatchingDepthSize()751 *depthWidth = currentWidth; in getMatchingDepthSize()
762 uint32_t currentWidth = static_cast<uint32_t>(crop.width()); in scaleDownCrop() local766 if (newWidth < currentWidth) { in scaleDownCrop()767 uint32_t dw = currentWidth - newWidth; in scaleDownCrop()