/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/ |
H A D | toast_layout_algorithm.cpp | 24 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 D | select_properties.h | 30 bool isRtl = false; member 35 (isRtl == itemDivider.isRtl); in operator ==()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_properties.h | 31 bool isRtl = false; member 36 (isRtl == itemDivider.isRtl); in operator ==()
|
H A D | textpicker_pattern.cpp | 89 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 D | button_layout_property.h | 108 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 D | js_action_sheet.cpp | 226 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 D | option_paint_method.cpp | 61 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 D | option_layout_algorithm.cpp | 167 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 D | picker_option_component.cpp | 53 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 D | water_flow_layout_property.h | 58 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 D | js_alert_dialog.cpp | 273 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 D | atomic_service_pattern.cpp | 293 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 D | atomic_service_pattern.h | 54 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 D | indicator_pattern.cpp | 196 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 D | progress_pattern.h | 55 bool isRtl = progressLayoutProperty->GetNonAutoLayoutDirection() == TextDirection::RTL; variable 56 if (isRightToLeft_ != isRtl) { 57 isRightToLeft_ = isRtl;
|
H A D | progress_pattern.cpp | 300 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 D | grid_model_impl.cpp | 136 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 D | text_picker_divider_test.cpp | 381 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 D | text_picker_divider_add_test.cpp | 579 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 D | grid_layout_property.h | 92 auto isRtl = GetNonAutoLayoutDirection() == TextDirection::RTL; in IsReverse() local 93 return isRtl && !columnsTemplateSet && rowsTemplateSet; in IsReverse()
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_toggle_button.h | 111 * @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 D | indexer_layout_algorithm.cpp | 151 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 D | data_panel_modifier.h | 180 void SetIsRtl(bool isRtl) in SetIsRtl() argument 182 isRtl_ = isRtl; in SetIsRtl()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/ |
H A D | switch_paint_method.h | 45 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 D | ui_toggle_button.cpp | 165 void UIToggleButton::EnableRtl(bool isRtl) in EnableRtl() argument 167 isRtl_ = isRtl; in EnableRtl()
|