Home
last modified time | relevance | path

Searched refs:containerModal (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/container_modal/
H A Drender_container_modal.cpp30 auto containerModal = AceType::DynamicCast<ContainerModalComponent>(component); in UpdateStyle() local
31 if (!containerModal) { in UpdateStyle()
50 auto appLabelComponent = containerModal->GetTitleLabel(); in UpdateStyle()
57 auto appIconComponent = containerModal->GetTitleIcon(); in UpdateStyle()
66 auto containerModal = AceType::DynamicCast<ContainerModalComponent>(component); in Update() local
67 if (!containerModal) { in Update()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/root/
H A Droot_element.cpp54 auto containerModal = AceType::DynamicCast<ContainerModalElement>(GetFirstChild()); in GetOverlayElement() local
55 if (!containerModal) { in GetOverlayElement()
59 return containerModal->GetOverlayElement(); in GetOverlayElement()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/
H A Dcontainer_modal_pattern.cpp604 bool ContainerModalPattern::GetContainerModalButtonsRect(RectF& containerModal, RectF& buttons) in GetContainerModalButtonsRect() argument
609 containerModal = columnRect; in GetContainerModalButtonsRect()
642 buttons.SetLeft(containerModal.Width() - widthByPx); in GetContainerModalButtonsRect()
651 std::function<void(RectF& containerModal, RectF& buttons)>&& callback) in SubscribeContainerModalButtonsRectChange() argument
671 RectF containerModal; in CallButtonsRectChange() local
673 GetContainerModalButtonsRect(containerModal, buttons); in CallButtonsRectChange()
681 [containerModal, buttons, cb = controlButtonsRectChangeCallback_]() mutable { in CallButtonsRectChange()
683 cb(containerModal, buttons); in CallButtonsRectChange()
722 auto containerModal = GetHost(); in InitLayoutProperty() local
732 containerModal->GetLayoutProperty()->UpdateMeasureType(MeasureType::MATCH_PARENT); in InitLayoutProperty()
[all …]
H A Dcontainer_modal_pattern.h159 bool GetContainerModalButtonsRect(RectF& containerModal, RectF& buttons);
161 std::function<void(RectF& containerModal, RectF& buttons)>&& callback);
/ohos5.0/foundation/window/window_manager/test/common/mock/
H A Dmock_uicontent.h101 …MOCK_METHOD2(GetContainerModalButtonsRect, bool(OHOS::Rosen::Rect& containerModal, OHOS::Rosen::Re…
103 …void(std::function<void(OHOS::Rosen::Rect& containerModal, OHOS::Rosen::Rect& buttons)>&& callback…
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_ui_content.h96 …MOCK_METHOD2(GetContainerModalButtonsRect, bool(Rosen::Rect &containerModal, Rosen::Rect &buttons)…
98 std::function<void(Rosen::Rect &containerModal, Rosen::Rect &buttons)> &&callback));
/ohos5.0/foundation/arkui/ace_engine/test/mock/interfaces/
H A Dmock_uicontent.h101 …MOCK_METHOD2(GetContainerModalButtonsRect, bool(Rosen::Rect& containerModal, Rosen::Rect& buttons)…
103 std::function<void(Rosen::Rect& containerModal, Rosen::Rect& buttons)>&& callback));
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/enhance/
H A Dcontainer_modal_pattern_enhance.cpp318 auto containerModal = weak.Upgrade(); in UpdateTitleInTargetPos() local
319 CHECK_NULL_VOID(containerModal); in UpdateTitleInTargetPos()
321 …controlButtonsLayoutProperty->UpdateVisibility(containerModal->GetControlButtonVisibleBeforeAnim()… in UpdateTitleInTargetPos()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/
H A Dpipeline_context.cpp325 … auto containerModal = AceType::DynamicCast<ContainerModalElement>(rootElement_->GetFirstChild()); in ShowContainerTitle() local
326 if (containerModal) { in ShowContainerTitle()
327 containerModal->ShowTitle(isShow, hasDeco); in ShowContainerTitle()
351 if (containerModal) { in SetContainerButtonHide()
352 containerModal->SetTitleButtonHide(hideSplit, hideMaximize, hideMinimize, hideClose); in SetContainerButtonHide()
825 auto containerModal = ContainerModalComponent::Create(AceType::WeakClaim(this), stack); in SetupRootElement() local
826 rootComponent = RootComponent::Create(containerModal); in SetupRootElement()
2283 if (containerModal) { in SetAppBgColor()
2284 containerModal->SetAppBgColor(appBgColor_); in SetAppBgColor()
2824 if (containerModal) { in WindowFocus()
[all …]
/ohos5.0/foundation/arkui/ace_engine/interfaces/inner_api/ace/
H A Dui_content.h311 virtual bool GetContainerModalButtonsRect(Rosen::Rect& containerModal, Rosen::Rect& buttons) in GetContainerModalButtonsRect() argument
317 std::function<void(Rosen::Rect& containerModal, Rosen::Rect& buttons)>&& callback) {} in SubscribeContainerModalButtonsRectChange() argument
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dui_content_impl.h287 bool GetContainerModalButtonsRect(Rosen::Rect& containerModal, Rosen::Rect& buttons) override;
289 std::function<void(Rosen::Rect& containerModal, Rosen::Rect& buttons)>&& callback) override;
H A Dui_content_impl.cpp3809 bool UIContentImpl::GetContainerModalButtonsRect(Rosen::Rect& containerModal, Rosen::Rect& buttons) in GetContainerModalButtonsRect() argument
3819 containerModal = ConvertToRSRect(floatContainerModal); in GetContainerModalButtonsRect()
3825 std::function<void(Rosen::Rect& containerModal, Rosen::Rect& buttons)>&& callback) in SubscribeContainerModalButtonsRectChange() argument
3837 Rosen::Rect containerModal = ConvertToRSRect(floatContainerModal); in SubscribeContainerModalButtonsRectChange() local
3839 cb(containerModal, buttons); in SubscribeContainerModalButtonsRectChange()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pipeline/
H A Dpipeline_context_test_ng.cpp1609 NG::RectF containerModal; variable
1615 EXPECT_FALSE(context_->GetContainerModalButtonsRect(containerModal, buttons));
1618 EXPECT_FALSE(context_->GetContainerModalButtonsRect(containerModal, buttons));
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/
H A Dpipeline_context.h735 bool GetContainerModalButtonsRect(RectF& containerModal, RectF& buttons);
737 std::function<void(RectF& containerModal, RectF& buttons)>&& callback);
H A Dpipeline_context.cpp4419 auto containerModal = GetContainerModalNode(); in GetCustomTitleHeight() local
4420 CHECK_NULL_RETURN(containerModal, Dimension()); in GetCustomTitleHeight()
4421 return containerModal->GetPattern<ContainerModalPattern>()->GetCustomTitleHeight(); in GetCustomTitleHeight()
4424 bool PipelineContext::GetContainerModalButtonsRect(RectF& containerModal, RectF& buttons) in GetContainerModalButtonsRect() argument
4434 return containerPattern->GetContainerModalButtonsRect(containerModal, buttons); in GetContainerModalButtonsRect()
4438 std::function<void(RectF& containerModal, RectF& buttons)>&& callback) in SubscribeContainerModalButtonsRectChange() argument