Home
last modified time | relevance | path

Searched refs:rangeVal (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/web/webview/test/unittest/ohos_adapter/camera_adapter_impl_test/
H A Dcamera_adapter_impl_test.cpp421 EXPECT_NE(rangeVal, nullptr);
422 rangeVal = nullptr;
423 rangeVal = adapter.GetCaptionRangeById(RangeIDAdapter::RANGE_ID_EXP_COMPENSATION);
424 EXPECT_NE(rangeVal, nullptr);
425 rangeVal = adapter.GetCaptionRangeById(static_cast<RangeIDAdapter>(1));
479 EXPECT_EQ(rangeVal, nullptr);
480 rangeVal = nullptr;
481 rangeVal = adapter.GetCaptionRangeById(RangeIDAdapter::RANGE_ID_EXP_COMPENSATION);
482 EXPECT_EQ(rangeVal, nullptr);
554 std::shared_ptr<VideoCaptureRangeAdapter> rangeVal = variable
[all …]
/ohos5.0/base/web/webview/ohos_adapter/camera_adapter/src/
H A Dcamera_manager_adapter_impl.cpp479 …std::shared_ptr<VideoCaptureRangeAdapterImpl> rangeVal = std::make_shared<VideoCaptureRangeAdapter… in GetExposureCompensation() local
480 if (!rangeVal) { in GetExposureCompensation()
488 rangeVal->SetMin(exposureBiasRange.at(RANGE_MIN_INDEX)); in GetExposureCompensation()
489 rangeVal->SetMax(exposureBiasRange.at(RANGE_MAX_INDEX)); in GetExposureCompensation()
492 rangeVal->SetCurrent(exposureCompos); in GetExposureCompensation()
493 return rangeVal; in GetExposureCompensation()