/ohos5.0/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; 56 …return (rotation == ScreenRotation::ROTATION_0 || rotation == ScreenRotation::ROTATION_180) ? widt… in GetRotatedWidth() 61 …return (rotation == ScreenRotation::ROTATION_0 || rotation == ScreenRotation::ROTATION_180) ? heig… in GetRotatedHeight() 65 return (rotation == ScreenRotation::ROTATION_0 || in GetRotatedPhyWidth() 66 rotation == ScreenRotation::ROTATION_180) ? phyWidth : phyHeight; in GetRotatedPhyWidth() 71 return (rotation == ScreenRotation::ROTATION_0 || in GetRotatedPhyHeight() 72 rotation == ScreenRotation::ROTATION_180) ? phyHeight : phyWidth; in GetRotatedPhyHeight()
|
H A D | screen_types.h | 64 enum class ScreenRotation : uint32_t { enum 269 inline int32_t ScreenRotationMapping(ScreenRotation screenCorrection) in ScreenRotationMapping() 271 return screenCorrection == ScreenRotation::INVALID_SCREEN_ROTATION ? in ScreenRotationMapping()
|
/ohos5.0/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); 126 ScreenRotation::ROTATION_0); 151 ScreenRotation::ROTATION_0); 187 ScreenRotation::ROTATION_0); 219 ScreenRotation::ROTATION_0); 243 ScreenRotation::ROTATION_90); 266 ScreenRotation::ROTATION_180); 289 ScreenRotation::ROTATION_270); 315 ScreenRotation::ROTATION_180); [all …]
|
H A D | rs_surface_capture_task_parallel_test.cpp | 51 task.screenCorrection_ = ScreenRotation::ROTATION_90; 52 task.screenRotation_ = ScreenRotation::ROTATION_270;
|
H A D | rs_uni_render_virtual_processor_test.cpp | 155 …virtualProcessor->OriginScreenRotation(ScreenRotation::ROTATION_0, DEFAULT_CANVAS_WIDTH, DEFAULT_C… 156 …virtualProcessor->OriginScreenRotation(ScreenRotation::ROTATION_90, DEFAULT_CANVAS_WIDTH, DEFAULT_… 157 …virtualProcessor->OriginScreenRotation(ScreenRotation::ROTATION_180, DEFAULT_CANVAS_WIDTH, DEFAULT… 158 …virtualProcessor->OriginScreenRotation(ScreenRotation::ROTATION_270, DEFAULT_CANVAS_WIDTH, DEFAULT…
|
H A D | rs_round_corner_display_test.cpp | 127 ScreenRotation curOrientation = ScreenRotation::ROTATION_0; 158 ScreenRotation curOrientation = ScreenRotation::ROTATION_0; 265 ScreenRotation curOrientation = ScreenRotation::ROTATION_90; 949 ScreenRotation curOrientation = ScreenRotation::INVALID_SCREEN_ROTATION; 952 EXPECT_TRUE(rcdInstance.curOrientation_ == ScreenRotation::INVALID_SCREEN_ROTATION); 956 curOrientation = ScreenRotation::ROTATION_180; 961 EXPECT_TRUE(rcdInstance.curOrientation_ == ScreenRotation::ROTATION_180); 965 curOrientation = ScreenRotation::ROTATION_180; 968 EXPECT_TRUE(rcdInstance.curOrientation_ == ScreenRotation::ROTATION_180); 1095 auto rot = ScreenRotation::ROTATION_90; [all …]
|
H A D | rs_hardware_thread_test.cpp | 41 ScreenRotation rotation = ScreenRotation::ROTATION_0); 93 ScreenColorGamut::COLOR_GAMUT_SRGB, ScreenState::UNKNOWN, ScreenRotation::ROTATION_0); in SetUp() 104 ScreenColorGamut colorGamut, ScreenState state, ScreenRotation rotation) in CreateComposerAdapterWithScreenInfo()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_uni_render_virtual_processor.h | 79 void ScaleMirrorIfNeed(const ScreenRotation angle, RSPaintFilterCanvas& canvas); 83 void OriginScreenRotation(ScreenRotation screenRotation, float width, float height); 98 ScreenRotation screenRotation_ = ScreenRotation::ROTATION_0; 99 ScreenRotation screenCorrection_ = ScreenRotation::ROTATION_0;
|
H A D | rs_uni_render_virtual_processor.cpp | 150 …auto rotationAngle = static_cast<ScreenRotation>((rotationDiff + SCREEN_ROTATION_NUM) % SCREEN_ROT… in CanvasInit() 230 if (screenRotation == ScreenRotation::ROTATION_0) { in OriginScreenRotation() 232 } else if (screenRotation == ScreenRotation::ROTATION_90) { in OriginScreenRotation() 236 } else if (screenRotation == ScreenRotation::ROTATION_180) { in OriginScreenRotation() 238 } else if (screenRotation == ScreenRotation::ROTATION_270) { in OriginScreenRotation() 253 ScreenRotation angle = displayDrawable.GetOriginScreenRotation(); in CalculateTransform() 258 void RSUniRenderVirtualProcessor::ScaleMirrorIfNeed(const ScreenRotation angle, RSPaintFilterCanvas… in ScaleMirrorIfNeed() 260 if (screenCorrection_ == ScreenRotation::ROTATION_90 || in ScaleMirrorIfNeed() 261 screenCorrection_ == ScreenRotation::ROTATION_270) { in ScaleMirrorIfNeed() 265 if (angle == ScreenRotation::ROTATION_90 || in ScaleMirrorIfNeed() [all …]
|
H A D | rs_surface_capture_task_parallel.h | 82 ScreenRotation screenCorrection_ = ScreenRotation::ROTATION_0; 83 ScreenRotation screenRotation_ = ScreenRotation::ROTATION_0;
|
/ohos5.0/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() 135 … } else if (rotation == ScreenRotation::ROTATION_90 || rotation == ScreenRotation::ROTATION_270) { in CheckIlluminated() 155 case ScreenRotation::ROTATION_0: in CalculateLightPosForIlluminated() 159 case ScreenRotation::ROTATION_90: in CalculateLightPosForIlluminated() 163 case ScreenRotation::ROTATION_180: in CalculateLightPosForIlluminated() 167 case ScreenRotation::ROTATION_270: in CalculateLightPosForIlluminated()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/round_corner_display/ |
H A D | rs_round_corner_display.h | 34 enum class ScreenRotation : uint32_t; 78 void UpdateOrientationStatus(ScreenRotation orientation); 162 ScreenRotation curOrientation_ = ScreenRotation::ROTATION_0; 163 ScreenRotation lastOrientation_ = ScreenRotation::ROTATION_0;
|
H A D | rs_round_corner_display.cpp | 247 void RoundCornerDisplay::UpdateOrientationStatus(ScreenRotation orientation) in UpdateOrientationStatus() 301 case ScreenRotation::ROTATION_0: in RcdChooseTopResourceType() 302 case ScreenRotation::ROTATION_180: in RcdChooseTopResourceType() 311 case ScreenRotation::ROTATION_90: in RcdChooseTopResourceType() 312 case ScreenRotation::ROTATION_270: in RcdChooseTopResourceType()
|
/ohos5.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); 314 instance->SetScreenRotation(ScreenRotation::ROTATION_90); 351 instance->screenRotation_ = ScreenRotation::ROTATION_0; 355 instance->screenRotation_ = ScreenRotation::ROTATION_180; 359 instance->screenRotation_ = ScreenRotation::ROTATION_90; 363 instance->screenRotation_ = ScreenRotation::ROTATION_270; 382 instance->SetScreenRotation(ScreenRotation::ROTATION_0); 387 instance->SetScreenRotation(ScreenRotation::ROTATION_90); 392 instance->SetScreenRotation(ScreenRotation::ROTATION_180); 397 instance->SetScreenRotation(ScreenRotation::ROTATION_270); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/params/ |
H A D | rs_display_render_params.h | 68 ScreenRotation GetScreenRotation() const override in GetScreenRotation() 72 ScreenRotation GetNodeRotation() const in GetNodeRotation() 162 ScreenRotation nodeRotation_ = ScreenRotation::INVALID_SCREEN_ROTATION; 163 ScreenRotation screenRotation_ = ScreenRotation::INVALID_SCREEN_ROTATION;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/ |
H A D | rs_display_render_node.h | 125 void SetScreenRotation(const ScreenRotation& screenRotation) in SetScreenRotation() 130 ScreenRotation GetScreenRotation() in GetScreenRotation() 192 ScreenRotation GetRotation() const; 298 void SetOriginScreenRotation(const ScreenRotation& rotate) { in SetOriginScreenRotation() 302 ScreenRotation GetOriginScreenRotation() const { in GetOriginScreenRotation() 382 ScreenRotation screenRotation_ = ScreenRotation::ROTATION_0; 383 ScreenRotation originScreenRotation_ = ScreenRotation::ROTATION_0;
|
H A D | rs_surface_render_node.h | 852 void CheckAndUpdateOpaqueRegion(const RectI& screeninfo, const ScreenRotation screenRotation, 855 …aceOpaqueRegion(const RectI& screeninfo, const RectI& absRect, const ScreenRotation screenRotation, 858 const RectI& absRect, const ScreenRotation screenRotation, const bool isFocusWindow) const; 859 …Occlusion::Region SetUnfocusedWindowOpaqueRegion(const RectI& absRect, const ScreenRotation screen… 860 …Occlusion::Region SetFocusedWindowOpaqueRegion(const RectI& absRect, const ScreenRotation screenRo… 863 const ScreenRotation screenRotation); 864 …eRegionBaseInfo(const RectI& screeninfo, const RectI& absRect, const ScreenRotation screenRotation, 866 …eRegionBaseInfo(const RectI& screeninfo, const RectI& absRect, const ScreenRotation screenRotation, 1422 ScreenRotation screenRotation_ = ScreenRotation::INVALID_SCREEN_ROTATION;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/ |
H A D | rs_point_light_manager.h | 38 void SetScreenRotation(ScreenRotation screenRotation) in SetScreenRotation() 42 ScreenRotation GetScreenRotation() const in GetScreenRotation() 64 ScreenRotation screenRotation_ = ScreenRotation::INVALID_SCREEN_ROTATION;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_display_node.cpp | 181 ScreenRotation screenRotation = ScreenRotation::ROTATION_0; in SetScreenRotation() 184 screenRotation = ScreenRotation::ROTATION_0; in SetScreenRotation() 187 screenRotation = ScreenRotation::ROTATION_90; in SetScreenRotation() 190 screenRotation = ScreenRotation::ROTATION_180; in SetScreenRotation() 193 screenRotation = ScreenRotation::ROTATION_270; in SetScreenRotation() 196 screenRotation = ScreenRotation::INVALID_SCREEN_ROTATION; in SetScreenRotation()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_surface_render_node_test.cpp | 1779 ScreenRotation screenRotation = ScreenRotation::ROTATION_0; 1798 ScreenRotation rotationCases[] = { ScreenRotation::ROTATION_0, ScreenRotation::ROTATION_90, 1799 …ScreenRotation::ROTATION_180, ScreenRotation::ROTATION_270, ScreenRotation::INVALID_SCREEN_ROTATIO… 1800 for (ScreenRotation rotation : rotationCases) { 1816 ScreenRotation rotationCases[] = { ScreenRotation::ROTATION_0, ScreenRotation::ROTATION_90, 1817 …ScreenRotation::ROTATION_180, ScreenRotation::ROTATION_270, ScreenRotation::INVALID_SCREEN_ROTATIO… 1818 for (ScreenRotation rotation : rotationCases) { 1835 ScreenRotation rotationCases[] = { ScreenRotation::ROTATION_0, ScreenRotation::ROTATION_90, 1836 …ScreenRotation::ROTATION_180, ScreenRotation::ROTATION_270, ScreenRotation::INVALID_SCREEN_ROTATIO… 1985 ScreenRotation screenRotation = ScreenRotation::ROTATION_0; [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/dfx/ |
H A D | rs_dirty_rects_dfx_test.cpp | 239 ScreenRotation rotation = ScreenRotation::ROTATION_0; 244 rotation = ScreenRotation::ROTATION_90; 250 rotation = ScreenRotation::ROTATION_180; 254 rotation = ScreenRotation::ROTATION_270; 258 rotation = ScreenRotation::INVALID_SCREEN_ROTATION;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/ |
H A D | rs_display_render_node_drawable.h | 129 void SetOriginScreenRotation(const ScreenRotation& rotate) in SetOriginScreenRotation() 135 ScreenRotation GetOriginScreenRotation() const in GetOriginScreenRotation() 155 void RotateMirrorCanvas(ScreenRotation& rotation, float mainWidth, float mainHeight); 209 ScreenRotation originScreenRotation_ = ScreenRotation::INVALID_SCREEN_ROTATION;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/dfx/ |
H A D | rs_dirty_rects_dfx.cpp | 126 ScreenRotation rotation, uint64_t screenId) in RefreshRateRotationProcess() 128 if (rotation != ScreenRotation::ROTATION_0) { in RefreshRateRotationProcess() 131 if (rotation == ScreenRotation::ROTATION_90) { in RefreshRateRotationProcess() 134 } else if (rotation == ScreenRotation::ROTATION_180) { in RefreshRateRotationProcess() 138 } else if (rotation == ScreenRotation::ROTATION_270) { in RefreshRateRotationProcess() 184 (rotation == ScreenRotation::ROTATION_270 ? ScreenRotation::ROTATION_0 in DrawCurrentRefreshRate() 185 … : static_cast<ScreenRotation>(static_cast<int>(rotation) + 1)); in DrawCurrentRefreshRate()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/ |
H A D | rs_screen.h | 87 virtual ScreenRotation GetScreenCorrection() const = 0; 92 virtual void SetScreenCorrection(ScreenRotation screenRotation) = 0; 178 void SetScreenCorrection(ScreenRotation screenRotation) override; 179 ScreenRotation GetScreenCorrection() const override; 270 ScreenRotation screenRotation_ = ScreenRotation::ROTATION_0;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/command/ |
H A D | rs_display_node_command.h | 48 static void SetScreenRotation(RSContext&, NodeId, const ScreenRotation&); 70 ScreenRotation))
|