Home
last modified time | relevance | path

Searched refs:currentWidth (Results 1 – 7 of 7) 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/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.cpp169 uint32_t currentWidth, currentHeight; in updatePreviewStream() local
171 &currentWidth, &currentHeight, 0, 0); in updatePreviewStream()
177 if (currentWidth != (uint32_t)params.previewWidth || in updatePreviewStream()
180 __FUNCTION__, mId, currentWidth, currentHeight, in updatePreviewStream()
320 uint32_t currentWidth, currentHeight, currentFormat; in recordingStreamNeedsUpdate() local
323 &currentWidth, &currentHeight, &currentFormat, &currentDataSpace); in recordingStreamNeedsUpdate()
332 currentWidth != (uint32_t)params.videoWidth || in recordingStreamNeedsUpdate()
356 uint32_t currentWidth, currentHeight; in updateRecordingStream() local
360 &currentWidth, &currentHeight, in updateRecordingStream()
368 if (currentWidth != (uint32_t)params.videoWidth || in updateRecordingStream()
DJpegProcessor.cpp134 uint32_t currentWidth, currentHeight; in updateStream() local
136 &currentWidth, &currentHeight, 0, 0); in updateStream()
143 if (currentWidth != (uint32_t)params.pictureWidth || in updateStream()
DCallbackProcessor.cpp124 uint32_t currentWidth, currentHeight, currentFormat; in updateStream() local
126 &currentWidth, &currentHeight, &currentFormat, 0); in updateStream()
133 if (currentWidth != (uint32_t)params.previewWidth || in updateStream()
DZslProcessor.cpp149 uint32_t currentWidth, currentHeight; in updateStream() local
151 &currentWidth, &currentHeight, 0, 0); in updateStream()
158 if (currentWidth != (uint32_t)params.fastInfo.arrayWidth || in updateStream()
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
DColorCutQuantizer.java503 private static int modifyWordWidth(int value, int currentWidth, int targetWidth) { in modifyWordWidth() argument
505 if (targetWidth > currentWidth) { in modifyWordWidth()
508 newValue = value * ((1 << targetWidth) - 1) / ((1 << currentWidth) - 1); in modifyWordWidth()
511 newValue = value >> (currentWidth - targetWidth); in modifyWordWidth()
/frameworks/native/libs/gui/
DGLConsumer.cpp941 uint32_t currentWidth = static_cast<uint32_t>(mCurrentCrop.width()); in getCurrentCrop() local
945 if (newWidth < currentWidth) { in getCurrentCrop()
946 uint32_t dw = currentWidth - newWidth; in getCurrentCrop()