Home
last modified time | relevance | path

Searched refs:GetDouble (Results 1 – 25 of 182) sorted by relevance

12345678

/ohos5.0/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);
325 EXPECT_EQ(arkExtraInfoJson->GetDouble("drag_corner_radius1"), 0);
326 EXPECT_EQ(arkExtraInfoJson->GetDouble("drag_corner_radius2"), 0);
327 EXPECT_EQ(arkExtraInfoJson->GetDouble("drag_corner_radius3"), 0);
328 EXPECT_EQ(arkExtraInfoJson->GetDouble("drag_corner_radius4"), 0);
368 EXPECT_EQ(arkExtraInfoJson->GetDouble("drag_shadow_OffsetX"), 0);
369 EXPECT_EQ(arkExtraInfoJson->GetDouble("drag_shadow_OffsetY"), 0);
524 auto radiusTopLeft = arkExtraInfoJson->GetDouble("drag_corner_radius1", -1);
525 auto radiusTopRight = arkExtraInfoJson->GetDouble("drag_corner_radius2", -1);
563 auto radiusTopLeft = arkExtraInfoJson->GetDouble("drag_corner_radius1", -1);
[all …]
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-jsvm-basic-data-types.md200 static JSVM_Value GetDouble(JSVM_Env env, JSVM_CallbackInfo info)
208 OH_LOG_ERROR(LOG_APP, "JSVM GetDouble fail");
210 OH_LOG_INFO(LOG_APP, "JSVM GetDouble success: %{public}f", value);
215 // GetDouble注册回调
217 {.data = nullptr, .callback = GetDouble},
220 // GetDouble方法别名,供JS调用
232 JSVM GetDouble success: -110.045600
/ohos5.0/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()
/ohos5.0/base/security/security_guard/test/unittest/mock/rdb/
H A Dresult_set.h33 virtual int GetDouble(int columnIndex, double &value) = 0;
54 MOCK_METHOD2(GetDouble, int(int columnIndex, double &value));
/ohos5.0/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()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/
H A Duobject_test.cpp60 EXPECT_EQ(uObject.GetDouble("invalidKey"), 0);
61 EXPECT_EQ(uObject.GetDouble("double"), 1.0);
H A Dnode_object_test.cpp67 EXPECT_EQ(nodeObject->GetDouble("double", 0), 1.0);
68 EXPECT_EQ(nodeObject->GetDouble("", 0), 0);
/ohos5.0/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;
/ohos5.0/foundation/multimedia/image_effect/test/unittest/
H A DTestJsonHelper.cpp127 ASSERT_EQ(values->GetDouble(DOUBLE_TEST), 30.5f);
256 ASSERT_DOUBLE_EQ(doubleValues[0]->GetDouble(), doubleValue);
304 ASSERT_DOUBLE_EQ(values->GetDouble(DOUBLE_TEST), doubleValue);
333 ASSERT_EQ(stringKeyJsonPtr->GetDouble(), 0);
339 ASSERT_EQ(root->GetDouble(STRING_TEST, 0), 0);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/common/storage/
H A Dmock_storage.h42 bool GetDouble(const std::string& key, double& value) override in GetDouble() function
73 bool GetDouble(const std::string& key, double& value) override in GetDouble() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/media_query/
H A Dmedia_queryer.cpp131 auto mediaFeatureValue = mediaFeature->GetDouble(matchResults[MEDIA_FEATURE], NOT_FOUND); in __anonba08be840202()
150 …TransferValue(mediaFeature->GetDouble(matchResults[MEDIA_FEATURE], NOT_FOUND), matchResults[UNIT]), in __anonba08be840302()
164 …TransferValue(mediaFeature->GetDouble(matchResults[MEDIA_FEATURE], NOT_FOUND), matchResults[UNIT]), in __anonba08be840402()
187 …TransferValue(mediaFeature->GetDouble(matchResults[MEDIA_FEATURE], NOT_FOUND), matchResults[UNIT]), in __anonba08be840502()
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_sqlite_shared_result_set_test.cpp345 rstSet->GetDouble(3, valueDb);
363 rstSet->GetDouble(3, valueDb);
390 rstSet->GetDouble(3, valueDb);
599 int ret = rstSet->GetDouble(0, valueDb);
604 rstSet->GetDouble(0, valueDb);
609 rstSet->GetDouble(2, valueDb);
611 rstSet->GetDouble(3, valueDb);
621 rstSet->GetDouble(0, valueDb);
624 rstSet->GetDouble(1, valueDb);
627 rstSet->GetDouble(2, valueDb);
[all …]
H A Drdb_step_result_set_test.cpp190 iRet = resultSet->GetDouble(++columnIndex, dValue); in CheckResultSetData()
620 int iRet = resultSet->GetDouble(0, dValue);
624 iRet = resultSet->GetDouble(0, dValue);
627 iRet = resultSet->GetDouble(1, dValue);
631 iRet = resultSet->GetDouble(2, dValue);
635 iRet = resultSet->GetDouble(3, dValue);
644 iRet = resultSet->GetDouble(0, dValue);
647 iRet = resultSet->GetDouble(1, dValue);
650 iRet = resultSet->GetDouble(2, dValue);
2001 errCode = resultSet->GetDouble(-1, value);
[all …]
H A Drdb_predicates_join_b_test.cpp294 EXPECT_EQ(E_OK, allDataTypes->GetDouble(5, salary));
355 EXPECT_EQ(E_OK, allDataTypes->GetDouble(2, salary));
397 EXPECT_EQ(E_OK, allDataTypes->GetDouble(1, salary));
456 EXPECT_EQ(E_OK, allDataTypes->GetDouble(1, salary));
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/event/
H A Dtouch_event.h358 x = json->GetDouble("x"); in FromJson()
359 y = json->GetDouble("y"); in FromJson()
360 screenX = json->GetDouble("sx"); in FromJson()
361 screenY = json->GetDouble("sy"); in FromJson()
365 size = json->GetDouble("si"); in FromJson()
366 force = json->GetDouble("f"); in FromJson()
370 tiltX = json->GetDouble("tx"); in FromJson()
373 tiltY = json->GetDouble("ty"); in FromJson()
/ohos5.0/docs/en/application-dev/napi/
H A Duse-jsvm-basic-data-types.md200 static JSVM_Value GetDouble(JSVM_Env env, JSVM_CallbackInfo info)
208 OH_LOG_ERROR(LOG_APP, "JSVM GetDouble fail");
210 OH_LOG_INFO(LOG_APP, "JSVM GetDouble success: %{public}f", value);
215 // Register the GetDouble callback.
217 {.data = nullptr, .callback = GetDouble},
220 …iptor named getDouble and associate it with a callback. This allows the GetDouble callback to be c…
232 JSVM GetDouble success: -110.045600
/ohos5.0/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/
H A Djson_helper.h53 IMAGE_EFFECT_EXPORT double GetDouble(const std::string &key, double defaultValue = 0.0);
61 IMAGE_EFFECT_EXPORT double GetDouble();
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb_data_share_adapter/unittest/
H A Drdb_data_share_adapter_test.cpp315 allDataTypes->GetDouble(3, doubleVal);
353 allDataTypes->GetDouble(3, doubleValue);
406 allDataTypes->GetDouble(3, doubleVal);
414 allDataTypes->GetDouble(3, doubleVal);
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/src/utils/
H A Denhancement_database_operations.cpp198 if (ret->GetDouble(colIndex, editTime) != NativeRdb::E_OK) { in IsEditedTrashedHidden()
204 if (ret->GetDouble(colIndex, trashedTime) != NativeRdb::E_OK) { in IsEditedTrashedHidden()
210 if (ret->GetDouble(colIndex, hiddenTime) != NativeRdb::E_OK) { in IsEditedTrashedHidden()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/resource/
H A Dresource_wrapper.h110 double GetDouble(uint32_t key) const in GetDouble() function
114 return resourceAdapter_->GetDouble(key); in GetDouble()
117 return themeConstants_->GetDouble(key); in GetDouble()
/ohos5.0/foundation/distributeddatamgr/data_share/test/native/unittest/mediadatashare_test/src/
H A Djoin_test.cpp240 EXPECT_EQ(E_OK, resultSet->GetDouble(4, balance));
290 EXPECT_EQ(E_OK, resultSet->GetDouble(4, balance));
340 EXPECT_EQ(E_OK, resultSet->GetDouble(4, balance));
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/common/
H A Dmock_resource_adapter_v2.h49 double GetDouble(uint32_t resId) override in GetDouble() function
/ohos5.0/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()
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/utils/common/
H A Djson_helper.cpp165 double EffectJson::GetDouble() in GetDouble() function in OHOS::Media::Effect::EffectJson
173 double EffectJson::GetDouble(const std::string &key, double defaultValue) in GetDouble() function in OHOS::Media::Effect::EffectJson
180 return element->GetDouble(); in GetDouble()

12345678