Lines Matching defs:nullptr
114 if (surfaceNode_ != nullptr) {
119 if (moveDragProperty_ == nullptr) {
128 if (option == nullptr) {
129 TLOGE(WmsLogTag::WMS_MAIN, "Init window property failed, option is nullptr.");
188 return nullptr;
202 return nullptr;
211 return nullptr;
220 return nullptr;
234 return nullptr;
248 return nullptr;
254 return nullptr;
568 if (uiContent_ != nullptr) {
608 if (ability != nullptr) {
613 if (uiContent == nullptr) {
655 // UIContent may be nullptr when show window, need to notify again when window is shown
662 auto display = SingletonContainer::IsDestroyed() ? nullptr :
664 if (display == nullptr) {
672 if (displayInfo != nullptr) {
676 uiContent_->UpdateViewportConfig(config, WindowSizeChangeReason::UNDEFINED, nullptr);
690 auto display = SingletonContainer::IsDestroyed() ? nullptr :
692 if (display == nullptr) {
705 return nullptr;
711 return nullptr;
721 return nullptr;
736 return nullptr;
746 if (uiContent_ == nullptr) {
796 if (surfaceNode_ == nullptr) {
797 TLOGE(WmsLogTag::DEFAULT, "surface node is nullptr, winId: %{public}u", GetWindowId());
809 if (surfaceNode_ == nullptr) {
810 TLOGE(WmsLogTag::DEFAULT, "surface node is nullptr, winId: %{public}u", GetWindowId());
820 return nullptr;
830 if (pixelMap != nullptr) {
833 WLOGFE("Failed to get pixelmap, return nullptr!");
847 if (uiContent_ != nullptr) {
897 if (property_ != nullptr) {
961 if ((context_ != nullptr) && (context_->GetApplicationInfo() != nullptr)) {
973 if (uiContent_ != nullptr) {
1092 if (!WindowHelper::IsAppFloatingWindow(GetType()) || context_.get() == nullptr) {
1136 if (abilityContext == nullptr) {
1141 if (abilityInfo == nullptr) {
1184 if (uiContent_ == nullptr || !IsDecorEnable()) {
1209 if (win != nullptr && win->GetType() == WindowType::WINDOW_TYPE_APP_MAIN_WINDOW &&
1249 if (vsyncStation_ == nullptr || !vsyncStation_->IsVsyncReceiverCreated()) {
1272 sptr<Window> parentWindow = nullptr;
1281 if (parentWindow == nullptr) {
1300 if ((context_ != nullptr) && (context_->GetApplicationInfo() != nullptr)) {
1339 sptr<IRemoteObject> token = context_ ? context_->GetToken() : nullptr;
1386 if (uiContent_ != nullptr) {
1397 if (originalAbilityInfo != nullptr) {
1407 if (context_ == nullptr) {
1409 return nullptr;
1413 if (abilityContext == nullptr) {
1415 return nullptr;
1439 if ((*iter) == nullptr) {
1453 if ((*iter) == nullptr) {
1469 if ((*iter) == nullptr) {
1484 if ((*iter) == nullptr) {
1499 if ((*iter) == nullptr) {
1512 if ((*iter) == nullptr) {
1525 if (vsyncStation_ != nullptr) {
1685 if (parent != nullptr && parent->GetWindowState() == WindowState::STATE_HIDDEN) {
1884 if (uiContent_ != nullptr) {
1889 if (aceAbilityHandler_ != nullptr) {
1899 if (uiContent_ != nullptr) {
1902 WLOGD("uiContent is nullptr, windowId: %{public}u, use FA mode", GetWindowId());
1903 if (aceAbilityHandler_ != nullptr) {
2217 if (fromInfo == nullptr || toInfo == nullptr) {
2222 if (abilityContext == nullptr) {
2227 if (abilityInfo == nullptr) {
2248 if (context_ != nullptr) {
2313 if (abilityContext != nullptr) {
2451 if (listener == nullptr) {
2452 WLOGFE("listener is nullptr");
2506 if (listener == nullptr) {
2507 WLOGFE("listener is nullptr");
2518 dialogDeathRecipientListener_[GetWindowId()] = nullptr;
2524 if (listener == nullptr) {
2525 WLOGFE("listener is nullptr");
2539 if (listener == nullptr) {
2676 if (handler == nullptr) {
2677 WLOGI("ace ability handler is nullptr");
2701 auto display = SingletonContainer::IsDestroyed() ? nullptr :
2703 if (display == nullptr) {
2766 if (handler_ != nullptr && reason == WindowSizeChangeReason::ROTATION) {
2804 if (inputEventConsumer != nullptr) {
2807 } else if (uiContent_ != nullptr) {
2833 if (abilityContext == nullptr) {
2873 if (inputEventConsumer != nullptr) {
2877 } else if (uiContent_ != nullptr) {
3065 auto display = SingletonContainer::IsDestroyed() ? nullptr :
3067 if (display == nullptr) {
3073 if (displayInfo == nullptr) {
3172 if (pointerEvent == nullptr) {
3173 WLOGFE("The pointer event is nullptr");
3184 if (inputEventConsumer != nullptr) {
3190 } else if (uiContent_ != nullptr) {
3224 auto display = SingletonContainer::IsDestroyed() ? nullptr :
3226 if (display == nullptr || display->GetDisplayInfo() == nullptr) {
3276 auto display = SingletonContainer::IsDestroyed() ? nullptr :
3278 if (display == nullptr) {
3326 if (property_ != nullptr) {
3348 if (vsyncStation_ != nullptr) {
3355 if (vsyncStation_ != nullptr) {
3400 if (uiContent_ != nullptr) {
3415 auto display = SingletonContainer::IsDestroyed() ? nullptr :
3417 UpdateViewportConfig(GetRect(), display, WindowSizeChangeReason::UNDEFINED, nullptr, {{type, *avoidArea}});
3426 if (uiContent_ == nullptr) {
3435 if (displayInfo != nullptr) {
3456 if (uiContent_ != nullptr) {
3467 if (abilityContext != nullptr && windowTag_ == WindowTag::MAIN_WINDOW) {
3486 if (abilityContext != nullptr && windowTag_ == WindowTag::MAIN_WINDOW) {
3501 if (abilityContext != nullptr && windowTag_ == WindowTag::MAIN_WINDOW) {
3512 if (abilityContext != nullptr && windowTag_ == WindowTag::MAIN_WINDOW &&
3543 if (parentWindow == nullptr) {
3575 if (parentWindow == nullptr) {
3648 if (listener != nullptr) {
3682 if (screenshotListener != nullptr) {
3692 if (touchOutsideListener != nullptr) {
3703 if (dialogTargetTouchListener != nullptr) {
3712 if (dialogDeathRecipientListener != nullptr) {
3742 if (surfaceNode_ == nullptr) {
3835 if (uiContent_ != nullptr) {
3837 uiContent_ = nullptr;
3848 if (uiContent != nullptr) {
3892 if (listener != nullptr) {
3902 if (listener != nullptr) {
3912 if (listener != nullptr) {
3922 if (listener != nullptr) {
3933 if (listener != nullptr) {
3946 auto display = SingletonContainer::IsDestroyed() ? nullptr :
3948 if (display == nullptr) {
4104 if (uiContent_ == nullptr) {
4115 if (icon == nullptr) {
4119 if (uiContent_ == nullptr) {
4254 surfaceNode_->SetBackgroundFilter(nullptr);
4256 auto display = SingletonContainer::IsDestroyed() ? nullptr :
4258 if (display == nullptr) {
4274 if (uiContent_ == nullptr) {