Home
last modified time | relevance | path

Searched refs:currentWidth (Results 1 – 8 of 8) 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.cpp164 uint32_t currentWidth, currentHeight; in updatePreviewStream() local
166 &currentWidth, &currentHeight, 0, 0); in updatePreviewStream()
172 if (currentWidth != (uint32_t)params.previewWidth || in updatePreviewStream()
175 __FUNCTION__, mId, currentWidth, currentHeight, in updatePreviewStream()
315 uint32_t currentWidth, currentHeight, currentFormat; in recordingStreamNeedsUpdate() local
318 &currentWidth, &currentHeight, &currentFormat, &currentDataSpace); in recordingStreamNeedsUpdate()
327 currentWidth != (uint32_t)params.videoWidth || in recordingStreamNeedsUpdate()
351 uint32_t currentWidth, currentHeight; in updateRecordingStream() local
355 &currentWidth, &currentHeight, in updateRecordingStream()
363 if (currentWidth != (uint32_t)params.videoWidth || in updateRecordingStream()
DJpegProcessor.cpp139 uint32_t currentWidth, currentHeight; in updateStream() local
141 &currentWidth, &currentHeight, 0, 0); in updateStream()
148 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.cpp236 uint32_t currentWidth, currentHeight; in updateStream() local
238 &currentWidth, &currentHeight, 0, 0); in updateStream()
245 if (currentWidth != (uint32_t)params.fastInfo.arrayWidth || in updateStream()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DColorCutQuantizer.java523 private static int modifyWordWidth(int value, int currentWidth, int targetWidth) { in modifyWordWidth() argument
525 if (targetWidth > currentWidth) { in modifyWordWidth()
527 newValue = value << (targetWidth - currentWidth); in modifyWordWidth()
530 newValue = value >> (currentWidth - targetWidth); in modifyWordWidth()
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
DColorCutQuantizer.java505 private static int modifyWordWidth(int value, int currentWidth, int targetWidth) { in modifyWordWidth() argument
507 if (targetWidth > currentWidth) { in modifyWordWidth()
509 newValue = value << (targetWidth - currentWidth); in modifyWordWidth()
512 newValue = value >> (currentWidth - targetWidth); in modifyWordWidth()
/frameworks/native/libs/gui/
DGLConsumer.cpp960 uint32_t currentWidth = static_cast<uint32_t>(mCurrentCrop.width()); in getCurrentCrop() local
964 if (newWidth < currentWidth) { in getCurrentCrop()
965 uint32_t dw = currentWidth - newWidth; in getCurrentCrop()