Home
last modified time | relevance | path

Searched refs:screenRotation (Results 1 - 25 of 38) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_display_node.cpp194 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 Drs_point_light_manager.h38 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 Drsdisplayrendernode_fuzzer.cpp74 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 Drs_uni_render_virtual_processor.cpp260 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 Drs_uni_hwc_prevalidate_util.cpp324 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 Drs_composer_adapter.cpp278 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 Drs_uni_render_virtual_processor.h84 void OriginScreenRotation(ScreenRotation screenRotation, float width, float height);
H A Drs_uni_render_composer_adapter.cpp555 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 Drs_surface_capture_task_parallel.cpp300 " 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 Drs_display_node_command.cpp93 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 Drsdisplaynodecommand_fuzzer.cpp75 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 Drspointlightmanager_fuzzer.cpp210 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 Drs_surface_render_node.cpp1687 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 Drs_surface_render_node.h857 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 Drs_display_render_node.h131 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 Drsinterfaces_fuzzer.cpp169 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 Drs_properties_test.cpp2895 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 Drs_screen.h91 virtual void SetScreenCorrection(ScreenRotation screenRotation) = 0;
170 void SetScreenCorrection(ScreenRotation screenRotation) override;
H A Drs_screen.cpp815 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 Drs_screen_manager.h102 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 Drs_screen_manager.cpp913 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 Drs_surface_render_node_test.cpp1964 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 Drs_interfaces.h178 int32_t SetScreenCorrection(ScreenId id, ScreenRotation screenRotation);
H A Drs_interfaces.cpp467 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 Drs_display_render_node_drawable.cpp562 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()

Completed in 42 milliseconds

12