/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | transform_convertor.cpp | 169 [](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 D | horizonprogress_tdd_test.cpp | 190 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 D | paste_data_record_test.cpp | 152 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 D | convert_utils_test.cpp | 262 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 D | paste_data_entry_test.cpp | 116 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 D | navigator_pattern_test_ng.cpp | 37 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 D | cast_test.cpp | 55 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 D | cert_context.cpp | 94 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 D | dom_node.cpp | 855 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 D | dom_node.h | 901 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 D | cj_text_ffi.cpp | 116 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 D | cj_text_ffi.h | 39 CJ_EXPORT void FfiOHOSAceFrameworkTextSetDecoration(int32_t typeValue, uint32_t colorValue);
|
/foundation/communication/netstack/frameworks/js/napi/net_ssl/async_context/include/ |
H A D | cert_context.h | 46 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 D | button_test_ng.cpp | 98 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 D | button_content_modifier_test_ng.cpp | 76 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 D | js_inspector_manager.cpp | 494 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 D | js_inspector_manager.h | 61 std::string ConvertStrToPropertyType(std::string& typeValue);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_sqlite_relational_utils_test.cpp | 141 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 D | js_span.cpp | 198 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 D | js_particle.cpp | 323 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 D | animation_util.cpp | 470 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 D | distributed_sched_permission.cpp | 751 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 D | napi_common.h | 522 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 D | free_install.cpp | 329 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 D | accessibility_node_manager.cpp | 154 std::string ConvertStrToPropertyType(const std::string& typeValue) in ConvertStrToPropertyType() argument 158 dstStr = regex_replace(typeValue, regex, "-$1"); in ConvertStrToPropertyType()
|