/foundation/arkui/ace_engine/frameworks/core/components/flex/ |
H A D | render_flex_item.h | 51 positionParam_.bottom.first.SetContextAndCallback(context_, [weak = WeakClaim(this)] {
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/interfaces/ |
H A D | customtitle.js | 120 Row.padding({ top: 6, bottom: 6, left: 8, right: 8 });
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select/ |
H A D | select_model.h | 82 virtual void SetPaddings(const std::optional<CalcDimension>& top, const std::optional<CalcDimension>& bottom,
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/ |
H A D | switch_layout_algorithm.cpp | 54 frameHeight = static_cast<float>(height) - padding.top.value() - padding.bottom.value(); in MeasureContent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | measure_utils.h | 100 const std::optional<CalcDimension>& bottom, const std::optional<CalcDimension>& left,
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/ |
H A D | water_flow_layout_info_sw.h | 142 * @brief Calculates distance from the item's bottom edge to the bottom of the viewport. 146 * @return positive result when item's bottom edge is above viewport. 193 return (axis_ == Axis::VERTICAL ? margins_.back().bottom : margins_.back().right).value_or(0.0f); in BotMargin()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | node_model.h | 100 ArkUI_VerticalAlignRule bottom; member
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkbox/ |
H A D | checkbox_pattern.cpp | 83 margin.bottom = CalcLength(checkBoxTheme->GetHotZoneVerticalPadding().Value()); in OnModifyDone() 95 if (setMargin->bottom.has_value()) { in OnModifyDone() 96 margin.bottom = setMargin->bottom; in OnModifyDone()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/radio/ |
H A D | radio_pattern.cpp | 116 margin.bottom = CalcLength(radioTheme->GetHotZoneVerticalPadding().Value()); in OnModifyDone() 128 if (setMargin->bottom.has_value()) { in OnModifyDone() 129 margin.bottom = setMargin->bottom; in OnModifyDone()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_list.cpp | 834 int16_t bottom = rect.GetBottom(); in CalculateReboundDistance() local 846 if (bottom < (scrollHeight - scrollBlankSize_ - 1)) { in CalculateReboundDistance() 847 if ((dragDistanceY + bottom) < (scrollHeight - scrollBlankSize_ - reboundSize_ - 1)) { in CalculateReboundDistance() 850 dragDistanceY += scrollHeight - scrollBlankSize_ - 1 - (bottom + dragDistanceY); in CalculateReboundDistance()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/ |
H A D | tlv_util.cpp | 363 if (value.bottom.has_value()) { in WritePaddingProperty() 365 WriteCalcLength(buff, value.bottom.value()); in WritePaddingProperty() 388 pad.bottom = ReadCalcLength(buff, cursor); in ReadPaddingProperty()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_node.h | 270 void SetBorderColor(uint32_t left, uint32_t top, uint32_t right, uint32_t bottom); 273 void SetBorderWidth(float left, float top, float right, float bottom); 276 void SetBorderStyle(uint32_t left, uint32_t top, uint32_t right, uint32_t bottom);
|
/foundation/window/window_manager/wmserver/src/ |
H A D | window_pair.cpp | 289 sptr<WindowNode>& bottom, sptr<WindowNode>& mid, sptr<WindowNode>& top) in CreateOrderedPair() 293 if (bottom != nullptr) { in CreateOrderedPair() 294 orderedPair.push_back(bottom); in CreateOrderedPair() 288 CreateOrderedPair( sptr<WindowNode>& bottom, sptr<WindowNode>& mid, sptr<WindowNode>& top) CreateOrderedPair() argument
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_dialog_view.cpp | 391 marginProperty.bottom = CalcLength(pickerTheme->GetContentMarginVertical()); in CreateStackNode() 431 margin.bottom = CalcLength(dialogTheme->GetDividerPadding().Bottom()); 444 margin.bottom = CalcLength(dialogTheme->GetActionsPadding().Bottom()); 633 margin.bottom = CalcLength(dialogTheme->GetDividerPadding().Bottom()); 644 margin.bottom = CalcLength(dialogTheme->GetActionsPadding().Bottom()); 663 margin.bottom = CalcLength(dialogTheme->GetDividerPadding().Bottom()); 673 margin.bottom = CalcLength(dialogTheme->GetActionsPadding().Bottom()); 692 margin.bottom = CalcLength(dialogTheme->GetDividerPadding().Bottom()); 697 margin.bottom = CalcLength(dialogTheme->GetActionsPadding().Bottom()); 710 margin.bottom [all...] |
/foundation/arkui/ace_engine/test/unittest/core/layout/ |
H A D | layout_property_test_ng.cpp | 57 const std::string STRING_TEST = "{\"top\":\"3.00vp\",\"right\":\"2.00vp\",\"bottom\":\"4.00vp\",\"left\":\"1.00vp\"}";
102 paddingProperty.bottom = { CalcLength(BOTTOMONE) };
in MakePadding() 330 EXPECT_EQ(paddingPropertyF.bottom, ZERO);
in HWTEST_F() 449 EXPECT_EQ(paddingPropertyF.bottom, ZERO);
in HWTEST_F() 567 EXPECT_EQ(margin.bottom, std::nullopt);
in HWTEST_F() 577 EXPECT_EQ(paddingPropertyT.bottom, 2.0 + 4.0);
in HWTEST_F() 589 EXPECT_EQ(paddingTwo.bottom, 4);
in HWTEST_F() 1166 EXPECT_EQ(margin.bottom, std::nullopt);
in HWTEST_F() 1181 EXPECT_EQ(margin.bottom, std::nullopt);
in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | inspector_composed_element.cpp | 469 auto bottom = render->GetPadding(DimensionHelper(&Edge::SetBottom, &Edge::Bottom)); in GetPadding() local 471 if (top == right && right == bottom && bottom == left) { in GetPadding() 477 jsonValue->Put("bottom", bottom.ToString().c_str()); in GetPadding() 491 auto bottom = render->GetMargin(DimensionHelper(&Edge::SetBottom, &Edge::Bottom)); in GetAllMargin() local 493 if (top == right && right == bottom && bottom == left) { in GetAllMargin() 499 jsonValue->Put("bottom", bottom in GetAllMargin() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
H A D | dialog_pattern.cpp | 538 titlePadding.bottom = CalcLength(DIALOG_TWO_TITLE_ZERO_SPACE); in BuildMainTitle() 543 titlePadding.bottom = CalcLength(padding / DIALOG_TITLE_AVE_BY_2); in BuildMainTitle() 584 titlePadding.bottom = CalcLength(DIALOG_TWO_TITLE_SPACE); in BuildSubTitle() 649 contentPadding.bottom = CalcLength(contentPaddingInTheme.Bottom()); in BuildContent() 805 .bottom = CalcLength(buttonSpace), in UpdateDialogButtonProperty() 870 actionPadding.bottom = CalcLength(dialogTheme_->GetButtonPaddingBottom()); in BuildButtons() 1013 .bottom = CalcLength(SHEET_IMAGE_MARGIN), in BuildSheetInfoIcon() 1035 .bottom = padding, in BuildSheet() 1099 menuPadding.bottom = CalcLength(dialogTheme_->GetButtonPaddingBottom()); in BuildMenu() 1507 margin.bottom in UpdateTextFontScale() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/ |
H A D | menu_layoutThi_test_ng.cpp | 652 auto bottom = layoutAlgorithm->bottom_; in HWTEST_F() local 663 height - creaseYBottom - bottom)); in HWTEST_F() 714 auto bottom = layoutAlgorithm->bottom_; in HWTEST_F() local 724 EXPECT_EQ(layoutAlgorithm->wrapperRect_, Rect(left, top, width - left - right, height - top - bottom)); in HWTEST_F() 742 .bottom = CalcLength(0.0), in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/flex/old_cases/ |
H A D | flex_testtwo_ng.cpp | 252 noPadding.bottom = CalcLength(NOPADDING); in HWTEST_F() 346 noPadding.bottom = CalcLength(NOPADDING); in HWTEST_F() 443 noPadding.bottom = CalcLength(NOPADDING); in HWTEST_F() 539 noPadding.bottom = CalcLength(NOPADDING); in HWTEST_F() 637 noPadding.bottom = CalcLength(NOPADDING); in HWTEST_F() 734 noPadding.bottom = CalcLength(NOPADDING); in HWTEST_F() 830 noPadding.bottom = CalcLength(NOPADDING); in HWTEST_F() 923 noPadding.bottom = CalcLength(NOPADDING); in HWTEST_F() 1018 noPadding.bottom = CalcLength(NOPADDING); in HWTEST_F() 1159 noPadding.bottom in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/app_bar/ |
H A D | atomic_service_pattern.cpp | 67 margin.bottom = CalcLength(safeArea.bottom_.Length()); in UpdateLayoutMargin() 352 margin.bottom = CalcLength(theme->GetIconVerticalMargin()); in UpdateIconLayout()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid_row/ |
H A D | grid_row_layout_algorithm.cpp | 207 childMargin->bottom.value_or(0.0f)) * in CalcCrossAxisAlignment() 210 extraOffset = currentRowHeight - childSize.Height() - childMargin->bottom.value_or(0.0f) - in CalcCrossAxisAlignment()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/ |
H A D | sub_menu_layout_algorithm.cpp | 182 // line up bottom of menu with bottom of the screen in VerticalLayoutSubMenuHalfScreen() 198 // line up bottom of menu with bottom of the screen in VerticalLayoutSubMenu() 245 auto bottom = safeAreaManager->GetSystemSafeArea().bottom_.Length(); in ModifySubMenuWrapper() local 247 wrapperSize_ = SizeF(param_.menuWindowRect.Width(), param_.menuWindowRect.Height() - bottom); in ModifySubMenuWrapper()
|
H A D | menu_layout_algorithm.h | 46 float bottom = 0.0f; member 105 float bottom = 0.0f; member
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/folder_stack/ |
H A D | folder_stack_layout_algorithm.cpp | 181 controlPartsPadding.bottom = CalcLength(padding.bottom.value_or(0)); in MeasureControlPartsStack()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/wrapper/ |
H A D | menu_wrapper_pattern.h | 379 dumpInfo_.bottom = dumpInfo.bottom; in SetDumpInfo()
|