/foundation/distributedhardware/distributed_screen/services/common/test/unittest/utils/ |
H A D | dscreen_maprelation_test.cpp | 106 ScreenRect screenRect = {0, 0, 200, 200}; in HWTEST_F() local 112 dScreenMapRelation.SetScreenRect(screenRect); in HWTEST_F() 132 ScreenRect screenRect = {0, 0, 200, 200}; in HWTEST_F() local 137 dScreenMapRelation.SetScreenRect(screenRect); in HWTEST_F() 213 ScreenRect screenRect; in HWTEST_F() local 214 from_json(j, screenRect); in HWTEST_F() 215 EXPECT_EQ(0, screenRect.startX); in HWTEST_F() 217 from_json(j, screenRect); in HWTEST_F() 218 EXPECT_EQ(0, screenRect.startX); in HWTEST_F() 220 from_json(j, screenRect); in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/component_test/core/ |
H A D | component_test_tester_impl.cpp | 121 NG::RectF screenRect(0.0, 0.0, context->GetRootWidth() * scale, context->GetRootHeight() * scale); in ScrollUntilExistImpl() 225 NG::RectF screenRect(0.0, 0.0, rootWidth * scale, rootHeight * scale); in FlingImpl() 227 NG::PointF from(screenRect.Width() * HALF, screenRect.Height() * HALF); in FlingImpl() 230 to.SetX(screenRect.Width() * HALF); in FlingImpl() 231 to.SetY(screenRect.Height() * HALF - screenRect.Height() * QUARTER); in FlingImpl() 234 to.SetX(screenRect.Width() * HALF); in FlingImpl() 235 to.SetY(screenRect.Height() * HALF + screenRect in FlingImpl() [all...] |
H A D | action.cpp | 220 NG::RectF screenRect(0, 0, rootWidth * scale, rootHeight * scale); in Decompose() 221 NG::PointF from(screenRect.Width() * HALF, screenRect.Height() * HALF); in Decompose() 225 float maxXScrollDelta = screenRect.Width() * QUARTER; in Decompose() 226 float maxYScrollDelta = screenRect.Height() * QUARTER; in Decompose() 274 NG::RectF screenRect(0, 0, rootWidth * scale, rootHeight * scale); in Decompose() 275 NG::PointF from(screenRect.Width() * HALF, screenRect.Height() * HALF); in Decompose() 279 float maxYScrollDelta = screenRect.Height() * QUARTER; in Decompose()
|
/foundation/arkui/ace_engine/frameworks/core/accessibility/ |
H A D | native_interface_accessibility_impl.cpp | 24 screenRect.leftTopX = 0; in ArkUI_AccessibilityElementInfo() 25 screenRect.leftTopY = 0; in ArkUI_AccessibilityElementInfo() 26 screenRect.rightBottomX = 0; in ArkUI_AccessibilityElementInfo() 27 screenRect.rightBottomY = 0; in ArkUI_AccessibilityElementInfo() 47 this->screenRect = rect; in SetRect()
|
/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | avoid_area_controller_test.cpp | 49 static Rect screenRect; member in OHOS::Rosen::AvoidAreaControllerTest 56 Rect AvoidAreaControllerTest::screenRect; member in OHOS::Rosen::AvoidAreaControllerTest 170 screenRect = { 0, 0, static_cast<uint32_t>(display->GetWidth()), static_cast<uint32_t>(display->GetHeight()) }; in SetUpTestCase() 171 auto barHeight = static_cast<uint32_t>(screenRect.height_ * BARRATIO); in SetUpTestCase() 172 Rect statusBarRect = { 0, 0, screenRect.width_, barHeight }; in SetUpTestCase() 173 Rect navigationRect = { 0, static_cast<int32_t>(screenRect.height_ - barHeight), screenRect.width_, barHeight }; in SetUpTestCase() 198 Rect keyboardRect = { 0, static_cast<int32_t>(screenRect.height_ / 2), screenRect.width_, screenRect in SetUpTestCase() 222 createWindowProperty(uint32_t windowId, const std::string& windowName, WindowType type, WindowMode mode, const Rect& screenRect) createWindowProperty() argument [all...] |
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/1.0/src/ |
H A D | screenregion.cpp | 102 ScreenRect screenRect = mapRelation_->GetScreenRect(); in SetUpWindow() local 103 windowProperty->startX = screenRect.startX; in SetUpWindow() 104 windowProperty->startY = screenRect.startY; in SetUpWindow() 105 windowProperty->width = screenRect.width; in SetUpWindow() 106 windowProperty->height = screenRect.height; in SetUpWindow()
|
/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sinkservice/screenregionmgr/2.0/src/ |
H A D | screenregion_test.cpp | 257 \"screenRect\":{\"height\":1280, \"startX\":0, \"startY\":0, \"width\":720}}, \"screenId\":2, \ in HWTEST_F() 275 \"screenRect\":{\"height\":1280, \"startX\":0, \"startY\":0, \"width\":720}}, \"screenId\":2, \ in HWTEST_F() 334 ScreenRect screenRect; in HWTEST_F() local 335 screenRect.startX = 0; in HWTEST_F() 336 screenRect.startY = 0; in HWTEST_F() 337 screenRect.width = VIDEO_DATA_NUM; in HWTEST_F() 338 screenRect.height = VIDEO_DATA_NUM; in HWTEST_F() 340 dScreenMapRelation.SetScreenRect(screenRect); in HWTEST_F() 371 ScreenRect screenRect; in HWTEST_F() local 372 screenRect in HWTEST_F() [all...] |
/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sinkservice/screenregionmgr/1.0/src/ |
H A D | screenregion_test.cpp | 170 ScreenRect screenRect; in HWTEST_F() local 171 screenRect.startX = 0; in HWTEST_F() 172 screenRect.startY = 0; in HWTEST_F() 173 screenRect.width = 256; in HWTEST_F() 174 screenRect.height = 256; in HWTEST_F() 175 screenRegion_->mapRelation_->SetScreenRect(screenRect); in HWTEST_F()
|
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | screen.cpp | 63 Rect screenRect = {0, 0, static_cast<int16_t>(screenWidth - 1), static_cast<int16_t>(screenHeight - 1)}; in GetCurrentScreenBitmap() 70 dstBufferInfo.rect = screenRect; in GetCurrentScreenBitmap() 78 baseGfxEngine->Blit(dstBufferInfo, dstPos, *bufferInfo, screenRect, blendOption); in GetCurrentScreenBitmap()
|
/foundation/window/window_manager/interfaces/kits/napi/screenshot/ |
H A D | native_screenshot_module.cpp | 95 napi_value screenRect; in GetScreenRect() local 96 NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, argv, "screenRect", &screenRect)); in GetScreenRect() 97 if (screenRect != nullptr && GetType(env, screenRect) == napi_object) { in GetScreenRect() 101 NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, screenRect, "left", &left)); in GetScreenRect() 110 NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, screenRect, "top", &top)); in GetScreenRect() 119 NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, screenRect, "width", &width)); in GetScreenRect() 128 NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, screenRect, "height", &height)); in GetScreenRect()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | componentInfo.h | 49 Rect screenRect; member
|
/foundation/window/window_manager/utils/test/unittest/ |
H A D | surface_draw_test.cpp | 155 OHOS::Rosen::Rect screenRect = {0, 0, 0, 0}; in HWTEST_F() local 157 ASSERT_FALSE(SurfaceDraw::DrawMasking(nullptr, screenRect, transRect)); in HWTEST_F() 169 ASSERT_FALSE(SurfaceDraw::DrawMasking(surfaceNode, screenRect, transRect)); in HWTEST_F() 171 screenRect.width_ = displayWidth_; in HWTEST_F() 172 screenRect.height_ = displayHeight_; in HWTEST_F() 175 SurfaceDraw::DrawMasking(surfaceNode, screenRect, transRect); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/screen/ |
H A D | screen_pattern.cpp | 158 MMI::Rect screenRect = { in UpdateToInputManager() local 168 .area = screenRect, in UpdateToInputManager() 169 .defaultHotAreas = { screenRect }, in UpdateToInputManager() 170 .pointerHotAreas = { screenRect }, in UpdateToInputManager()
|
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/2.0/src/ |
H A D | screenregion.cpp | 177 ScreenRect screenRect = mapRelation_->GetScreenRect(); in ConfigWindow() local 180 .startX = screenRect.startX, in ConfigWindow() 181 .startY = screenRect.startY, in ConfigWindow() 182 .width = screenRect.width, in ConfigWindow() 183 .height = screenRect.height in ConfigWindow()
|
/foundation/distributedhardware/distributed_screen/services/common/utils/src/ |
H A D | dscreen_maprelation.cpp | 57 void DScreenMapRelation::SetScreenRect(const ScreenRect &screenRect) in SetScreenRect() argument 59 screenRect_ = screenRect; in SetScreenRect()
|
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/common/src/ |
H A D | screen_manager_adapter.cpp | 177 ScreenRect screenRect = {0, 0, width, screen->GetHeight()}; in GetMapRelation() local 180 mapRelation->SetScreenRect(screenRect); in GetMapRelation()
|
/foundation/distributedhardware/distributed_screen/services/common/utils/include/ |
H A D | dscreen_maprelation.h | 46 void SetScreenRect(const ScreenRect &screenRect);
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_surface_render_node_test.cpp | 212 RectI screenRect {0, 0, 2560, 1600}; in HWTEST_F() 223 screenRect, absRect, ScreenRotation::ROTATION_0, false, dstCornerRadius); in HWTEST_F() 225 screenRect, absRect, ScreenRotation::ROTATION_0, true, dstCornerRadius); in HWTEST_F() 237 RectI screenRect {0, 0, 2560, 1600}; in HWTEST_F() 251 screenRect, absRect, ScreenRotation::ROTATION_0, false, dstCornerRadius); in HWTEST_F() 253 screenRect, absRect, ScreenRotation::ROTATION_0, true, dstCornerRadius); in HWTEST_F() 265 RectI screenRect {0, 0, 2560, 1600}; in HWTEST_F() 278 screenRect, absRect, ScreenRotation::ROTATION_0, false, dstCornerRadius); in HWTEST_F() 280 screenRect, absRect, ScreenRotation::ROTATION_0, true, dstCornerRadius); in HWTEST_F() 292 RectI screenRect { in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/drawable/ |
H A D | rs_display_node_drawable_test.cpp | 376 RectI screenRect{0, 0, 0, 0}; in HWTEST_F() 379 RSDisplayRenderNodeDrawable::CheckFilterCacheFullyCovered(*surfaceParams, screenRect); in HWTEST_F() 383 RSDisplayRenderNodeDrawable::CheckFilterCacheFullyCovered(*surfaceParams, screenRect); in HWTEST_F() 386 RSDisplayRenderNodeDrawable::CheckFilterCacheFullyCovered(*surfaceParams, screenRect); in HWTEST_F() 390 RSDisplayRenderNodeDrawable::CheckFilterCacheFullyCovered(*surfaceParams, screenRect); in HWTEST_F() 393 RSDisplayRenderNodeDrawable::CheckFilterCacheFullyCovered(*surfaceParams, screenRect); in HWTEST_F() 396 RSDisplayRenderNodeDrawable::CheckFilterCacheFullyCovered(*surfaceParams, screenRect); in HWTEST_F() 399 RSDisplayRenderNodeDrawable::CheckFilterCacheFullyCovered(*surfaceParams, screenRect); in HWTEST_F() 402 RSDisplayRenderNodeDrawable::CheckFilterCacheFullyCovered(*surfaceParams, screenRect); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/ |
H A D | rs_display_render_node_drawable_test.cpp | 543 RectI screenRect{0, 0, 0, 0}; in HWTEST_F() 546 RSDisplayRenderNodeDrawable::CheckFilterCacheFullyCovered(*surfaceParams, screenRect); in HWTEST_F() 550 RSDisplayRenderNodeDrawable::CheckFilterCacheFullyCovered(*surfaceParams, screenRect); in HWTEST_F() 553 RSDisplayRenderNodeDrawable::CheckFilterCacheFullyCovered(*surfaceParams, screenRect); in HWTEST_F() 557 RSDisplayRenderNodeDrawable::CheckFilterCacheFullyCovered(*surfaceParams, screenRect); in HWTEST_F() 560 RSDisplayRenderNodeDrawable::CheckFilterCacheFullyCovered(*surfaceParams, screenRect); in HWTEST_F() 563 RSDisplayRenderNodeDrawable::CheckFilterCacheFullyCovered(*surfaceParams, screenRect); in HWTEST_F() 566 RSDisplayRenderNodeDrawable::CheckFilterCacheFullyCovered(*surfaceParams, screenRect); in HWTEST_F() 569 RSDisplayRenderNodeDrawable::CheckFilterCacheFullyCovered(*surfaceParams, screenRect); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/accessibility/ |
H A D | js_third_provider_interaction_operation_utils_test.cpp | 45 ArkUI_AccessibleRect screenRect { in FillNativeAccessibilityElementInfoPart() 50 nativeInfo.SetRect(screenRect); in FillNativeAccessibilityElementInfoPart() 130 OHOS::Accessibility::Rect screenRect (leftTopX, leftTopY, rightBottomX, rightBottomY); in BuildAccessibilityElementInfoPart() 131 accessibilityElementInfo.SetRectInScreen(screenRect); in BuildAccessibilityElementInfoPart()
|
H A D | native_interface_accessibility_test.cpp | 186 ArkUI_AccessibleRect screenRect {leftTopX, leftTopY, rightBottomX, rightBottomY}; in BuildNativeAccessibilityElementInfoPart() 187 nativeInfo.SetRect(screenRect); in BuildNativeAccessibilityElementInfoPart() 409 ArkUI_AccessibleRect screenRect; in HWTEST_F() local 418 &testElementInfo, &screenRect, ARKUI_ACCESSIBILITY_NATIVE_RESULT_BAD_PARAMETER); in HWTEST_F() 421 &testElementInfo, &screenRect, ARKUI_ACCESSIBILITY_NATIVE_RESULT_BAD_PARAMETER); in HWTEST_F()
|
/foundation/arkui/ace_engine/interfaces/native/ |
H A D | native_interface_accessibility.cpp | 189 ArkUI_AccessibilityElementInfo* elementInfo, ArkUI_AccessibleRect* screenRect) in OH_ArkUI_AccessibilityElementInfoSetScreenRect() 192 CHECK_NULL_RETURN(screenRect, ARKUI_ACCESSIBILITY_NATIVE_RESULT_BAD_PARAMETER); in OH_ArkUI_AccessibilityElementInfoSetScreenRect() 193 elementInfo->SetRect(*screenRect); in OH_ArkUI_AccessibilityElementInfoSetScreenRect() 188 OH_ArkUI_AccessibilityElementInfoSetScreenRect( ArkUI_AccessibilityElementInfo* elementInfo, ArkUI_AccessibleRect* screenRect) OH_ArkUI_AccessibilityElementInfoSetScreenRect() argument
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_uni_render_virtual_processor.cpp | 229 const RectI screenRect{0, 0, originalVirtualScreenWidth_, originalVirtualScreenHeight_}; in SetRoiRegionToCodec() 232 rect = rect.IntersectRect(screenRect); in SetRoiRegionToCodec() 243 mergedRect = mergedRect.IntersectRect(screenRect); in SetRoiRegionToCodec()
|
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | move_drag_controller.cpp | 470 auto screenRect = GetScreenRectById(moveDragStartDisplayId_); in ConsumeDragEvent() local 471 if (moveDragIsInterrupted_ || screenRect == WSRect {-1, -1, -1, -1}) { in ConsumeDragEvent() 478 moveDragEndDisplayId_ = GetTargetRect(TargetRectCoordinate::GLOBAL).IsOverlap(screenRect) ? in ConsumeDragEvent() 520 WSRect screenRect = { in GetScreenRectById() local 526 return screenRect; in GetScreenRectById() 1093 WSRect screenRect = { in GetNewAddedDisplayIdsDuringMoveDrag() local 1099 if (windowRect.IsOverlap(screenRect)) { in GetNewAddedDisplayIdsDuringMoveDrag()
|