Home
last modified time | relevance | path

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

/foundation/window/window_manager/dmserver/src/
H A Dabstract_screen.cpp443 bool isVerticalScreen = info->width_ < info->height_; in CalcRotation() local
449 return isVerticalScreen ? Rotation::ROTATION_0 : Rotation::ROTATION_90; in CalcRotation()
452 return isVerticalScreen ? Rotation::ROTATION_90 : Rotation::ROTATION_0; in CalcRotation()
455 return isVerticalScreen ? Rotation::ROTATION_180 : Rotation::ROTATION_270; in CalcRotation()
458 return isVerticalScreen ? Rotation::ROTATION_270 : Rotation::ROTATION_180; in CalcRotation()
/foundation/window/window_manager/window_scene/session/screen/src/
H A Dscreen_session.cpp813 bool isVerticalScreen = info->width_ < info->height_; in CalcRotation() local
816 isVerticalScreen = info->width_ > info->height_; in CalcRotation()
823 return isVerticalScreen ? Rotation::ROTATION_0 : Rotation::ROTATION_90; in CalcRotation()
826 return isVerticalScreen ? Rotation::ROTATION_90 : Rotation::ROTATION_0; in CalcRotation()
829 return isVerticalScreen ? Rotation::ROTATION_180 : Rotation::ROTATION_270; in CalcRotation()
832 return isVerticalScreen ? Rotation::ROTATION_270 : Rotation::ROTATION_180; in CalcRotation()

Completed in 4 milliseconds