/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/ |
H A D | select_overlay_node.h | 110 bool AddSystemDefaultOptions(float maxWidth, float& allocatedSize); 112 float maxWidth, float allocatedSize, int32_t& extensionOptionStartIndex); 113 void ShowCut(float maxWidth, float& allocatedSize, std::shared_ptr<SelectOverlayInfo>& info); 114 void ShowCopy(float maxWidth, float& allocatedSize, std::shared_ptr<SelectOverlayInfo>& info); 115 void ShowPaste(float maxWidth, float& allocatedSize, std::shared_ptr<SelectOverlayInfo>& info); 116 void ShowCopyAll(float maxWidth, float& allocatedSize, std::shared_ptr<SelectOverlayInfo>& info); 117 void ShowShare(float maxWidth, float& allocatedSize, std::shared_ptr<SelectOverlayInfo>& info); 118 void ShowCamera(float maxWidth, float& allocatedSize, std::shared_ptr<SelectOverlayInfo>& info); 119 void ShowAIWrite(float maxWidth, float& allocatedSize, std::shared_ptr<SelectOverlayInfo>& info);
|
H A D | select_overlay_node.cpp | 1446 bool SelectOverlayNode::AddSystemDefaultOptions(float maxWidth, float& allocatedSize) in AddSystemDefaultOptions() argument 1451 ShowCut(maxWidth, allocatedSize, info); in AddSystemDefaultOptions() 1452 ShowCopy(maxWidth, allocatedSize, info); in AddSystemDefaultOptions() 1453 ShowPaste(maxWidth, allocatedSize, info); in AddSystemDefaultOptions() 1454 ShowCopyAll(maxWidth, allocatedSize, info); in AddSystemDefaultOptions() 1455 ShowShare(maxWidth, allocatedSize, info); in AddSystemDefaultOptions() 1456 ShowCamera(maxWidth, allocatedSize, info); in AddSystemDefaultOptions() 1457 ShowAIWrite(maxWidth, allocatedSize, info); in AddSystemDefaultOptions() 1466 void SelectOverlayNode::ShowCut(float maxWidth, float& allocatedSize, std::shared_ptr<SelectOverlayInfo>& info) in ShowCut() argument 1473 if (GreatOrEqual(maxWidth - allocatedSize, buttonWidt in ShowCut() 1486 ShowCopy(float maxWidth, float& allocatedSize, std::shared_ptr<SelectOverlayInfo>& info) ShowCopy() argument 1507 ShowPaste(float maxWidth, float& allocatedSize, std::shared_ptr<SelectOverlayInfo>& info) ShowPaste() argument 1532 ShowCopyAll(float maxWidth, float& allocatedSize, std::shared_ptr<SelectOverlayInfo>& info) ShowCopyAll() argument 1553 ShowAIWrite(float maxWidth, float& allocatedSize, std::shared_ptr<SelectOverlayInfo>& info) ShowAIWrite() argument 1577 ShowShare(float maxWidth, float& allocatedSize, std::shared_ptr<SelectOverlayInfo>& info) ShowShare() argument 1628 ShowCamera(float maxWidth, float& allocatedSize, std::shared_ptr<SelectOverlayInfo>& info) ShowCamera() argument 1872 float allocatedSize = 0.0f; UpdateMenuInner() local 1917 LandscapeMenuAddMenuOptions(const std::vector<MenuOptionsParam>& menuOptionItems, bool isDefaultOverMaxWidth, float maxWidth, float allocatedSize, int32_t& extensionOptionStartIndex) LandscapeMenuAddMenuOptions() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/split_container/ |
H A D | render_split_container.cpp | 104 double allocatedSize = 0.0; in UpdateDisplayNode() local 117 allocatedSize += GetMainSize(child); in UpdateDisplayNode() 118 allocatedSize += DEFAULT_SPLIT_HEIGHT; in UpdateDisplayNode() 121 if ((allocatedSize - DEFAULT_SPLIT_HEIGHT) > maxMainSize) { in UpdateDisplayNode() 124 allocatedSize -= GetMainSize(child); in UpdateDisplayNode() 125 allocatedSize -= DEFAULT_SPLIT_HEIGHT; in UpdateDisplayNode() 135 if (NearEqual(allocatedSize, maxMainSize)) { in UpdateDisplayNode()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | templates_parser.cpp | 343 auto allocatedSize = size - (strs.size() - 2) * gap; // size() - 2 means 'auto-fill' should be erased. in ParseAutoFill() local 350 num = pxSum > allocatedSize ? 0.0 : num; in ParseAutoFill() 364 allocatedSize -= pxSum; in ParseAutoFill() 365 if (LessOrEqual(allocatedSize, 0.0)) { in ParseAutoFill() 369 auto repeatCount = static_cast<int32_t>(allocatedSize / pxSum); in ParseAutoFill() 373 allocatedSize -= pxSum * repeatCount; in ParseAutoFill() 375 allocatedSize -= len + gap; in ParseAutoFill() 376 if (LessNotEqual(allocatedSize, 0.0)) { in ParseAutoFill()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | templates_parser.cpp | 293 auto allocatedSize = size - (strs.size() - 2) * gap; // size() - 2 means 'auto-fill' should be erased. in ParseAutoFill() local 294 if (allocatedSize > size) { in ParseAutoFill() 303 num = pxSum > allocatedSize ? 0.0 : num; in ParseAutoFill() 317 allocatedSize -= pxSum; in ParseAutoFill() 318 if (LessOrEqual(allocatedSize, 0.0)) { in ParseAutoFill() 322 auto repeatCount = static_cast<int32_t>(allocatedSize / pxSum); in ParseAutoFill() 326 allocatedSize -= pxSum * repeatCount; in ParseAutoFill() 328 allocatedSize -= len + gap; in ParseAutoFill() 329 if (LessNotEqual(allocatedSize, 0.0)) { in ParseAutoFill()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_layout/ |
H A D | linear_layout_utils.cpp | 143 linearMeasureProperty.allocatedSize += GetChildMainAxisSize(AceType::RawPtr(child), isVertical); in Measure() 149 linearMeasureProperty.allocatedSize += in Measure() 155 float remainSize = GetMainAxisSize(idealSize, isVertical) - linearMeasureProperty.allocatedSize - in Measure() 166 linearMeasureProperty.allocatedSize += GetChildMainAxisSize(AceType::RawPtr(child), isVertical); in Measure() 167 linearMeasureProperty.allocatedSize += linearMeasureProperty.space; in Measure() 175 auto childTotalSize = CreateSize(linearMeasureProperty.allocatedSize, linearMeasureProperty.crossSize, isVertical); in Measure()
|
H A D | linear_layout_utils.h | 30 float allocatedSize = 0.0f; member
|
/foundation/arkui/ace_engine/frameworks/core/components/flex/ |
H A D | render_flex.cpp | 284 double allocatedSize = allocatedSize_; in PerformLayoutInWeightMode() local 288 ResizeByItem(child, allocatedSize); in PerformLayoutInWeightMode() 352 double allocatedSize = allocatedSize_; in LayoutMagicNodes() local 361 ResizeByItem(child.node, allocatedSize); in LayoutMagicNodes() 506 double allocatedSize = allocatedSize_; in PerformLayoutInItemMode() local 518 ResizeByItem(item, allocatedSize); in PerformLayoutInItemMode() 828 double allocatedSize = allocatedSize_; in RedoLayoutFlexItem() local 829 ResizeByItem(flexItem, allocatedSize); in RedoLayoutFlexItem() 844 double allocatedSize = allocatedSize_; in LayoutInfinityChild() local 845 ResizeByItem(item, allocatedSize); in LayoutInfinityChild() 966 ResizeByItem(const RefPtr<RenderNode>& item, double& allocatedSize) ResizeByItem() argument [all...] |
H A D | render_flex.h | 196 void ResizeByItem(const RefPtr<RenderNode>& item, double& allocatedSize);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_split/ |
H A D | linear_split_layout_algorithm.cpp | 160 float allocatedSize = 0.0f; in MeasureChildren() local 175 allocatedSize += childWidth; in MeasureChildren() 184 allocatedSize += splitHeightFloat * std::max(0.f, static_cast<float>(visibleChildCount_ - 1)); in MeasureChildren() 190 SizeF childTotalSize = { allocatedSize, crossSize }; in MeasureChildren() 219 float allocatedSize = 0.0f; in MeasureChildrenBeforeAPI10() local 224 allocatedSize += child->GetGeometryNode()->GetMarginFrameSize().Width(); in MeasureChildrenBeforeAPI10() 227 return { allocatedSize, crossSize }; in MeasureChildrenBeforeAPI10()
|
/foundation/resourceschedule/ffrt/src/eu/ |
H A D | co_routine.cpp | 294 co->allocatedSize = stackSize; 310 if (likely(co->allocatedSize == defaultStackSize)) { 313 int ret = munmap(co, co->allocatedSize); 359 if (GetCoEnv()->runningCo->allocatedSize != task->stack_size) { // stack size not match, alloc one
|
H A D | co_routine.h | 81 uint64_t allocatedSize; // CoRoutine allocated size member
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/ |
H A D | flex_layout_property.h | 26 float allocatedSize = 0.0f; member
|
H A D | flex_layout_algorithm.cpp | 617 // when a child's flexSize equal 0, allocatedSize need to minus its MainAxisSize in SecondaryMeasureByProperty() 969 FlexMeasureResult measureResult { .allocatedSize = allocatedSize_, .validSizeCount = validSizeCount_ }; in UpdateMeasureResultToPattern() 1002 allocatedSize_ = measureResult.allocatedSize; in RestoreMeasureResultFromPattern()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/select_overlay/ |
H A D | select_overlay_test_ng.cpp | 3232 float allocatedSize = 3.0f; in HWTEST_F() local 3236 bool result = selectOverlayNode->AddSystemDefaultOptions(maxWidth, allocatedSize); in HWTEST_F() 3254 float allocatedSize = 3.0f; in HWTEST_F() local 3258 bool result = selectOverlayNode->AddSystemDefaultOptions(maxWidth, allocatedSize); in HWTEST_F() 3276 float allocatedSize = 3.0f; in HWTEST_F() local 3280 bool result = selectOverlayNode->AddSystemDefaultOptions(maxWidth, allocatedSize); in HWTEST_F() 3298 float allocatedSize = 3.0f; in HWTEST_F() local 3302 bool result = selectOverlayNode->AddSystemDefaultOptions(maxWidth, allocatedSize); in HWTEST_F() 3320 float allocatedSize = 3.0f; in HWTEST_F() local 3324 bool result = selectOverlayNode->AddSystemDefaultOptions(maxWidth, allocatedSize); in HWTEST_F() 3345 float allocatedSize = 2.0f; HWTEST_F() local 3377 float allocatedSize = 2.0f; HWTEST_F() local 3874 float allocatedSize = 11.0f; HWTEST_F() local 3902 float allocatedSize = 11.0f; HWTEST_F() local 3923 float allocatedSize = 14.0f; HWTEST_F() local 3944 float allocatedSize = 13.0f; HWTEST_F() local 3972 float allocatedSize = 14.0f; HWTEST_F() local 4000 float allocatedSize = 11.0f; HWTEST_F() local 4028 float allocatedSize = 80.0f; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/ |
H A D | render_grid_layout.cpp | 638 auto allocatedSize = size - (strs.size() - 2) * gap; // size() - 2 means 'auto-fill' should be erased. 644 num = pxSum > allocatedSize ? 0.0 : num; 655 allocatedSize -= pxSum; 656 if (LessOrEqual(allocatedSize, 0.0)) { 660 int32_t repeatCount = allocatedSize / pxSum; 665 allocatedSize -= pxSum * repeatCount; 667 allocatedSize -= *lenIter + gap; 668 if (LessNotEqual(allocatedSize, 0.0)) {
|