Home
last modified time | relevance | path

Searched refs:avoidAreaRect (Results 1 - 2 of 2) sorted by relevance

/foundation/window/window_manager/wmserver/src/
H A Davoid_area_controller.cpp360 Rect avoidAreaRect { 0, 0, 0, 0 }; in GetAvoidAreaKeyboardType()
361 AvoidPosType avoidPosType = CalculateOverlayRect(node, iter.second, avoidAreaRect); in GetAvoidAreaKeyboardType()
363 SetAvoidAreaRect(avoidArea, avoidAreaRect, avoidPosType); in GetAvoidAreaKeyboardType()
/foundation/window/window_manager/window_scene/session/host/src/
H A Dscene_session.cpp1393 Rect avoidAreaRect = SessionHelper::TransferToRect( in CalculateAvoidAreaRect() local
1395 if (WindowHelper::IsEmptyRect(avoidAreaRect)) { in CalculateAvoidAreaRect()
1399 uint32_t avoidAreaCenterX = static_cast<uint32_t>(avoidAreaRect.posX_) + (avoidAreaRect.width_ >> 1); in CalculateAvoidAreaRect()
1400 uint32_t avoidAreaCenterY = static_cast<uint32_t>(avoidAreaRect.posY_) + (avoidAreaRect.height_ >> 1); in CalculateAvoidAreaRect()
1407 avoidArea.topRect_ = avoidAreaRect; in CalculateAvoidAreaRect()
1409 avoidArea.rightRect_ = avoidAreaRect; in CalculateAvoidAreaRect()
1413 avoidArea.leftRect_ = avoidAreaRect; in CalculateAvoidAreaRect()
1415 avoidArea.bottomRect_ = avoidAreaRect; in CalculateAvoidAreaRect()
[all...]

Completed in 6 milliseconds