/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/ |
H A D | typography_types.h | 69 enum class TextAlign { enum 89 TextAlign operator |(TextAlign lhs, TextAlign rhs); 90 TextAlign operator &(TextAlign lhs, TextAlign rhs); 91 TextAlign operator ^(TextAlign lhs, TextAlign rhs); 92 TextAlign operator ~(TextAlign lhs); 93 void operator &=(TextAlign &lhs, const TextAlign &rhs); 94 void operator |=(TextAlign &lhs, const TextAlign &rhs); 95 void operator ^=(TextAlign &lhs, const TextAlign &rhs);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/common/ |
H A D | typography_style.cpp | 55 TextAlign TypographyStyle::GetEffectiveAlign() const in GetTextStyle() 58 if (textAlign_ == TextAlign::START) { in GetTextStyle() 59 return (textDirection_ == TextDirection::LTR) ? TextAlign::LEFT : TextAlign::RIGHT; in GetTextStyle() 60 } else if (textAlign_ == TextAlign::END) { in GetTextStyle() 61 return (textDirection_ == TextDirection::RTL) ? TextAlign::LEFT : TextAlign::RIGHT; in GetTextStyle() 63 if (textAlign == TextAlign::START) { in GetTextStyle() 64 return (textDirection == TextDirection::LTR) ? TextAlign::LEFT : TextAlign::RIGHT; in GetTextStyle() 65 } else if (textAlign == TextAlign::END) { in GetTextStyle() 66 return (textDirection == TextDirection::RTL) ? TextAlign::LEFT : TextAlign::RIGHT; in GetTextStyle()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/ |
H A D | paragraph_style.cpp | 38 TextAlign ParagraphStyle::GetEquivalentAlign() const in GetEquivalentAlign() 40 if (textAlign == TextAlign::START) { in GetEquivalentAlign() 41 return (textDirection == TextDirection::LTR) ? TextAlign::LEFT : TextAlign::RIGHT; in GetEquivalentAlign() 42 } else if (textAlign == TextAlign::END) { in GetEquivalentAlign() 43 return (textDirection == TextDirection::LTR) ? TextAlign::RIGHT : TextAlign::LEFT; in GetEquivalentAlign()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | span_model_adapter.cpp | 115 TextAlign textAlign; in CreateParagraphStyle() 117 case Rosen::TextAlign::LEFT: in CreateParagraphStyle() 118 textAlign = TextAlign::LEFT; in CreateParagraphStyle() 120 case Rosen::TextAlign::RIGHT: in CreateParagraphStyle() 121 textAlign = TextAlign::RIGHT; in CreateParagraphStyle() 123 case Rosen::TextAlign::CENTER: in CreateParagraphStyle() 126 case Rosen::TextAlign::JUSTIFY: in CreateParagraphStyle() 129 case Rosen::TextAlign::START: in CreateParagraphStyle() 130 textAlign = TextAlign::START; in CreateParagraphStyle() 132 case Rosen::TextAlign::END: in CreateParagraphStyle() [all …]
|
/ohos5.0/docs/zh-cn/application-dev/onlyfortest/9Release/ |
H A D | check-illegal-code.md | 30 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center) 38 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center) 46 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center) 54 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center) 105 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center) 113 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center) 121 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center) 129 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center) 180 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center) 188 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center) [all …]
|
H A D | check-deprecated-doc.md | 33 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center) 41 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center) 49 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center) 57 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center) 110 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center) 118 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center) 126 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center) 134 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center) 187 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center) 195 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center) [all …]
|
H A D | check-legal-code.md | 32 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center) 40 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center) 48 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center) 56 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center) 109 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center) 117 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center) 125 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center) 133 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center) 186 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center) 194 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center) [all …]
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-layout-development-create-looping.md | 28 .textAlign(TextAlign.Center) 35 .textAlign(TextAlign.Center) 42 .textAlign(TextAlign.Center) 94 .textAlign(TextAlign.Center) 101 .textAlign(TextAlign.Center) 108 .textAlign(TextAlign.Center) 187 .textAlign(TextAlign.Center) 268 .textAlign(TextAlign.Center) 274 .textAlign(TextAlign.Center) 280 .textAlign(TextAlign.Center) [all …]
|
H A D | arkts-blur-effect.md | 35 .textAlign(TextAlign.Center) 121 .textAlign(TextAlign.Center) 146 .textAlign(TextAlign.Center) 180 .textAlign(TextAlign.Center) 210 .textAlign(TextAlign.Center) 240 .textAlign(TextAlign.Center) 270 .textAlign(TextAlign.Center) 300 .textAlign(TextAlign.Center) 330 .textAlign(TextAlign.Center) 384 .textAlign(TextAlign.Center) [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-flex-layout.md | 100 .textAlign(TextAlign.Center) 106 .textAlign(TextAlign.Center) 116 .textAlign(TextAlign.Center) 121 .textAlign(TextAlign.Center) 133 .textAlign(TextAlign.Center) 138 .textAlign(TextAlign.Center) 144 .textAlign(TextAlign.Center) 154 .textAlign(TextAlign.Center) 160 .textAlign(TextAlign.Center) 165 .textAlign(TextAlign.Center)
|
H A D | ts-pixel-units.md | 57 .textAlign(TextAlign.Center) 67 .textAlign(TextAlign.Center) 76 .textAlign(TextAlign.Center) 86 .textAlign(TextAlign.Center) 97 .textAlign(TextAlign.Center) 107 .textAlign(TextAlign.Center) 118 .textAlign(TextAlign.Center)
|
H A D | ts-container-rowsplit.md | 62 Text('1').width('10%').height(100).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center) 63 Text('2').width('10%').height(100).backgroundColor(0xD2B48C).textAlign(TextAlign.Center) 64 Text('3').width('10%').height(100).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center) 65 Text('4').width('10%').height(100).backgroundColor(0xD2B48C).textAlign(TextAlign.Center) 66 Text('5').width('10%').height(100).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center)
|
H A D | ts-universal-attributes-location.md | 313 .textAlign(TextAlign.Center) 322 .textAlign(TextAlign.Center) 340 .textAlign(TextAlign.Center) 346 .textAlign(TextAlign.Center) 352 .textAlign(TextAlign.Center) 362 .textAlign(TextAlign.Center) 371 .textAlign(TextAlign.Center) 403 .textAlign(TextAlign.Center).position({top: 0, left: 0}) 414 .textAlign(TextAlign.Center) 416 .textAlign(TextAlign.Center).offset({top: 30, left: 0}) [all …]
|
H A D | ts-container-columnsplit.md | 88 Text('1').width('100%').height(50).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center) 89 Text('2').width('100%').height(50).backgroundColor(0xD2B48C).textAlign(TextAlign.Center) 90 Text('3').width('100%').height(50).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center) 91 Text('4').width('100%').height(50).backgroundColor(0xD2B48C).textAlign(TextAlign.Center) 92 Text('5').width('100%').height(50).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center)
|
H A D | ts-container-effectcomponent-sys.md | 52 .textAlign(TextAlign.Center) 62 .textAlign(TextAlign.Center) 72 .textAlign(TextAlign.Center) 82 .textAlign(TextAlign.Center)
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/font/ |
H A D | constants_converter.h | 37 enum class TextAlign; variable 47 enum class TextAlign; variable 68 enum class TextAlign; variable 86 txt::TextAlign ConvertTxtTextAlign(TextAlign textAlign); 117 OHOS::Rosen::TextAlign ConvertTxtTextAlign(TextAlign textAlign);
|
H A D | constants_converter.cpp | 210 txt::TextAlign ConvertTxtTextAlign(TextAlign textAlign) in ConvertTxtTextAlign() 214 case TextAlign::LEFT: in ConvertTxtTextAlign() 217 case TextAlign::RIGHT: in ConvertTxtTextAlign() 220 case TextAlign::CENTER: in ConvertTxtTextAlign() 226 case TextAlign::START: in ConvertTxtTextAlign() 229 case TextAlign::END: in ConvertTxtTextAlign() 240 Rosen::TextAlign ConvertTxtTextAlign(TextAlign textAlign) in ConvertTxtTextAlign() 244 case TextAlign::LEFT: in ConvertTxtTextAlign() 247 case TextAlign::RIGHT: in ConvertTxtTextAlign() 256 case TextAlign::START: in ConvertTxtTextAlign() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/measure/ |
H A D | cj_measure_ffi.cpp | 31 std::vector<TextAlign> TEXT_ALIGNS = { 32 TextAlign::START, 33 TextAlign::CENTER, 34 TextAlign::END, 35 TextAlign::LEFT, 36 TextAlign::RIGHT, 37 TextAlign::JUSTIFY
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | utils.h | 372 { TextAlign::START, "TextAlign.Start" }, in ConvertWrapTextAlignToString() 373 { TextAlign::CENTER, "TextAlign.Center" }, in ConvertWrapTextAlignToString() 374 { TextAlign::END, "TextAlign.End" }, in ConvertWrapTextAlignToString() 376 { TextAlign::LEFT, "TextAlign.Left" }, in ConvertWrapTextAlignToString() 377 { TextAlign::RIGHT, "TextAlign.Right" }, in ConvertWrapTextAlignToString() 387 { "TextAlign.Left", TextAlign::LEFT }, in ConvertWrapStringToTextAlign() 388 { "TextAlign.Right", TextAlign::RIGHT }, in ConvertWrapStringToTextAlign() 389 { "TextAlign.Center", TextAlign::CENTER }, in ConvertWrapStringToTextAlign() 391 { "TextAlign.Start", TextAlign::START }, in ConvertWrapStringToTextAlign() 392 { "TextAlign.End", TextAlign::END }, in ConvertWrapStringToTextAlign() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_typography_style.h | 36 TextAlign textAlign_ = TextAlign::START; 45 TextAlign textAlign = TextAlign::START;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_text_ffi.cpp | 35 const std::vector<TextAlign> TEXT_ALIGNS = { TextAlign::START, TextAlign::CENTER, TextAlign::END, T… 36 TextAlign::RIGHT, TextAlign::JUSTIFY };
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/ndktest/camera_ndk_demo/entry/src/main/ets/Dialog/ |
H A D | mainDialog.ets | 34 .textAlign(TextAlign.Start) 38 .textAlign(TextAlign.Start) 54 .textAlign(TextAlign.Center) 68 .textAlign(TextAlign.Center) 82 .textAlign(TextAlign.Center)
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-blur-effect.md | 35 .textAlign(TextAlign.Center) 121 .textAlign(TextAlign.Center) 146 .textAlign(TextAlign.Center) 180 .textAlign(TextAlign.Center) 210 .textAlign(TextAlign.Center) 240 .textAlign(TextAlign.Center) 270 .textAlign(TextAlign.Center) 300 .textAlign(TextAlign.Center) 330 .textAlign(TextAlign.Center) 384 .textAlign(TextAlign.Center) [all …]
|
H A D | arkts-layout-development-create-looping.md | 28 .textAlign(TextAlign.Center) 35 .textAlign(TextAlign.Center) 42 .textAlign(TextAlign.Center) 94 .textAlign(TextAlign.Center) 101 .textAlign(TextAlign.Center) 108 .textAlign(TextAlign.Center) 187 .textAlign(TextAlign.Center) 268 .textAlign(TextAlign.Center) 274 .textAlign(TextAlign.Center) 280 .textAlign(TextAlign.Center) [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/marquee/ |
H A D | render_marquee.cpp | 380 if (textAlign == TextAlign::START) { in GetTextPosition() 381 …tAlign = RenderNode::GetTextDirection() == TextDirection::LTR ? TextAlign::LEFT : TextAlign::RIGHT; in GetTextPosition() 383 if (textAlign == TextAlign::END) { in GetTextPosition() 384 …tAlign = RenderNode::GetTextDirection() == TextDirection::LTR ? TextAlign::RIGHT : TextAlign::LEFT; in GetTextPosition() 388 if (textAlign == TextAlign::CENTER) { in GetTextPosition() 390 } else if (textAlign == TextAlign::RIGHT) { in GetTextPosition()
|