/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | alignment.cpp | 109 [](TextDirection direction) { return direction == TextDirection::LTR ? TOP_LEFT : TOP_RIGHT; } }, in GetAlignment() 111 [](TextDirection direction) { return direction == TextDirection::LTR ? TOP_RIGHT : TOP_LEFT; } }, in GetAlignment() 114 [](TextDirection direction) { return direction == TextDirection::LTR ? CENTER_LEFT : CENTER_RIGHT; } }, in GetAlignment() 116 [](TextDirection direction) { return direction == TextDirection::LTR ? CENTER_RIGHT : CENTER_LEFT; } }, in GetAlignment() 119 [](TextDirection direction) { return direction == TextDirection::LTR ? BOTTOM_LEFT : BOTTOM_RIGHT; } }, in GetAlignment() 121 [](TextDirection direction) { return direction == TextDirection::LTR ? BOTTOM_RIGHT : BOTTOM_LEFT; } }, in GetAlignment()
|
/foundation/arkui/ace_engine/test/unittest/core/layout/ |
H A D | layout_property_test_ng_two.cpp | 69 auto textDirection = TextDirection::LTR; in HWTEST_F() 96 auto textDirection = TextDirection::LTR; in HWTEST_F() 121 auto textDirection = TextDirection::LTR; in HWTEST_F() 145 auto textDirection = TextDirection::LTR; in HWTEST_F() 172 auto textDirection = TextDirection::LTR; in HWTEST_F() 197 auto textDirection = TextDirection::LTR; in HWTEST_F() 221 auto textDirection = TextDirection::LTR; in HWTEST_F() 248 auto textDirection = TextDirection::LTR; in HWTEST_F() 273 auto textDirection = TextDirection::LTR; in HWTEST_F() 296 auto textDirection = TextDirection::LTR; in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/ |
H A D | paragraph_style.cpp | 41 return (textDirection == TextDirection::LTR) ? TextAlign::LEFT : TextAlign::RIGHT; in GetEquivalentAlign() 43 return (textDirection == TextDirection::LTR) ? TextAlign::RIGHT : TextAlign::LEFT; in GetEquivalentAlign()
|
H A D | text_types.h | 92 LTR, member in OHOS::Rosen::SPText::TextDirection
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/render_node/ |
H A D | render_node_layout_property.h | 54 json->PutExtAttr("alignContent", align.GetAlignmentStr(TextDirection::LTR).c_str(), filter); 59 UpdateAlignment(Alignment::GetAlignment(TextDirection::LTR, json->GetString("alignContent")));
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stack/ |
H A D | stack_layout_property.h | 54 json->PutExtAttr("alignContent", align.GetAlignmentStr(TextDirection::LTR).c_str(), filter); 59 UpdateAlignment(Alignment::GetAlignment(TextDirection::LTR, json->GetString("alignContent")));
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | position_property.h | 34 propAlignment.value_or(Alignment::CENTER).GetAlignmentStr(TextDirection::LTR).c_str(), filter); in ToJsonValue()
|
H A D | overlay_property.h | 53 jsonOptions->Put("align", align.GetAlignmentStr(TextDirection::LTR).c_str()); in ToJsonValue()
|
/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/ |
H A D | text_overlay_manager.cpp | 65 case TextDirection::LTR: in MakeEmptyOffset() 78 case TextDirection::LTR: in MakeEmptyOffset() 202 bool isLtr = textBox.direction == Rosen::TextDirection::LTR; 211 caretEnd = GetBoundaryOfParagraph(realTextDirection_ != TextDirection::LTR); 251 bool isLtr = textBox.direction == Rosen::TextDirection::LTR; 260 caretStart = GetBoundaryOfParagraph(realTextDirection_ != TextDirection::LTR); 475 if (box.direction == Rosen::TextDirection::LTR) { 499 if (box.direction == Rosen::TextDirection::LTR) {
|
H A D | render_text_overlay.h | 141 TextDirection textDirection_ = TextDirection::LTR; 142 TextDirection realTextDirection_ = TextDirection::LTR;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | span_model_adapter.cpp | 108 case Rosen::TextDirection::LTR: in CreateParagraphStyle() 109 textDirection = TextDirection::LTR; in CreateParagraphStyle() 112 textDirection = TextDirection::LTR; in CreateParagraphStyle()
|
/foundation/arkui/ace_engine/frameworks/core/components/marquee/ |
H A D | rosen_render_marquee.cpp | 38 return TextDirection::LTR; in GetTextDirection()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_canvas.cpp | 36 paintChild_->SetTextDirection(IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR); in PrepareSpecializedComponent() member in OHOS::Ace::Framework::TextDirection
|
H A D | dom_piece.cpp | 39 pieceChild_->SetTextDirection(declaration->IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR); in PrepareSpecializedComponent()
|
H A D | dom_refresh.cpp | 141 refreshChild_->SetTextDirection(IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR); in PrepareSpecializedComponent() member in OHOS::Ace::Framework::TextDirection 142 columnChild_->SetTextDirection(IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR); in PrepareSpecializedComponent() member in OHOS::Ace::Framework::TextDirection
|
H A D | dom_navigation_menu.cpp | 25 menuChild_->SetTextDirection((IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR)); in DOMNavigationMenu()
|
H A D | dom_swiper.cpp | 62 swiperChild_->SetTextDirection(IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR); in PrepareSpecializedComponent() member in OHOS::Ace::Framework::TextDirection
|
H A D | dom_badge.cpp | 39 badgeChild_->SetTextDirection(declaration->IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR); in PrepareSpecializedComponent()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/common/ |
H A D | typography_style.cpp | 42 return (textDirection == TextDirection::LTR) ? TextAlign::LEFT : TextAlign::RIGHT; in GetEffectiveAlign()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_content_modifier.cpp | 443 float textRacePercent = GetTextRaceDirection() == TextDirection::LTR ? in DrawTextRacing() 949 CHECK_NULL_RETURN(textPattern, TextDirection::LTR); in GetTextRaceDirection() 951 CHECK_NULL_RETURN(frameNode, TextDirection::LTR); in GetTextRaceDirection() 953 CHECK_NULL_RETURN(layoutProperty, TextDirection::LTR); in GetTextRaceDirection() 964 CHECK_NULL_RETURN(textPattern, TextDirection::LTR); in GetTextRaceDirectionByContent() 966 CHECK_NULL_RETURN(pManager, TextDirection::LTR); in GetTextRaceDirectionByContent() 968 return TextDirection::LTR; in GetTextRaceDirectionByContent() 971 CHECK_NULL_RETURN(paragraph, TextDirection::LTR); in GetTextRaceDirectionByContent() 976 return TextDirection::LTR; in GetTextRaceDirectionByContent() 984 TextDirection::RTL : TextDirection::LTR; in GetTextRaceDirectionByContent() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/ |
H A D | typography_style.h | 53 TextDirection direction = TextDirection::LTR;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | drawing_prop_convertor.cpp | 67 RSTextDirection rsTxtDir = RSTextDirection::LTR; in ToRSTextDirection() 68 if (txtDir == TextDirection::LTR) { in ToRSTextDirection() 69 rsTxtDir = RSTextDirection::LTR; in ToRSTextDirection()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/folder_stack/ |
H A D | folder_stack_layout_property.h | 60 json->PutExtAttr("alignContent", align.GetAlignmentStr(TextDirection::LTR).c_str(), filter);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_group_paint_method.h | 79 TextDirection layoutDirection_ = TextDirection::LTR;
|
/foundation/arkui/ace_engine/frameworks/core/components/navigation_bar/ |
H A D | navigation_bar_component_v2.h | 67 TextDirection direction_ = TextDirection::LTR;
|