Home
last modified time | relevance | path

Searched refs:GetDouble (Results 1 - 25 of 172) sorted by relevance

1234567

/foundation/arkui/ace_engine/test/unittest/core/manager/
H A Ddrag_drop_func_wrapper_test_ng_coverage.cpp305 EXPECT_EQ(arkExtraInfoJson->GetDouble("dip_opacity"), 0); in HWTEST_F()
325 EXPECT_EQ(arkExtraInfoJson->GetDouble("drag_corner_radius1"), 0); in HWTEST_F()
326 EXPECT_EQ(arkExtraInfoJson->GetDouble("drag_corner_radius2"), 0); in HWTEST_F()
327 EXPECT_EQ(arkExtraInfoJson->GetDouble("drag_corner_radius3"), 0); in HWTEST_F()
328 EXPECT_EQ(arkExtraInfoJson->GetDouble("drag_corner_radius4"), 0); in HWTEST_F()
368 EXPECT_EQ(arkExtraInfoJson->GetDouble("drag_shadow_OffsetX"), 0); in HWTEST_F()
369 EXPECT_EQ(arkExtraInfoJson->GetDouble("drag_shadow_OffsetY"), 0); in HWTEST_F()
524 auto radiusTopLeft = arkExtraInfoJson->GetDouble("drag_corner_radius1", -1); in HWTEST_F()
525 auto radiusTopRight = arkExtraInfoJson->GetDouble("drag_corner_radius2", -1); in HWTEST_F()
526 auto radiusBottomRight = arkExtraInfoJson->GetDouble("drag_corner_radius in HWTEST_F()
[all...]
/foundation/multimedia/image_effect/test/unittest/
H A DTestJsonHelper.cpp127 ASSERT_EQ(values->GetDouble(DOUBLE_TEST), 30.5f); in HWTEST_F()
256 ASSERT_DOUBLE_EQ(doubleValues[0]->GetDouble(), doubleValue); in HWTEST_F()
304 ASSERT_DOUBLE_EQ(values->GetDouble(DOUBLE_TEST), doubleValue); in HWTEST_F()
336 ASSERT_EQ(stringKeyJsonPtr->GetDouble(), 0); in HWTEST_F()
337 ASSERT_EQ(stringKeyJsonPtr->GetDouble(INT_TEST, 0), 0); in HWTEST_F()
345 ASSERT_EQ(root->GetDouble(STRING_TEST, 0), 0); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/common/storage/
H A Dmock_storage.h42 bool GetDouble(const std::string& key, double& value) override
73 bool GetDouble(const std::string& key, double& value) override
/foundation/arkui/ace_engine/test/unittest/base/
H A Dnode_object_test.cpp67 EXPECT_EQ(nodeObject->GetDouble("double", 0), 1.0); in HWTEST_F()
68 EXPECT_EQ(nodeObject->GetDouble("", 0), 0); in HWTEST_F()
H A Duobject_test.cpp60 EXPECT_EQ(uObject.GetDouble("invalidKey"), 0); in HWTEST_F()
61 EXPECT_EQ(uObject.GetDouble("double"), 1.0); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/base/json/
H A Dnode_object.cpp38 object->AddItemToObject(item->GetKey(), item->GetDouble()); in FromJsonObject()
94 double NodeObject::GetDouble(const std::string& key, double defaultVal) const in GetDouble() function in OHOS::Ace::NodeObject
98 return uobject_->GetDouble(key); in GetDouble()
H A Djson_util.h58 double GetDouble() const;
59 double GetDouble(const std::string& key, double defaultVal = 0.0) const override;
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/adaptor/
H A Ddistributed_object_impl.cpp51 uint32_t DistributedObjectImpl::GetDouble(const std::string &key, double &value) in GetDouble() function in OHOS::ObjectStore::DistributedObjectImpl
53 return flatObjectStore_->GetDouble(sessionId_, key, value); in GetDouble()
121 auto status = GetDouble(assetKey + STATUS_SUFFIX, assetStatus); in GetAssetValue()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/common/
H A Dbase_animation_bridge.cpp82 delay = argsPtrDelay->GetDouble(); in JsParseDoubleParams()
91 duration = argsPtrDuration->GetDouble(); in JsParseDoubleParams()
248 from = argsPtrFrom->GetDouble(); in JsParseAnimatorParams()
253 to = argsPtrTo->GetDouble(); in JsParseAnimatorParams()
/foundation/arkui/ace_engine/test/mock/core/common/
H A Dmock_resource_adapter_v2.h49 double GetDouble(uint32_t resId) override
/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/
H A Deffect_json_helper.h53 IMAGE_EFFECT_EXPORT double GetDouble(const std::string &key, double defaultValue = 0.0);
61 IMAGE_EFFECT_EXPORT double GetDouble();
/foundation/arkui/ace_engine/frameworks/core/event/
H A Dtouch_event.cpp241 x = json->GetDouble("x"); in FromJson()
242 y = json->GetDouble("y"); in FromJson()
243 screenX = json->GetDouble("sx"); in FromJson()
244 screenY = json->GetDouble("sy"); in FromJson()
248 size = json->GetDouble("si"); in FromJson()
249 force = json->GetDouble("f"); in FromJson()
253 tiltX = json->GetDouble("tx"); in FromJson()
256 tiltY = json->GetDouble("ty"); in FromJson()
/foundation/arkui/ace_engine/frameworks/core/common/storage/
H A Dstorage.h42 virtual bool GetDouble(const std::string& key, double& value) = 0;
/foundation/arkui/ace_engine/adapter/ohos/capability/preference/
H A Dstorage_impl.h44 bool GetDouble(const std::string& key, double& value) override
/foundation/arkui/ace_engine/interfaces/inner_api/ace/
H A Dserializeable_object.h37 virtual double GetDouble(const std::string& key, double defaultVal = 0.0) const = 0;
/foundation/distributeddatamgr/data_share/interfaces/inner_api/common/include/basic/
H A Dresult_set.h205 virtual int GetDouble(int columnIndex, double &value) = 0;
/foundation/arkui/ace_engine/frameworks/core/common/resource/
H A Dresource_wrapper.h92 double GetDouble(uint32_t key) const in GetDouble() function in OHOS::Ace::ResourceWrapper
95 return resourceAdapter_->GetDouble(key); in GetDouble()
97 return themeConstants_->GetDouble(key); in GetDouble()
/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/src/utils/
H A Denhancement_database_operations.cpp177 if (ret->GetDouble(colIndex, editTime) != NativeRdb::E_OK) { in IsEditedTrashedHidden()
183 if (ret->GetDouble(colIndex, trashedTime) != NativeRdb::E_OK) { in IsEditedTrashedHidden()
189 if (ret->GetDouble(colIndex, hiddenTime) != NativeRdb::E_OK) { in IsEditedTrashedHidden()
/foundation/arkui/ace_engine/frameworks/bridge/common/media_query/
H A Dmedia_queryer.cpp131 auto mediaFeatureValue = mediaFeature->GetDouble(matchResults[MEDIA_FEATURE], NOT_FOUND);
150 TransferValue(mediaFeature->GetDouble(matchResults[MEDIA_FEATURE], NOT_FOUND), matchResults[UNIT]),
164 TransferValue(mediaFeature->GetDouble(matchResults[MEDIA_FEATURE], NOT_FOUND), matchResults[UNIT]),
187 TransferValue(mediaFeature->GetDouble(matchResults[MEDIA_FEATURE], NOT_FOUND), matchResults[UNIT]),
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_predicates_join_b_test.cpp294 EXPECT_EQ(E_OK, allDataTypes->GetDouble(5, salary)); in HWTEST_F()
355 EXPECT_EQ(E_OK, allDataTypes->GetDouble(2, salary)); in HWTEST_F()
397 EXPECT_EQ(E_OK, allDataTypes->GetDouble(1, salary)); in HWTEST_F()
456 EXPECT_EQ(E_OK, allDataTypes->GetDouble(1, salary)); in HWTEST_F()
H A Drdb_step_result_set_test.cpp191 iRet = resultSet->GetDouble(++columnIndex, dValue); in CheckResultSetData()
610 * @tc.desc: normal testcase of StepResultSet for GetDouble
621 int iRet = resultSet->GetDouble(0, dValue); in HWTEST_F()
625 iRet = resultSet->GetDouble(0, dValue); in HWTEST_F()
628 iRet = resultSet->GetDouble(1, dValue); in HWTEST_F()
632 iRet = resultSet->GetDouble(2, dValue); in HWTEST_F()
636 iRet = resultSet->GetDouble(3, dValue); in HWTEST_F()
641 iRet = resultSet->GetDouble(columnCount, dValue); in HWTEST_F()
645 iRet = resultSet->GetDouble(0, dValue); in HWTEST_F()
648 iRet = resultSet->GetDouble( in HWTEST_F()
[all...]
/foundation/distributeddatamgr/relational_store/test/native/rdb_data_share_adapter/unittest/
H A Drdb_data_share_adapter_test.cpp315 allDataTypes->GetDouble(3, doubleVal); in HWTEST_F()
353 allDataTypes->GetDouble(3, doubleValue); in HWTEST_F()
406 allDataTypes->GetDouble(3, doubleVal); in HWTEST_F()
414 allDataTypes->GetDouble(3, doubleVal); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_component_api_bridge.cpp174 double position = scrollToPara->GetDouble("position", 0.0); in JsScrollTo()
175 double duration = scrollToPara->GetDouble("duration", 300.0); // Default duration is 300ms. in JsScrollTo()
/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/theme/
H A Dtheme_mock.h38 double GetDouble(uint32_t resId) override;
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dresource_configuration.cpp68 double fontRatio = jsonFontRatio->GetDouble(); in ParseJsonFontRatio()

Completed in 13 milliseconds

1234567