Home
last modified time | relevance | path

Searched refs:remainSpace (Results 1 - 13 of 13) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/flex/
H A Drender_flex.cpp454 auto remainSpace = GetMainAxisValue(GetLayoutParam().GetMaxSize(), direction_) - allocatedSize_; in RelayoutForStretchFlexNode() local
458 spacePerFlex = remainSpace / flexItemProperties.totalGrow; in RelayoutForStretchFlexNode()
474 flexSize = flexItem == flexItemProperties.lastGrowChild ? remainSpace - allocatedFlexSpace in RelayoutForStretchFlexNode()
572 // remainSpace should be (availableMainSize - allocatedSize_), and do not remain space when MainAxisSize::MIN. in ResizeItems()
574 double remainSpace = in ResizeItems() local
580 if (remainSpace > 0.0) { in ResizeItems()
581 infiniteLayoutSize = remainSpace / infinityLayoutNodes_.size(); in ResizeItems()
582 remainSpace = 0.0; in ResizeItems()
584 remainSpace -= infiniteLayoutSize; in ResizeItems()
588 if (relativeNodes_.size() <= 1 && crossAxisAlign_ != FlexAlign::STRETCH && NearZero(remainSpace)) { in ResizeItems()
653 double remainSpace = (mainSize_ - allocatedSize_) > 0.0 ? (mainSize_ - allocatedSize_) : 0.0; DetermineItemsPosition() local
662 CalculateSpace(double remainSpace, double& frontSpace, double& betweenSpace) const CalculateSpace() argument
[all...]
H A Drender_flex.h169 * remainSpace. Only when the allocated size is smaller than the maxMainSize, it can be effective. In other word, it
172 * @param remainSpace Remain space.
176 void CalculateSpace(double remainSpace, double& frontSpace, double& betweenSpace) const;
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/
H A Dcloud_info.cpp26 SetValue(node[GET_NAME(remainSpace)], remainSpace); in Marshal()
39 GetValue(node, GET_NAME(remainSpace), remainSpace); in Unmarshal()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/
H A Dflex_layout_algorithm.cpp587 float remainSpace = mainAxisSize_ - allocatedSize_; in SecondaryMeasureByProperty() local
620 remainSpace = mainAxisSize_ - allocatedSize_; in SecondaryMeasureByProperty()
625 remainSpace += space_; in SecondaryMeasureByProperty()
629 CheckIsGrowOrShrink(getFlex, remainSpace, spacePerFlex, flexItemProperties, lastChild); in SecondaryMeasureByProperty()
652 (child.layoutWrapper == lastChild) ? (remainSpace - allocatedFlexSpace) in SecondaryMeasureByProperty()
653 : GreatOrEqual(remainSpace, 0.0f) || GreatNotEqual(maxDisplayPriority_, 1) in SecondaryMeasureByProperty()
719 float remainSpace, float& spacePerFlex, FlexItemProperties& flexItemProperties, RefPtr<LayoutWrapper>& lastChild) in CheckIsGrowOrShrink()
721 if (GreatOrEqual(remainSpace, 0.0f) || GreatNotEqual(maxDisplayPriority_, 1)) { in CheckIsGrowOrShrink()
736 spacePerFlex = NearZero(flexItemProperties.totalGrow) ? 0.0f : remainSpace / flexItemProperties.totalGrow; in CheckIsGrowOrShrink()
753 spacePerFlex = NearZero(flexItemProperties.totalShrink) ? 0.0f : remainSpace / flexItemPropertie in CheckIsGrowOrShrink()
718 CheckIsGrowOrShrink(std::function<float(const RefPtr<LayoutWrapper>&)>& getFlex, float remainSpace, float& spacePerFlex, FlexItemProperties& flexItemProperties, RefPtr<LayoutWrapper>& lastChild) CheckIsGrowOrShrink() argument
1073 float remainSpace = std::max(mainAxisSize_ - allocatedSize_, 0.0f); Layout() local
1086 CalculateSpace(float remainSpace, float& frontSpace, float& betweenSpace) const CalculateSpace() argument
[all...]
H A Dwrap_layout_algorithm.cpp582 float remainSpace = mainLengthLimit_ - currentMainLength_; in LayoutContent() local
585 if (GreatNotEqual(remainSpace, 0.0f)) { in LayoutContent()
586 CalcFlexGrowLayout(itemWrapper, flexItemProperties, remainSpace); in LayoutContent()
636 const RefPtr<LayoutWrapper>& itemWrapper, const FlexItemProperties& flexItemProperties, float remainSpace) in CalcFlexGrowLayout()
650 if (GreatNotEqual(itemFlex, 0.0f) && GreatNotEqual(remainSpace, 0.0f) && in CalcFlexGrowLayout()
652 float flexSize = itemFlex * remainSpace / flexItemProperties.totalGrow; in CalcFlexGrowLayout()
775 float remainSpace = mainLengthLimit_ - currentMainLength_; in LayoutColumnContent() local
778 if (GreatNotEqual(remainSpace, 0.0f)) { in LayoutColumnContent()
779 CalcFlexGrowLayout(itemWrapper, flexItemProperties, remainSpace); in LayoutColumnContent()
635 CalcFlexGrowLayout( const RefPtr<LayoutWrapper>& itemWrapper, const FlexItemProperties& flexItemProperties, float remainSpace) CalcFlexGrowLayout() argument
H A Dflex_layout_algorithm.h79 void CalculateSpace(float remainSpace, float& frontSpace, float& betweenSpace) const;
92 void CheckIsGrowOrShrink(std::function<float(const RefPtr<LayoutWrapper>&)>& getFlex, float remainSpace,
H A Dwrap_layout_algorithm.h111 const RefPtr<LayoutWrapper>& itemWrapper, const FlexItemProperties& flexItemProperties, float remainSpace);
/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloud_file_kit_inner/
H A Dcloud_info.h26 uint64_t remainSpace{0};
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/
H A Dcloud_test.cpp138 cloudInfo1.remainSpace = 0; in HWTEST_F()
170 cloudInfo.remainSpace = 100; in HWTEST_F()
203 cloudInfo.remainSpace = 100; in HWTEST_F()
240 cloudInfo1.remainSpace = 0; in HWTEST_F()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/cloud/
H A Dcloud_info.h38 uint64_t remainSpace = 0; member in OHOS::DistributedData::final
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/
H A Dcloud_server_impl.cpp68 unsigned long long remainSpace = 0; in GetServerInfo() local
69 OhCloudExtCloudInfoGetRemainSpace(pInfo.get(), &remainSpace); in GetServerInfo()
70 result.remainSpace = remainSpace; in GetServerInfo()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/include/
H A Dcloud_ext_types.h409 unsigned long long *remainSpace
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dcloud_data_test.cpp149 cloudInfo.remainSpace = REMAINSPACE; in GetServerInfo()

Completed in 13 milliseconds