/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/ |
H A D | app_style_sheet.cpp | 171 jerry_value_t styleKey = jerry_get_property_by_index(styleKeys, index); in InitSelectors() local 172 jerry_value_t styleValue = jerry_get_property(selectorsObj, styleKey); in InitSelectors() 173 AppStyle *newStyle = AppStyle::GenerateFromJS(styleKey, styleValue, isKeyFrames); in InitSelectors() 184 ReleaseJerryValue(styleKey, styleValue, VA_ARG_END_FLAG); in InitSelectors()
|
H A D | app_style_item.cpp | 23 uint8_t AppStyleItem::EstimatePseudoClassType(const char * const styleKey, uint16_t *keyLength) in EstimatePseudoClassType() argument 25 char *p = strchr(const_cast<char *>(styleKey), ':'); in EstimatePseudoClassType() 41 *keyLength = (uint16_t)(p - styleKey); in EstimatePseudoClassType()
|
H A D | app_style.h | 77 …static AppStyle* GenerateFromJS(jerry_value_t styleKey, jerry_value_t styleValue, bool isKeyFrames…
|
H A D | app_style.cpp | 290 AppStyle *AppStyle::GenerateFromJS(jerry_value_t styleKey, jerry_value_t styleValue, bool isKeyFram… in GenerateFromJS() argument 292 char *styleNameBuffer = MallocStringOf(styleKey); in GenerateFromJS()
|
H A D | app_style_item.h | 187 static uint8_t EstimatePseudoClassType(const char * const styleKey, uint16_t *keyLength);
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | input_edittext_component.cpp | 128 uint16_t styleKey = GetStylePropNameId(style); in ApplyPrivateStyle() local 129 if (!KeyParser::IsKeyValid(styleKey)) { in ApplyPrivateStyle() 132 switch (styleKey) { in ApplyPrivateStyle()
|
H A D | qrcode_component.cpp | 82 uint16_t styleKey = GetStylePropNameId(style); in ApplyPrivateStyle() local 83 switch (styleKey) { in ApplyPrivateStyle()
|
H A D | input_checkbox_component.cpp | 85 uint16_t styleKey = GetStylePropNameId(style); in ApplyPrivateStyle() local 86 if (styleKey == K_BACKGROUND_IMAGE) { in ApplyPrivateStyle()
|
H A D | image_component.cpp | 86 uint16_t styleKey = style->GetPropNameId(); in ApplyPrivateStyle() local 88 switch (styleKey) { in ApplyPrivateStyle()
|
H A D | input_radio_component.cpp | 97 uint16_t styleKey = GetStylePropNameId(style); in ApplyPrivateStyle() local 98 if (styleKey == K_BACKGROUND_IMAGE) { in ApplyPrivateStyle()
|
H A D | input_button_component.cpp | 74 uint16_t styleKey = GetStylePropNameId(style); in ApplyPrivateStyle() local 75 switch (styleKey) { in ApplyPrivateStyle()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | switch_tdd_test.cpp | 44 …jerry_value_t styleKey = jerry_create_string(reinterpret_cast<const jerry_char_t *>("staticStyle")… in SetUp() local 46 jerry_value_t ret2 = jerry_set_property(optionsObj_, styleKey, styleObj_); in SetUp() 52 ReleaseJerryValue(attrsKey, ret1, styleKey, ret2, eventKey, ret3, VA_ARG_END_FLAG); in SetUp()
|
H A D | swiper_tdd_test.cpp | 42 …jerry_value_t styleKey = jerry_create_string(reinterpret_cast<const jerry_char_t *>("staticStyle")… in SetUp() local 44 jerry_value_t ret2 = jerry_set_property(optionsObj_, styleKey, styleObj_); in SetUp() 48 ReleaseJerryValue(attrsKey, styleKey, eventKey, ret1, ret2, ret3, VA_ARG_END_FLAG); in SetUp()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_node.cpp | 659 const auto& styleKey = pseudoClassStyle.first; in CachePseudoClassStyle() local 661 if (styleKey.find(DOM_ACTIVE_PSEUDO_CLASS) != std::string::npos) { in CachePseudoClassStyle() 665 if (styleKey.find(DOM_DISABLED_PSEUDO_CLASS) != std::string::npos) { in CachePseudoClassStyle() 669 if (styleKey.find(DOM_FOCUS_PSEUDO_CLASS) != std::string::npos) { in CachePseudoClassStyle() 673 if (styleKey.find(DOM_CHECKED_PSEUDO_CLASS) != std::string::npos) { in CachePseudoClassStyle() 677 if (styleKey.find(DOM_WAITING_PSEUDO_CLASS) != std::string::npos) { in CachePseudoClassStyle() 681 if (styleKey.find(DOM_HOVER_PSEUDO_CLASS) != std::string::npos) { in CachePseudoClassStyle() 687 auto pseudoSymbolLocation = styleKey.find(DOM_PSEUDO_CLASS_SYMBOL); in CachePseudoClassStyle() 689 …((pseudoSymbolLocation != std::string::npos) ? styleKey.substr(0, pseudoSymbolLocation) : styleKey… in CachePseudoClassStyle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/ |
H A D | js_span_string.cpp | 667 auto styleKey = valueObj->GetProperty("styledKey"); in ParseJsSpanBaseVector() local 668 if (styleKey->IsNull() || !styleKey->IsNumber()) { in ParseJsSpanBaseVector() 675 auto type = static_cast<SpanType>(styleKey->ToNumber<int32_t>()); in ParseJsSpanBaseVector()
|