Home
last modified time | relevance | path

Searched refs:ROTATION_0 (Results 1 - 25 of 95) sorted by relevance

1234

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/screen_manager/
H A Drs_screen_info.h43 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 Dscreen_rotation_controller_test.cpp130 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 Dabstract_screen_controller_test.cpp132 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 Drs_composer_adapter_unit_test.cpp40 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 Drs_unittest_composer_adapter_test.cpp40 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 Drs_anco_manager_unit_test.cpp66 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 Drs_composer_adapter_test.cpp40 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 Drs_anco_manager_test.cpp52 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 Dscreen_rotation_controller.cpp358 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 Dabstract_screen.cpp440 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 Ddisplay_info.h47 ROTATION_0, member in OHOS::Ace::Rotation
145 Rotation rotation_ = Rotation::ROTATION_0;
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_cutout_controller_test.cpp283 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 Dscreen_session_test.cpp328 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 Drs_surface_capture_task_parallel.h80 ScreenRotation screenCorrection_ = ScreenRotation::ROTATION_0;
81 ScreenRotation screenRotation_ = ScreenRotation::ROTATION_0;
H A Drs_uni_render_virtual_processor.h105 ScreenRotation screenRotation_ = ScreenRotation::ROTATION_0;
106 ScreenRotation screenCorrection_ = ScreenRotation::ROTATION_0;
H A Drs_anco_manager.cpp62 rotation != ScreenRotation::ROTATION_0) { in AncoOptimizeDisplayNode()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/round_corner_display/
H A Drs_round_corner_display.h163 ScreenRotation curOrientation_ = ScreenRotation::ROTATION_0;
164 ScreenRotation lastOrientation_ = ScreenRotation::ROTATION_0;
/foundation/window/window_manager/dmserver/include/
H A Dabstract_display.h41 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 Dfolder_stack_event_info.h57 Rotation appRotation_ = Rotation::ROTATION_0;
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_cutout_controller.cpp72 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 Dscreen_property.h151 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 Drs_point_light_manager_test.cpp310 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 Drs_point_light_manager.cpp133 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 Ddisplay_lite.cpp121 return Rotation::ROTATION_0; in GetRotation()
/foundation/window/window_manager/utils/include/
H A Dscreen_info.h51 DEFINE_VAR_DEFAULT_FUNC_GET_SET(Rotation, Rotation, rotation, Rotation::ROTATION_0);

Completed in 17 milliseconds

1234