Home
last modified time | relevance | path

Searched refs:charOfShowingText (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/text_layout_adapter/
H A Dtext_layout_adapter.cpp21 bool TextLayoutadapter::IsLeftToRight(int32_t charOfShowingText) in IsLeftToRight() argument
23 UChar32 uCharOfShowingText = charOfShowingText; in IsLeftToRight()
26 bool TextLayoutadapter::IsRightToLeft(int32_t charOfShowingText) in IsRightToLeft() argument
28 UChar32 uCharOfShowingText = charOfShowingText; in IsRightToLeft()
31 bool TextLayoutadapter::IsRightTOLeftArabic(int32_t charOfShowingText) in IsRightTOLeftArabic() argument
33 UChar32 uCharOfShowingText = charOfShowingText; in IsRightTOLeftArabic()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/mock/
H A Dmock_text_layout_adapter.cpp19 bool TextLayoutadapter::IsLeftToRight(int32_t charOfShowingText) in IsLeftToRight() argument
23 bool TextLayoutadapter::IsRightToLeft(int32_t charOfShowingText) in IsRightToLeft() argument
27 bool TextLayoutadapter::IsRightTOLeftArabic(int32_t charOfShowingText) in IsRightTOLeftArabic() argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_layout_adapter.h25 static bool IsLeftToRight(int32_t charOfShowingText);
26 static bool IsRightToLeft(int32_t charOfShowingText);
27 static bool IsRightTOLeftArabic(int32_t charOfShowingText);
H A Dmultiple_paragraph_layout_algorithm.cpp415 for (const auto& charOfShowingText : showingTextForWString) { in GetTextDirectionByContent() local
416 if (TextLayoutadapter::IsLeftToRight(charOfShowingText)) { in GetTextDirectionByContent()
418 } else if (TextLayoutadapter::IsRightToLeft(charOfShowingText)) { in GetTextDirectionByContent()
420 } else if (TextLayoutadapter::IsRightTOLeftArabic(charOfShowingText)) { in GetTextDirectionByContent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Drosen_render_text.cpp631 for (const auto& charOfShowingText : showingTextForWString) { in DidExceedMaxLines() local
632 if (u_charDirection(charOfShowingText) == UCharDirection::U_LEFT_TO_RIGHT) { in DidExceedMaxLines()
635 } else if (u_charDirection(charOfShowingText) == UCharDirection::U_RIGHT_TO_LEFT) { in DidExceedMaxLines()
639 u_charDirection(charOfShowingText) == UCharDirection::U_RIGHT_TO_LEFT_ARABIC) { in DidExceedMaxLines()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/marquee/
H A Dmarquee_pattern.cpp650 for (const auto& charOfShowingText : showingTextForWString) { in GetTextDirection() local
651 if (TextLayoutadapter::IsLeftToRight(charOfShowingText)) { in GetTextDirection()
654 if (TextLayoutadapter::IsRightToLeft(charOfShowingText) || in GetTextDirection()
655 TextLayoutadapter::IsRightTOLeftArabic(charOfShowingText)) { in GetTextDirection()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_layout_algorithm.cpp899 for (const auto& charOfShowingText : showingTextForWString) { in GetTextDirection() local
900 if (TextLayoutadapter::IsLeftToRight(charOfShowingText)) { in GetTextDirection()
903 if (TextLayoutadapter::IsRightToLeft(charOfShowingText) || in GetTextDirection()
904 TextLayoutadapter::IsRightTOLeftArabic(charOfShowingText)) { in GetTextDirection()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drosen_render_text_field.cpp1193 for (const auto& charOfShowingText : showingTextForWString) { local
1194 auto charDirection = u_charDirection(charOfShowingText);