Home
last modified time | relevance | path

Searched refs:previewWidth (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/camera/tests/fuzzer/
Dcamera_Parameters_fuzzer.cpp102 int32_t previewWidth = mFDP->ConsumeIntegral<int32_t>(); in callCameraParametersAPIs() local
104 obj->setPreviewSize(previewWidth, previewHeight); in callCameraParametersAPIs()
107 int32_t previewWidth, previewHeight; in callCameraParametersAPIs() local
108 obj->getPreviewSize(&previewWidth, &previewHeight); in callCameraParametersAPIs()
/frameworks/av/camera/tests/
DCameraZSLTests.cpp252 int previewWidth, previewHeight; in TEST_F() local
253 params.getPreviewSize(&previewWidth, &previewHeight); in TEST_F()
254 ASSERT_TRUE((0 < previewWidth) && (0 < previewHeight)); in TEST_F()
258 previewWidth, previewHeight, in TEST_F()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DLongScreenshotActivity.java462 int previewWidth = mPreview.getWidth() - mPreview.getPaddingLeft() in updateImageDimensions() local
466 float viewRatio = previewWidth / (float) previewHeight; in updateImageDimensions()
474 int imageWidth = previewWidth; in updateImageDimensions()
485 mCropView.setImageWidth(previewWidth); in updateImageDimensions()
486 scale = previewWidth / (float) mPreview.getDrawable().getIntrinsicWidth(); in updateImageDimensions()
488 imageWidth = (int) (previewWidth * imageRatio / viewRatio); in updateImageDimensions()
489 imageLeft += (previewWidth - imageWidth) / 2; in updateImageDimensions()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DCallbackProcessor.cpp135 if (streamInfo.width != (uint32_t)params.previewWidth || in updateStream()
156 params.previewWidth, params.previewHeight, in updateStream()
159 params.previewWidth, params.previewHeight, callbackFormat, in updateStream()
328 if (imgBuffer.width != static_cast<uint32_t>(l.mParameters.previewWidth) || in processNewCallback()
332 l.mParameters.previewWidth, l.mParameters.previewHeight, in processNewCallback()
DParameters.cpp130 previewWidth = 0; in initialize()
135 if (newWidth >= previewWidth && newHeight >= previewHeight && in initialize()
141 previewWidth = newWidth; in initialize()
147 if (previewWidth == 0) { in initialize()
151 videoWidth = previewWidth; in initialize()
154 params.setPreviewSize(previewWidth, previewHeight); in initialize()
158 previewWidth, previewHeight)); in initialize()
1375 newParams.getPreviewSize(&validatedParams.previewWidth, in set()
1378 if (validatedParams.previewWidth != previewWidth || in set()
1384 previewWidth, previewHeight, in set()
[all …]
DStreamingProcessor.cpp176 if (streamInfo.width != (uint32_t)params.previewWidth || in updatePreviewStream()
180 params.previewWidth, params.previewHeight); in updatePreviewStream()
200 params.previewWidth, params.previewHeight, in updatePreviewStream()
DParameters.h52 int previewWidth, previewHeight; member
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/
DAppClipsActivity.java316 int previewWidth = mPreview.getWidth() - mPreview.getPaddingLeft() in updateImageDimensions() local
320 float viewRatio = previewWidth / (float) previewHeight; in updateImageDimensions()
328 mCropView.setImageWidth(previewWidth); in updateImageDimensions()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/
DQrCamera.java353 final int previewWidth = isPortrait ? mPreviewSize.getWidth() : mPreviewSize.getHeight(); in setTransformationMatrix() local
355 final float ratioPreview = (float) getRatio(previewWidth, previewHeight); in setTransformationMatrix()
360 if (previewWidth > previewHeight) { in setTransformationMatrix()
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/
Dcamera_service_fuzzer.cpp387 int previewWidth, previewHeight; in invokeCameraAPIs() local
388 params.getPreviewSize(&previewWidth, &previewHeight); in invokeCameraAPIs()
402 String8("Test Surface"), previewWidth, previewHeight, in invokeCameraAPIs()
458 String8("Test Surface Video"), previewWidth, previewHeight, in invokeCameraAPIs()
/frameworks/base/core/java/android/widget/
DFastScroller.java1176 final int previewWidth = preview.getWidth() - preview.getPaddingLeft() in transitionPreviewLayout() local
1182 if (targetWidth > previewWidth) { in transitionPreviewLayout()
1183 target.setScaleX((float) previewWidth / targetWidth); in transitionPreviewLayout()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp228 p.previewWidth, p.previewHeight); in dumpClient()