/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | key_parser.h | 24 class KeyParser final : public MemoryHeap { 26 ACE_DISALLOW_COPY_AND_MOVE(KeyParser); 77 KeyParser() {} in KeyParser() function 78 ~KeyParser() {} in ~KeyParser()
|
H A D | key_parser.cpp | 46 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 D | horizonprogress_tdd_test.cpp | 66 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 D | list_tdd_test.cpp | 56 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 D | swiper_tdd_test.cpp | 56 …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 D | swiper_tdd_test.h | 61 uint16_t componentKeyId_ = KeyParser::ParseKeyId("swiper");
|
H A D | opacity_tdd_test.cpp | 29 componentNameId_ = KeyParser::ParseKeyId("div"); in OpacityTddTest() 179 uint16_t textComponentName = KeyParser::ParseKeyId("text"); in SetOpacityTest005()
|
H A D | text_tdd_exception_test.cpp | 28 componentNameId_ = KeyParser::ParseKeyId("text"); in TextTddExceptionTest()
|
H A D | radio_switch_tdd_test.cpp | 23 switchComponentId_ = KeyParser::ParseKeyId("switch", switchNameLen); in RadioSwitchTddTest() 25 radioComponentId_ = KeyParser::ParseKeyId("input", inputNameLen); in RadioSwitchTddTest()
|
H A D | stack_tdd_test.cpp | 25 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 D | base_test.cpp | 91 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 D | clock_hand_component.cpp | 98 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 D | input_edittext_component.cpp | 129 if (!KeyParser::IsKeyValid(styleKey)) { in ApplyPrivateStyle() 151 if (!KeyParser::IsKeyValid(attrKeyId)) { in PostUpdate()
|
H A D | div_component.cpp | 46 if (!KeyParser::IsKeyValid(stylePropNameId)) { in ApplyPrivateStyle() 62 uint16_t valueId = KeyParser::ParseKeyId(strValue, GetStyleStrValueLen(style)); in NativeViewSetDirection()
|
H A D | text_component.cpp | 244 …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 D | input_button_component.cpp | 183 uint16_t valueId = KeyParser::ParseKeyId(GetStyleStrValue(style), GetStyleStrValueLen(style)); in SetTextAlign() 232 if (!KeyParser::IsKeyValid(attrKeyId)) { in PostUpdate()
|
H A D | component.cpp | 238 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 D | component_utils.cpp | 81 typeId = KeyParser::ParseKeyId(type, len); in GetComponentType()
|
H A D | switch_component.cpp | 47 if (!KeyParser::IsKeyValid(stylePropNameId)) { in ApplyPrivateStyle()
|
H A D | image_component.cpp | 94 uint16_t mode = KeyParser::ParseKeyId(strValue, GetStyleStrValueLen(style)); in ApplyPrivateStyle()
|
H A D | list_component.cpp | 81 uint16_t valueId = KeyParser::ParseKeyId(strValue, GetStyleStrValueLen(style)); in ApplyPrivateStyle()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | date_time_format_module.cpp | 507 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 D | number_format_module.cpp | 142 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 D | js_profiler.cpp | 377 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 D | app_style.cpp | 78 uint16_t keyId = KeyParser::ParseKeyId(stylePropName, len); in GetStyleItemByName() 84 if (!KeyParser::IsKeyValid(stylePropNameId)) { in GetStyleItemByNameId()
|