Home
last modified time | relevance | path

Searched refs:displayToDisplayOrientationMap_ (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/window/window_manager/dmserver/src/
H A Dscreen_rotation_controller.cpp39 std::map<Rotation, DisplayOrientation> ScreenRotationController::displayToDisplayOrientationMap_; member in OHOS::Rosen::ScreenRotationController
330 if (displayToDisplayOrientationMap_.empty()) { in ConvertRotationToDisplayOrientation()
333 return displayToDisplayOrientationMap_.at(rotation); in ConvertRotationToDisplayOrientation()
367 if (displayToDisplayOrientationMap_.empty()) { in ProcessRotationMapping()
368 displayToDisplayOrientationMap_ = { in ProcessRotationMapping()
/ohos5.0/foundation/window/window_manager/dmserver/include/
H A Dscreen_rotation_controller.h90 static std::map<Rotation, DisplayOrientation> displayToDisplayOrientationMap_; variable
/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/
H A Dscreen_rotation_controller_test.cpp512 ASSERT_FALSE(ScreenRotationController::displayToDisplayOrientationMap_.empty());
515 ScreenRotationController::displayToDisplayOrientationMap_.clear();
516 ASSERT_TRUE(ScreenRotationController::displayToDisplayOrientationMap_.empty());