/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_display_node.cpp | 194 ScreenRotation screenRotation = ScreenRotation::ROTATION_0; in SetScreenRotation() local 197 screenRotation = ScreenRotation::ROTATION_0; in SetScreenRotation() 200 screenRotation = ScreenRotation::ROTATION_90; in SetScreenRotation() 203 screenRotation = ScreenRotation::ROTATION_180; in SetScreenRotation() 206 screenRotation = ScreenRotation::ROTATION_270; in SetScreenRotation() 209 screenRotation = ScreenRotation::INVALID_SCREEN_ROTATION; in SetScreenRotation() 212 std::unique_ptr<RSCommand> command = std::make_unique<RSDisplayNodeSetScreenRotation>(GetId(), screenRotation); in SetScreenRotation() 218 " screenRotation:[%{public}d]", GetId(), rotation); in SetScreenRotation()
|
/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() argument 40 screenRotation_ = screenRotation; in SetScreenRotation()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsdisplayrendernode_fuzzer/ |
H A D | rsdisplayrendernode_fuzzer.cpp | 74 ScreenRotation screenRotation = (ScreenRotation)rogWidth;
in DoSomethingInterestingWithMyAPI() local 101 rsDisplayRenderNode.SetScreenRotation(screenRotation);
in DoSomethingInterestingWithMyAPI() 141 rsDisplayRenderNode.SetOriginScreenRotation(screenRotation);
in DoSomethingInterestingWithMyAPI()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_uni_render_virtual_processor.cpp | 260 void RSUniRenderVirtualProcessor::OriginScreenRotation(ScreenRotation screenRotation, float width, float height) in OriginScreenRotation() argument 262 if (screenRotation == ScreenRotation::ROTATION_0) { in OriginScreenRotation() 264 } else if (screenRotation == ScreenRotation::ROTATION_90) { in OriginScreenRotation() 268 } else if (screenRotation == ScreenRotation::ROTATION_180) { in OriginScreenRotation() 270 } else if (screenRotation == ScreenRotation::ROTATION_270) { in OriginScreenRotation()
|
H A D | rs_uni_hwc_prevalidate_util.cpp | 324 const auto screenRotation = screenInfo.rotation; in LayerRotate() local 326 switch (screenRotation) { in LayerRotate() 343 int totalRotation = (RSBaseRenderUtil::RotateEnumToInt(screenRotation) + RSBaseRenderUtil::RotateEnumToInt( in LayerRotate()
|
H A D | rs_composer_adapter.cpp | 278 const auto screenRotation = screenInfo_.rotation; in DealWithNodeGravity() local 279 if (screenRotation == ScreenRotation::ROTATION_90 || screenRotation == ScreenRotation::ROTATION_270) { in DealWithNodeGravity() 680 const sptr<IConsumerSurface>& surface, ScreenRotation screenRotation) in SetLayerTransform() 682 // screenRotation: anti-clockwise, surfaceNodeRotation: anti-clockwise, surfaceTransform: anti-clockwise in SetLayerTransform() 685 int totalRotation = (RSBaseRenderUtil::RotateEnumToInt(screenRotation) + surfaceNodeRotation + in SetLayerTransform() 696 const auto screenRotation = screenInfo.rotation; in SetLayerSize() local 698 // screenRotation: anti-clockwise, surfaceTransform: anti-clockwise, layerTransform: clockwise in SetLayerSize() 699 switch (screenRotation) { in SetLayerSize() 679 SetLayerTransform(const LayerInfoPtr& layer, RSBaseRenderNode& node, const sptr<IConsumerSurface>& surface, ScreenRotation screenRotation) SetLayerTransform() argument
|
H A D | rs_uni_render_virtual_processor.h | 84 void OriginScreenRotation(ScreenRotation screenRotation, float width, float height);
|
H A D | rs_uni_render_composer_adapter.cpp | 555 const auto screenRotation = screenInfo_.rotation; in DealWithNodeGravity() local 556 if (screenRotation == ScreenRotation::ROTATION_90 || screenRotation == ScreenRotation::ROTATION_270) { in DealWithNodeGravity() 627 const auto screenRotation = screenInfo_.rotation; in DealWithNodeGravity() local 628 if (screenRotation == ScreenRotation::ROTATION_90 || screenRotation == ScreenRotation::ROTATION_270) { in DealWithNodeGravity() 1516 const sptr<IConsumerSurface>& surface, ScreenRotation screenRotation) in SetLayerTransform() 1518 // screenRotation: anti-clockwise, surfaceNodeRotation: anti-clockwise, surfaceTransform: anti-clockwise in SetLayerTransform() 1522 int totalRotation = (RSBaseRenderUtil::RotateEnumToInt(screenRotation) + surfaceNodeRotation + in SetLayerTransform() 1530 const sptr<IConsumerSurface>& surface, ScreenRotation screenRotation) in SetLayerTransform() 1515 SetLayerTransform(const LayerInfoPtr& layer, RSSurfaceRenderNode& node, const sptr<IConsumerSurface>& surface, ScreenRotation screenRotation) SetLayerTransform() argument 1529 SetLayerTransform(const LayerInfoPtr& layer, DrawableV2::RSRenderNodeDrawableAdapter& drawable, const sptr<IConsumerSurface>& surface, ScreenRotation screenRotation) SetLayerTransform() argument 1547 const auto screenRotation = screenInfo.rotation; SetLayerSize() local [all...] |
H A D | rs_surface_capture_task_parallel.cpp | 300 " useDma: [%{public}d], screenRotation: [%{public}d], screenCorrection: [%{public}d]",
in CreatePixelMapByDisplayNode() 363 auto screenRotation = ScreenRotationMapping(screenRotation_);
in CalPixelMapRotation() local 365 int32_t rotation = screenRotation - screenCorrection;
in CalPixelMapRotation()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/command/ |
H A D | rs_display_node_command.cpp | 93 void DisplayNodeCommandHelper::SetScreenRotation(RSContext& context, NodeId id, const ScreenRotation& screenRotation) in SetScreenRotation() argument 96 node->SetScreenRotation(screenRotation); in SetScreenRotation()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsdisplaynodecommand_fuzzer/ |
H A D | rsdisplaynodecommand_fuzzer.cpp | 75 ScreenRotation screenRotation = GetData<ScreenRotation>();
in DoDisplayNode() local 85 DisplayNodeCommandHelper::SetScreenRotation(context, id, screenRotation);
in DoDisplayNode()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rspointlightmanager_fuzzer/ |
H A D | rspointlightmanager_fuzzer.cpp | 210 ScreenRotation screenRotation = (ScreenRotation)value;
in DoSetScreenRotation() local 211 instance->SetScreenRotation(screenRotation);
in DoSetScreenRotation()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_surface_render_node.cpp | 1687 const ScreenRotation screenRotation, const bool isFocusWindow, const Vector4<int>& cornerRadius) in ResetSurfaceOpaqueRegion() 1702 opaqueRegion_ = ResetOpaqueRegion(absRect, screenRotation, isFocusWindow); in ResetSurfaceOpaqueRegion() 1722 ResetSurfaceContainerRegion(screeninfo, absRect, screenRotation); in ResetSurfaceOpaqueRegion() 1878 const ScreenRotation screenRotation, const bool isFocusWindow) const in ResetOpaqueRegion() 1881 return SetFocusedWindowOpaqueRegion(absRect, screenRotation); in ResetOpaqueRegion() 1883 return SetUnfocusedWindowOpaqueRegion(absRect, screenRotation); in ResetOpaqueRegion() 1913 const ScreenRotation screenRotation) const in SetUnfocusedWindowOpaqueRegion() 1937 const ScreenRotation screenRotation) const in SetFocusedWindowOpaqueRegion() 1991 const ScreenRotation screenRotation) in ResetSurfaceContainerRegion() 1998 Occlusion::Region innerRectRegion = SetFocusedWindowOpaqueRegion(absRect, screenRotation); in ResetSurfaceContainerRegion() 1686 ResetSurfaceOpaqueRegion(const RectI& screeninfo, const RectI& absRect, const ScreenRotation screenRotation, const bool isFocusWindow, const Vector4<int>& cornerRadius) ResetSurfaceOpaqueRegion() argument 1877 ResetOpaqueRegion(const RectI& absRect, const ScreenRotation screenRotation, const bool isFocusWindow) const ResetOpaqueRegion() argument 1990 ResetSurfaceContainerRegion(const RectI& screeninfo, const RectI& absRect, const ScreenRotation screenRotation) ResetSurfaceContainerRegion() argument 2107 CheckAndUpdateOpaqueRegion(const RectI& screeninfo, const ScreenRotation screenRotation, const bool isFocusWindow) CheckAndUpdateOpaqueRegion() argument 2148 CheckOpaqueRegionBaseInfo(const RectI& screeninfo, const RectI& absRect, const ScreenRotation screenRotation, const bool isFocusWindow, const Vector4<int>& cornerRadius) CheckOpaqueRegionBaseInfo() argument 2160 SetOpaqueRegionBaseInfo(const RectI& screeninfo, const RectI& absRect, const ScreenRotation screenRotation, const bool isFocusWindow, const Vector4<int>& cornerRadius) SetOpaqueRegionBaseInfo() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/ |
H A D | rs_surface_render_node.h | 857 void CheckAndUpdateOpaqueRegion(const RectI& screeninfo, const ScreenRotation screenRotation, 860 void ResetSurfaceOpaqueRegion(const RectI& screeninfo, const RectI& absRect, const ScreenRotation screenRotation, 863 const RectI& absRect, const ScreenRotation screenRotation, const bool isFocusWindow) const; 864 Occlusion::Region SetUnfocusedWindowOpaqueRegion(const RectI& absRect, const ScreenRotation screenRotation) const; 865 Occlusion::Region SetFocusedWindowOpaqueRegion(const RectI& absRect, const ScreenRotation screenRotation) const; 868 const ScreenRotation screenRotation); 869 bool CheckOpaqueRegionBaseInfo(const RectI& screeninfo, const RectI& absRect, const ScreenRotation screenRotation, 871 void SetOpaqueRegionBaseInfo(const RectI& screeninfo, const RectI& absRect, const ScreenRotation screenRotation, 1406 //<screenRect, absRect, screenRotation, isFocusWindow, isTransparent, hasContainerWindow>
|
H A D | rs_display_render_node.h | 131 void SetScreenRotation(const ScreenRotation& screenRotation) in SetScreenRotation() argument 133 screenRotation_ = screenRotation; in SetScreenRotation()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsinterfaces_fuzzer/ |
H A D | rsinterfaces_fuzzer.cpp | 169 uint32_t screenRotation = GetData<uint32_t>(); in RSPhysicalScreenFuzzTest() local 170 rsInterfaces.SetScreenCorrection(static_cast<ScreenId>(id), static_cast<ScreenRotation>(screenRotation)); in RSPhysicalScreenFuzzTest()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_properties_test.cpp | 2895 ScreenRotation screenRotation = ScreenRotation::ROTATION_90; in HWTEST_F() local 2896 RSPointLightManager::Instance()->SetScreenRotation(screenRotation); in HWTEST_F() 2899 screenRotation = ScreenRotation::ROTATION_180; in HWTEST_F() 2900 RSPointLightManager::Instance()->SetScreenRotation(screenRotation); in HWTEST_F() 2903 screenRotation = ScreenRotation::ROTATION_270; in HWTEST_F() 2904 RSPointLightManager::Instance()->SetScreenRotation(screenRotation); in HWTEST_F() 2907 screenRotation = ScreenRotation::INVALID_SCREEN_ROTATION; in HWTEST_F() 2908 RSPointLightManager::Instance()->SetScreenRotation(screenRotation); in HWTEST_F() 2911 screenRotation = ScreenRotation::ROTATION_0; in HWTEST_F() 2912 RSPointLightManager::Instance()->SetScreenRotation(screenRotation); in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/ |
H A D | rs_screen.h | 91 virtual void SetScreenCorrection(ScreenRotation screenRotation) = 0;
170 void SetScreenCorrection(ScreenRotation screenRotation) override;
|
H A D | rs_screen.cpp | 815 void RSScreen::SetScreenCorrection(ScreenRotation screenRotation)
in SetScreenCorrection() argument 818 __func__, id_, static_cast<uint32_t>(screenRotation));
in SetScreenCorrection() 819 screenRotation_ = screenRotation;
in SetScreenCorrection()
|
H A D | rs_screen_manager.h | 102 virtual int32_t SetScreenCorrection(ScreenId id, ScreenRotation screenRotation) = 0;
373 int32_t SetScreenCorrection(ScreenId id, ScreenRotation screenRotation) override;
486 int32_t SetScreenCorrectionLocked(ScreenId id, ScreenRotation screenRotation);
|
H A D | rs_screen_manager.cpp | 913 ScreenRotation screenRotation = screensIt->second->GetScreenCorrection();
in GetScreenCorrectionLocked() local 914 return screenRotation;
in GetScreenCorrectionLocked() 1753 int32_t RSScreenManager::SetScreenCorrectionLocked(ScreenId id, ScreenRotation screenRotation)
in SetScreenCorrectionLocked() argument 1760 screensIt->second->SetScreenCorrection(screenRotation);
in SetScreenCorrectionLocked() 1761 screenCorrection_[id] = screenRotation;
in SetScreenCorrectionLocked() 2006 int32_t RSScreenManager::SetScreenCorrection(ScreenId id, ScreenRotation screenRotation)
in SetScreenCorrection() argument 2009 return SetScreenCorrectionLocked(id, screenRotation);
in SetScreenCorrection()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_surface_render_node_test.cpp | 1964 ScreenRotation screenRotation = ScreenRotation::ROTATION_0; in HWTEST_F() local 1966 Occlusion::Region res = testNode->ResetOpaqueRegion(absRect, screenRotation, isFocusWindow); in HWTEST_F() 1969 res = testNode->ResetOpaqueRegion(absRect, screenRotation, isFocusWindow); in HWTEST_F() 2108 ScreenRotation screenRotation = ScreenRotation::ROTATION_0; in HWTEST_F() local 2109 node->CheckAndUpdateOpaqueRegion(screeninfo, screenRotation, true); in HWTEST_F() 2155 ScreenRotation screenRotation = ScreenRotation::ROTATION_0; in HWTEST_F() local 2158 ASSERT_FALSE(node->CheckOpaqueRegionBaseInfo(screeninfo, absRect, screenRotation, isFocusWindow, cornerRadius)); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/transaction/ |
H A D | rs_interfaces.h | 178 int32_t SetScreenCorrection(ScreenId id, ScreenRotation screenRotation);
|
H A D | rs_interfaces.cpp | 467 int32_t RSInterfaces::SetScreenCorrection(ScreenId id, ScreenRotation screenRotation)
in SetScreenCorrection() argument 469 return renderServiceClient_->SetScreenCorrection(id, screenRotation);
in SetScreenCorrection()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/ |
H A D | rs_display_render_node_drawable.cpp | 562 auto screenRotation = GetRenderParams()->GetScreenRotation(); in OnDraw() local 571 screenRotation = static_cast<ScreenRotation>((static_cast<int>(screenRotation) + 1) % ROTATION_NUM); in OnDraw() 573 RSPointLightManager::Instance()->SetScreenRotation(screenRotation); in OnDraw()
|