/ohos5.0/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 | 1484 allocatedSize += buttonWidth; in ShowCut() 1505 allocatedSize += buttonWidth; in ShowCopy() 1530 allocatedSize += buttonWidth; in ShowPaste() 1551 allocatedSize += buttonWidth; in ShowCopyAll() 1575 allocatedSize += buttonWidth; in ShowAIWrite() 1600 allocatedSize += buttonWidth; in ShowShare() 1612 allocatedSize += buttonWidth; in ShowShare() 1624 allocatedSize += buttonWidth; in ShowShare() 1651 allocatedSize += buttonWidth; in ShowCamera() 1885 float allocatedSize = 0.0f; in UpdateMenuInner() local [all …]
|
/ohos5.0/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()
|
/ohos5.0/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 era… 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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | templates_parser.cpp | 295 …auto allocatedSize = size - (strs.size() - 2) * gap; // size() - 2 means 'auto-fill' should be era… in ParseAutoFill() local 296 if (allocatedSize > size) { in ParseAutoFill() 305 num = pxSum > allocatedSize ? 0.0 : num; in ParseAutoFill() 319 allocatedSize -= pxSum; in ParseAutoFill() 320 if (LessOrEqual(allocatedSize, 0.0)) { in ParseAutoFill() 324 auto repeatCount = static_cast<int32_t>(allocatedSize / pxSum); in ParseAutoFill() 328 allocatedSize -= pxSum * repeatCount; in ParseAutoFill() 330 allocatedSize -= len + gap; in ParseAutoFill() 331 if (LessNotEqual(allocatedSize, 0.0)) { in ParseAutoFill()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_layout/ |
H A D | linear_layout_utils.cpp | 155 … linearMeasureProperty.allocatedSize += GetChildMainAxisSize(AceType::RawPtr(child), isVertical); in Measure() 161 linearMeasureProperty.allocatedSize += in Measure() 167 … float remainSize = GetMainAxisSize(idealSize, isVertical) - linearMeasureProperty.allocatedSize - in Measure() 179 … linearMeasureProperty.allocatedSize += GetChildMainAxisSize(AceType::RawPtr(child), isVertical); in Measure() 180 linearMeasureProperty.allocatedSize += linearMeasureProperty.space; in Measure() 188 …auto childTotalSize = CreateSize(linearMeasureProperty.allocatedSize, linearMeasureProperty.crossS… in Measure()
|
H A D | linear_layout_utils.h | 30 float allocatedSize = 0.0f; member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/flex/ |
H A D | render_flex.cpp | 284 double allocatedSize = allocatedSize_; in PerformLayoutInWeightMode() local 352 double allocatedSize = allocatedSize_; in LayoutMagicNodes() local 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() 983 allocatedSize = mainSize; in ResizeByItem() 987 allocatedSize += mainSize; in ResizeByItem() [all …]
|
H A D | render_flex.h | 196 void ResizeByItem(const RefPtr<RenderNode>& item, double& allocatedSize);
|
/ohos5.0/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()
|
/ohos5.0/foundation/resourceschedule/ffrt/src/eu/ |
H A D | co_routine.cpp | 285 co->allocatedSize = stackSize; in AllocNewCoRoutine() 301 if (likely(co->allocatedSize == defaultStackSize)) { in CoMemFree() 304 int ret = munmap(co, co->allocatedSize); in CoMemFree() 350 … if (GetCoEnv()->runningCo->allocatedSize != task->stack_size) { // stack size not match, alloc one in CoAlloc()
|
H A D | co_routine.h | 79 uint64_t allocatedSize; // CoRoutine allocated size member
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/select_overlay/ |
H A D | select_overlay_test_ng.cpp | 3232 float allocatedSize = 3.0f; variable 3254 float allocatedSize = 3.0f; variable 3276 float allocatedSize = 3.0f; variable 3298 float allocatedSize = 3.0f; variable 3320 float allocatedSize = 3.0f; variable 3345 float allocatedSize = 2.0f; variable 3377 float allocatedSize = 2.0f; variable 3874 float allocatedSize = 11.0f; variable 3902 float allocatedSize = 11.0f; variable 3923 float allocatedSize = 14.0f; variable [all …]
|
/ohos5.0/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 era… in ParseAutoFill() local 644 num = pxSum > allocatedSize ? 0.0 : num; in ParseAutoFill() 655 allocatedSize -= pxSum; in ParseAutoFill() 656 if (LessOrEqual(allocatedSize, 0.0)) { in ParseAutoFill() 660 int32_t repeatCount = allocatedSize / pxSum; in ParseAutoFill() 665 allocatedSize -= pxSum * repeatCount; in ParseAutoFill() 667 allocatedSize -= *lenIter + gap; in ParseAutoFill() 668 if (LessNotEqual(allocatedSize, 0.0)) { in ParseAutoFill()
|