/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/container_modal/ |
H A D | render_container_modal.cpp | 30 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 D | root_element.cpp | 54 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 D | container_modal_pattern.cpp | 604 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 D | container_modal_pattern.h | 159 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 D | mock_uicontent.h | 101 …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 D | mock_ui_content.h | 96 …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 D | mock_uicontent.h | 101 …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 D | container_modal_pattern_enhance.cpp | 318 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 D | pipeline_context.cpp | 325 … 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 D | ui_content.h | 311 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 D | ui_content_impl.h | 287 bool GetContainerModalButtonsRect(Rosen::Rect& containerModal, Rosen::Rect& buttons) override; 289 std::function<void(Rosen::Rect& containerModal, Rosen::Rect& buttons)>&& callback) override;
|
H A D | ui_content_impl.cpp | 3809 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 D | pipeline_context_test_ng.cpp | 1609 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 D | pipeline_context.h | 735 bool GetContainerModalButtonsRect(RectF& containerModal, RectF& buttons); 737 std::function<void(RectF& containerModal, RectF& buttons)>&& callback);
|
H A D | pipeline_context.cpp | 4419 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
|