Lines Matching refs:GetWindowId
180 GetWindowName().c_str(), GetWindowId(), ++g_deConstructorCnt, static_cast<uint32_t>(surfaceNode_.use_count()));
240 mainWinId = win->GetWindowId();
350 uint32_t WindowImpl::GetWindowId() const
352 return property_->GetWindowId();
392 uint32_t windowId = property_->GetWindowId();
396 static_cast<int32_t>(ret), property_->GetWindowId(), static_cast<uint32_t>(type));
403 WLOGFD("window id: %{public}u, type:%{public}u.", property_->GetWindowId(), static_cast<uint32_t>(type));
430 WLOGI("Window %{public}u mode %{public}u", property_->GetWindowId(), static_cast<uint32_t>(mode));
436 property_->GetWindowId(), static_cast<uint32_t>(mode));
454 WLOGFE("set window mode filed! id: %{public}u.", property_->GetWindowId());
462 WLOGI("Window %{public}u alpha %{public}f", property_->GetWindowId(), alpha);
478 WLOGI("Window %{public}u", property_->GetWindowId());
487 static_cast<int32_t>(ret), property_->GetWindowId());
514 WLOGFE("Only support add show when locked when window create, id: %{public}u", property_->GetWindowId());
531 WLOGFE("Only support remove show when locked when window create, id: %{public}u", property_->GetWindowId());
544 WLOGI("Window %{public}u flags %{public}u", property_->GetWindowId(), flags);
559 static_cast<int32_t>(ret), property_->GetWindowId());
567 WLOGI("Window [name:%{public}s, id:%{public}u]", name_.c_str(), property_->GetWindowId());
614 WLOGFE("fail to NapiSetUIContent id: %{public}u", property_->GetWindowId());
666 property_->GetWindowId());
694 property_->GetDisplayId(), property_->GetWindowId());
747 WLOGFE("fail to GetContentInfo id: %{public}u", property_->GetWindowId());
797 TLOGE(WmsLogTag::DEFAULT, "surface node is nullptr, winId: %{public}u", GetWindowId());
810 TLOGE(WmsLogTag::DEFAULT, "surface node is nullptr, winId: %{public}u", GetWindowId());
828 pixelMap = SingletonContainer::Get<WindowAdapter>().GetSnapshot(property_->GetWindowId());
856 property_->GetWindowId(), static_cast<uint32_t>(type), property.enable_,
871 static_cast<int32_t>(ret), property_->GetWindowId());
889 GetWindowId(), GetWindowName().c_str(), current.contentColor_);
898 WLOGI("Window:%{public}u", GetWindowId());
915 static_cast<int32_t>(WMError::WM_ERROR_INVALID_WINDOW), property_->GetWindowId());
946 static_cast<int32_t>(ret), property_->GetWindowId());
953 WLOGI("Window %{public}u status: %{public}u", property_->GetWindowId(), status);
956 WLOGFE("invalid window or fullscreen mode is not be supported, winId:%{public}u", property_->GetWindowId());
967 static_cast<int32_t>(ret), property_->GetWindowId());
982 static_cast<int32_t>(ret), property_->GetWindowId());
989 static_cast<int32_t>(ret), property_->GetWindowId());
1000 WLOGI("Window %{public}u status: %{public}d", property_->GetWindowId(), status);
1003 WLOGFE("invalid window or fullscreen mode is not be supported, winId:%{public}u", property_->GetWindowId());
1009 static_cast<int32_t>(ret), property_->GetWindowId());
1014 static_cast<int32_t>(ret), property_->GetWindowId());
1021 WLOGFI("id:%{public}d SetFloatingMaximize status: %{public}d", property_->GetWindowId(), isEnter);
1024 WLOGFE("invalid window or maximize mode is not be supported, winId:%{public}u", property_->GetWindowId());
1048 WLOGFI("windowId: %{public}u, ratio: %{public}f", GetWindowId(), ratio);
1050 WLOGFE("Invalid operation, windowId: %{public}u", GetWindowId());
1059 WLOGFD("window is hidden or created! id: %{public}u, ratio: %{public}f ", property_->GetWindowId(), ratio);
1076 WLOGFI("windowId: %{public}u", GetWindowId());
1078 WLOGFE("Invalid operation, windowId: %{public}u", GetWindowId());
1083 WLOGFD("window is hidden or created! id: %{public}u", property_->GetWindowId());
1102 appFloatingWindowMap_[win->GetWindowId()].push_back(selfImpl);
1104 GetWindowId(), win->GetWindowId(), GetType());
1121 appDialogWindowMap_[win->GetWindowId()].push_back(selfImpl);
1122 WLOGFD("Map DialogWindow %{public}u to AppMainWindow %{public}u", GetWindowId(), win->GetWindowId());
1137 WLOGFE("id:%{public}u is not ability Window", property_->GetWindowId());
1142 WLOGFE("id:%{public}u Ability window get ability info failed", property_->GetWindowId());
1152 WLOGFD("winId: %{public}u, modeSupportInfo: %{public}u", GetWindowId(), modeSupportInfo);
1170 WLOGFE("id:%{public}u Do not support this Orientation type", property_->GetWindowId());
1425 uint32_t windowId = property_->GetWindowId();
1442 if ((*iter)->GetWindowId() == GetWindowId()) {
1450 if (appDialogWindowMap_.count(GetWindowId()) > 0) {
1451 auto& dialogWindows = appDialogWindowMap_.at(GetWindowId());
1459 appDialogWindowMap_.erase(GetWindowId());
1472 if ((*iter)->GetWindowId() == GetWindowId()) {
1481 if (appFloatingWindowMap_.count(GetWindowId()) > 0) {
1482 auto& floatingWindows = appFloatingWindowMap_.at(GetWindowId());
1490 appFloatingWindowMap_.erase(GetWindowId());
1502 if ((*iter)->GetWindowId() == GetWindowId()) {
1509 if (subWindowMap_.count(GetWindowId()) > 0) { // remove from subWindowMap_ and windowMap_
1510 auto& subWindows = subWindowMap_.at(GetWindowId());
1518 subWindowMap_[GetWindowId()].clear();
1519 subWindowMap_.erase(GetWindowId());
1541 WLOGI("Window %{public}u Destroy", property_->GetWindowId());
1545 if (subWindowMap_.count(GetWindowId()) > 0) {
1546 for (auto& subWindow : subWindowMap_.at(GetWindowId())) {
1550 ret = SingletonContainer::Get<WindowAdapter>().DestroyWindow(property_->GetWindowId());
1563 InputTransferStation::GetInstance().RemoveInputWindow(property_->GetWindowId());
1567 ClearListenersById(GetWindowId());
1590 property_->GetWindowId(), GetModeSupportInfo(), GetMode());
1599 property_->GetWindowId(), isAdd);
1614 ret = SingletonContainer::Get<WindowAdapter>().UpdateRsTree(property_->GetWindowId(), isAdd);
1645 WLOGFE("window is frozen, can not be shown, windowId: %{public}u", property_->GetWindowId());
1665 "withAnimation:%{public}d", name_.c_str(), property_->GetWindowId(), GetMode(), reason, withAnimation);
1680 WLOGI("window is already shown id: %{public}u", property_->GetWindowId());
1681 SingletonContainer::Get<WindowAdapter>().ProcessPointDown(property_->GetWindowId(), false);
1706 WLOGFE("show window id:%{public}u errCode:%{public}d", property_->GetWindowId(), static_cast<int32_t>(ret));
1720 property_->GetWindowId(), reason, withAnimation);
1733 WLOGI("already hidden, id: %{public}u", property_->GetWindowId());
1747 ret = SingletonContainer::Get<WindowAdapter>().RemoveWindow(property_->GetWindowId(), isFromInnerkits);
1750 WLOGFE("hide errCode:%{public}d for winId:%{public}u", static_cast<int32_t>(ret), property_->GetWindowId());
1766 property_->GetWindowId(), x, y);
1780 "movePos: [%{public}d, %{public}d]", property_->GetWindowId(), rect.posX_, rect.posY_, x, y);
1786 WLOGFE("fullscreen window could not moveto, winId: %{public}u", GetWindowId());
1796 property_->GetWindowId(), width, height);
1811 "resizeRect: [%{public}u, %{public}u]", property_->GetWindowId(), rect.width_,
1818 WLOGFE("fullscreen window could not resize, winId: %{public}u", GetWindowId());
1828 property_->GetWindowId(), gravity, percent);
1830 return SingletonContainer::Get<WindowAdapter>().SetWindowGravity(property_->GetWindowId(), gravity, percent);
1888 WLOGI("ace is null, Id: %{public}u", GetWindowId());
1893 WLOGFE("FA mode could not set bg color: %{public}u", GetWindowId());
1902 WLOGD("uiContent is nullptr, windowId: %{public}u, use FA mode", GetWindowId());
1906 WLOGFE("FA mode does not get bg color: %{public}u", GetWindowId());
1999 << ", id:" << GetWindowId() << ", event: " << TransferLifeCycleEventToString(event)
2043 WLOGFD("id : %{public}u, SetPrivacyMode, %{public}u", GetWindowId(), isPrivacyMode);
2058 WLOGFD("id : %{public}u, SetSystemPrivacyMode, %{public}u", GetWindowId(), isSystemPrivacyMode);
2075 GetWindowId(), isSkip, property_->GetSystemPrivacyMode(), ret);
2103 return SingletonContainer::Get<WindowAdapter>().RaiseToAppTop(GetWindowId());
2135 WLOGI("id: %{public}u Maximize", property_->GetWindowId());
2149 WLOGI("id: %{public}u MaximizeFloating", property_->GetWindowId());
2163 WLOGI("id: %{public}u SetGlobalMaximizeMode: %{public}u", property_->GetWindowId(),
2185 property_->GetWindowId(), static_cast<uint32_t>(enable));
2189 property_->GetWindowId());
2223 WLOGFE("id:%{public}d is not ability Window", property_->GetWindowId());
2243 WLOGI("id: %{public}u Minimize", property_->GetWindowId());
2263 WLOGI("id: %{public}u Normalize", property_->GetWindowId());
2280 WLOGI("id: %{public}u Close", property_->GetWindowId());
2324 return SingletonContainer::Get<WindowAdapter>().RequestFocus(property_->GetWindowId());
2337 return RegisterListener(lifecycleListeners_[GetWindowId()], listener);
2344 return UnregisterListener(lifecycleListeners_[GetWindowId()], listener);
2351 return RegisterListener(windowChangeListeners_[GetWindowId()], listener);
2358 return UnregisterListener(windowChangeListeners_[GetWindowId()], listener);
2365 WMError ret = RegisterListener(avoidAreaChangeListeners_[GetWindowId()], listener);
2366 if (avoidAreaChangeListeners_[GetWindowId()].size() == 1) {
2367 SingletonContainer::Get<WindowAdapter>().UpdateAvoidAreaListener(property_->GetWindowId(), true);
2376 WMError ret = UnregisterListener(avoidAreaChangeListeners_[GetWindowId()], listener);
2377 if (avoidAreaChangeListeners_[GetWindowId()].empty()) {
2378 SingletonContainer::Get<WindowAdapter>().UpdateAvoidAreaListener(property_->GetWindowId(), false);
2421 return RegisterListener(occupiedAreaChangeListeners_[GetWindowId()], listener);
2428 return UnregisterListener(occupiedAreaChangeListeners_[GetWindowId()], listener);
2435 return RegisterListener(touchOutsideListeners_[GetWindowId()], listener);
2442 return UnregisterListener(touchOutsideListeners_[GetWindowId()], listener);
2479 return RegisterListener(screenshotListeners_[GetWindowId()], listener);
2486 return UnregisterListener(screenshotListeners_[GetWindowId()], listener);
2493 return RegisterListener(dialogTargetTouchListeners_[GetWindowId()], listener);
2500 return UnregisterListener(dialogTargetTouchListeners_[GetWindowId()], listener);
2511 dialogDeathRecipientListener_[GetWindowId()] = listener;
2518 dialogDeathRecipientListener_[GetWindowId()] = nullptr;
2556 for (auto &listener : lifecycleListeners_[GetWindowId()]) {
2569 for (auto &listener : windowChangeListeners_[GetWindowId()]) {
2582 for (auto &listener : avoidAreaChangeListeners_[GetWindowId()]) {
2608 for (auto &listener : screenshotListeners_[GetWindowId()]) {
2621 for (auto &listener : touchOutsideListeners_[GetWindowId()]) {
2634 for (auto &listener : dialogTargetTouchListeners_[GetWindowId()]) {
2660 for (auto &listener : occupiedAreaChangeListeners_[GetWindowId()]) {
2671 return dialogDeathRecipientListener_[GetWindowId()];
2705 property_->GetWindowId());
2723 property_->GetWindowId(), rect.posX_, rect.posY_, rect.width_, rect.height_, reason);
2789 WLOGFD("modeSupportInfo: %{public}u, winId: %{public}u", modeSupportInfo, GetWindowId());
2842 window->property_->GetWindowId(), needMoveToBackground);
2853 window->property_->GetWindowId(), static_cast<uint32_t>(shouldTerminateAbility));
2896 WLOGFI("DispatchKeyEvent: %{public}u", GetWindowId());
2897 SingletonContainer::Get<WindowAdapter>().DispatchKeyEvent(GetWindowId(), keyEvent);
2914 WLOGD("[HotZone] Window %{public}u, Pointer[%{public}d, %{public}d]", GetWindowId(), posX, posY);
3025 WLOGE("[StartMove] current window can not be moved, windowId %{public}u", GetWindowId());
3033 SingletonContainer::Get<WindowAdapter>().NotifyServerReadyToMoveOrDrag(property_->GetWindowId(),
3035 WLOGI("[StartMove] windowId %{public}u", GetWindowId());
3069 moveDragProperty_->targetDisplayId_, property_->GetWindowId());
3075 moveDragProperty_->targetDisplayId_, property_->GetWindowId());
3086 SingletonContainer::Get<WindowAdapter>().NotifyServerReadyToMoveOrDrag(property_->GetWindowId(),
3092 SingletonContainer::Get<WindowAdapter>().NotifyServerReadyToMoveOrDrag(property_->GetWindowId(),
3105 SingletonContainer::Get<WindowAdapter>().ProcessPointUp(GetWindowId());
3110 SingletonContainer::Get<WindowAdapter>().ProcessPointUp(GetWindowId());
3145 "%{public}u]", GetWindowId(), pointId, sourceType, moveDragProperty_->pointEventStarted_,
3156 "startMove: %{public}d, startDrag: %{public}d", GetWindowId(), action, sourceType,
3197 WLOGFW("pointerEvent is not consumed, windowId: %{public}u", GetWindowId());
3228 property_->GetDisplayId(), property_->GetWindowId());
3312 WLOGFD("WMS process point down, id:%{public}u, action: %{public}d", GetWindowId(), action);
3327 SingletonContainer::Get<WindowAdapter>().ProcessPointDown(property_->GetWindowId());
3368 WLOGFD("IsFocused: %{public}d, id: %{public}u", focused, property_->GetWindowId());
3401 WLOGFD("notify ace winId:%{public}u", GetWindowId());
3404 if (subWindowMap_.count(GetWindowId()) == 0) {
3407 for (auto& subWindow : subWindowMap_.at(GetWindowId())) {
3414 WLOGI("Update AvoidArea, id: %{public}u", property_->GetWindowId());
3441 property_->GetWindowId(), rect.posX_, rect.posY_, rect.width_, rect.height_);
3468 WLOGFD("DoAbilityForeground KEYGUARD, id: %{public}u", GetWindowId());
3479 WLOGFI("id: %{public}u, State to set:%{public}u", GetWindowId(), state);
3487 WLOGFD("DoAbilityBackground KEYGUARD, id: %{public}u", GetWindowId());
3502 WLOGFD("WindowState::STATE_SHOWN, id: %{public}u", GetWindowId());
3514 WLOGFD("WindowState: STATE_SHOWN, id: %{public}u", GetWindowId());
3535 UpdateSubWindowStateAndNotify(GetWindowId());
3567 UpdateSubWindowStateAndNotify(GetWindowId());
3656 WLOGFD("update displayId. win %{public}u", GetWindowId());
3664 WLOGFD("Update OccupiedArea, id: %{public}u", property_->GetWindowId());
3670 WLOGFD("window active status: %{public}d, id: %{public}u", isActive, property_->GetWindowId());
3700 SingletonContainer::Get<WindowAdapter>().ProcessPointDown(property_->GetWindowId());
3950 property_->GetWindowId());
4036 WLOGW("already destroyed or not created! id: %{public}u", GetWindowId());
4260 property_->GetWindowId());
4272 WLOGFD("id: %{public}u, notify memory level: %{public}d", property_->GetWindowId(), level);