Home
last modified time | relevance | path

Searched refs:isRtl (Results 1 - 25 of 56) sorted by relevance

123

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/
H A Dtoast_layout_algorithm.cpp24 bool isRtl = AceApplicationInfo::GetInstance().IsRightToLeft(); in UpdateToastAlign() local
26 if (isRtl) { in UpdateToastAlign()
30 if (isRtl) { in UpdateToastAlign()
34 if (isRtl) { in UpdateToastAlign()
38 if (isRtl) { in UpdateToastAlign()
42 if (isRtl) { in UpdateToastAlign()
46 if (isRtl) { in UpdateToastAlign()
71 bool isRtl = AceApplicationInfo::GetInstance().IsRightToLeft(); in Layout() local
72 Dimension offsetX = isRtl ? offset->GetX() * (-1) : offset->GetX(); in Layout()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select/
H A Dselect_properties.h30 bool isRtl = false; member
35 (isRtl == itemDivider.isRtl); in operator ==()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_properties.h31 bool isRtl = false; member
36 (isRtl == itemDivider.isRtl); in operator ==()
H A Dtextpicker_pattern.cpp89 bool isRtl = AceApplicationInfo::GetInstance().IsRightToLeft(); in UpdateConfirmButtonMargin() local
93 if (isRtl) { in UpdateConfirmButtonMargin()
104 if (isRtl) { in UpdateConfirmButtonMargin()
119 bool isRtl = AceApplicationInfo::GetInstance().IsRightToLeft(); in UpdateCancelButtonMargin() local
123 if (isRtl) { in UpdateCancelButtonMargin()
133 if (isRtl) { in UpdateCancelButtonMargin()
614 bool isRtl = AceApplicationInfo::GetInstance().IsRightToLeft(); in GetInnerFocusPaintRect() local
615 if (isRtl) { in GetInnerFocusPaintRect()
835 bool isRtl = AceApplicationInfo::GetInstance().IsRightToLeft(); in ParseDirectionKey() local
850 if (isRtl) { in ParseDirectionKey()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/
H A Dbutton_layout_property.h108 static void BothSidesMargin(bool isRtl, MarginProperty& margin, in BothSidesMargin() argument
112 if (isRtl) { in BothSidesMargin()
120 if (isRtl) { in BothSidesMargin()
130 static void UpdateDialogMargin(bool isRtl, MarginProperty& margin, in UpdateDialogMargin() argument
133 DialogTypeMargin::BothSidesMargin(isRtl, margin, dialogTheme, isLessThanTwelve); in UpdateDialogMargin()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/action_sheet/
H A Djs_action_sheet.cpp226 bool isRtl = AceApplicationInfo::GetInstance().IsRightToLeft(); in UpdateDialogAlignment() local
228 if (isRtl) { in UpdateDialogAlignment()
232 if (isRtl) { in UpdateDialogAlignment()
236 if (isRtl) { in UpdateDialogAlignment()
240 if (isRtl) { in UpdateDialogAlignment()
244 if (isRtl) { in UpdateDialogAlignment()
248 if (isRtl) { in UpdateDialogAlignment()
285 bool isRtl = AceApplicationInfo::GetInstance().IsRightToLeft(); in ParseOffset() local
286 Dimension offsetX = isRtl ? properties.offset.GetX() * (-1) : properties.offset.GetX(); in ParseOffset()
298 bool isRtl in ParseMaskRect() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/option/
H A Doption_paint_method.cpp61 auto dividerRtl = static_cast<float>(props->GetDividerValue().isRtl); in PaintCustomDivider()
99 auto isRtl = (textDirection == TextDirection::RTL) ? true : false; in PaintDivider() local
109 auto startX = isRtl ? optionSize.Width() - (horInterval + iconHorInterval) : horInterval + iconHorInterval; in PaintDivider()
110 auto rectWidth = isRtl ? horInterval : optionSize.Width() - horInterval; in PaintDivider()
H A Doption_layout_algorithm.cpp167 bool isRtl = direction == TextDirection::RTL; in UpdateIconMargin() local
172 if (isRtl) { in UpdateIconMargin()
179 Alignment align = isRtl ? Alignment::CENTER_RIGHT : Alignment::CENTER_LEFT; in UpdateIconMargin()
/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_option_component.cpp53 auto isRtl = GetTextDirection() == TextDirection::RTL; in Initialize() local
71 if (isRtl) { in Initialize()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/
H A Dwater_flow_layout_property.h58 auto isRtl = GetNonAutoLayoutDirection() == TextDirection::RTL; in IsReverse() local
59 return (!isRtl && (axis == FlexDirection::COLUMN_REVERSE || axis == FlexDirection::ROW_REVERSE)) || in IsReverse()
60 (isRtl && (axis == FlexDirection::COLUMN_REVERSE || axis == FlexDirection::ROW)); in IsReverse()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/dialog/
H A Djs_alert_dialog.cpp273 bool isRtl = AceApplicationInfo::GetInstance().IsRightToLeft(); in UpdateAlertAlignment() local
275 if (isRtl) { in UpdateAlertAlignment()
279 if (isRtl) { in UpdateAlertAlignment()
283 if (isRtl) { in UpdateAlertAlignment()
287 if (isRtl) { in UpdateAlertAlignment()
291 if (isRtl) { in UpdateAlertAlignment()
295 if (isRtl) { in UpdateAlertAlignment()
327 bool isRtl = AceApplicationInfo::GetInstance().IsRightToLeft(); in ParseAlertOffset() local
328 Dimension offsetX = isRtl ? properties.offset.GetX() * (-1) : properties.offset.GetX(); in ParseAlertOffset()
358 bool isRtl in ParseAlertMaskRect() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/app_bar/
H A Datomic_service_pattern.cpp293 bool isRtl = AceApplicationInfo::GetInstance().IsRightToLeft(); in UpdateLayout() local
296 UpdateMenuBarLayout(theme, menuBar, isRtl); in UpdateLayout()
299 UpdateButtonLayout(theme, menuButton, !isRtl); in UpdateLayout()
301 UpdateButtonLayout(theme, closeButton, isRtl); in UpdateLayout()
304 UpdateIconLayout(theme, menuIcon, !isRtl); in UpdateLayout()
306 UpdateIconLayout(theme, closeIcon, isRtl); in UpdateLayout()
309 void AtomicServicePattern::UpdateMenuBarLayout(RefPtr<AppBarTheme>& theme, RefPtr<FrameNode>& menuBar, bool isRtl) in UpdateMenuBarLayout() argument
315 if (isRtl) { in UpdateMenuBarLayout()
H A Datomic_service_pattern.h54 void UpdateMenuBarLayout(RefPtr<AppBarTheme>& theme, RefPtr<FrameNode>& menuBar, bool isRtl);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
H A Dindicator_pattern.cpp196 bool isRtl = GetNonAutoLayoutDirection() == TextDirection::RTL; in SaveDotIndicatorProperty() local
199 isRtl ? layoutProperty->UpdateRight(dimValue) : layoutProperty->UpdateLeft(dimValue); in SaveDotIndicatorProperty()
203 isRtl ? layoutProperty->UpdateLeft(dimValue) : layoutProperty->UpdateRight(dimValue); in SaveDotIndicatorProperty()
295 auto isRtl = GetNonAutoLayoutDirection() == TextDirection::RTL; in ShowPrevious() local
296 if (isRtl) { in ShowPrevious()
404 bool isRtl = GetNonAutoLayoutDirection() == TextDirection::RTL; in GetTextContentSub() local
405 firstContent = isRtl ? std::to_string(GetCountFromProperty()) : std::to_string(currentIndex); in GetTextContentSub()
406 lastContent = isRtl ? std::to_string(currentIndex) + "\\" : "/" + std::to_string(GetCountFromProperty()); in GetTextContentSub()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_pattern.h55 bool isRtl = progressLayoutProperty->GetNonAutoLayoutDirection() == TextDirection::RTL; variable
56 if (isRightToLeft_ != isRtl) {
57 isRightToLeft_ = isRtl;
H A Dprogress_pattern.cpp300 bool isRtl = progressLayoutProperty->GetNonAutoLayoutDirection() == TextDirection::RTL; in OnLanguageConfigurationUpdate() local
301 if (isRightToLeft_ == isRtl) { in OnLanguageConfigurationUpdate()
305 progressModifier_->SetIsRightToLeft(isRtl); in OnLanguageConfigurationUpdate()
307 isRightToLeft_ = isRtl; in OnLanguageConfigurationUpdate()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dgrid_model_impl.cpp136 bool isRtl; in SetIsRTL() local
139 isRtl = true; in SetIsRTL()
142 isRtl = false; in SetIsRTL()
145 isRtl = AceApplicationInfo::GetInstance().IsRightToLeft(); in SetIsRTL()
147 grid->SetRightToLeft(isRtl); in SetIsRTL()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_picker/
H A Dtext_picker_divider_test.cpp381 divider4.isRtl = true; in HWTEST_F()
389 EXPECT_EQ(itemDivider4->isRtl, divider4.isRtl); in HWTEST_F()
418 divider5.isRtl = false; in HWTEST_F()
426 EXPECT_EQ(itemDivider5->isRtl, divider5.isRtl); in HWTEST_F()
498 divider7.isRtl = true; in HWTEST_F()
538 divider8.isRtl = true; in HWTEST_F()
578 divider9.isRtl = true; in HWTEST_F()
799 itemDiv4.isRtl in HWTEST_F()
[all...]
H A Dtext_picker_divider_add_test.cpp579 itemDivider7.isRtl = true; in HWTEST_F()
625 itemDivider8.isRtl = false; in HWTEST_F()
930 itemDivider15.isRtl = true; in HWTEST_F()
974 itemDivider16.isRtl = false; in HWTEST_F()
1067 itemDivider18.isRtl = true; in HWTEST_F()
1117 itemDivider19.isRtl = true; in HWTEST_F()
1164 itemDivider20.isRtl = true; in HWTEST_F()
1216 itemDivider21.isRtl = true; in HWTEST_F()
1268 itemDivider22.isRtl = true; in HWTEST_F()
1320 itemDivider23.isRtl in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_layout_property.h92 auto isRtl = GetNonAutoLayoutDirection() == TextDirection::RTL; in IsReverse() local
93 return isRtl && !columnsTemplateSet && rowsTemplateSet; in IsReverse()
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_toggle_button.h111 * @param isRtl Indicates the layout dirention of this toggle button. The value <b>true</b> indicates layout
115 void EnableRtl(bool isRtl);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/
H A Dindexer_layout_algorithm.cpp151 bool isRtl = layoutDirection == TextDirection::RTL; in IsPopupAtLeft() local
152 if (alignment == NG::AlignStyle::LEFT || (alignment == NG::AlignStyle::START && (!isRtl)) || in IsPopupAtLeft()
153 (alignment == NG::AlignStyle::END && isRtl)) { in IsPopupAtLeft()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/data_panel/
H A Ddata_panel_modifier.h180 void SetIsRtl(bool isRtl) in SetIsRtl() argument
182 isRtl_ = isRtl; in SetIsRtl()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/
H A Dswitch_paint_method.h45 bool isRtl = direction_ == TextDirection::AUTO ? AceApplicationInfo::GetInstance().IsRightToLeft() variable
47 auto pointOffset = isSelect_ ^ isRtl ? size.Width() - size.Height() : 0.0f;
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_toggle_button.cpp165 void UIToggleButton::EnableRtl(bool isRtl) in EnableRtl() argument
167 isRtl_ = isRtl; in EnableRtl()

Completed in 16 milliseconds

123