Home
last modified time | relevance | path

Searched refs:bottomDimen (Results 1 - 25 of 44) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dborder_property.h226 std::optional<T> bottomDimen; member
233 bottomDimen = borderWidth; in SetBorderWidth()
239 (bottomDimen == value.bottomDimen); in operator ==()
257 if (value.bottomDimen.has_value() && (bottomDimen != value.bottomDimen)) { in UpdateWithCheck()
258 bottomDimen = value.bottomDimen; in UpdateWithCheck()
270 std::optional<Dimension> bottomDimen; member
295 std::optional<float> bottomDimen; global() member
[all...]
H A Dborder_property.cpp60 str.append(",").append(bottomDimen.has_value() ? bottomDimen->ToString() : "NA").append("]"); in ToString()
78 res->Put("bottom", bottomDimen.value_or(Dimension(0.0, DimensionUnit::VP)).ToString().c_str()); in ToJsonValue()
103 res->Put("bottom", bottomDimen.value_or(Dimension(0.0, DimensionUnit::VP)).ToString().c_str()); in ToDashJsonValue()
127 if (value.bottomDimen.has_value() && (bottomDimen != value.bottomDimen)) { in UpdateWithCheck()
128 bottomDimen = value.bottomDimen; in UpdateWithCheck()
247 bottomDimen in SetBorderWidth()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_sec_button_base.cpp217 CalcDimension bottomDimen; in SetBackgroundPadding() local
218 if (ParseJsDimensionVp(paddingObj->GetProperty("bottom"), bottomDimen)) { in SetBackgroundPadding()
219 bottom = bottomDimen; in SetBackgroundPadding()
H A Djs_checkbox.cpp334 CalcDimension bottomDimen = CalcDimension(0.0, DimensionUnit::VP); in GetOldPadding() local
338 ParseJsDimensionVp(jsObj->GetProperty("bottom"), bottomDimen); in GetOldPadding()
343 topDimen = bottomDimen; in GetOldPadding()
352 padding.bottom = bottomDimen.ConvertToPx(); in GetOldPadding()
H A Djs_radio.cpp212 CalcDimension bottomDimen = CalcDimension(0.0, DimensionUnit::VP); in GetOldPadding() local
216 ParseJsDimensionVp(jsObj->GetProperty(static_cast<int32_t>(ArkUIIndex::BOTTOM)), bottomDimen); in GetOldPadding()
221 topDimen = bottomDimen; in GetOldPadding()
230 padding.bottom = bottomDimen.ConvertToPx(); in GetOldPadding()
H A Djs_checkboxgroup.cpp283 CalcDimension bottomDimen = CalcDimension(0.0, DimensionUnit::VP); in GetOldPadding() local
287 ParseJsDimensionVp(jsObj->GetProperty("bottom"), bottomDimen); in GetOldPadding()
292 topDimen = bottomDimen; in GetOldPadding()
301 padding.bottom = bottomDimen.ConvertToPx(); in GetOldPadding()
H A Djs_toggle.cpp315 CalcDimension bottomDimen = CalcDimension(0.0, DimensionUnit::VP); in GetOldPadding() local
319 ParseJsDimensionVp(jsObj->GetProperty("bottom"), bottomDimen); in GetOldPadding()
324 topDimen = bottomDimen; in GetOldPadding()
333 padding.bottom = bottomDimen.ConvertToPx(); in GetOldPadding()
H A Djs_view_measure_layout.cpp81 auto bottomBorder = borderWidth ? borderWidth->bottomDimen->ConvertToVp() : 0.0f; in GenPlaceChildrenConstraintNG()
116 edgeWidths->SetProperty("bottom", edgeWidthsNative->bottomDimen->ConvertToVp()); in GenEdgeWidths()
144 edges->SetProperty("bottom", edgeNative.bottomDimen.value_or(0) * px2vpScale); in GenBorderWidthGlobalized()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dradio_modifier.cpp158 CalcLength bottomDimen; in SetRadioPadding() local
171 bottomDimen = CalcLength(bottom->string); in SetRadioPadding()
173 bottomDimen = CalcLength(bottom->value, static_cast<DimensionUnit>(bottom->unit)); in SetRadioPadding()
182 paddings.bottom = std::optional<CalcLength>(bottomDimen); in SetRadioPadding()
H A Dnode_toggle_modifier.cpp174 CalcLength bottomDimen; in SetTogglePadding() local
192 bottomDimen = CalcLength( in SetTogglePadding()
204 paddings.bottom = std::optional<CalcLength>(bottomDimen); in SetTogglePadding()
H A Dnode_text_area_modifier.cpp890 CalcLength bottomDimen; in SetTextAreaPadding() local
903 bottomDimen = CalcLength(bottom->string); in SetTextAreaPadding()
905 bottomDimen = CalcLength(bottom->value, static_cast<DimensionUnit>(bottom->unit)); in SetTextAreaPadding()
914 paddings.bottom = std::optional<CalcLength>(bottomDimen); in SetTextAreaPadding()
1199 SetOptionalBorder(borderWidth.bottomDimen, values, valuesSize, offset); in SetAllWidthOptionalBorder()
1263 borderWidth.bottomDimen.has_value()) { in SetTextAreaBorder()
1320 std::optional<CalcDimension> bottomDimen; in SetTextAreaBorderWidth() local
1333 bottomDimen = Dimension(values[NUM_2], static_cast<OHOS::Ace::DimensionUnit>(units[NUM_2])); in SetTextAreaBorderWidth()
1344 borderWidth.bottomDimen = bottomDimen; in SetTextAreaBorderWidth()
1444 CalcLength bottomDimen; SetTextAreaMargin() local
[all...]
H A Dnode_text_input_modifier.cpp1137 CalcLength bottomDimen; in SetTextInputPadding() local
1150 bottomDimen = CalcLength(bottom->string); in SetTextInputPadding()
1152 bottomDimen = CalcLength(bottom->value, static_cast<DimensionUnit>(bottom->unit)); in SetTextInputPadding()
1161 paddings.bottom = std::optional<CalcLength>(bottomDimen); in SetTextInputPadding()
1689 CalcLength bottomDimen; in SetTextInputMargin() local
1702 bottomDimen = CalcLength(bottom->string); in SetTextInputMargin()
1704 bottomDimen = CalcLength(bottom->value, static_cast<DimensionUnit>(bottom->unit)); in SetTextInputMargin()
1713 paddings.bottom = std::optional<CalcLength>(bottomDimen); in SetTextInputMargin()
H A Dnode_common_modifier.cpp767 std::optional<CalcDimension> bottomDimen; in SetBorderWidth() local
780 bottomDimen = Dimension(values[NUM_2], static_cast<OHOS::Ace::DimensionUnit>(units[NUM_2])); in SetBorderWidth()
791 borderWidth.bottomDimen = bottomDimen; in SetBorderWidth()
1781 SetOptionalBorder(borderWidth.bottomDimen, values, valuesSize, offset); in SetBorderWidth()
1784 borderWidth.bottomDimen.has_value() || borderWidth.startDimen.has_value() || borderWidth.endDimen.has_value()) { in SetBorderWidth()
2370 CalcLength bottomDimen; in SetPadding() local
2383 bottomDimen = CalcLength(bottom->string); in SetPadding()
2385 bottomDimen = CalcLength(bottom->value, static_cast<DimensionUnit>(bottom->unit)); in SetPadding()
2394 paddings.bottom = std::optional<CalcLength>(bottomDimen); in SetPadding()
2738 CalcLength bottomDimen; SetMargin() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/
H A Dimage_paint_method.cpp77 if (width->bottomDimen) { in UpdateBorderRadius()
78 auto diff = width->bottomDimen->ConvertToPx(); in UpdateBorderRadius()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dselect_model_impl.cpp381 CalcDimension bottomDimen; in SetPaddings() local
382 bottomDimen.SetValue(bottom.value().Value()); in SetPaddings()
383 selectComponent->SetBottomPadding(bottomDimen); in SetPaddings()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/
H A Dcalendar_picker_layout_algorithm.cpp110 width += currentBorderWidth.bottomDimen.value_or(theme->GetEntryBorderWidth()).ConvertToPx(); in SelfMeasure()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
H A Dswiper_indicator_utils.h80 borderWidthBottom = GET_BORDER_PROPERTY_VALUE_PX(borderWidthProperty->bottomDimen); in CalcIndicatrFrameOffSet()
/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/
H A Dlayout_property.cpp41 borderWidth.bottomDimen.value_or(defaultParam.verticalBorder); in CombinePaddingsAndBorder()
582 borderWidthF.leftDimen, borderWidthF.rightDimen, borderWidthF.topDimen, borderWidthF.bottomDimen); in ConstraintContentByBorder()
585 borderWidthF.leftDimen, borderWidthF.rightDimen, borderWidthF.topDimen, borderWidthF.bottomDimen); in ConstraintContentByBorder()
1719 if (borderWidthProperty->bottomDimen.has_value()) { in CheckLocalizedEdgeWidths()
1720 borderWidth.bottomDimen = borderWidthProperty->bottomDimen; in CheckLocalizedEdgeWidths()
/foundation/arkui/ace_engine/test/unittest/core/property/
H A Dborder_property_test_ng.cpp94 * @tc.expected: the return value is "leftDimen: [1.00px]rightDimen: [1.00px]topDimen: [1.00px]bottomDimen: in HWTEST_F()
317 EXPECT_TRUE(borderWidthProperty.bottomDimen.has_value()); in HWTEST_F()
H A Dmeasure_utils_test_ng.cpp332 testPropertyT.bottomDimen = BORDER_WIDTH_PX; in HWTEST_F()
375 testPropertyT.bottomDimen = BORDER_WIDTH_VP; in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dview_abstract_model_ng.h356 borderWidth.bottomDimen = bottom;
368 .topDimen = top, .bottomDimen = bottom, .startDimen = start, .endDimen = end, .multiValued = true
402 dashGap.bottomDimen = bottom;
419 dashWidth.bottomDimen = bottom;
480 borderWidth.bottomDimen = bottom;
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_radio_bridge.cpp270 CalcDimension bottomDimen(0, DimensionUnit::VP); in SetRadioPadding()
274 ArkTSUtils::ParsePadding(vm, bottomArg, bottomDimen, bottom); in SetRadioPadding()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Dborder_image_painter.cpp132 widthProp_.bottomDimen->NormalizeToPx(dipScale_, 0.0, lpxScale_, paintSize_.Height(), bottomWidth_); in InitBorderImageWidth()
189 widthProp_.bottomDimen->NormalizeToPx(dipScale_, 0.0, lpxScale_, paintSize_.Height(), bottomOutset_); in InitBorderImageOutset()
/foundation/arkui/ace_engine/test/unittest/core/render/
H A Dborder_image_painter_test_ng.cpp346 EXPECT_EQ(result.bottomDimen, std::nullopt); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/
H A Dmenu_item_layout_algorithm.cpp381 border->bottomDimen.value_or(Dimension(0.0)).ConvertToPx(); in GetBordersHeight()

Completed in 48 milliseconds

12