Home
last modified time | relevance | path

Searched refs:LTR (Results 1 - 25 of 169) sorted by relevance

1234567

/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dalignment.cpp109 [](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 Dlayout_property_test_ng_two.cpp69 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 Dparagraph_style.cpp41 return (textDirection == TextDirection::LTR) ? TextAlign::LEFT : TextAlign::RIGHT; in GetEquivalentAlign()
43 return (textDirection == TextDirection::LTR) ? TextAlign::RIGHT : TextAlign::LEFT; in GetEquivalentAlign()
H A Dtext_types.h92 LTR, member in OHOS::Rosen::SPText::TextDirection
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/render_node/
H A Drender_node_layout_property.h54 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 Dstack_layout_property.h54 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 Dposition_property.h34 propAlignment.value_or(Alignment::CENTER).GetAlignmentStr(TextDirection::LTR).c_str(), filter); in ToJsonValue()
H A Doverlay_property.h53 jsonOptions->Put("align", align.GetAlignmentStr(TextDirection::LTR).c_str()); in ToJsonValue()
/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/
H A Dtext_overlay_manager.cpp65 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 Drender_text_overlay.h141 TextDirection textDirection_ = TextDirection::LTR;
142 TextDirection realTextDirection_ = TextDirection::LTR;
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dspan_model_adapter.cpp108 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 Drosen_render_marquee.cpp38 return TextDirection::LTR; in GetTextDirection()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_canvas.cpp36 paintChild_->SetTextDirection(IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR); in PrepareSpecializedComponent() member in OHOS::Ace::Framework::TextDirection
H A Ddom_piece.cpp39 pieceChild_->SetTextDirection(declaration->IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR); in PrepareSpecializedComponent()
H A Ddom_refresh.cpp141 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 Ddom_navigation_menu.cpp25 menuChild_->SetTextDirection((IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR)); in DOMNavigationMenu()
H A Ddom_swiper.cpp62 swiperChild_->SetTextDirection(IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR); in PrepareSpecializedComponent() member in OHOS::Ace::Framework::TextDirection
H A Ddom_badge.cpp39 badgeChild_->SetTextDirection(declaration->IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR); in PrepareSpecializedComponent()
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/common/
H A Dtypography_style.cpp42 return (textDirection == TextDirection::LTR) ? TextAlign::LEFT : TextAlign::RIGHT; in GetEffectiveAlign()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_content_modifier.cpp443 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 Dtypography_style.h53 TextDirection direction = TextDirection::LTR;
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Ddrawing_prop_convertor.cpp67 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 Dfolder_stack_layout_property.h60 json->PutExtAttr("alignContent", align.GetAlignmentStr(TextDirection::LTR).c_str(), filter);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_item_group_paint_method.h79 TextDirection layoutDirection_ = TextDirection::LTR;
/foundation/arkui/ace_engine/frameworks/core/components/navigation_bar/
H A Dnavigation_bar_component_v2.h67 TextDirection direction_ = TextDirection::LTR;

Completed in 10 milliseconds

1234567