/foundation/arkui/ace_engine/test/unittest/core/manager/ |
H A D | drag_drop_func_wrapper_test_ng_coverage.cpp | 305 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 D | TestJsonHelper.cpp | 127 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 D | mock_storage.h | 42 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 D | node_object_test.cpp | 67 EXPECT_EQ(nodeObject->GetDouble("double", 0), 1.0); in HWTEST_F() 68 EXPECT_EQ(nodeObject->GetDouble("", 0), 0); in HWTEST_F()
|
H A D | uobject_test.cpp | 60 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 D | node_object.cpp | 38 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 D | json_util.h | 58 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 D | distributed_object_impl.cpp | 51 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 D | base_animation_bridge.cpp | 82 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 D | mock_resource_adapter_v2.h | 49 double GetDouble(uint32_t resId) override
|
/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/ |
H A D | effect_json_helper.h | 53 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 D | touch_event.cpp | 241 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 D | storage.h | 42 virtual bool GetDouble(const std::string& key, double& value) = 0;
|
/foundation/arkui/ace_engine/adapter/ohos/capability/preference/ |
H A D | storage_impl.h | 44 bool GetDouble(const std::string& key, double& value) override
|
/foundation/arkui/ace_engine/interfaces/inner_api/ace/ |
H A D | serializeable_object.h | 37 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 D | result_set.h | 205 virtual int GetDouble(int columnIndex, double &value) = 0;
|
/foundation/arkui/ace_engine/frameworks/core/common/resource/ |
H A D | resource_wrapper.h | 92 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 D | enhancement_database_operations.cpp | 177 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 D | media_queryer.cpp | 131 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 D | rdb_predicates_join_b_test.cpp | 294 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 D | rdb_step_result_set_test.cpp | 191 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 D | rdb_data_share_adapter_test.cpp | 315 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 D | jsi_component_api_bridge.cpp | 174 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 D | theme_mock.h | 38 double GetDouble(uint32_t resId) override;
|
/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | resource_configuration.cpp | 68 double fontRatio = jsonFontRatio->GetDouble(); in ParseJsonFontRatio()
|