Lines Matching refs:avoidArea
219 WMError WindowImpl::GetAvoidAreaByType(AvoidAreaType type, AvoidArea& avoidArea)
227 avoidArea = *avoidAreaPtr;
835 void WindowImpl::UpdateAvoidArea(const sptr<AvoidArea>& avoidArea, AvoidAreaType type)
837 if (!avoidArea) {
838 WLOGFE("invalid avoidArea");
845 type, avoidArea->topRect_.posX_, avoidArea->topRect_.posY_, avoidArea->topRect_.width_,
846 avoidArea->topRect_.height_, avoidArea->leftRect_.posX_, avoidArea->leftRect_.posY_,
847 avoidArea->leftRect_.width_, avoidArea->leftRect_.height_, avoidArea->rightRect_.posX_,
848 avoidArea->rightRect_.posY_, avoidArea->rightRect_.width_, avoidArea->rightRect_.height_,
849 avoidArea->bottomRect_.posX_, avoidArea->bottomRect_.posY_, avoidArea->bottomRect_.width_,
850 avoidArea->bottomRect_.height_);
854 avoidAreaMap_[type] = avoidArea;
856 NotifyAvoidAreaChange(avoidArea, type);
881 void WindowImpl::NotifyAvoidAreaChange(const sptr<AvoidArea>& avoidArea, AvoidAreaType type)
887 listener->OnAvoidAreaChanged(*avoidArea, type);