Home
last modified time | relevance | path

Searched refs:IsRightToLeft (Results 1 - 25 of 146) sorted by relevance

123456

/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/
H A Dsvg_fit_convertor.cpp95 AceApplicationInfo::GetInstance().IsRightToLeft() ? Alignment::TOP_RIGHT : Alignment::TOP_LEFT);
106 AceApplicationInfo::GetInstance().IsRightToLeft() ? Alignment::TOP_LEFT : Alignment::TOP_RIGHT);
112 AceApplicationInfo::GetInstance().IsRightToLeft() ? Alignment::CENTER_RIGHT : Alignment::CENTER_LEFT);
123 AceApplicationInfo::GetInstance().IsRightToLeft() ? Alignment::CENTER_LEFT : Alignment::CENTER_RIGHT);
129 AceApplicationInfo::GetInstance().IsRightToLeft() ? Alignment::BOTTOM_RIGHT : Alignment::BOTTOM_LEFT);
140 AceApplicationInfo::GetInstance().IsRightToLeft() ? Alignment::BOTTOM_LEFT : Alignment::BOTTOM_RIGHT);
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_grid_container.cpp166 if (IsRightToLeft()) { in SetSpecializedStyle()
173 if (IsRightToLeft()) { in SetSpecializedStyle()
186 if (IsRightToLeft()) { in SetSpecializedStyle()
193 if (IsRightToLeft()) { in SetSpecializedStyle()
H A Ddom_text.cpp121 textChild_->SetTextDirection(IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR); in PrepareSpecializedComponent()
165 SetAlignment(IsRightToLeft() ? Alignment::CENTER_RIGHT : Alignment::CENTER_LEFT); in SetBoxAlignForText()
168 SetAlignment(IsRightToLeft() ? Alignment::CENTER_LEFT : Alignment::CENTER_RIGHT); in SetBoxAlignForText()
H A Ddom_dialog.cpp30 dialogChild_->SetTextDirection(IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR); in PrepareSpecializedComponent()
63 if (dialog.IsRightToLeft()) { in SetSpecializedStyle()
82 if (dialog.IsRightToLeft()) { in SetSpecializedStyle()
H A Ddom_canvas.cpp36 paintChild_->SetTextDirection(IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR); in PrepareSpecializedComponent()
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()
142 columnChild_->SetTextDirection(IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR); in PrepareSpecializedComponent()
H A Ddom_tab_bar.cpp62 if (node.IsRightToLeft()) { in SetSpecializedStyle()
78 if (node.IsRightToLeft()) { in SetSpecializedStyle()
175 tabBarChild_->SetTextDirection(IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR); in PrepareSpecializedComponent()
H A Ddom_div.cpp130 grid_->SetRightToLeft(IsRightToLeft()); in CreateOrUpdateGrid()
169 if (IsRightToLeft()) { in CreateOrUpdateFlex()
181 boxComponent_->SetAlignment(ComputeFlexAlign(flexMainAlign, flexCrossAlign, isColumn, IsRightToLeft())); in CreateOrUpdateFlex()
238 if (IsRightToLeft()) { in CreateOrUpdateWrap()
246 boxComponent_->SetAlignment(IsRightToLeft() ? Alignment::TOP_RIGHT : Alignment::TOP_LEFT); in CreateOrUpdateWrap()
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()
H A Ddom_badge.cpp39 badgeChild_->SetTextDirection(declaration->IsRightToLeft() ? TextDirection::RTL : TextDirection::LTR); in PrepareSpecializedComponent()
/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dfocusable_grid.cpp66 AceApplicationInfo::GetInstance().IsRightToLeft() ? ++nextCol : --nextCol; in FocusMove()
69 AceApplicationInfo::GetInstance().IsRightToLeft() ? --nextCol : ++nextCol; in FocusMove()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/mock/
H A Dmock_text_layout_adapter.cpp23 bool TextLayoutadapter::IsRightToLeft(int32_t charOfShowingText) in IsRightToLeft() function in OHOS::Ace::NG::TextLayoutadapter
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_layout_adapter.h26 static bool IsRightToLeft(int32_t charOfShowingText);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/text_layout_adapter/
H A Dtext_layout_adapter.cpp26 bool TextLayoutadapter::IsRightToLeft(int32_t charOfShowingText) in IsRightToLeft() function in OHOS::Ace::NG::TextLayoutadapter
/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/
H A Drender_tab_bar.cpp120 if (!IsRightToLeft()) {
164 if (!IsRightToLeft()) {
185 if (IsRightToLeft()) {
212 if (!IsRightToLeft()) { in LayoutChildren()
228 if (IsRightToLeft()) { in LayoutChildren()
328 if (!IsRightToLeft()) { in SetIndex()
455 if (!IsRightToLeft()) { in HandleClickedEvent()
474 return tabBar->IsRightToLeft() ? a.GetX() > b.GetX() in HandleClickedEvent()
481 int32_t index = IsRightToLeft() ? std::distance(tabItemOffsets_.begin(), pos) in HandleClickedEvent()
509 if (!IsRightToLeft()) { in HandleScrollablePosition()
[all...]
H A Drender_tab_content.cpp192 int32_t newIndex = IsRightToLeft() ? (scrollOffset_ < 0.0 ? GetPrevIndex() : GetNextIndex()) in HandleDragUpdate()
206 int32_t newIndex = IsRightToLeft() ? (scrollOffset_ < 0.0 ? GetPrevIndex() : GetNextIndex()) in HandleDragEnd()
375 int32_t newIndex = IsRightToLeft() ? (newDragOffset < 0.0 ? GetPrevIndex() : GetNextIndex()) in UpdateScrollPosition()
468 prevOffset_ = IsRightToLeft() ? contentWidth_ : -contentWidth_; in PerformLayout()
469 nextOffset_ = IsRightToLeft() ? -contentWidth_ : contentWidth_; in PerformLayout()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/
H A Dtoast_layout_algorithm.cpp24 bool isRtl = AceApplicationInfo::GetInstance().IsRightToLeft(); in UpdateToastAlign()
71 bool isRtl = AceApplicationInfo::GetInstance().IsRightToLeft(); in Layout()
/foundation/arkui/ace_engine/test/mock/adapter/
H A Dmock_ace_application_info.cpp42 bool IsRightToLeft() const in IsRightToLeft() function in OHOS::Ace::MockAceApplicationInfo
/foundation/arkui/ace_engine/frameworks/core/components/stack/
H A Drender_stack.h71 bool IsRightToLeft() const in IsRightToLeft() function in OHOS::Ace::RenderStack
/foundation/arkui/ace_engine/test/mock/core/common/
H A Dmock_ace_application_info.cpp44 bool IsRightToLeft() const in IsRightToLeft() function in OHOS::Ace::MockAceApplicationInfo
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dnavigation_layout_algorithm.cpp93 bool isNavBarInRight = (position == NavBarPosition::END && !AceApplicationInfo::GetInstance().IsRightToLeft()) || in LayoutDragBar()
94 (position == NavBarPosition::START && AceApplicationInfo::GetInstance().IsRightToLeft()); in LayoutDragBar()
125 bool isNavBarInRight = (position == NavBarPosition::END && !AceApplicationInfo::GetInstance().IsRightToLeft()) || in LayoutNavBar()
126 (position == NavBarPosition::START && AceApplicationInfo::GetInstance().IsRightToLeft()); in LayoutNavBar()
154 if (AceApplicationInfo::GetInstance().IsRightToLeft()) { in LayoutDivider()
191 if (AceApplicationInfo::GetInstance().IsRightToLeft() && in LayoutContent()
202 if (!AceApplicationInfo::GetInstance().IsRightToLeft()) { in LayoutContent()
/foundation/arkui/ace_engine/test/unittest/core/pattern/image/
H A Dimage_paint_method_test_ng.cpp132 bool isRightToLeft = AceApplicationInfo::GetInstance().IsRightToLeft(); in HWTEST_F()
136 bool isRightToLeftEnd = AceApplicationInfo::GetInstance().IsRightToLeft(); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/state_manage/
H A Dcj_environment.cpp81 auto isRTL = AceApplicationInfo::GetInstance().IsRightToLeft(); in FfiOHOSAceFrameworkEnvironmentGetLayoutDirection()

Completed in 17 milliseconds

123456