/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/screen_manager/ |
H A D | rs_screen_info.h | 43 ScreenRotation rotation = ScreenRotation::ROTATION_0; 53 return (rotation == ScreenRotation::ROTATION_0 || rotation == ScreenRotation::ROTATION_180) ? width : height; in GetRotatedWidth() 58 return (rotation == ScreenRotation::ROTATION_0 || rotation == ScreenRotation::ROTATION_180) ? height : width; in GetRotatedHeight() 62 return (rotation == ScreenRotation::ROTATION_0 || rotation == ScreenRotation::ROTATION_180) ? phyWidth in GetRotatedPhyWidth() 68 return (rotation == ScreenRotation::ROTATION_0 || rotation == ScreenRotation::ROTATION_180) ? phyHeight in GetRotatedPhyHeight()
|
/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | screen_rotation_controller_test.cpp | 130 ScreenRotationController::currentDisplayRotation_ = Rotation::ROTATION_0; in HWTEST_F() 135 ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationController::CalcTargetDisplayRotation(orientation, deviceRitation)); in HWTEST_F() 138 ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationController::CalcTargetDisplayRotation(orientation, deviceRitation)); in HWTEST_F() 141 ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationController::CalcTargetDisplayRotation(orientation, deviceRitation)); in HWTEST_F() 145 ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationController::CalcTargetDisplayRotation(orientation, deviceRitation)); in HWTEST_F() 147 ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationController::CalcTargetDisplayRotation(orientation, deviceRitation)); in HWTEST_F() 151 ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationController::CalcTargetDisplayRotation(orientation, deviceRitation)); in HWTEST_F() 153 ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationController::CalcTargetDisplayRotation(orientation, deviceRitation)); in HWTEST_F() 157 ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationController::CalcTargetDisplayRotation(orientation, deviceRitation)); in HWTEST_F() 159 ASSERT_EQ(Rotation::ROTATION_0, ScreenRotationControlle in HWTEST_F() [all...] |
H A D | abstract_screen_controller_test.cpp | 132 absController_->SetScreenRotateAnimation(screen, 1, Rotation::ROTATION_0, true); in HWTEST_F() 145 screen->rotation_ = Rotation::ROTATION_0; in HWTEST_F() 147 ASSERT_EQ(Rotation::ROTATION_0, screen->rotation_); in HWTEST_F() 159 screen->rotation_ = Rotation::ROTATION_0; in HWTEST_F() 161 ASSERT_EQ(Rotation::ROTATION_0, screen->rotation_); in HWTEST_F() 589 ASSERT_EQ(true, absController_->SetRotation(1, Rotation::ROTATION_0, true)); in HWTEST_F() 591 ASSERT_EQ(false, absController_->SetRotation(1, Rotation::ROTATION_0, false)); in HWTEST_F() 592 ASSERT_EQ(false, absController_->SetRotation(1, Rotation::ROTATION_0, true)); in HWTEST_F() 1189 screen->rotation_ = Rotation::ROTATION_0; in HWTEST_F() 1191 ASSERT_EQ(Rotation::ROTATION_0, scree in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/ |
H A D | rs_composer_adapter_unit_test.cpp | 40 ScreenRotation rotation = ScreenRotation::ROTATION_0); 102 ScreenRotation::ROTATION_0); in HWTEST_F() 125 ScreenRotation::ROTATION_0); in HWTEST_F() 149 ScreenRotation::ROTATION_0); in HWTEST_F() 187 ScreenRotation::ROTATION_0); in HWTEST_F() 240 ScreenRotation::ROTATION_0); in HWTEST_F() 409 width, height, ScreenColorGamut::COLOR_GAMUT_SRGB, ScreenState::UNKNOWN, ScreenRotation::ROTATION_0); in HWTEST_F() 429 width, height, ScreenColorGamut::COLOR_GAMUT_SRGB, ScreenState::UNKNOWN, ScreenRotation::ROTATION_0); in HWTEST_F() 457 width, height, ScreenColorGamut::COLOR_GAMUT_SRGB, ScreenState::UNKNOWN, ScreenRotation::ROTATION_0); in HWTEST_F() 479 width, height, ScreenColorGamut::COLOR_GAMUT_SRGB, ScreenState::UNKNOWN, ScreenRotation::ROTATION_0); in HWTEST_F() [all...] |
H A D | rs_unittest_composer_adapter_test.cpp | 40 ScreenRotation rotation = ScreenRotation::ROTATION_0); 102 ScreenRotation::ROTATION_0); in HWTEST_F() 126 ScreenRotation::ROTATION_0); in HWTEST_F() 150 ScreenRotation::ROTATION_0); in HWTEST_F() 177 width, height, ScreenColorGamut::COLOR_GAMUT_SRGB, ScreenState::UNKNOWN, ScreenRotation::ROTATION_0); in HWTEST_F() 199 width, height, ScreenColorGamut::COLOR_GAMUT_SRGB, ScreenState::UNKNOWN, ScreenRotation::ROTATION_0); in HWTEST_F() 221 width, height, ScreenColorGamut::COLOR_GAMUT_SRGB, ScreenState::UNKNOWN, ScreenRotation::ROTATION_0); in HWTEST_F() 239 width, height, ScreenColorGamut::COLOR_GAMUT_SRGB, ScreenState::UNKNOWN, ScreenRotation::ROTATION_0); in HWTEST_F() 269 ScreenRotation::ROTATION_0); in HWTEST_F() 301 ScreenRotation::ROTATION_0); in HWTEST_F() [all...] |
H A D | rs_anco_manager_unit_test.cpp | 66 ScreenRotation::ROTATION_0, 0, 0), false); in HWTEST_F() 72 ScreenRotation::ROTATION_0, 0, 0), false); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_composer_adapter_test.cpp | 40 ScreenRotation rotation = ScreenRotation::ROTATION_0); 102 ScreenRotation::ROTATION_0); in HWTEST_F() 125 ScreenRotation::ROTATION_0); in HWTEST_F() 152 ScreenRotation::ROTATION_0); in HWTEST_F() 187 ScreenRotation::ROTATION_0); in HWTEST_F() 218 ScreenRotation::ROTATION_0); in HWTEST_F() 409 width, height, ScreenColorGamut::COLOR_GAMUT_SRGB, ScreenState::UNKNOWN, ScreenRotation::ROTATION_0); in HWTEST_F() 429 width, height, ScreenColorGamut::COLOR_GAMUT_SRGB, ScreenState::UNKNOWN, ScreenRotation::ROTATION_0); in HWTEST_F() 457 width, height, ScreenColorGamut::COLOR_GAMUT_SRGB, ScreenState::UNKNOWN, ScreenRotation::ROTATION_0); in HWTEST_F() 479 width, height, ScreenColorGamut::COLOR_GAMUT_SRGB, ScreenState::UNKNOWN, ScreenRotation::ROTATION_0); in HWTEST_F() [all...] |
H A D | rs_anco_manager_test.cpp | 52 ScreenRotation::ROTATION_0, 0, 0), false); in HWTEST_F() 58 ScreenRotation::ROTATION_0, 0, 0), false); in HWTEST_F()
|
/foundation/window/window_manager/dmserver/src/ |
H A D | screen_rotation_controller.cpp | 358 defaultDeviceRotation_ == 0 ? Rotation::ROTATION_0 : Rotation::ROTATION_90}, in ProcessRotationMapping() 360 defaultDeviceRotation_ == 1 ? Rotation::ROTATION_0 : Rotation::ROTATION_90}, in ProcessRotationMapping() 369 {defaultDeviceRotation_ == 0 ? Rotation::ROTATION_0 : Rotation::ROTATION_90, in ProcessRotationMapping() 371 {defaultDeviceRotation_ == 1 ? Rotation::ROTATION_0 : Rotation::ROTATION_90, in ProcessRotationMapping() 381 {SensorRotation::ROTATION_0, CalcDeviceRotation(SensorRotation::ROTATION_0)}, in ProcessRotationMapping() 414 return Rotation::ROTATION_0 == ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT); in IsDefaultDisplayRotationPortrait() 437 SetScreenRotation(Rotation::ROTATION_0, withAnimation); in ProcessSwitchToSensorUnrelatedOrientation()
|
H A D | abstract_screen.cpp | 440 return Rotation::ROTATION_0;
in CalcRotation() 446 return Rotation::ROTATION_0;
in CalcRotation() 449 return isVerticalScreen ? Rotation::ROTATION_0 : Rotation::ROTATION_90;
in CalcRotation() 452 return isVerticalScreen ? Rotation::ROTATION_90 : Rotation::ROTATION_0;
in CalcRotation() 462 return Rotation::ROTATION_0;
in CalcRotation()
|
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | display_info.h | 47 ROTATION_0, member in OHOS::Ace::Rotation 145 Rotation rotation_ = Rotation::ROTATION_0;
|
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_cutout_controller_test.cpp | 283 rotation = Rotation::ROTATION_0; in HWTEST_F() 319 ASSERT_EQ(false, controller->IsDisplayRotationHorizontal(Rotation::ROTATION_0)); in HWTEST_F() 333 ASSERT_EQ(Rotation::ROTATION_0, controller->ConvertDeviceToDisplayRotation(DeviceRotationValue::INVALID)); in HWTEST_F() 337 ASSERT_EQ(result01, Rotation::ROTATION_0); in HWTEST_F() 349 ASSERT_EQ(Rotation::ROTATION_0, controller->GetCurrentDisplayRotation(displayId)); in HWTEST_F()
|
H A D | screen_session_test.cpp | 328 ASSERT_EQ(res, Rotation::ROTATION_0); in HWTEST_F() 1518 Rotation sensorRotation = Rotation::ROTATION_0; in HWTEST_F() 1768 sensorRotation = Rotation::ROTATION_0; in HWTEST_F() 1953 EXPECT_EQ(Rotation::ROTATION_0, res); in HWTEST_F() 1963 EXPECT_EQ(Rotation::ROTATION_0, res); in HWTEST_F() 1968 EXPECT_EQ(Rotation::ROTATION_0, res); in HWTEST_F() 1978 EXPECT_EQ(Rotation::ROTATION_0, res); in HWTEST_F() 1999 EXPECT_EQ(Rotation::ROTATION_0, res); in HWTEST_F() 2017 EXPECT_EQ(Rotation::ROTATION_0, res); in HWTEST_F() 2027 EXPECT_EQ(Rotation::ROTATION_0, re in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_surface_capture_task_parallel.h | 80 ScreenRotation screenCorrection_ = ScreenRotation::ROTATION_0;
81 ScreenRotation screenRotation_ = ScreenRotation::ROTATION_0;
|
H A D | rs_uni_render_virtual_processor.h | 105 ScreenRotation screenRotation_ = ScreenRotation::ROTATION_0; 106 ScreenRotation screenCorrection_ = ScreenRotation::ROTATION_0;
|
H A D | rs_anco_manager.cpp | 62 rotation != ScreenRotation::ROTATION_0) { in AncoOptimizeDisplayNode()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/round_corner_display/ |
H A D | rs_round_corner_display.h | 163 ScreenRotation curOrientation_ = ScreenRotation::ROTATION_0; 164 ScreenRotation lastOrientation_ = ScreenRotation::ROTATION_0;
|
/foundation/window/window_manager/dmserver/include/ |
H A D | abstract_display.h | 41 return (rotation == Rotation::ROTATION_0 || rotation == Rotation::ROTATION_180);
in IsVertical() 84 Rotation rotation_ { Rotation::ROTATION_0 };
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/folder_stack/ |
H A D | folder_stack_event_info.h | 57 Rotation appRotation_ = Rotation::ROTATION_0;
|
/foundation/window/window_manager/window_scene/screen_session_manager/src/ |
H A D | screen_cutout_controller.cpp | 72 if (currentRotation == Rotation::ROTATION_0) { in ConvertBoundaryRectsByRotation() 201 case Rotation::ROTATION_0: { in CalcWaterfallRectsByRotation() 304 return Rotation::ROTATION_0; 334 defaultDeviceRotation_ == 0 ? Rotation::ROTATION_0 : Rotation::ROTATION_90 }, in ProcessRotationMapping() 336 defaultDeviceRotation_ == 1 ? Rotation::ROTATION_0 : Rotation::ROTATION_90 }, in ProcessRotationMapping()
|
/foundation/window/window_manager/window_scene/session/screen/include/ |
H A D | screen_property.h | 151 return (rotation == Rotation::ROTATION_0 || rotation == Rotation::ROTATION_180); in IsVertical() 182 Rotation screenRotation_ { Rotation::ROTATION_0 };
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_point_light_manager_test.cpp | 310 instance->SetScreenRotation(ScreenRotation::ROTATION_0);
in HWTEST_F() 318 instance->SetScreenRotation(ScreenRotation::ROTATION_0);
in HWTEST_F() 360 instance->screenRotation_ = ScreenRotation::ROTATION_0;
in HWTEST_F() 391 instance->SetScreenRotation(ScreenRotation::ROTATION_0);
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_point_light_manager.cpp | 133 if (rotation == ScreenRotation::ROTATION_0 || rotation == ScreenRotation::ROTATION_180) { in CheckIlluminated() 155 case ScreenRotation::ROTATION_0: in CalculateLightPosForIlluminated()
|
/foundation/window/window_manager/dm_lite/src/ |
H A D | display_lite.cpp | 121 return Rotation::ROTATION_0;
in GetRotation()
|
/foundation/window/window_manager/utils/include/ |
H A D | screen_info.h | 51 DEFINE_VAR_DEFAULT_FUNC_GET_SET(Rotation, Rotation, rotation, Rotation::ROTATION_0);
|