Home
last modified time | relevance | path

Searched refs:styles (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/ohos5.0/foundation/arkui/ace_engine/interfaces/native/node/
H A Dnode_node_relative_container.cpp28 guidelinePtr->styles.resize(size); in OH_ArkUI_GuidelineOption_Create()
45 guideline->styles[index].id = value; in OH_ArkUI_GuidelineOption_SetId()
53 guideline->styles[index].direction = value; in OH_ArkUI_GuidelineOption_SetDirection()
61 guideline->styles[index].hasStart = true; in OH_ArkUI_GuidelineOption_SetPositionStart()
62 guideline->styles[index].start = value; in OH_ArkUI_GuidelineOption_SetPositionStart()
70 guideline->styles[index].hasEnd = true; in OH_ArkUI_GuidelineOption_SetPositionEnd()
71 guideline->styles[index].end = value; in OH_ArkUI_GuidelineOption_SetPositionEnd()
87 return guideline->styles[index].direction; in OH_ArkUI_GuidelineOption_GetDirection()
95 return guideline->styles[index].start; in OH_ArkUI_GuidelineOption_GetPositionStart()
103 return guideline->styles[index].end; in OH_ArkUI_GuidelineOption_GetPositionEnd()
[all …]
H A Dnative_node_extented.cpp544 while (!storage->styles.empty()) { in OH_ArkUI_StyledString_Destroy()
545 auto style = reinterpret_cast<OH_Drawing_TextStyle*>(storage->styles.top()); in OH_ArkUI_StyledString_Destroy()
547 storage->styles.pop(); in OH_ArkUI_StyledString_Destroy()
549 storage->styles = std::stack<void*>(); in OH_ArkUI_StyledString_Destroy()
570 storage->styles.push(textStyle); in OH_ArkUI_StyledString_PushTextStyle()
579 if (storage->styles.empty()) { in OH_ArkUI_StyledString_AddText()
582 spanItem->textStyle = storage->styles.top(); in OH_ArkUI_StyledString_AddText()
590 if (storage->styles.empty()) { in OH_ArkUI_StyledString_PopTextStyle()
593 storage->styles.pop(); in OH_ArkUI_StyledString_PopTextStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_input.cpp310 … const std::map<std::string, std::string>& styles, const Border& boxBorder, DOMInput& input) { in UpdateSpecializedComponentStyle()
312 … boxComponent, AceType::DynamicCast<ButtonComponent>(component), styles, input); in UpdateSpecializedComponentStyle()
316 … const std::map<std::string, std::string>& styles, const Border& boxBorder, DOMInput& input) { in UpdateSpecializedComponentStyle()
317 input.HandlePadding(component, boxComponent, styles); in UpdateSpecializedComponentStyle()
321 … const std::map<std::string, std::string>& styles, const Border& boxBorder, DOMInput& input) { in UpdateSpecializedComponentStyle()
327 … const std::map<std::string, std::string>& styles, const Border& boxBorder, DOMInput& input) { in UpdateSpecializedComponentStyle()
333 … const std::map<std::string, std::string>& styles, const Border& boxBorder, DOMInput& input) { in UpdateSpecializedComponentStyle()
347 … boxComponent, AceType::DynamicCast<RadioComponent<std::string>>(component), styles); in UpdateSpecializedComponentStyle()
348 input.HandlePadding(component, boxComponent, styles); in UpdateSpecializedComponentStyle()
585 const std::map<std::string, std::string>& styles) in HandlePadding() argument
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-styled-string.md1231 if (styles.length == 2) {
1236 if (styles[i].styledKey === 0) {
1242 if (styles[0] !== undefined) {
1472 if (styles.length !== 0) {
1477 if (styles[i].styledKey === 0) {
1492 if (styles.length !== 0) {
1497 if (styles[i].styledKey === 1) {
1502 if (styles[i].styledKey === 2) {
1506 if (styles[i].styledKey === 3) {
1510 if (styles[i].styledKey === 4) {
[all …]
H A Dts-universal-styled-string-sys.md101 let styles: StyledString = await StyledString.unmarshalling(this.buff.buffer)
103 if (styles == undefined) {
107 this.textResult = styles.getString()
109 let stylesArr = styles.getStyles(0, this.textResult.length, StyledStringKey.FONT)
121 let subStr = styles.subStyledString(0, 2)
/ohos5.0/docs/en/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-syntax-css.md4 …ibe the HML page structure. All HML components have default styles. You can customize styles for t…
23 … the same name as the **.hml** file in each page directory describes the styles of components on t…
63 A CSS selector is used to select elements for which styles need to be added to. The following table…
99 …with the W3C rule, which is only available for inline styles, **id**, and **class**. (Inline style…
H A Djs-service-widget-basic-button.md35 In addition to the [universal styles](js-service-widget-common-styles.md), the following styles are…
42 … the **font-weight** style of the **[\<text>](js-service-widget-basic-text.md#styles)** component.|
46 … circle button, this style takes precedence over **width** and **height** in the universal styles.|
49 > - For capsule buttons, border-related styles are not supported.
51 > - For circle buttons, text-related styles are not supported.
H A Djs-service-widget-basic-progress.md45 In addition to the [universal styles](js-service-widget-common-styles.md), the following styles are…
47 When the type is **horizontal**, the following styles are supported.
56 When the type is **circular**, the following styles are supported.
62 When the type is **ring** or **scale-ring**, the following styles are supported.
73 When the type is **arc**, the following styles are supported.
H A Djs-service-widget-basic-span.md27 …etails, see **font-style** of the [**\<text>**](js-service-widget-basic-text.md#styles) component.|
28 …tails, see **font-weight** of the [**\<text>**](js-service-widget-basic-text.md#styles) component.|
29 …s, see **text-decoration** of the [**\<text>**](js-service-widget-basic-text.md#styles) component.|
H A Djs-service-widget-container-swiper.md29 In addition to the [universal styles](js-service-widget-common-styles.md), the following styles are…
/ohos5.0/docs/en/application-dev/ui/
H A Djs-framework-syntax-css.md3styles. You can customize styles for these components using CSS to design various pages. For detai…
22 … the same name as the **.hml** file in each page directory describes the styles of components on t…
58 A CSS selector is used to select elements for which styles need to be added to. The following table…
112 …nd content to blue, and **.container > text** sets title to red. The two styles have the same prio…
116 …is only available for inline styles, **id**, **class**, **tag**, grandchild components, and child …
156 …lping you define component styles more conveniently. Currently, Less, Sass, and Scss are supported…
192 …ority when multiple style selectors are involved. Currently, the following styles can be inherited:
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-custom-style.md11 | inherit-class | string | - | No | Class styles inherited from the parent component, separate…
13 To enable a custom component to inherit the styles of its parent component, set the **inherit-calss…
15 …mp**. This component uses the **inherit-class** attribute to inherit the styles of its parent comp…
40 … the custom component, where **parent-class1** and **parent-class2** are styles inherited from the…
H A Djs-components-basic-button.md33 In addition to the [universal styles](js-components-common-styles.md), the following styles are sup…
41 …r details, see **font-weight** of the [**\<text>** component](js-components-basic-text.md#styles).|
45 … circle button, this style takes precedence over **width** and **height** in the universal styles.|
50 …*, and **[left|top|right|bottom]** styles in [Universal Styles](js-components-common-styles.md), t…
58 … details, see **font-weight** of the [**\<text>**](js-components-basic-text.md#styles) component. |
H A Djs-components-basic-span.md30 Only the following styles are supported.
37 …or details, see **font-style** of the [**\<text>**](js-components-basic-text.md#styles) component.|
38 …r details, see **font-weight** of the [**\<text>**](js-components-basic-text.md#styles) component.|
39 …tails, see **text-decoration** of the [**\<text>**](js-components-basic-text.md#styles) component.|
H A Djs-components-basic-switch.md35 In addition to the [universal styles](js-components-common-styles.md), the following styles are sup…
44 …off** are set. For details, see [font-style](js-components-basic-text.md#styles) of the **\<text>*…
45 …ff** are set. For details, see [font-weight](js-components-basic-text.md#styles) of the **\<text>*…
H A Djs-components-grid-row.md7 …**\<grid-col>** component is arranged horizontally with **flex**-related styles. By default, items…
26 In addition to the [universal styles](js-components-common-styles.md), the following styles are sup…
37 > Width-related styles are not supported.
H A Djs-components-basic-select.md21 In addition to the [universal styles](js-components-common-styles.md), the following styles are sup…
H A Djs-components-basic-toggle.md32 In addition to the [universal styles](js-components-common-styles.md), the following styles are sup…
40 …r details, see **font-weight** of the [**\<text>**](js-components-basic-text.md#styles) component.|
H A Djs-components-container-popup.md38 In addition to the [universal styles](js-components-common-styles.md), the following styles are sup…
46 > Position-related styles are not supported.
68 > 1. Attributes and styles of a **\<popup>** component cannot be dynamically updated.
H A Djs-components-basic-marquee.md33 In addition to the [universal styles](js-components-common-styles.md), the following styles are sup…
40 …r details, see **font-weight** of the **[\<text> component](js-components-basic-text.md#styles)**.|
H A Djs-components-basic-search.md37 In addition to the [universal styles](js-components-common-styles.md), the following styles are sup…
45 … Font weight. For details, see [font-weight](js-components-basic-text.md#styles) of the **\<text>*…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-styled-string-sys.md3 Styled strings are string objects that facilitate the flexible use of text styles. They can be boun…
101 let styles: StyledString = await StyledString.unmarshalling(this.buff.buffer)
103 if (styles == undefined) {
107 this.textResult = styles.getString()
109 let stylesArr = styles.getStyles(0, this.textResult.length, StyledStringKey.FONT)
121 let subStr = styles.subStyledString(0, 2)
H A Dts-universal-styled-string.md404 Removes all styles of this styled string.
1229 if (styles.length == 2) {
1240 if (styles[0] !== undefined) {
1470 if (styles.length !== 0) {
1475 if (styles[i].styledKey === 0) {
1490 if (styles.length !== 0) {
1495 if (styles[i].styledKey === 1) {
1500 if (styles[i].styledKey === 2) {
1504 if (styles[i].styledKey === 3) {
1508 if (styles[i].styledKey === 4) {
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js-lite/
H A Djs-lite-framework-syntax-css.md4 …ibe the HML page structure. All HML components have default styles. You can customize styles for t…
14 … the same name as the **.hml** file in each page directory describes the styles of components on t…
54 A CSS selector is used to select elements for which styles need to be added to. The following table…
126 …lping you define component styles more conveniently. Currently, Less, Sass, and Scss are supported…
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/
H A Djs_card_parser.h68 std::vector<std::pair<std::string, std::string>>& styles) in ParseStyles() argument
70 ParseStyles(rootJson, nodeId, styles, styleJson_); in ParseStyles()
133 …st std::unique_ptr<JsonValue>& rootJson, std::vector<std::pair<std::string, std::string>>& styles);
135 std::vector<std::pair<std::string, std::string>>& styles);
136 …ueryStyle(const std::string& styleClass, std::vector<std::pair<std::string, std::string>>& styles);
158 …std::vector<std::pair<std::string, std::string>>& styles, const std::unique_ptr<JsonValue>& styleJ…

12345678910>>...13