Home
last modified time | relevance | path

Searched refs:allocatedSize (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/
H A Dselect_overlay_node.h110 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 Dselect_overlay_node.cpp1484 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 Drender_split_container.cpp104 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 Dtemplates_parser.cpp343 …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 Dtemplates_parser.cpp295 …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 Dlinear_layout_utils.cpp155 … 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 Dlinear_layout_utils.h30 float allocatedSize = 0.0f; member
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/flex/
H A Drender_flex.cpp284 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 Drender_flex.h196 void ResizeByItem(const RefPtr<RenderNode>& item, double& allocatedSize);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_split/
H A Dlinear_split_layout_algorithm.cpp160 float allocatedSize = 0.0f; in MeasureChildren() local
175 allocatedSize += childWidth; in MeasureChildren()
184allocatedSize += 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 Dco_routine.cpp285 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 Dco_routine.h79 uint64_t allocatedSize; // CoRoutine allocated size member
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/select_overlay/
H A Dselect_overlay_test_ng.cpp3232 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 Drender_grid_layout.cpp638 …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()