Lines Matching refs:uiContent
176 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); \
177 if (uiContent != nullptr) { \
178 uiContent->uiContentCb(); \
511 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in PreNotifyKeyEvent() local
512 if (uiContent != nullptr) { in PreNotifyKeyEvent()
513 return uiContent->ProcessKeyEvent(keyEvent, true); in PreNotifyKeyEvent()
872 std::shared_ptr<Ace::UIContent> uiContent = window->GetUIContentSharedPtr(); in NotifyRotationAnimationEnd() local
873 if (uiContent == nullptr) { in NotifyRotationAnimationEnd()
877 uiContent->NotifyRotationAnimationEnd(); in NotifyRotationAnimationEnd()
1177 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in UpdateViewportConfig() local
1178 if (uiContent == nullptr) { in UpdateViewportConfig()
1182 uiContent->UpdateViewportConfig(config, reason, rsTransaction, avoidAreasToUpdate); in UpdateViewportConfig()
1220 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in UpdateTitleButtonVisibility() local
1221 if (uiContent == nullptr || !IsDecorEnable()) { in UpdateTitleButtonVisibility()
1229 uiContent->HideWindowTitleButton(true, true, true, false); in UpdateTitleButtonVisibility()
1247 … uiContent->HideWindowTitleButton(true, hideMaximizeButton, hideMinimizeButton, hideCloseButton); in UpdateTitleButtonVisibility()
1249 … uiContent->HideWindowTitleButton(hideSplitButton, true, hideMinimizeButton, hideCloseButton); in UpdateTitleButtonVisibility()
1252 …uiContent->HideWindowTitleButton(hideSplitButton, hideMaximizeButton, hideMinimizeButton, hideClos… in UpdateTitleButtonVisibility()
1280 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in DestroyExistUIContent() local
1281 if (uiContent) { in DestroyExistUIContent()
1282 uiContent->Destroy(); in DestroyExistUIContent()
1291 … std::unique_ptr<Ace::UIContent> uiContent = ability != nullptr ? Ace::UIContent::Create(ability) : in InitUIContent() local
1293 if (uiContent == nullptr) { in InitUIContent()
1302 uiContent->SetUIExtensionSubWindow(true); in InitUIContent()
1303 uiContent->SetUIExtensionAbilityProcess(true); in InitUIContent()
1308 … uiContent->Restore(this, routerStack, storage, type) == Ace::UIContentErrorCode::NO_ERRORS) { in InitUIContent()
1313 aceRet = uiContent->Initialize(this, contentInfo, storage); in InitUIContent()
1317 … aceRet = uiContent->Restore(this, contentInfo, storage, GetAceContentInfoType(restoreType)); in InitUIContent()
1320 aceRet = uiContent->InitializeByName(this, contentInfo, storage); in InitUIContent()
1324 aceRet = uiContent->Initialize(this, abcContent, storage, contentInfo); in InitUIContent()
1330 uiContent_ = std::move(uiContent); in InitUIContent()
1387 if (auto uiContent = GetUIContentSharedPtr()) { in SetUIContentInner() local
1389 uiContent->SetStatusBarItemColor(property.contentColor_); in SetUIContentInner()
1396 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in SetUIContentInner() local
1397 if (uiContent != nullptr) { in SetUIContentInner()
1398 uiContent->Foreground(); in SetUIContentInner()
1450 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in UpdateDecorEnableToAce() local
1451 if (uiContent != nullptr) { in UpdateDecorEnableToAce()
1462 uiContent->UpdateDecorVisible(decorVisible, isDecorEnable); in UpdateDecorEnableToAce()
1482 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in UpdateDecorEnable() local
1483 if (uiContent != nullptr) { in UpdateDecorEnable()
1493 uiContent->UpdateDecorVisible(decorVisible, IsDecorEnable()); in UpdateDecorEnable()
1807 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in GetContentInfo() local
1808 if (uiContent == nullptr) { in GetContentInfo()
1812 return uiContent->GetContentInfo(GetAceContentInfoType(type)); in GetContentInfo()
1854 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in OnNewWant() local
1855 if (uiContent != nullptr) { in OnNewWant()
1856 uiContent->OnNewWant(want); in OnNewWant()
1863 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in SetAPPWindowLabel() local
1864 if (uiContent == nullptr) { in SetAPPWindowLabel()
1868 uiContent->SetAppWindowTitle(label); in SetAPPWindowLabel()
1878 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in SetAPPWindowIcon() local
1879 if (uiContent == nullptr) { in SetAPPWindowIcon()
1883 uiContent->SetAppWindowIcon(icon); in SetAPPWindowIcon()
1982 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in SetDecorVisible() local
1983 if (uiContent == nullptr) { in SetDecorVisible()
1987 uiContent->SetContainerModalTitleVisible(isVisible, true); in SetDecorVisible()
2005 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in SetWindowTitleMoveEnabled() local
2006 if (uiContent == nullptr) { in SetWindowTitleMoveEnabled()
2010 uiContent->EnableContainerModalGesture(enable); in SetWindowTitleMoveEnabled()
2093 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in SetDecorHeight() local
2094 if (uiContent == nullptr) { in SetDecorHeight()
2098 uiContent->SetContainerModalTitleHeight(decorHeightWithPx); in SetDecorHeight()
2114 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in GetDecorHeight() local
2115 if (uiContent == nullptr) { in GetDecorHeight()
2119 height = uiContent->GetContainerModalTitleHeight(); in GetDecorHeight()
2155 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in GetTitleButtonArea() local
2156 if (uiContent == nullptr) { in GetTitleButtonArea()
2160 res = uiContent->GetContainerModalButtonsRect(decorRect, titleButtonLeftRect); in GetTitleButtonArea()
2193 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in GetUIContentRemoteObj() local
2194 if (uiContent == nullptr) { in GetUIContentRemoteObj()
2198 uiContentRemoteObj = uiContent->GetRemoteObj(); in GetUIContentRemoteObj()
2238 if (auto uiContent = GetUIContentSharedPtr()) { in RegisterWindowTitleButtonRectChangeListener() local
2239 uiContent->SubscribeContainerModalButtonsRectChange( in RegisterWindowTitleButtonRectChangeListener()
2280 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in UnregisterWindowTitleButtonRectChangeListener() local
2281 if (uiContent != nullptr) { in UnregisterWindowTitleButtonRectChangeListener()
2282 uiContent->SubscribeContainerModalButtonsRectChange(nullptr); in UnregisterWindowTitleButtonRectChangeListener()
2782 std::shared_ptr<Ace::UIContent> uiContent = window->GetUIContentSharedPtr(); in NotifyUIContentFocusStatus() local
2783 if (uiContent != nullptr) { in NotifyUIContentFocusStatus()
2785 isNeedKeyboard = uiContent->NeedSoftKeyboard(); in NotifyUIContentFocusStatus()
2794 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in NotifyUIContentFocusStatus() local
2795 if (uiContent != nullptr) { in NotifyUIContentFocusStatus()
2796 uiContent->SetOnWindowFocused(task); in NotifyUIContentFocusStatus()
2841 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in NotifyBeforeDestroy() local
2842 if (uiContent != nullptr) { in NotifyBeforeDestroy()
2843 uiContent->Destroy(); in NotifyBeforeDestroy()
3532 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in NotifyPointerEvent() local
3533 if (uiContent != nullptr) { in NotifyPointerEvent()
3538 if (!(uiContent->ProcessPointerEvent(pointerEvent))) { in NotifyPointerEvent()
3610 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in DispatchKeyEventCallback() local
3611 if (uiContent) { in DispatchKeyEventCallback()
3613 isConsumed = uiContent->ProcessKeyEvent(keyEvent); in DispatchKeyEventCallback()
3650 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in HandleBackEvent() local
3651 if (uiContent != nullptr) { in HandleBackEvent()
3653 isConsumed = uiContent->ProcessBackPressed(); in HandleBackEvent()
3843 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in SetBackgroundColor() local
3844 if (uiContent != nullptr) { in SetBackgroundColor()
3845 uiContent->SetBackgroundColor(color); in SetBackgroundColor()
3886 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in GetBackgroundColor() local
3887 if (uiContent != nullptr) { in GetBackgroundColor()
3888 return uiContent->GetBackgroundColor(); in GetBackgroundColor()
4076 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in NotifyTransformChange() local
4077 if (uiContent != nullptr) { in NotifyTransformChange()
4078 uiContent->UpdateTransform(transform); in NotifyTransformChange()
4172 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); in SetForceSplitEnable() local
4173 if (uiContent == nullptr) { in SetForceSplitEnable()
4179 uiContent->SetForceSplitEnable(isForceSplit, homePage); in SetForceSplitEnable()