Home
last modified time | relevance | path

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

/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()
/foundation/window/window_manager/dmserver/include/
H A Dscreen_rotation_controller.h90 static std::map<Rotation, DisplayOrientation> displayToDisplayOrientationMap_; member in OHOS::Rosen::ScreenRotationController
/foundation/window/window_manager/dmserver/test/unittest/
H A Dscreen_rotation_controller_test.cpp512 ASSERT_FALSE(ScreenRotationController::displayToDisplayOrientationMap_.empty()); in HWTEST_F()
515 ScreenRotationController::displayToDisplayOrientationMap_.clear(); in HWTEST_F()
516 ASSERT_TRUE(ScreenRotationController::displayToDisplayOrientationMap_.empty()); in HWTEST_F()

Completed in 4 milliseconds