• Home
  • Raw
  • Download

Lines Matching refs:windowId

36     const std::shared_ptr<RSSurfaceNode>& surfaceNode, uint32_t& windowId)  in CreateWindow()  argument
43 windowId = GenWindowId(); in CreateWindow()
45 windowProperty->SetWindowId(windowId); in CreateWindow()
51 …rror WindowController::SaveAbilityToken(const sptr<IRemoteObject>& abilityToken, uint32_t windowId) in SaveAbilityToken() argument
53 auto node = windowRoot_->GetWindowNode(windowId); in SaveAbilityToken()
150 WMError WindowController::RemoveWindowNode(uint32_t windowId) in RemoveWindowNode() argument
152 WMError res = windowRoot_->RemoveWindowNode(windowId); in RemoveWindowNode()
157 FlushWindowInfo(windowId); in RemoveWindowNode()
161 WMError WindowController::DestroyWindow(uint32_t windowId, bool onlySelf) in DestroyWindow() argument
164 auto node = windowRoot_->GetWindowNode(windowId); in DestroyWindow()
168 WMError res = windowRoot_->DestroyWindow(windowId, onlySelf); in DestroyWindow()
177 WMError WindowController::ResizeRect(uint32_t windowId, const Rect& rect, WindowSizeChangeReason re… in ResizeRect() argument
179 auto node = windowRoot_->GetWindowNode(windowId); in ResizeRect()
215 WMError res = windowRoot_->UpdateWindowNode(windowId, WindowUpdateReason::UPDATE_RECT); in ResizeRect()
219 FlushWindowInfo(windowId); in ResizeRect()
223 WMError WindowController::RequestFocus(uint32_t windowId) in RequestFocus() argument
228 return windowRoot_->RequestFocus(windowId); in RequestFocus()
231 WMError WindowController::SetWindowMode(uint32_t windowId, WindowMode dstMode) in SetWindowMode() argument
234 auto node = windowRoot_->GetWindowNode(windowId); in SetWindowMode()
274 res = windowRoot_->UpdateWindowNode(windowId, WindowUpdateReason::UPDATE_MODE); in SetWindowMode()
280 FlushWindowInfo(windowId); in SetWindowMode()
284 WMError WindowController::SetWindowBackgroundBlur(uint32_t windowId, WindowBlurLevel dstLevel) in SetWindowBackgroundBlur() argument
286 auto node = windowRoot_->GetWindowNode(windowId); in SetWindowBackgroundBlur()
294 FlushWindowInfo(windowId); in SetWindowBackgroundBlur()
298 WMError WindowController::SetAlpha(uint32_t windowId, float dstAlpha) in SetAlpha() argument
300 auto node = windowRoot_->GetWindowNode(windowId); in SetAlpha()
309 FlushWindowInfo(windowId); in SetAlpha()
405 WMError WindowController::SetWindowType(uint32_t windowId, WindowType type) in SetWindowType() argument
407 auto node = windowRoot_->GetWindowNode(windowId); in SetWindowType()
415 WMError res = windowRoot_->UpdateWindowNode(windowId, WindowUpdateReason::UPDATE_TYPE); in SetWindowType()
419 FlushWindowInfo(windowId); in SetWindowType()
424 WMError WindowController::SetWindowFlags(uint32_t windowId, uint32_t flags) in SetWindowFlags() argument
426 auto node = windowRoot_->GetWindowNode(windowId); in SetWindowFlags()
433 WMError res = windowRoot_->UpdateWindowNode(windowId, WindowUpdateReason::UPDATE_FLAGS); in SetWindowFlags()
437 FlushWindowInfo(windowId); in SetWindowFlags()
442 WMError WindowController::SetSystemBarProperty(uint32_t windowId, WindowType type, const SystemBarP… in SetSystemBarProperty() argument
444 auto node = windowRoot_->GetWindowNode(windowId); in SetSystemBarProperty()
450 WMError res = windowRoot_->UpdateWindowNode(windowId, WindowUpdateReason::UPDATE_OTHER_PROPS); in SetSystemBarProperty()
454 FlushWindowInfo(windowId); in SetSystemBarProperty()
464 std::vector<Rect> WindowController::GetAvoidAreaByType(uint32_t windowId, AvoidAreaType avoidAreaTy… in GetAvoidAreaByType() argument
466 std::vector<Rect> avoidArea = windowRoot_->GetAvoidAreaByType(windowId, avoidAreaType); in GetAvoidAreaByType()
470 WMError WindowController::ProcessPointDown(uint32_t windowId, bool isStartDrag) in ProcessPointDown() argument
472 auto node = windowRoot_->GetWindowNode(windowId); in ProcessPointDown()
478 … WLOGFE("this window is not visibile and not in window tree, windowId: %{public}u", windowId); in ProcessPointDown()
483 … WMError res = windowRoot_->UpdateSizeChangeReason(windowId, WindowSizeChangeReason::DRAG_START); in ProcessPointDown()
487 WLOGFI("process point down, windowId: %{public}u", windowId); in ProcessPointDown()
489 WMError focusRes = windowRoot_->RequestFocus(windowId); in ProcessPointDown()
490 windowRoot_->RequestActiveWindow(windowId); in ProcessPointDown()
492 FlushWindowInfo(windowId); in ProcessPointDown()
500 WMError WindowController::ProcessPointUp(uint32_t windowId) in ProcessPointUp() argument
502 auto node = windowRoot_->GetWindowNode(windowId); in ProcessPointUp()
507 WMError res = windowRoot_->UpdateSizeChangeReason(windowId, WindowSizeChangeReason::DRAG_END); in ProcessPointUp()
519 WMError WindowController::MaxmizeWindow(uint32_t windowId) in MaxmizeWindow() argument
521 WMError ret = SetWindowMode(windowId, WindowMode::WINDOW_MODE_FULLSCREEN); in MaxmizeWindow()
525 ret = windowRoot_->MaxmizeWindow(windowId); in MaxmizeWindow()
526 FlushWindowInfo(windowId); in MaxmizeWindow()
535 void WindowController::FlushWindowInfo(uint32_t windowId) in FlushWindowInfo() argument
539 inputWindowMonitor_->UpdateInputWindow(windowId); in FlushWindowInfo()
557 uint32_t windowId = node->GetWindowProperty()->GetWindowId(); in UpdateWindowAnimation() local
558 WLOGFI("windowId: %{public}u, animationFlag: %{public}u", windowId, animationFlag); in UpdateWindowAnimation()
584 uint32_t windowId = property->GetWindowId(); in UpdateProperty() local
585 auto node = windowRoot_->GetWindowNode(windowId); in UpdateProperty()
594 ResizeRect(windowId, property->GetWindowRect(), property->GetWindowSizeChangeReason()); in UpdateProperty()
598 SetWindowMode(windowId, property->GetWindowMode()); in UpdateProperty()
602 SetWindowFlags(windowId, property->GetWindowFlags()); in UpdateProperty()
608 SetSystemBarProperty(windowId, iter.first, iter.second); in UpdateProperty()
614 windowRoot_->UpdateFocusableProperty(windowId); in UpdateProperty()
615 FlushWindowInfo(windowId); in UpdateProperty()
620 FlushWindowInfo(windowId); in UpdateProperty()