/frameworks/av/camera/tests/fuzzer/ |
D | camera_Parameters_fuzzer.cpp | 102 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/ |
D | CameraZSLTests.cpp | 252 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/ |
D | LongScreenshotActivity.java | 462 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/ |
D | CallbackProcessor.cpp | 135 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()
|
D | Parameters.cpp | 130 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 …]
|
D | StreamingProcessor.cpp | 176 if (streamInfo.width != (uint32_t)params.previewWidth || in updatePreviewStream() 180 params.previewWidth, params.previewHeight); in updatePreviewStream() 200 params.previewWidth, params.previewHeight, in updatePreviewStream()
|
D | Parameters.h | 52 int previewWidth, previewHeight; member
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/ |
D | AppClipsActivity.java | 316 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/ |
D | QrCamera.java | 353 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/ |
D | camera_service_fuzzer.cpp | 387 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/ |
D | FastScroller.java | 1176 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/ |
D | Camera2Client.cpp | 228 p.previewWidth, p.previewHeight); in dumpClient()
|