/ohos5.0/foundation/multimedia/image_effect/test/unittest/ |
H A D | TestJsonHelper.cpp | 95 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 D | TestUtils.cpp | 185 ASSERT_EQ(stringKeyJsonPtr->GetFloat(), 0); 197 float floatValue = floatKeyJsonPtr->GetFloat();
|
H A D | TestImageEffect.cpp | 66 Plugin::Any brightness = values->GetFloat("brightness"); in Restore()
|
/ohos5.0/foundation/distributeddatamgr/preferences/test/native/unittest/ |
H A D | preferences_test.cpp | 280 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 D | json_helper.h | 52 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 D | json_helper.cpp | 147 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 D | mock_preferences.h | 38 float GetFloat(const std::string &key, const float &defValue = {}) override;
|
/ohos5.0/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | scene_persistent_storage.h | 78 value = pref->GetFloat(key); in Get()
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/mock/include/ |
H A D | mock_preferences.h | 53 float GetFloat(const std::string& key, const float& defValue = {}) override
|
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | resource_adapter_impl.cpp | 245 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 D | preference_helper_mock.cpp | 30 MOCK_METHOD2(GetFloat, float(const std::string &key, const float &defValue));
|
/ohos5.0/foundation/window/window_manager/utils/src/ |
H A D | persistent_storage.cpp | 110 value = pref->GetFloat(key); in Get()
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
H A D | resource_manager_impl.cpp | 411 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 D | preferences_base.h | 58 float GetFloat(const std::string &key, const float &defValue) override;
|
/ohos5.0/foundation/distributeddatamgr/preferences/interfaces/inner_api/include/ |
H A D | preferences.h | 148 virtual float GetFloat(const std::string &key, const float &defValue = {}) = 0;
|
/ohos5.0/base/telephony/telephony_data/common/src/ |
H A D | preferences_util.cpp | 136 return ptr->GetFloat(key, defValue); in ObtainFloat()
|
/ohos5.0/base/theme/screenlock_mgr/utils/src/ |
H A D | preferences_util.cpp | 135 return ptr->GetFloat(key, defValue); in ObtainFloat()
|
/ohos5.0/base/telephony/core_service/utils/preferences/src/ |
H A D | tel_profile_util.cpp | 131 return ptr->GetFloat(key, defValue); in ObtainFloat()
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/ |
H A D | brightness_efilter.cpp | 128 float brightness = values->GetFloat(Parameter::KEY_INTENSITY); in Restore()
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/ |
H A D | contrast_efilter.cpp | 127 float contrast = values->GetFloat(Parameter::KEY_INTENSITY); in Restore()
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
H A D | resource_manager_impl.h | 298 RState GetFloat(const IdItem *idItem, float &outValue);
|
/ohos5.0/foundation/distributeddatamgr/preferences/test/native/fuzztest/preferences_fuzzer/ |
H A D | preferences_fuzzer.cpp | 154 bool ret = PreferencesFuzzTest::Preferences_->GetFloat(skey); in GetFloatFuzz()
|
/ohos5.0/base/update/updateservice/services/core/ability/preference/src/ |
H A D | preference_utils.cpp | 220 return ptr->GetFloat(key, defValue); in ObtainInner()
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_base.cpp | 78 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 D | resource_manager_impl.cpp | 630 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
|