Home
last modified time | relevance | path

Searched refs:ratioValue (Results 1 - 6 of 6) sorted by relevance

/foundation/window/window_manager/utils/test/unittest/
H A Dpersistent_storage_test.cpp73 float ratioValue = 2; in HWTEST_F() local
79 PersistentStorage::Insert(keyName, ratioValue, PersistentStorageType::UKNOWN); in HWTEST_F()
83 PersistentStorage::Insert(keyName, ratioValue, PersistentStorageType::ASPECT_RATIO); in HWTEST_F()
94 PersistentStorage::Insert(keyName, ratioValue, PersistentStorageType::MAXIMIZE_STATE); in HWTEST_F()
/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhcamera_preconfig.cpp97 float ratioValue = RATIO_VALUE_4_3; in GetRatioValue() local
100 ratioValue = RATIO_VALUE_1_1; in GetRatioValue()
103 ratioValue = RATIO_VALUE_4_3; in GetRatioValue()
106 ratioValue = RATIO_VALUE_16_9; in GetRatioValue()
112 return ratioValue; in GetRatioValue()
131 float ratioValue = GetRatioValue(followSensorMaxRatio); in FindMaxDetailInfoFromProfileLevel() local
132 return GetMaxSizeDetailInfo(streamInfo.detailInfos, ratioValue, OHOS_CAMERA_FORMAT_JPEG); in FindMaxDetailInfoFromProfileLevel()
156 float ratioValue = GetRatioValue(followSensorMaxRatio); in FindMaxDetailInfoFromExtendConfig() local
157 return GetMaxSizeDetailInfo(streamInfo.detailInfo, ratioValue, OHOS_CAMERA_FORMAT_JPEG); in FindMaxDetailInfoFromExtendConfig()
/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/
H A Dsketch_wrapper.cpp236 void SketchWrapper::InsertSketchEnableRatioMapValue(SceneFeaturesMode& sceneFeaturesMode, float ratioValue) in InsertSketchEnableRatioMapValue() argument
239 sceneFeaturesMode.Dump().c_str(), ratioValue); in InsertSketchEnableRatioMapValue()
242 g_sketchEnableRatioMap_[{ CAPTURE, { FEATURE_TRIPOD_DETECTION } }] = ratioValue; in InsertSketchEnableRatioMapValue()
244 g_sketchEnableRatioMap_[sceneFeaturesMode] = ratioValue; in InsertSketchEnableRatioMapValue()
246 g_sketchEnableRatioMap_[{ CAPTURE, { FEATURE_MACRO } }] = ratioValue; in InsertSketchEnableRatioMapValue()
247 g_sketchEnableRatioMap_[{ CAPTURE_MACRO, { FEATURE_MACRO } }] = ratioValue; in InsertSketchEnableRatioMapValue()
249 g_sketchEnableRatioMap_[{ VIDEO, { FEATURE_MACRO } }] = ratioValue; in InsertSketchEnableRatioMapValue()
250 g_sketchEnableRatioMap_[{ VIDEO_MACRO, { FEATURE_MACRO } }] = ratioValue; in InsertSketchEnableRatioMapValue()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_refresh_modifier.cpp86 std::optional<float> ratioValue = value; in SetPullDownRatio() local
87 RefreshModelNG::SetPullDownRatio(frameNode, ratioValue); in SetPullDownRatio()
94 std::optional<float> ratioValue = std::nullopt; in ResetPullDownRatio() local
95 RefreshModelNG::SetPullDownRatio(frameNode, ratioValue); in ResetPullDownRatio()
/foundation/ai/neural_network_runtime/test/unittest/ops/
H A Dresize_bilinear_builder_test.cpp89 bool *ratioValue = new (std::nothrow) bool(true); in SaveRatioTensor() local
90 EXPECT_NE(nullptr, ratioValue); in SaveRatioTensor()
91 ratioTensor->SetBuffer(ratioValue, sizeof(bool)); in SaveRatioTensor()
647 bool ratioValue = true; in HWTEST_F() local
656 EXPECT_EQ(ratioReturn, ratioValue); in HWTEST_F()
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/
H A Dsketch_wrapper.h76 static void InsertSketchEnableRatioMapValue(SceneFeaturesMode& sceneFeaturesMode, float ratioValue);

Completed in 4 milliseconds