Home
last modified time | relevance | path

Searched refs:GetFloat (Results 1 - 20 of 20) sorted by relevance

/foundation/multimedia/image_effect/test/unittest/
H A DTestJsonHelper.cpp95 ASSERT_EQ(values->GetFloat(FILTER_INTENSITY), 100.0f); in HWTEST_F()
101 ASSERT_EQ(values->GetFloat(FILTER_INTENSITY), 50.0f); in HWTEST_F()
124 ASSERT_EQ(values->GetFloat(FLOAT_TEST), 100.0f); in HWTEST_F()
220 ASSERT_EQ(floatValues[0]->GetFloat(), floatValue1); in HWTEST_F()
221 ASSERT_EQ(floatValues[1]->GetFloat(), floatValue2); in HWTEST_F()
301 ASSERT_EQ(values->GetFloat(FLOAT_TEST), floatValue); in HWTEST_F()
334 ASSERT_EQ(stringKeyJsonPtr->GetFloat(), 0); in HWTEST_F()
335 ASSERT_EQ(stringKeyJsonPtr->GetFloat(INT_TEST, 0), 0); in HWTEST_F()
344 ASSERT_EQ(root->GetFloat(STRING_TEST, 0), 0); in HWTEST_F()
H A DTestUtils.cpp196 ASSERT_EQ(stringKeyJsonPtr->GetFloat(), 0); in HWTEST_F()
208 float floatValue = floatKeyJsonPtr->GetFloat(); in HWTEST_F()
H A DTestImageEffect.cpp66 Plugin::Any brightness = values->GetFloat("brightness");
/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dpreferences_test.cpp273 * @tc.desc: normal testcase of GetFloat
280 float ret = pref->GetFloat(LONG_KEY + 'x', 3.0f); in HWTEST_F()
283 ret = pref->GetFloat("", 3.0f); in HWTEST_F()
290 ret = pref->GetFloat(KEY_TEST_FLOAT_ELEMENT, true); in HWTEST_F()
293 ret = pref->GetFloat(KEY_TEST_STRING_ELEMENT, 3.0f); in HWTEST_F()
387 float ret1 = pref->GetFloat(KEY_TEST_FLOAT_ELEMENT, 1.0f); in HWTEST_F()
441 float ret = pref->GetFloat(LONG_KEY + 'x', 1.0f); in HWTEST_F()
443 ret = pref->GetFloat("", 1.0f); in HWTEST_F()
450 ret = pref->GetFloat(LONG_KEY, 1.0f); in HWTEST_F()
452 ret = pref->GetFloat(KEY_TEST_FLOAT_ELEMEN in HWTEST_F()
[all...]
/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/
H A Deffect_json_helper.h52 IMAGE_EFFECT_EXPORT float GetFloat(const std::string &key, float defaultValue = 0.0f);
60 IMAGE_EFFECT_EXPORT float GetFloat();
/foundation/barrierfree/accessibility/services/aams/test/mock/include/
H A Dmock_preferences.h38 float GetFloat(const std::string &key, const float &defValue = {}) override;
/foundation/window/window_manager/window_scene/session/host/include/
H A Dscene_persistent_storage.h78 value = pref->GetFloat(key); in Get()
/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()
/foundation/multimedia/image_effect/frameworks/native/utils/common/
H A Deffect_json_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()
/foundation/bundlemanager/app_domain_verify/test/unittest/mock/include/
H A Dmock_preferences.h53 float GetFloat(const std::string& key, const float& defValue = {}) override
/foundation/window/window_manager/utils/src/
H A Dpersistent_storage.cpp110 value = pref->GetFloat(key); in Get()
/foundation/filemanagement/dfs_service/test/mock/
H A Dpreference_helper_mock.cpp30 MOCK_METHOD2(GetFloat, float(const std::string &key, const float &defValue));
/foundation/distributeddatamgr/preferences/frameworks/native/include/
H A Dpreferences_base.h58 float GetFloat(const std::string &key, const float &defValue) override;
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/
H A Dbrightness_efilter.cpp128 float brightness = values->GetFloat(Parameter::KEY_INTENSITY); in Restore()
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/
H A Dcontrast_efilter.cpp127 float contrast = values->GetFloat(Parameter::KEY_INTENSITY); in Restore()
/foundation/distributeddatamgr/preferences/interfaces/inner_api/include/
H A Dpreferences.h148 virtual float GetFloat(const std::string &key, const float &defValue = {}) = 0;
/foundation/distributeddatamgr/preferences/test/native/fuzztest/preferences_fuzzer/
H A Dpreferences_fuzzer.cpp154 bool ret = PreferencesFuzzTest::Preferences_->GetFloat(skey); in GetFloatFuzz()
/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
/foundation/filemanagement/dfs_service/test/unittests/utils/preference/
H A Dcloud_pref_impl_test.cpp38 MOCK_METHOD2(GetFloat, float(const std::string &key, const float &defValue));
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_common.cpp640 static napi_value GetFloat(napi_env env, napi_callback_info info) in GetFloat() function
1747 NVal::DeclareNapiGetter("FLOAT", GetFloat), in GetRenderingContextBasePropertyDesc()

Completed in 19 milliseconds