Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewActivity.java37 private int currentWidth = 0; field in Camera2SurfaceViewActivity
67 if (expectWidth == currentWidth && expectHeight == currentHeight) { in waitForSurfaceSizeChanged()
83 if (currentWidth == expectWidth && currentHeight == expectHeight) { in waitForSurfaceSizeChanged()
105 currentWidth = width; in surfaceChanged()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DColorCutQuantizer.java525 private static int modifyWordWidth(int value, int currentWidth, int targetWidth) { in modifyWordWidth() argument
527 if (targetWidth > currentWidth) { in modifyWordWidth()
529 newValue = value << (targetWidth - currentWidth); in modifyWordWidth()
532 newValue = value >> (currentWidth - targetWidth); in modifyWordWidth()
/frameworks/base/libs/hwui/surfacetexture/
DSurfaceTexture.cpp376 uint32_t currentWidth = static_cast<uint32_t>(crop.width()); in scaleDownCrop() local
380 if (newWidth < currentWidth) { in scaleDownCrop()
381 uint32_t dw = currentWidth - newWidth; in scaleDownCrop()
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.cpp739 auto currentWidth = std::get<0>(it); in getMatchingDepthSize() local
741 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()
/frameworks/native/libs/gui/
DGLConsumer.cpp762 uint32_t currentWidth = static_cast<uint32_t>(crop.width()); in scaleDownCrop() local
766 if (newWidth < currentWidth) { in scaleDownCrop()
767 uint32_t dw = currentWidth - newWidth; in scaleDownCrop()