Lines Matching defs:nullptr
127 if (listener != nullptr) { \
136 if (listener != nullptr) { \
145 if (uiContent != nullptr) { \
152 if ((hostSession) == nullptr) { \
160 if ((hostSession) == nullptr) { \
198 if (surfaceNode_ != nullptr) {
219 if (IsPcOrPadCapabilityEnabled() && windowOption_ != nullptr) {
292 bool res = ((GetHostSession() == nullptr) || (GetPersistentId() == INVALID_SESSION_ID) ||
360 if (IsWindowSessionInvalid() || surfaceNode_ == nullptr) {
370 if (IsWindowSessionInvalid() || surfaceNode_ == nullptr) {
380 if (vsyncStation_ == nullptr || !vsyncStation_->IsVsyncReceiverCreated()) {
431 sptr<IRemoteObject> token = context_ ? context_->GetToken() : nullptr;
483 if (subwindow != nullptr && subwindow->GetWindowState() == WindowState::STATE_SHOWN) {
493 if (subwindow != nullptr && subwindow->GetWindowState() == WindowState::STATE_HIDDEN &&
562 if (extensionWindow != nullptr) {
573 if (subWindow == nullptr) {
591 if (subWindow == nullptr) {
592 TLOGW(WmsLogTag::WMS_SUB, "Destroy sub window which is nullptr");
630 hostSession_ = nullptr;
679 wmReason, config.rsTransaction_ != nullptr, config.animationDuration_,
683 wmRect.posX_, wmRect.posY_, wmRect.width_, wmRect.height_, wmReason, config.rsTransaction_ != nullptr);
684 if (handler_ != nullptr && wmReason == WindowSizeChangeReason::ROTATION) {
758 if (handler_ == nullptr) {
793 if (uiContent == nullptr) {
799 if (handler_ == nullptr) {
871 if (context_ == nullptr) {
872 return nullptr;
883 return nullptr;
888 if (context_ == nullptr) {
889 return nullptr;
897 return nullptr;
1017 if (display == nullptr) {
1022 if (displayInfo == nullptr) {
1043 if (info == nullptr) {
1045 if (display == nullptr) {
1053 if (displayInfo == nullptr) {
1076 if (uiContent == nullptr) {
1107 if (context_.get() == nullptr) {
1130 if (uiContent == nullptr || !IsDecorEnable()) {
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());
1250 if (window == nullptr) {
1306 if ((context_ != nullptr) && (context_->GetApplicationInfo() != nullptr)) {
1322 // UIContent may be nullptr on setting system bar properties, need to set menubar color on UIContent init.
1330 // UIContent may be nullptr when show window, need to notify again when window is shown
1338 // uiContent may be nullptr when notify focus status, need to notify again when uiContent is not empty.
1358 return nullptr;
1364 return nullptr;
1374 return nullptr;
1402 if (listener.GetRefPtr() != nullptr) {
1437 if (listener.GetRefPtr() != nullptr) {
1622 if (surfaceNode_ == nullptr) {
1623 WLOGE("The surface node is nullptr");
1714 if (uiContent == nullptr) {
1748 if (targetWindow == nullptr) {
1750 return nullptr;
1767 if (uiContent == nullptr) {
1778 if (icon == nullptr) {
1783 if (uiContent == nullptr) {
1883 if (uiContent == nullptr) {
1933 if (display == nullptr) {
1938 if (displayInfo == nullptr) {
1945 if (uiContent == nullptr) {
1964 if (uiContent == nullptr) {
1975 if (display == nullptr) {
1980 if (displayInfo == nullptr) {
2003 if (uiContent == nullptr) {
2014 if (display == nullptr) {
2019 if (displayInfo == nullptr) {
2040 if (uiContent == nullptr) {
2041 TLOGE(WmsLogTag::DEFAULT, "uiContent is nullptr");
2056 if (listener == nullptr) {
2070 if (display == nullptr) {
2075 if (displayInfo == nullptr) {
2114 if (listener == nullptr) {
2115 WLOGFE("listener is nullptr");
2127 uiContent->SubscribeContainerModalButtonsRectChange(nullptr);
2148 if (listener != nullptr) {
2173 if (hostSession != nullptr && ret == WMError::WM_OK) {
2190 if (hostSession != nullptr && windowRectChangeListenersEmpty) {
2206 if (listener == nullptr) {
2221 if (listener == nullptr) {
2230 subWindowCloseListeners_[GetPersistentId()] = nullptr;
2247 if (listener == nullptr) {
2269 if (listener == nullptr) {
2282 mainWindowCloseListeners_[GetPersistentId()] = nullptr;
2299 if (listener == nullptr) {
2300 WLOGFE("listener is nullptr");
2314 if (listener == nullptr) {
2397 if (listener == nullptr) {
2412 if (listener == nullptr) {
2515 if (vsyncStation_ != nullptr) {
2536 if (GetUIContentSharedPtr() == nullptr || !IsDecorEnable()) {
2602 if (vsyncStation_ != nullptr) {
2626 if (vsyncStation_ != nullptr) {
2682 if (GetUIContentSharedPtr() != nullptr) {
2693 if (GetUIContentSharedPtr() == nullptr) {
2724 if (uiContent_ != nullptr) {
2725 uiContent_ = nullptr;
2807 if (listener == nullptr) {
2827 if (listener == nullptr) {
2828 WLOGFE("listener is nullptr");
2895 if (listener != nullptr) {
2923 if (listener != nullptr) {
2948 if (listener != nullptr) {
2959 if (listener != nullptr) {
2972 if (listener != nullptr) {
2981 if (listener != nullptr) {
2993 if (subWindowCloseListeners != nullptr) {
3002 if (mainWindowCloseListener != nullptr) {
3014 if (listener != nullptr) {
3024 if (listener == nullptr) {
3051 if (listener == nullptr) {
3109 if (listener != nullptr) {
3128 UpdateViewportConfig(GetRect(), WindowSizeChangeReason::UNDEFINED, nullptr, nullptr, {{type, *avoidArea}});
3161 if (listener == nullptr) {
3190 if (listener == nullptr) {
3229 if (listener != nullptr) {
3329 if (listener != nullptr) {
3338 if (listener == nullptr) {
3352 TLOGE(WmsLogTag::WMS_INPUT_KEY_FLOW, "Pointer event is nullptr");
3361 if (inputEventConsumer != nullptr) {
3401 keyEventFilter_ = nullptr;
3408 if (keyEventFilter_ != nullptr) {
3431 if (inputEventConsumer != nullptr) {
3445 if (inputEventConsumer != nullptr) {
3481 if (inputEventConsumer != nullptr) {
3484 if (backKeyEvent == nullptr) {
3506 if (handler_ == nullptr) {
3507 WLOGFE("HandleBackEvent handler_ is nullptr!");
3514 if (weakSession == nullptr) {
3515 WLOGFE("HandleBackEvent session wptr is nullptr");
3530 if (keyEvent == nullptr) {
3531 WLOGFE("keyEvent is nullptr");
3540 if (keyEvent == nullptr) {
3551 if (promoteThis == nullptr) {
3552 WLOGFW("promoteThis is nullptr");
3584 if (vsyncStation_ == nullptr) {
3593 if (vsyncStation_ == nullptr) {
3602 if (vsyncStation_ == nullptr) {
3628 return nullptr;
3635 if (handler == nullptr) {
3636 WLOGE("ace ability handler is nullptr");
3666 if ((context_ != nullptr) && (context_->GetApplicationInfo() != nullptr)) {
3681 if (aceAbilityHandler_ != nullptr) {
3694 return nullptr;
3703 return nullptr;
3721 if (aceAbilityHandler_ != nullptr) {
3761 if (listener != nullptr) {
3764 (WindowHelper::IsSubWindow(GetType()) && FindWindowById(GetParentId()) != nullptr &&
3781 ", occupied rect: x %{public}u, y %{public}u, w %{public}u, h %{public}u", rsTransaction != nullptr,
3783 if (handler_ == nullptr) {
3784 TLOGE(WmsLogTag::WMS_KEYBOARD, "handler is nullptr");
3790 TLOGE(WmsLogTag::WMS_KEYBOARD, "window is nullptr, notify occupied area change info failed");
3914 if (listener != nullptr) {
3933 if (session == nullptr) {
4009 if (vsyncStation_ == nullptr) {
4030 if (uiContent == nullptr) {
4080 if (window == nullptr) {
4081 TLOGI(WmsLogTag::WMS_LIFE, "window is nullptr");
4116 if (extWindow != nullptr) {
4123 if (mainWindow != nullptr) {