/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_group_pattern.cpp | 74 itemGroupPadding.bottom = CalcLength(listItemGroupTheme->GetItemGroupDefaultPadding().Bottom()); in SetListItemGroupDefaultAttributes() 191 auto offsetAfterContent = axis_ == Axis::HORIZONTAL ? padding.right.value_or(0) : padding.bottom.value_or(0); in GetPaddingAndMargin() 193 offsetAfterContent += axis_ == Axis::HORIZONTAL ? margin.right.value_or(0) : margin.bottom.value_or(0); in GetPaddingAndMargin()
|
H A D | list_item_group_layout_algorithm.cpp | 61 paddingAfterContent_ = axis_ == Axis::HORIZONTAL ? padding.right.value_or(0) : padding.bottom.value_or(0); in Measure() 329 auto offsetAfterContent = axis_ == Axis::HORIZONTAL ? padding.right.value_or(0) : padding.bottom.value_or(0); in UpdateReferencePos() 331 offsetAfterContent += axis_ == Axis::HORIZONTAL ? margin.right.value_or(0) : margin.bottom.value_or(0); in UpdateReferencePos() 549 float bottom = endPos_ - contentEndOffset_; in GetItemGroupPosition() local 551 bottom -= footerMainSize_; in GetItemGroupPosition() 554 float delta = bottom - refPos; in GetItemGroupPosition()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | dialog_container.cpp | 456 const std::string& bottom, std::function<void(int32_t)>&& callback) in ShowToast() 471 .bottom = bottom, in ShowToast() 455 ShowToast(int32_t instanceId, const std::string& message, int32_t duration, const std::string& bottom, std::function<void(int32_t)>&& callback) ShowToast() argument
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_radio_bridge.cpp | 259 Local<JSValueRef> bottomArg = runtimeCallInfo->GetCallArgRef(3); //3 is bottom arguments
in SetRadioPadding() 265 struct ArkUISizeType bottom = { 0.0, static_cast<int8_t>(DimensionUnit::VP) };
in SetRadioPadding() local 274 ArkTSUtils::ParsePadding(vm, bottomArg, bottomDimen, bottom);
in SetRadioPadding() 276 GetArkUINodeModifiers()->getRadioModifier()->setRadioPadding(nativeNode, &top, &right, &bottom, &left);
in SetRadioPadding()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_node.cpp | 1128 std::vector<float> bottom(emitterCount); in SetParticleDrawRegion() 1139 bottom[i] = std::max(boundsBottom + diameMax + diameMax, position.y_ + emitSize.y_ + diameMax + diameMax); in SetParticleDrawRegion() 1158 bottom[i] = std::max(boundsBottom + imageSizeHeightMax + imageSizeHeightMax, in SetParticleDrawRegion() 1166 boundsBottom = *std::max_element(bottom.begin(), bottom.end()); in SetParticleDrawRegion() 1260 void RSNode::SetBorderColor(uint32_t left, uint32_t top, uint32_t right, uint32_t bottom) in SetBorderColor() argument 1263 Color::FromArgbInt(right), Color::FromArgbInt(bottom)); in SetBorderColor() 1280 void RSNode::SetBorderWidth(float left, float top, float right, float bottom) in SetBorderWidth() argument 1282 Vector4f width(left, top, right, bottom); in SetBorderWidth() 1299 void RSNode::SetBorderStyle(uint32_t left, uint32_t top, uint32_t right, uint32_t bottom) in SetBorderStyle() argument [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_view_abstract_ffi.cpp | 344 CalcDimension bottom(params.bottom, static_cast<DimensionUnit>(params.bottomUnit)); in FfiOHOSAceFrameworkViewAbstractSetBorderWidthWithCJEdge() 361 if (bottom.Unit() == DimensionUnit::PERCENT || bottom.IsNegative()) { in FfiOHOSAceFrameworkViewAbstractSetBorderWidthWithCJEdge() 362 bottom.Reset(); in FfiOHOSAceFrameworkViewAbstractSetBorderWidthWithCJEdge() 364 bottomDimen = bottom; in FfiOHOSAceFrameworkViewAbstractSetBorderWidthWithCJEdge() 411 Dimension bottomDime(params.bottom, static_cast<DimensionUnit>(params.bottomUnit)); in FfiOHOSAceFrameworkViewAbstractSetMargins() 428 Dimension bottomDime(params.bottom, static_cast<DimensionUnit>(params.bottomUnit)); in FfiOHOSAceFrameworkViewAbstractSetPaddings()
|
/drivers/peripheral/audio/test/unittest/common/capture/ |
H A D | audio_capture_common_test.cpp | 633 float bottom = 0;
in HWTEST_F() local 637 int32_t ret = capture_->GetGainThreshold(capture_, &bottom, &top);
in HWTEST_F() 643 float bottom = 0;
in HWTEST_F() local 647 int32_t ret = capture_->GetGainThreshold(nullptr, &bottom, &top);
in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/ |
H A D | bubble_view.cpp | 228 textPadding.bottom = CalcLength(padding.Bottom()); in CreateBubbleNode() 530 auto bottom = safeAreaManager->GetSystemSafeArea().bottom_.Length(); in GetPopupMaxWidthAndHeight() local 550 popupMaxHeight = maxHeight - OUT_RANGE_SPACE.ConvertToPx() - OUT_RANGE_SPACE.ConvertToPx() - bottom - top; in GetPopupMaxWidthAndHeight() 784 rowPadding.bottom = CalcLength(littlePadding); in CreateButtons()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_view_measure_layout.cpp | 77 auto bottomPadding = padding ? padding->bottom->GetDimension().ConvertToVp() : 0.0f; in GenPlaceChildrenConstraintNG() 96 padding->SetProperty("bottom", paddingNative->bottom->GetDimension().ConvertToVp()); in GenPadding() 106 margin->SetProperty("bottom", marginNative->bottom->GetDimension().ConvertToVp()); in GenMargin() 116 edgeWidths->SetProperty("bottom", edgeWidthsNative->bottomDimen->ConvertToVp()); in GenEdgeWidths() 127 edges->SetProperty("bottom", edgeNative.bottom.value_or(0) * px2vpScale); in GenEdgesGlobalized() 144 edges->SetProperty("bottom", edgeNative.bottomDimen.value_or(0) * px2vpScale); in GenBorderWidthGlobalized()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/blank/ |
H A D | blank_test_ng.cpp | 76 PaddingProperty CreatePadding(float left, float top, float right, float bottom); 205 PaddingProperty BlankTestNg::CreatePadding(float left, float top, float right, float bottom) in CreatePadding() argument 211 padding.bottom = CalcLength(bottom); in CreatePadding()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/linear_layout/old_cases/ |
H A D | linear_layout_test_ng.cpp | 86 PaddingProperty CreatePadding(float left, float top, float right, float bottom); 206 PaddingProperty LinearLayoutTestNg::CreatePadding(float left, float top, float right, float bottom) in CreatePadding() argument 212 padding.bottom = CalcLength(bottom); in CreatePadding()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/linear_split/ |
H A D | linear_split_test_ng.cpp | 405 noPadding.bottom = CalcLength(NO_PADDING); in HWTEST_F() 599 noPadding.bottom = CalcLength(NO_PADDING); in HWTEST_F() 824 noPadding.bottom = CalcLength(NO_PADDING); in HWTEST_F() 1004 noPadding.bottom = CalcLength(NO_PADDING); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_pattern.cpp | 92 margin.bottom = CalcLength(dialogTheme->GetDividerPadding().Bottom()); in UpdateConfirmButtonMargin() 103 margin.bottom = CalcLength(dialogTheme->GetActionsPadding().Bottom()); in UpdateConfirmButtonMargin() 122 margin.bottom = CalcLength(dialogTheme->GetDividerPadding().Bottom()); in UpdateCancelButtonMargin() 132 margin.bottom = CalcLength(dialogTheme->GetActionsPadding().Bottom()); in UpdateCancelButtonMargin()
|
/test/xts/hats/hdf/audio/idl/common/capture/src/ |
H A D | audio_capture_common_test.cpp | 639 float bottom = 0;
in HWTEST_F() local 643 int32_t ret = capture_->GetGainThreshold(capture_, &bottom, &top);
in HWTEST_F() 649 float bottom = 0;
in HWTEST_F() local 653 int32_t ret = capture_->GetGainThreshold(nullptr, &bottom, &top);
in HWTEST_F()
|
/foundation/arkui/ace_engine/advanced_ui_component/composelistitem/interfaces/ |
H A D | composelistitem.js | 345 bottom: TEXT_SAFE_MARGIN 781 Button.padding({ top: 0, bottom: 0 }); 1032 bottom: 0, 1605 bottom: { "id": -1, "type": 10002, params: ['sys.float.padding_level12'], "bundleName": "__harDefaultBundleName__", "moduleName": "__harDefaultModuleName__" }, 1611 bottom: { "id": -1, "type": 10002, params: ['sys.float.padding_level10'], "bundleName": "__harDefaultBundleName__", "moduleName": "__harDefaultModuleName__" }, 1617 bottom: { "id": -1, "type": 10002, params: ['sys.float.padding_level8'], "bundleName": "__harDefaultBundleName__", "moduleName": "__harDefaultModuleName__" },
|
/foundation/arkui/ace_engine/advanced_ui_component/chip/interfaces/ |
H A D | chip.js | 103 bottom: 0, 109 bottom: 0, 116 bottom: LengthMetrics.vp(0), 122 bottom: LengthMetrics.vp(0), 220 bottom: LengthMetrics.vp(4), 226 bottom: LengthMetrics.vp(4),
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/ |
H A D | tabs_sub_tab_bar_style_test_ng.cpp | 1487 padding.bottom = CalcLength(20.0_vp); in HWTEST_F() 1509 EXPECT_EQ(tabContentPattern->GetPadding().bottom, padding.bottom); in HWTEST_F() 1533 padding.bottom = CalcLength(20.0_vp); in HWTEST_F() 1553 EXPECT_EQ(tabContentPattern->GetPadding().bottom, padding.bottom); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/ |
H A D | select_overlay_node.cpp | 259 auto bottom = CalcLength(padding.Bottom().ConvertToPx()); in BuildButton() local 260 buttonLayoutProperty->UpdatePadding({ left, right, top, bottom }); in BuildButton() 347 auto bottom = CalcLength(padding.Bottom().ConvertToPx()); in BuildButton() local 353 buttonLayoutProperty->UpdatePadding({ left, right, top, bottom }); in BuildButton() 426 auto bottom = CalcLength(padding.Bottom().ConvertToPx()); in BuildCreateMenuItemButton() local 451 buttonLayoutProperty->UpdatePadding({ left, right, top, bottom }); in BuildCreateMenuItemButton() 492 auto bottom = CalcLength(padding.Bottom().ConvertToPx()); in BuildMoreOrBackButton() local 506 buttonLayoutProperty->UpdatePadding({ left, right, top, bottom }); in BuildMoreOrBackButton() 1388 auto bottom = CalcLength(padding.Bottom().ConvertToPx()); in SelectMenuAndInnerInitProperty() local 1389 selectMenuInner_->GetLayoutProperty()->UpdatePadding({ left, right, top, bottom }); in SelectMenuAndInnerInitProperty() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/ |
H A D | button_layout_algorithm.cpp | 43 paddings.bottom = std::optional<CalcLength>(CalcLength(0.0, DimensionUnit::VP)); in Measure() 241 auto bottomPadding = padding.bottom.value_or(0.0); in PerformMeasureSelf()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | select_model_impl.cpp | 366 void SelectModelImpl::SetPaddings(const std::optional<CalcDimension>& top, const std::optional<CalcDimension>& bottom, in SetPaddings() argument 382 bottomDimen.SetValue(bottom.value().Value()); in SetPaddings()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/ |
H A D | water_flow_layout_info.cpp | 88 return endPosArray_.back().first + (axis_ == Axis::VERTICAL ? margin.bottom : margin.right).value_or(0.0f); in GetMaxMainHeight() 410 nextStartPos += margins_[segment].bottom.value_or(0.0f) + margins_[segment + 1].top.value_or(0.0f); in SetNextSegmentStartPos() 432 // adjust offset when it can't overScroll at bottom in Sync()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_rect.h | 133 void SetBottom(T bottom) in SetBottom() argument 135 height_ = bottom - top_; in SetBottom() 205 // outset: left, top, right, bottom
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_path.cpp | 203 float top, float right, float bottom, OH_Drawing_PathDirection dir) in OH_Drawing_PathAddRect() 214 path->AddRect(left, top, right, bottom, static_cast<PathDirection>(dir)); in OH_Drawing_PathAddRect() 202 OH_Drawing_PathAddRect(OH_Drawing_Path* cPath, float left, float top, float right, float bottom, OH_Drawing_PathDirection dir) OH_Drawing_PathAddRect() argument
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsmarshallinghelper_fuzzer/ |
H A D | rsmarshallinghelper_fuzzer.cpp | 524 int32_t bottom = GetData<int32_t>(); in DoMarshallingHelper013() local 529 bottom, in DoMarshallingHelper013()
|
/foundation/window/window_manager/dm/src/ |
H A D | oh_display_manager.cpp | 322 OH_SetDisplayRect(waterArea.bottom, &(ohCutoutInfo->waterfallDisplayAreaRects.bottom)); in OH_SetWaterfallDisplayAreaRects()
|