Home
last modified time | relevance | path

Searched refs:GetFloat (Results 1 – 25 of 27) sorted by relevance

12

/ohos5.0/foundation/multimedia/image_effect/test/unittest/
H A DTestJsonHelper.cpp95 ASSERT_EQ(values->GetFloat(FILTER_INTENSITY), 100.0f);
101 ASSERT_EQ(values->GetFloat(FILTER_INTENSITY), 50.0f);
124 ASSERT_EQ(values->GetFloat(FLOAT_TEST), 100.0f);
220 ASSERT_EQ(floatValues[0]->GetFloat(), floatValue1);
221 ASSERT_EQ(floatValues[1]->GetFloat(), floatValue2);
301 ASSERT_EQ(values->GetFloat(FLOAT_TEST), floatValue);
332 ASSERT_EQ(stringKeyJsonPtr->GetFloat(), 0);
338 ASSERT_EQ(root->GetFloat(STRING_TEST, 0), 0);
H A DTestUtils.cpp185 ASSERT_EQ(stringKeyJsonPtr->GetFloat(), 0);
197 float floatValue = floatKeyJsonPtr->GetFloat();
H A DTestImageEffect.cpp66 Plugin::Any brightness = values->GetFloat("brightness"); in Restore()
/ohos5.0/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dpreferences_test.cpp280 float ret = pref->GetFloat(LONG_KEY + 'x', 3.0f);
283 ret = pref->GetFloat("", 3.0f);
290 ret = pref->GetFloat(KEY_TEST_FLOAT_ELEMENT, true);
293 ret = pref->GetFloat(KEY_TEST_STRING_ELEMENT, 3.0f);
387 float ret1 = pref->GetFloat(KEY_TEST_FLOAT_ELEMENT, 1.0f);
441 float ret = pref->GetFloat(LONG_KEY + 'x', 1.0f);
443 ret = pref->GetFloat("", 1.0f);
450 ret = pref->GetFloat(LONG_KEY, 1.0f);
452 ret = pref->GetFloat(KEY_TEST_FLOAT_ELEMENT, 1.0f);
781 float ret = pref1->GetFloat(LONG_KEY);
[all …]
/ohos5.0/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/
H A Djson_helper.h52 IMAGE_EFFECT_EXPORT float GetFloat(const std::string &key, float defaultValue = 0.0f);
60 IMAGE_EFFECT_EXPORT float GetFloat();
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/utils/common/
H A Djson_helper.cpp147 float EffectJson::GetFloat() in GetFloat() function in OHOS::Media::Effect::EffectJson
155 float EffectJson::GetFloat(const std::string &key, float defaultValue) in GetFloat() function in OHOS::Media::Effect::EffectJson
162 return element->GetFloat(); in GetFloat()
/ohos5.0/foundation/barrierfree/accessibility/services/aams/test/mock/include/
H A Dmock_preferences.h38 float GetFloat(const std::string &key, const float &defValue = {}) override;
/ohos5.0/foundation/window/window_manager/window_scene/session/host/include/
H A Dscene_persistent_storage.h78 value = pref->GetFloat(key); in Get()
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/mock/include/
H A Dmock_preferences.h53 float GetFloat(const std::string& key, const float& defValue = {}) override
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dresource_adapter_impl.cpp245 auto doubleValue = static_cast<double>(attrValue->GetFloat(unit)); in ParseContent()
342 auto ret = resourceManger_.GetFloat(static_cast<int32_t>(resId), result, unit); in GetDimension()
390 auto ret = resourceManger_.GetFloat(static_cast<int32_t>(resId), result); in GetDouble()
/ohos5.0/foundation/filemanagement/dfs_service/test/mock/
H A Dpreference_helper_mock.cpp30 MOCK_METHOD2(GetFloat, float(const std::string &key, const float &defValue));
/ohos5.0/foundation/window/window_manager/utils/src/
H A Dpersistent_storage.cpp110 value = pref->GetFloat(key); in Get()
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dresource_manager_impl.cpp411 return GetFloat(idItem, outValue); in GetFloatById()
417 return GetFloat(idItem, outValue); in GetFloatByName()
420 RState ResourceManagerImpl::GetFloat(const IdItem *idItem, float &outValue) in GetFloat() function in OHOS::Global::Resource::ResourceManagerImpl
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/include/
H A Dpreferences_base.h58 float GetFloat(const std::string &key, const float &defValue) override;
/ohos5.0/foundation/distributeddatamgr/preferences/interfaces/inner_api/include/
H A Dpreferences.h148 virtual float GetFloat(const std::string &key, const float &defValue = {}) = 0;
/ohos5.0/base/telephony/telephony_data/common/src/
H A Dpreferences_util.cpp136 return ptr->GetFloat(key, defValue); in ObtainFloat()
/ohos5.0/base/theme/screenlock_mgr/utils/src/
H A Dpreferences_util.cpp135 return ptr->GetFloat(key, defValue); in ObtainFloat()
/ohos5.0/base/telephony/core_service/utils/preferences/src/
H A Dtel_profile_util.cpp131 return ptr->GetFloat(key, defValue); in ObtainFloat()
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/
H A Dbrightness_efilter.cpp128 float brightness = values->GetFloat(Parameter::KEY_INTENSITY); in Restore()
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/
H A Dcontrast_efilter.cpp127 float contrast = values->GetFloat(Parameter::KEY_INTENSITY); in Restore()
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/include/
H A Dresource_manager_impl.h298 RState GetFloat(const IdItem *idItem, float &outValue);
/ohos5.0/foundation/distributeddatamgr/preferences/test/native/fuzztest/preferences_fuzzer/
H A Dpreferences_fuzzer.cpp154 bool ret = PreferencesFuzzTest::Preferences_->GetFloat(skey); in GetFloatFuzz()
/ohos5.0/base/update/updateservice/services/core/ability/preference/src/
H A Dpreference_utils.cpp220 return ptr->GetFloat(key, defValue); in ObtainInner()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_base.cpp78 float PreferencesBase::GetFloat(const std::string &key, const float &defValue = {}) in GetFloat() function in OHOS::NativePreferences::PreferencesBase
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dresource_manager_impl.cpp630 RState state = GetFloat(idItem, outValue, unit); in GetFloatById()
653 RState state = GetFloat(idItem, outValue, unit); in GetFloatById()
677 RState state = GetFloat(idItem, outValue, unit); in GetFloatByName()
690 return GetFloat(idItem, outValue, unit); in GetFloatByName()
730 RState ResourceManagerImpl::GetFloat(const std::shared_ptr<IdItem> idItem, float &outValue, std::st… in GetFloat() function in OHOS::Global::Resource::ResourceManagerImpl

12