Home
last modified time | relevance | path

Searched refs:KeyParser (Results 1 – 25 of 43) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Dkey_parser.h24 class KeyParser final : public MemoryHeap {
26 ACE_DISALLOW_COPY_AND_MOVE(KeyParser);
77 KeyParser() {} in KeyParser() function
78 ~KeyParser() {} in ~KeyParser()
H A Dkey_parser.cpp46 uint16_t KeyParser::ParseKeyId(const char *s, const size_t len) in ParseKeyId()
841 uint16_t KeyParser::ParseKeyId(const char * const s) in ParseKeyId()
854 bool KeyParser::IsKeyValid(uint16_t id) in IsKeyValid()
859 const char *KeyParser::GetKeyById(uint16_t id) in GetKeyById()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dhorizonprogress_tdd_test.cpp66 uint16_t componentNameId = KeyParser::ParseKeyId("progress", strlen("progress")); in HorizonProgressTest001()
109 uint16_t componentNameId = KeyParser::ParseKeyId("progress", strlen("progress")); in HorizonProgressTest002()
152 uint16_t componentNameId = KeyParser::ParseKeyId("progress", strlen("progress")); in HorizonProgressTest003()
203 uint16_t componentNameId = KeyParser::ParseKeyId("progress", strlen("progress")); in HorizonProgressTest004()
247 uint16_t componentNameId = KeyParser::ParseKeyId("progress", strlen("progress")); in HorizonProgressTest005()
292 uint16_t componentNameId = KeyParser::ParseKeyId("progress", strlen("progress")); in HorizonProgressTest006()
336 uint16_t componentNameId = KeyParser::ParseKeyId("progress", strlen("progress")); in HorizonProgressTest007()
380 uint16_t componentNameId = KeyParser::ParseKeyId("progress", strlen("progress")); in HorizonProgressTest008()
427 uint16_t componentNameId = KeyParser::ParseKeyId("progress", strlen("progress")); in HorizonProgressTest009()
479 uint16_t componentNameId = KeyParser::ParseKeyId("progress", strlen("progress")); in HorizonProgressTest013()
[all …]
H A Dlist_tdd_test.cpp56 uint16_t componentNameId = KeyParser::ParseKeyId("list", strlen("list")); in ListTest001()
96 uint16_t componentNameId = KeyParser::ParseKeyId("list", strlen("list")); in ListTest002()
138 uint16_t componentNameId = KeyParser::ParseKeyId("list", strlen("list")); in ListTest003()
180 uint16_t componentNameId = KeyParser::ParseKeyId("list", strlen("list")); in ListTest004()
H A Dswiper_tdd_test.cpp56 …stack1_ = ComponentFactory::CreateComponent(KeyParser::ParseKeyId("div"), childOption, jerry_creat… in SetUp()
63 …stack2_ = ComponentFactory::CreateComponent(KeyParser::ParseKeyId("div"), childOption, jerry_creat… in SetUp()
71 …stack3_ = ComponentFactory::CreateComponent(KeyParser::ParseKeyId("div"), childOption, jerry_creat… in SetUp()
119 component->UpdateView(KeyParser::ParseKeyId("index"), indexVal); in ComponentSwiperAttributeSetTest001()
H A Dswiper_tdd_test.h61 uint16_t componentKeyId_ = KeyParser::ParseKeyId("swiper");
H A Dopacity_tdd_test.cpp29 componentNameId_ = KeyParser::ParseKeyId("div"); in OpacityTddTest()
179 uint16_t textComponentName = KeyParser::ParseKeyId("text"); in SetOpacityTest005()
H A Dtext_tdd_exception_test.cpp28 componentNameId_ = KeyParser::ParseKeyId("text"); in TextTddExceptionTest()
H A Dradio_switch_tdd_test.cpp23 switchComponentId_ = KeyParser::ParseKeyId("switch", switchNameLen); in RadioSwitchTddTest()
25 radioComponentId_ = KeyParser::ParseKeyId("input", inputNameLen); in RadioSwitchTddTest()
H A Dstack_tdd_test.cpp25 componentNameId_ = KeyParser::ParseKeyId("stack"); in StackTddTest()
60 …Component *stack = ComponentFactory::CreateComponent(KeyParser::ParseKeyId("stack"), childOptions,… in CreateChildComponent()
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/
H A Dbase_test.cpp91 component->UpdateView(KeyParser::ParseKeyId(attributeName), attrValue); in UpdateNumAttributeOrStyleValue()
112 component->UpdateView(KeyParser::ParseKeyId(attributeName), attrValue); in UpdateCharAttributeOrStyleValue()
143 componentNameId_ = KeyParser::ParseKeyId(tarComponentName, strlen(tarComponentName)); in SetCompnentNameId()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dclock_hand_component.cpp98 uint16_t typeId = KeyParser::ParseKeyId(handType_, strlen(handType_)); in PostRender()
131 if (!KeyParser::IsKeyValid(styleNameId)) { in ApplyPrivateStyle()
158 … if ((clockHandView_ == nullptr) || !KeyParser::IsKeyValid(attrKeyId) || IS_UNDEFINED(attrValue)) { in SetPrivateAttribute()
H A Dinput_edittext_component.cpp129 if (!KeyParser::IsKeyValid(styleKey)) { in ApplyPrivateStyle()
151 if (!KeyParser::IsKeyValid(attrKeyId)) { in PostUpdate()
H A Ddiv_component.cpp46 if (!KeyParser::IsKeyValid(stylePropNameId)) { in ApplyPrivateStyle()
62 uint16_t valueId = KeyParser::ParseKeyId(strValue, GetStyleStrValueLen(style)); in NativeViewSetDirection()
H A Dtext_component.cpp244 …uint16_t propNameId = KeyParser::ParseKeyId(GetStyleStrValue(styleItem), GetStyleStrValueLen(style… in SetTextOverflow()
306 if (!KeyParser::IsKeyValid(attrKeyId)) { in PostUpdate()
343 uint16_t alignId = KeyParser::ParseKeyId(stylePropValue, GetStyleStrValueLen(styleItem)); in SetTextAlign()
H A Dinput_button_component.cpp183 uint16_t valueId = KeyParser::ParseKeyId(GetStyleStrValue(style), GetStyleStrValueLen(style)); in SetTextAlign()
232 if (!KeyParser::IsKeyValid(attrKeyId)) { in PostUpdate()
H A Dcomponent.cpp238 if (!KeyParser::IsKeyValid(attrKeyId)) { in UpdateView()
281 if ((uiView == nullptr) || !KeyParser::IsKeyValid(attrKeyId) || IS_UNDEFINED(attrValue)) { in SetAttribute()
575 if (!KeyParser::IsKeyValid(styleNameId)) { in ApplyCommonStyle()
896 uint16_t animationTimingKeyId = KeyParser::ParseKeyId(strValue, strLen); in SetAnimationStyle()
914 uint16_t animationFillKeyId = KeyParser::ParseKeyId(strValue, strLen); in SetAnimationStyle()
1252 if (!KeyParser::IsKeyValid(eventTypeId) || IS_UNDEFINED(funcValue)) { in RegisterEventListener()
1345 if ((uiView == nullptr) || !KeyParser::IsKeyValid(attrKeyId)) { in InvalidateIfNeeded()
1417 uint16_t keyId = KeyParser::ParseKeyId(keyName, keyLength); in BindEvents()
1441 uint16_t valueId = KeyParser::ParseKeyId(strValue, GetStyleStrValueLen(styleItem)); in SetVisible()
H A Dcomponent_utils.cpp81 typeId = KeyParser::ParseKeyId(type, len); in GetComponentType()
H A Dswitch_component.cpp47 if (!KeyParser::IsKeyValid(stylePropNameId)) { in ApplyPrivateStyle()
H A Dimage_component.cpp94 uint16_t mode = KeyParser::ParseKeyId(strValue, GetStyleStrValueLen(style)); in ApplyPrivateStyle()
H A Dlist_component.cpp81 uint16_t valueId = KeyParser::ParseKeyId(strValue, GetStyleStrValueLen(style)); in ApplyPrivateStyle()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/
H A Ddate_time_format_module.cpp507 uint16_t weekId = KeyParser::ParseKeyId(weekStyle, len); in GetWeekdayStyle()
509 if (!KeyParser::IsKeyValid(weekId)) { in GetWeekdayStyle()
538 uint16_t monthId = KeyParser::ParseKeyId(monthStyle, len); in GetMonthStyle()
540 if (!KeyParser::IsKeyValid(monthId)) { in GetMonthStyle()
582 uint16_t attrId = KeyParser::ParseKeyId(attrVal, len); in GetStyle()
584 if (!KeyParser::IsKeyValid(attrId)) { in GetStyle()
H A Dnumber_format_module.cpp142 uint32_t styleNameId = KeyParser::ParseKeyId(styleName, styleLen); in SetStyle()
144 if (!KeyParser::IsKeyValid(styleNameId)) { in SetStyle()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/context/
H A Djs_profiler.cpp377 LOG_PROFILER("COST %s %s %llu ms [%s] %s", KeyParser::GetKeyById(data.component), in Output()
379 (data.description != 0) ? KeyParser::GetKeyById(data.description) : "", in Output()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/
H A Dapp_style.cpp78 uint16_t keyId = KeyParser::ParseKeyId(stylePropName, len); in GetStyleItemByName()
84 if (!KeyParser::IsKeyValid(stylePropNameId)) { in GetStyleItemByNameId()

12