Home
last modified time | relevance | path

Searched refs:componentSize (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/
H A Dmodel_layout_algorithm.cpp36 SizeF componentSize(0.0f, 0.0f); in MeasureContent() local
42 componentSize.SetSizeT(layoutConstraintMaxSize); in MeasureContent()
48 componentSize.SetSizeT(sizeSet); in MeasureContent()
53 componentSize.SetHeight(static_cast<float>(sizeSet.Width() / aspectRatio)); in MeasureContent()
56 componentSize.SetWidth(static_cast<float>(sizeSet.Height() * aspectRatio)); in MeasureContent()
64 auto size = contentConstraint.Constrain(componentSize); in MeasureContent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/
H A Drating_layout_algorithm.cpp58 SizeF componentSize; in MeasureContent() local
63 componentSize.SetHeight(static_cast<float>(height)); in MeasureContent()
64 componentSize.SetWidth(static_cast<float>(height * stars)); in MeasureContent()
65 return contentConstraint.Constrain(componentSize); in MeasureContent()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/
H A Dsegmentbutton.js1199 get componentSize() {
1203 set componentSize(newValue) {
1505 this.componentSize = { width: newValue.width, height: newValue.height };
1808 if (params.componentSize !== undefined) {
1809 this.componentSize = params.componentSize;
1926 get componentSize() {
1930 set componentSize(newValue) {
2375 Stack.size(ObservedObject.GetRawObject(this.componentSize));
2377 … Stack.borderRadius(this.options.l2 ?? this.componentSize.height / 2);
2478 Stack.size(ObservedObject.GetRawObject(this.componentSize));
[all …]
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Dapp_scheduler_proxy.cpp310 auto componentSize = abilityInfoSize + extensionInfoSize; in ScheduleAbilityStage() local
311 if (componentSize > large) { in ScheduleAbilityStage()
314 } else if (componentSize > mid) { in ScheduleAbilityStage()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/source/
H A Dsegmentbutton.ets614 @Consume componentSize: SizeOptions
943 this.componentSize = { width: newValue.width, height: newValue.height }
963 @Provide componentSize: SizeOptions = { width: 0, height: 0 }
1150 .size(this.componentSize)
1152 … .borderRadius(this.options.iconTextBackgroundRadius ?? this.componentSize.height as number / 2)
1171 .size(this.componentSize)
1175 this.componentSize.height as number / 2)