Home
last modified time | relevance | path

Searched refs:typeValue (Results 1 - 25 of 36) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/bridge/common/utils/
H A Dtransform_convertor.cpp169 [](const std::string& typeValue, const double& time, TransformConvertor& convertor) {
171 StringUtils::StringSplitter(typeValue, ' ', offsets);
182 [](const std::string& typeValue, const double& time, TransformConvertor& convertor) {
183 auto dx = StringUtils::StringToDimension(typeValue);
187 [](const std::string& typeValue, const double& time, TransformConvertor& convertor) {
188 auto dy = StringUtils::StringToDimension(typeValue);
192 [](const std::string& typeValue, const double& time, TransformConvertor& convertor) {
193 auto dz = StringUtils::StringToDimension(typeValue);
199 [](const std::string& typeValue, const double& time, TransformConvertor& convertor) {
201 StringUtils::StringSplitter(typeValue, ' ', offset
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dhorizonprogress_tdd_test.cpp190 jerry_value_t typeValue = jerry_create_string(reinterpret_cast<const jerry_char_t *>("horizontal")); in HorizonProgressTest004() local
191 jerry_set_property(objAttrs, typeId, typeValue); in HorizonProgressTest004()
193 jerry_release_value(typeValue); in HorizonProgressTest004()
233 jerry_value_t typeValue = jerry_create_string(reinterpret_cast<const jerry_char_t *>("horizontal")); in HorizonProgressTest005() local
234 jerry_set_property(objAttrs, typeId, typeValue); in HorizonProgressTest005()
236 jerry_release_value(typeValue); in HorizonProgressTest005()
275 jerry_value_t typeValue = jerry_create_string(reinterpret_cast<const jerry_char_t *>("horizontal")); in HorizonProgressTest006() local
276 jerry_set_property(objAttrs, typeId, typeValue); in HorizonProgressTest006()
278 jerry_release_value(typeValue); in HorizonProgressTest006()
320 jerry_value_t typeValue in HorizonProgressTest007() local
364 jerry_value_t typeValue = jerry_create_string(reinterpret_cast<const jerry_char_t *>("horizontal")); HorizonProgressTest008() local
408 jerry_value_t typeValue = jerry_create_string(reinterpret_cast<const jerry_char_t *>("horizontal")); HorizonProgressTest009() local
461 jerry_value_t typeValue = jerry_create_string(reinterpret_cast<const jerry_char_t *>("horizontal")); HorizonProgressTest013() local
513 jerry_value_t typeValue = jerry_create_string(reinterpret_cast<const jerry_char_t *>("horizontal")); HorizonProgressTest014() local
554 jerry_value_t typeValue = jerry_create_string(reinterpret_cast<const jerry_char_t *>("horizontal")); HorizonProgressTest015() local
595 jerry_value_t typeValue = jerry_create_string(reinterpret_cast<const jerry_char_t *>("horizontal")); HorizonProgressTest016() local
636 jerry_value_t typeValue = jerry_create_string(reinterpret_cast<const jerry_char_t *>("horizontal")); HorizonProgressTest017() local
[all...]
/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dpaste_data_record_test.cpp152 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckPlainUds() local
153 ASSERT_NE(typeValue, nullptr); in CheckPlainUds()
154 ASSERT_EQ(*typeValue, UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::PLAIN_TEXT)); in CheckPlainUds()
167 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckFileUriUds() local
168 ASSERT_NE(typeValue, nullptr); in CheckFileUriUds()
169 ASSERT_EQ(*typeValue, UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::FILE_URI)); in CheckFileUriUds()
182 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckHtmlUds() local
183 ASSERT_NE(typeValue, nullptr); in CheckHtmlUds()
184 ASSERT_EQ(*typeValue, UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::HTML)); in CheckHtmlUds()
197 auto typeValue in CheckPixelMapUds() local
216 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); CheckLinkUds() local
[all...]
H A Dconvert_utils_test.cpp262 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckPlainUds() local
263 ASSERT_NE(typeValue, nullptr); in CheckPlainUds()
264 ASSERT_EQ(*typeValue, UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::PLAIN_TEXT)); in CheckPlainUds()
278 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckFileUriUds() local
279 ASSERT_NE(typeValue, nullptr); in CheckFileUriUds()
280 ASSERT_EQ(*typeValue, UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::FILE_URI)); in CheckFileUriUds()
294 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckHtmlUds() local
295 ASSERT_NE(typeValue, nullptr); in CheckHtmlUds()
296 ASSERT_EQ(*typeValue, UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::HTML)); in CheckHtmlUds()
310 auto typeValue in CheckPixelMapUds() local
330 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); CheckLinkUds() local
[all...]
H A Dpaste_data_entry_test.cpp116 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckPlainUds() local
117 ASSERT_NE(typeValue, nullptr); in CheckPlainUds()
118 ASSERT_EQ(*typeValue, UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::PLAIN_TEXT)); in CheckPlainUds()
132 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckPixelMapUds() local
133 ASSERT_NE(typeValue, nullptr); in CheckPixelMapUds()
134 ASSERT_EQ(*typeValue, UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::SYSTEM_DEFINED_PIXEL_MAP)); in CheckPixelMapUds()
/foundation/arkui/ace_engine/test/unittest/core/pattern/navigator/
H A Dnavigator_pattern_test_ng.cpp37 std::optional<NavigatorType> typeValue = std::nullopt; member
53 if (testProperty.typeValue.has_value()) { in CreateNavigator()
54 navigator.SetType(testProperty.typeValue.value()); in CreateNavigator()
76 testProperty.typeValue = std::make_optional(NavigatorType::REPLACE); in HWTEST_F()
106 testProperty.typeValue = std::make_optional(NavigatorType::BACK); in HWTEST_F()
139 testProperty.typeValue = std::make_optional(NavigatorType::PUSH); in HWTEST_F()
169 testProperty.typeValue = std::make_optional(NavigatorType::DEFAULT); in HWTEST_F()
225 testProperty.typeValue = std::make_optional(NavigatorType::PUSH); in HWTEST_F()
264 testProperty.typeValue = std::make_optional(NavigatorType::PUSH); in HWTEST_F()
286 testProperty.typeValue in HWTEST_F()
[all...]
/foundation/ai/neural_network_runtime/test/unittest/ops/
H A Dcast_test.cpp55 int32_t* typeValue = new (std::nothrow) int32_t(4); in SetCastAddToallTensors() local
56 EXPECT_NE(nullptr, typeValue); in SetCastAddToallTensors()
57 inputTensor->SetBuffer(typeValue, sizeof(int32_t)); in SetCastAddToallTensors()
193 int32_t* typeValue = new (std::nothrow) int32_t(40); in HWTEST_F() local
194 EXPECT_NE(nullptr, typeValue); in HWTEST_F()
196 inputTensor->SetBuffer(typeValue, sizeof(int32_t)); in HWTEST_F()
/foundation/communication/netstack/frameworks/js/napi/net_ssl/async_context/src/
H A Dcert_context.cpp94 napi_value typeValue; in ParseCertBlobFromValue() local
96 napi_get_named_property(env, value, "type", &typeValue); in ParseCertBlobFromValue()
98 if (typeValue == nullptr || dataValue == nullptr) { in ParseCertBlobFromValue()
102 return ParseCertBlobFromData(env, value, typeValue, dataValue); in ParseCertBlobFromValue()
105 CertBlob *CertContext::ParseCertBlobFromData(napi_env env, napi_value value, napi_value typeValue, napi_value dataValue) in ParseCertBlobFromData() argument
111 napi_get_value_uint32(env, typeValue, &type); in ParseCertBlobFromData()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_node.cpp855 std::string typeValue = node.GetTransformTypeValue(transformJson->GetArrayItem(index)); in SetTransform() local
856 if ((!typeKey.empty()) && (!typeValue.empty())) { in SetTransform()
860 [](const std::string& typeValue, DOMNode& node) { in SetTransform()
861 node.transformComponent_->RotateZ(StringUtils::StringToDegree(typeValue)); in SetTransform()
864 [](const std::string& typeValue, DOMNode& node) { in SetTransform()
866 StringUtils::StringSplitter(typeValue, ' ', offsets); in SetTransform()
876 [](const std::string& typeValue, DOMNode& node) { in SetTransform()
877 node.transformComponent_->RotateX(StringUtils::StringToDegree(typeValue)); in SetTransform()
880 [](const std::string& typeValue, DOMNode& node) { in SetTransform()
881 node.transformComponent_->RotateY(StringUtils::StringToDegree(typeValue)); in SetTransform()
1033 AddKeyframe(double time, double typeValue, RefPtr<KeyframeAnimation<float>>& transformKeyframes) AddKeyframe() argument
1039 AddKeyframe( double time, const std::string& typeValue, RefPtr<KeyframeAnimation<float>>& transformKeyframes) AddKeyframe() argument
[all...]
H A Ddom_node.h901 double time, const std::string& typeValue, RefPtr<KeyframeAnimation<float>>& transformKeyframes);
902 static void AddKeyframe(double time, double typeValue, RefPtr<KeyframeAnimation<float>>& transformKeyframes);
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_text_ffi.cpp116 void FfiOHOSAceFrameworkTextSetDecoration(int32_t typeValue, uint32_t colorValue) in FfiOHOSAceFrameworkTextSetDecoration() argument
118 if (!Utils::CheckParamsValid(typeValue, TEXT_DECORATIONS.size())) { in FfiOHOSAceFrameworkTextSetDecoration()
122 TextModel::GetInstance()->SetTextDecoration(TEXT_DECORATIONS[typeValue]); in FfiOHOSAceFrameworkTextSetDecoration()
H A Dcj_text_ffi.h39 CJ_EXPORT void FfiOHOSAceFrameworkTextSetDecoration(int32_t typeValue, uint32_t colorValue);
/foundation/communication/netstack/frameworks/js/napi/net_ssl/async_context/include/
H A Dcert_context.h46 CertBlob *ParseCertBlobFromData(napi_env env, napi_value value, napi_value typeValue, napi_value dataValue);
/foundation/arkui/ace_engine/test/unittest/core/pattern/button/
H A Dbutton_test_ng.cpp98 std::optional<ButtonType> typeValue = std::nullopt; member
250 if (testProperty.typeValue.has_value()) { in CreateLabelButtonParagraphByRoundedRect()
251 buttonModelNG.SetType(static_cast<int32_t>(testProperty.typeValue.value())); in CreateLabelButtonParagraphByRoundedRect()
295 if (testProperty.typeValue.has_value()) { in CreateLabelButtonParagraph()
296 buttonModelNG.SetType(static_cast<int32_t>(testProperty.typeValue.value())); in CreateLabelButtonParagraph()
337 if (testProperty.typeValue.has_value()) { in CreateChildButtonParagraph()
338 buttonModelNG.SetType(static_cast<int32_t>(testProperty.typeValue.value())); in CreateChildButtonParagraph()
411 testProperty.typeValue = std::make_optional(BUTTON_TYPE_CAPSULE_VALUE); in HWTEST_F()
427 testProperty.typeValue = std::make_optional(BUTTON_TYPE_CAPSULE_VALUE); in HWTEST_F()
443 testProperty.typeValue in HWTEST_F()
[all...]
H A Dbutton_content_modifier_test_ng.cpp76 std::optional<ButtonType> typeValue = std::nullopt; member
217 if (testProperty.typeValue.has_value()) { in CreateLabelButtonParagraph()
218 buttonModelNG.SetType(static_cast<int32_t>(testProperty.typeValue.value())); in CreateLabelButtonParagraph()
259 if (testProperty.typeValue.has_value()) { in CreateChildButtonParagraph()
260 buttonModelNG.SetType(static_cast<int32_t>(testProperty.typeValue.value())); in CreateChildButtonParagraph()
/foundation/arkui/ace_engine/adapter/preview/inspector/
H A Djs_inspector_manager.cpp494 std::string JsInspectorManager::ConvertStrToPropertyType(std::string& typeValue) in ConvertStrToPropertyType() argument
496 if (typeValue == "transitionEnterName") { in ConvertStrToPropertyType()
497 typeValue = "transitionEnter"; in ConvertStrToPropertyType()
498 } else if (typeValue == "transitionExitName") { in ConvertStrToPropertyType()
499 typeValue = "transitionExit"; in ConvertStrToPropertyType()
503 dstStr = regex_replace(typeValue, regex, "-$1"); in ConvertStrToPropertyType()
H A Djs_inspector_manager.h61 std::string ConvertStrToPropertyType(std::string& typeValue);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_sqlite_relational_utils_test.cpp141 Type typeValue; in HWTEST_F() local
142 EXPECT_EQ(SQLiteRelationalUtils::GetCloudValueByType(statement, TYPE_INDEX<Nil>, 0, typeValue), -E_INVALID_ARGS); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_span.cpp198 JSRef<JSVal> typeValue = obj->GetProperty("type"); in SetDecoration() local
203 if (typeValue->IsNumber()) { in SetDecoration()
204 textDecoration = static_cast<TextDecoration>(typeValue->ToNumber<int32_t>()); in SetDecoration()
H A Djs_particle.cpp323 auto typeValue = NG::ParticleType::POINT; in ParseParticleObject() local
328 typeValue = static_cast<NG::ParticleType>(typeIntValue); in ParseParticleObject()
331 particle.SetParticleType(typeValue); in ParseParticleObject()
338 if (typeValue == NG::ParticleType::IMAGE) { in ParseParticleObject()
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Danimation_util.cpp470 std::string typeValue = GetTransformTypeValue(transformJson->GetArrayItem(index)); in KeyframesAddKeyFrame()
471 if ((!typeKey.empty()) && (!typeValue.empty())) { in KeyframesAddKeyFrame()
472 util.transformConvertor_.Convert(typeKey, typeValue, time); in KeyframesAddKeyFrame()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/
H A Ddistributed_sched_permission.cpp751 std::string typeValue = AAFwk::String::Unbox(typeP); in RemoveRemoteObjectFromWant() local
752 if (typeValue == REMOTE_OBJECT) { in RemoveRemoteObjectFromWant()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/
H A Dnapi_common.h522 void SetEnumValueFromJS(napi_env env, napi_value argValue, const std::string str, Type& typeValue) in SetEnumValueFromJS() argument
529 ConvertFromJsValue(env, propertyValue, typeValue); in SetEnumValueFromJS()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/free_install/
H A Dfree_install.cpp329 napi_value typeValue; in ConvertDeviceType() local
330 NAPI_CALL_RETURN_VOID(env, napi_create_string_utf8(env, type.c_str(), NAPI_AUTO_LENGTH, &typeValue)); in ConvertDeviceType()
331 NAPI_CALL_RETURN_VOID(env, napi_set_element(env, nDeviceTypes, typeIndex, typeValue)); in ConvertDeviceType()
/foundation/arkui/ace_engine/frameworks/bridge/common/accessibility/
H A Daccessibility_node_manager.cpp154 std::string ConvertStrToPropertyType(const std::string& typeValue) in ConvertStrToPropertyType() argument
158 dstStr = regex_replace(typeValue, regex, "-$1"); in ConvertStrToPropertyType()

Completed in 28 milliseconds

12