/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\"}";
99 paddingProperty.left = { CalcLength(WIDTH) };
in MakePadding() 327 EXPECT_EQ(paddingPropertyF.left, ZERO);
in HWTEST_F() 443 * @tc.expected: Return paddingPropertyF left is ZERO.
in HWTEST_F() 446 EXPECT_EQ(paddingPropertyF.left, ZERO);
in HWTEST_F() 555 * @tc.expected: Return paddingPropertyF left == 1.0 + 3.0
in HWTEST_F() 558 EXPECT_EQ(paddingPropertyF.left, 1.0 + 3.0);
in HWTEST_F() 581 * @tc.expected: Return frameNodeHost left hasvalue.
in HWTEST_F() 586 EXPECT_EQ(paddingTwo.left, 1);
in HWTEST_F() 1170 * @tc.expected: Return paddingPropertyF left in HWTEST_F() [all...] |
H A D | layout_wrapper_testtwo_ng.cpp | 161 paddingProperty.left = { CalcLength(5.0f) }; in MakePadding() 632 safeAreaPadding.left = std::make_optional<float>(10.0f); in HWTEST_F() 641 totalExpand.left = std::make_optional<float>(100.0f); in HWTEST_F() 648 safeAreaPadding1.left = std::make_optional<float>(110.0f); in HWTEST_F() 684 safeAreaPadding.left = std::make_optional<float>(10.0f); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/flex/old_cases/ |
H A D | flex_testthree_ng.cpp | 141 noPadding.left = CalcLength(NOPADDING); in HWTEST_F() 281 noPadding.left = CalcLength(NOPADDING); in HWTEST_F() 426 noPadding.left = CalcLength(NOPADDING); in HWTEST_F() 1020 noPadding.left = CalcLength(NOPADDING); in HWTEST_F() 1208 padding.left = CalcLength(PADDING_FIVE); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | render_node.cpp | 39 bool operator()(const RefPtr<RenderNode>& left, const RefPtr<RenderNode>& right) const in operator ()() 41 if (left && right) { in operator ()() 42 return (left->GetZIndex() < right->GetZIndex()); in operator ()() 520 if (positionParam_.left.second) { in SetPosition() 521 selfOffset.SetX(NormalizePercentToPx(positionParam_.left.first, false)); in SetPosition() 2209 // bottom left in ComputeSelectedZone() 2214 // top left in ComputeSelectedZone()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_decoration_painter.cpp | 773 double left = DrawingDimensionToPx(inset->GetLeft(), size, LengthMode::HORIZONTAL) + position.GetX(); in DrawingCreateInset() local 779 RSRect rect(left, top, right, bottom); in DrawingCreateInset() 881 double left = DrawingDimensionToPx(rect->GetOffset().GetX(), size, LengthMode::HORIZONTAL) + position.GetX(); in DrawingCreateRect() local 885 RSRect rsRect = RSRect(left, top, left + width, top + height); in DrawingCreateRect()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tab_bar_layout_algorithm.cpp | 153 auto left = padding->left.value_or(CalcLength(0.0_vp)).GetDimension().ConvertToPx(); in GetContentMainSize() local 155 return Positive(frameSize.Width() - left - right) ? frameSize.Width() - left - right : 0.0f; in GetContentMainSize() 506 // 1.When last item is invisible and located to the left or above the tab bar, measure at least one item. in LayoutBackward() 975 layoutProperty->GetPaddingProperty()->left.value_or(CalcLength(0.0_vp)).GetDimension().ConvertToPx(), in Layout()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/ |
H A D | tabs_attr_test_ng.cpp | 77 * @tc.expected: TabBar is at left, show third tabContent(size > 0), swiper is VERTICAL in HWTEST_F() 909 padding.left = CalcLength(20.0_vp); in HWTEST_F() 925 EXPECT_EQ(tabContentPattern->GetPadding().left, padding.left); in HWTEST_F() 1427 padding.left = CalcLength(10.0); in HWTEST_F() 1438 EXPECT_EQ(finalPadding->left, CalcLength(20.0)); in HWTEST_F()
|
/foundation/arkui/ace_engine/advanced_ui_component/treeview/interfaces/ |
H A D | treeview.js | 710 left: { 740 left: { 991 left: { 1053 start: LengthMetrics.resource(this.listNodeDataSource.x7().padding.left), 1350 start: LengthMetrics.resource(this.itemPadding.left), 1756 left: { 1827 left: { 3444 left: { 3474 left: { 3728 left [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_uni_render_visitor_test.cpp | 2497 uint32_t left = 0; in HWTEST_F() local 2501 RectI rect{left, top, width, height}; in HWTEST_F() 2524 uint32_t left = 0; in HWTEST_F() local 2528 RectI rect{left, top, width, height}; in HWTEST_F() 2547 uint32_t left = 0; in HWTEST_F() local 2551 RectI rect{left, top, width, height}; in HWTEST_F() 3140 uint32_t left = 0; in HWTEST_F() local 3144 RectI rect{left, top, width, height}; in HWTEST_F() 3239 uint32_t left = 0; in HWTEST_F() local 3243 RectI rect{left, to in HWTEST_F() 3357 uint32_t left = 0; HWTEST_F() local [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/ |
H A D | image_source.cpp | 309 {"Top-left", 0}, 879 dst.left = src.left; 883 int32_t dstRight = dst.left + dst.width; 887 if (dst.left >= 0 && dstRight > 0 && dstRight > plInfo.size.width) { 888 dst.width = plInfo.size.width - dst.left; 1056 options.desireRegionX = opts.CropRect.left; 1081 options.desireRegionX = opts.CropRect.left; 2376 plOpts.CropRect.left = opts.CropRect.left; [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/select/ |
H A D | select_test_ng.cpp | 239 margin.left = MARGIN_LENGTH; in HWTEST_F() 941 CalcDimension left = 20.0_vp; in HWTEST_F() local 958 selectModelInstance.SetPaddings(top, bottom, left, right); in HWTEST_F() 1001 CalcDimension left = -20.0_vp; in HWTEST_F() local 1013 selectModelInstance.SetPaddings(top, bottom, left, right); in HWTEST_F() 1289 EXPECT_EQ(padding->left.value().GetDimension().ConvertToVp(), 8.0); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_ability_runtime_test/ |
H A D | ability_context_impl_test.cpp | 67 virtual void GetWindowRect(int32_t &left, int32_t &top, int32_t &width, int32_t &height) in GetWindowRect() argument 1577 int32_t left = 1; in HWTEST_F() local 1581 context_->GetWindowRect(left, top, width, height); in HWTEST_F()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | ui_ability.cpp | 809 void UIAbility::GetWindowRect(int32_t &left, int32_t &top, int32_t &width, int32_t &height) in GetWindowRect() argument 821 left = window->GetRect().posX_; in GetWindowRect() 825 TAG_LOGD(AAFwkTag::UIABILITY, "left: %{public}d, top: %{public}d, width: %{public}d, height: %{public}d", in GetWindowRect() 826 left, top, width, height); in GetWindowRect()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | frame_node.h | 156 auto left = weakLeft.Upgrade(); in operator ()() local 158 if (left && right) { in operator ()() 159 return left->GetRenderContext()->GetZIndexValue(ZINDEX_DEFAULT_VALUE) < in operator ()()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/ |
H A D | container_modal_pattern.cpp | 793 auto sidePadding = isRtl ? &padding.left : & padding.right;
in InitTitleRowLayoutProperty() 846 margin.left = CalcLength(space);
in InitButtonsLayoutProperty() 849 margin.left = CalcLength();
in InitButtonsLayoutProperty()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/ |
H A D | calendar_picker_model_ng.cpp | 188 padding.left = CalcLength(theme->GetEntryDateLeftRightMargin()); in CreateCalendarNodeChild() 436 padding.left = CalcLength(theme->GetEntryDateLeftRightMargin()); in ClearPadding() 530 padding.left = CalcLength(theme->GetEntryDateLeftRightMargin()); in ClearPadding()
|
/foundation/arkui/ace_engine/advanced_ui_component/selecttitlebar/interfaces/ |
H A D | selecttitlebar.js | 166 left: this.hidesBackButton ? { 354 Row.margin({ left: SelectTitleBar.subtitleLeftPadding }); 1494 left: {
|
/foundation/arkui/ace_engine/advanced_ui_component/composetitlebar/interfaces/ |
H A D | composetitlebar.js | 129 Row.margin({ left: { 'id': -1, 'type': 10002, params: ['sys.float.ohos_id_default_padding_start'], 'bundleName': '__harDefaultBundleName__', 'moduleName': '__harDefaultModuleName__' } }); 174 left: { 'id': -1, 'type': 10002, params: ['sys.float.ohos_id_text_paragraph_margin_xs'], 'bundleName': '__harDefaultBundleName__', 'moduleName': '__harDefaultModuleName__' }, 1303 left: { 'id': -1, 'type': 10002, params: ['sys.float.padding_level4'], 'bundleName': '__harDefaultBundleName__', 'moduleName': '__harDefaultModuleName__' },
|
/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | render_box_base.cpp | 362 (GetTextDirection() == TextDirection::RTL) ? positionParam_.right : positionParam_.left; 382 (GetTextDirection() == TextDirection::RTL) ? positionParam_.right : positionParam_.left; 647 positionParam_.left = std::make_pair(margin_.Left(), true);
|
/foundation/arkui/ace_engine/test/unittest/core/base/ |
H A D | view_abstract_test_ng_for_property_config.cpp | 1106 CalcDimension left(20, DimensionUnit::VP); in HWTEST_F() 1108 edges.SetLeft(left); in HWTEST_F() 1115 ->GetOffsetEdgesValue(EdgesParam {}).left.value_or(Dimension {}).ConvertToVp(), 20.0f); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_image_modifier.cpp | 781 void SetImageResizable(ArkUINodeHandle node, ArkUI_Float32 left, ArkUI_Float32 top, in SetImageResizable() argument 787 Dimension leftDimension(left, DimensionUnit::VP); in SetImageResizable() 804 arrayValue[0] = resizable.left.Value(); in GetImageResizable()
|
H A D | water_flow_modifier.cpp | 462 paddings.left = std::optional<CalcLength>(sectionData.margin[3]); in SetWaterFlowSectionOptions() 507 newSection[i].margin->left.has_value() ? newSection[i].margin->left->GetDimension().Value() : 0.0f; in GetWaterFlowSectionOptions()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_util.cpp | 103 auto const left = end - ptrdiff_t(destinationPtr); in CopySparseElements() local 104 if (left > 0) { in CopySparseElements() 105 if (!CloneData(destinationPtr, size_t(left), sourcePtr, elementSize)) { in CopySparseElements()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_symbol_animation.cpp | 524 float left = rect.GetLeft(); in CalculateOffset() local 528 Vector2f nodeTranslation = { offsetX + left, offsetY + top }; in CalculateOffset() 529 Vector2f newOffset = { -left, -top }; in CalculateOffset()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_composer_adapter.cpp | 294 int left = std::clamp<int>(localRect.GetLeft(), 0, frameWidth); in DealWithNodeGravity() local 296 int width = std::clamp<int>(localRect.GetWidth(), 0, frameWidth - left); in DealWithNodeGravity() 298 GraphicIRect newSrcRect = {left, top, width, height}; in DealWithNodeGravity()
|