Lines Matching refs:uiContent
144 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); \
145 if (uiContent != nullptr) { \
146 uiContent->uiContentCb(); \
456 if (auto uiContent = GetUIContentSharedPtr()) {
457 return uiContent->ProcessKeyEvent(keyEvent, true);
792 std::shared_ptr<Ace::UIContent> uiContent = window->GetUIContentSharedPtr();
793 if (uiContent == nullptr) {
794 WLOGFW("uiContent is null!");
797 uiContent->NotifyRotationAnimationEnd();
1075 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
1076 if (uiContent == nullptr) {
1077 WLOGFW("uiContent is null!");
1092 uiContent->UpdateViewportConfig(config, reason, rsTransaction, avoidAreasToUpdate);
1129 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
1130 if (uiContent == nullptr || !IsDecorEnable()) {
1139 uiContent->HideWindowTitleButton(true, true, true, false);
1156 uiContent->HideWindowTitleButton(true, false, hideMinimizeButton, hideCloseButton);
1158 uiContent->HideWindowTitleButton(hideSplitButton, hideMaximizeButton, hideMinimizeButton, hideCloseButton);
1186 if (auto uiContent = GetUIContentSharedPtr()) {
1187 uiContent->Destroy();
1196 std::unique_ptr<Ace::UIContent> uiContent = ability != nullptr ? Ace::UIContent::Create(ability) :
1198 if (uiContent == nullptr) {
1199 TLOGE(WmsLogTag::WMS_LIFE, "uiContent nullptr id: %{public}d", GetPersistentId());
1207 uiContent->SetUIExtensionSubWindow(true);
1208 uiContent->SetUIExtensionAbilityProcess(true);
1213 uiContent->Restore(this, routerStack, storage, type) == Ace::UIContentErrorCode::NO_ERRORS) {
1218 aceRet = uiContent->Initialize(this, contentInfo, storage);
1222 aceRet = uiContent->Restore(this, contentInfo, storage, GetAceContentInfoType(restoreType));
1225 aceRet = uiContent->InitializeByName(this, contentInfo, storage);
1229 aceRet = uiContent->Initialize(this, abcContent, storage);
1232 // make uiContent available after Initialize/Restore
1235 uiContent_ = std::move(uiContent);
1323 if (auto uiContent = GetUIContentSharedPtr()) {
1325 uiContent->SetStatusBarItemColor(property.contentColor_);
1331 if (auto uiContent = GetUIContentSharedPtr()) {
1332 uiContent->Foreground();
1338 // uiContent may be nullptr when notify focus status, need to notify again when uiContent is not empty.
1384 if (auto uiContent = GetUIContentSharedPtr()) {
1395 uiContent->UpdateDecorVisible(decorVisible, isDecorEnable);
1414 if (auto uiContent = GetUIContentSharedPtr()) {
1424 uiContent->UpdateDecorVisible(decorVisible, IsDecorEnable());
1713 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
1714 if (uiContent == nullptr) {
1718 return uiContent->GetContentInfo(GetAceContentInfoType(type));
1759 if (auto uiContent = GetUIContentSharedPtr()) {
1760 uiContent->OnNewWant(want);
1766 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
1767 if (uiContent == nullptr) {
1771 uiContent->SetAppWindowTitle(label);
1782 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
1783 if (uiContent == nullptr) {
1787 uiContent->SetAppWindowIcon(icon);
1882 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
1883 if (uiContent == nullptr) {
1887 uiContent->SetContainerModalTitleVisible(isVisible, true);
1944 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
1945 if (uiContent == nullptr) {
1949 uiContent->SetContainerModalTitleHeight(decorHeightWithPx);
1963 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
1964 if (uiContent == nullptr) {
1965 WLOGFE("uiContent is null, windowId: %{public}u", GetWindowId());
1968 height = uiContent->GetContainerModalTitleHeight();
2002 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
2003 if (uiContent == nullptr) {
2007 res = uiContent->GetContainerModalButtonsRect(decorRect, titleButtonLeftRect);
2039 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
2040 if (uiContent == nullptr) {
2041 TLOGE(WmsLogTag::DEFAULT, "uiContent is nullptr");
2044 uiContentRemoteObj = uiContent->GetRemoteObj();
2084 if (auto uiContent = GetUIContentSharedPtr()) {
2085 uiContent->SubscribeContainerModalButtonsRectChange(
2126 if (auto uiContent = GetUIContentSharedPtr()) {
2127 uiContent->SubscribeContainerModalButtonsRectChange(nullptr);
2585 if (auto uiContent = GetUIContentSharedPtr()) {
2586 uiContent->SetWindowContainerColor(activeColorValue, inactiveColorValue);
2664 if (auto uiContent = window->GetUIContentSharedPtr()) {
2666 isNeedKeyboard = uiContent->NeedSoftKeyboard();
2674 if (auto uiContent = GetUIContentSharedPtr()) {
2675 uiContent->SetOnWindowFocused(task);
2719 if (auto uiContent = GetUIContentSharedPtr()) {
2720 uiContent->Destroy();
2726 TLOGD(WmsLogTag::WMS_LIFE, "NotifyBeforeDestroy: uiContent destroy success, persistentId:%{public}d",
3374 if (auto uiContent = GetUIContentSharedPtr()) {
3379 if (!uiContent->ProcessPointerEvent(pointerEvent)) {
3453 if (auto uiContent = GetUIContentSharedPtr()) {
3455 isConsumed = uiContent->ProcessKeyEvent(keyEvent);
3492 if (auto uiContent = GetUIContentSharedPtr()) {
3493 WLOGFD("Transfer back event to uiContent");
3494 isConsumed = uiContent->ProcessBackPressed();
3676 if (auto uiContent = GetUIContentSharedPtr()) {
3677 uiContent->SetBackgroundColor(color);
3717 if (auto uiContent = GetUIContentSharedPtr()) {
3718 return uiContent->GetBackgroundColor();
3720 WLOGD("uiContent is null, windowId: %{public}u, use FA mode", GetWindowId());
3923 if (auto uiContent = GetUIContentSharedPtr()) {
3924 uiContent->UpdateTransform(transform);
4029 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
4030 if (uiContent == nullptr) {
4031 TLOGE(WmsLogTag::DEFAULT, "uiContent is null!");
4036 uiContent->SetForceSplitEnable(isForceSplit, homePage);