Home
last modified time | relevance | path

Searched refs:displayRect (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/libs/renderengine/skia/
DCache.cpp68 const Rect& displayRect = display.physicalDisplay; in drawShadowLayers() local
69 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawShadowLayers()
70 FloatRect smallerRect(20, 20, displayRect.width()-20, displayRect.height()-20); in drawShadowLayers()
134 const Rect& displayRect = display.physicalDisplay; in drawImageLayers() local
135 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawImageLayers()
173 const Rect& displayRect = display.physicalDisplay; in drawSolidLayers() local
174 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawSolidLayers()
199 const Rect& displayRect = display.physicalDisplay; in drawBlurLayers() local
200 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawBlurLayers()
226 const Rect& displayRect = display.physicalDisplay; in drawClippedLayers() local
[all …]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DAccessibilityNodeInfoHelper.java43 Rect displayRect = new Rect(); in getVisibleBoundsInScreen() local
44 displayRect.top = 0; in getVisibleBoundsInScreen()
45 displayRect.left = 0; in getVisibleBoundsInScreen()
46 displayRect.right = width; in getVisibleBoundsInScreen()
47 displayRect.bottom = height; in getVisibleBoundsInScreen()
49 if (nodeRect.intersect(displayRect)) { in getVisibleBoundsInScreen()
/frameworks/native/libs/renderengine/benchmark/
DRenderEngineBench.cpp105 const Rect displayRect(0, 0, static_cast<int32_t>(width), static_cast<int32_t>(height)); in copyBuffer() local
107 .physicalDisplay = displayRect, in copyBuffer()
108 .clip = displayRect, in copyBuffer()
149 const Rect displayRect(0, 0, static_cast<int32_t>(width), static_cast<int32_t>(height)); in benchDrawLayers() local
151 .physicalDisplay = displayRect, in benchDrawLayers()
152 .clip = displayRect, in benchDrawLayers()
/frameworks/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/
DDesktopModeAppHelper.kt81 val displayRect = in <lambda>() constant
82 wmHelper.currentState.wmState.getDefaultDisplay()?.displayRect in <lambda>()
86 val endY = displayRect.centerY() / 2 in <lambda>()
DPipAppHelper.kt111 val displayRect = in <lambda>() constant
112 wmHelper.currentState.wmState.getDefaultDisplay()?.displayRect in <lambda>()
121 val endX = displayRect.centerX() + offset * (if (isCloserToRightEdge(wmHelper)) 1 else -1) in <lambda>()
135 val displayRect = in <lambda>() constant
136 wmHelper.currentState.wmState.getDefaultDisplay()?.displayRect in <lambda>()
139 return windowRect.centerX() > displayRect.centerX() in <lambda>()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDevice.java345 Rect layerStackRect, Rect displayRect) { in setProjectionLocked() argument
350 || !mCurrentDisplayRect.equals(displayRect)) { in setProjectionLocked()
361 mCurrentDisplayRect.set(displayRect); in setProjectionLocked()
364 orientation, layerStackRect, displayRect); in setProjectionLocked()
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp2547 const auto displayRect = Rect(3, 1); in TEST_P() local
2549 .physicalDisplay = displayRect, in TEST_P()
2550 .clip = displayRect, in TEST_P()
2624 const auto displayRect = Rect(3, 1); in TEST_P() local
2626 .physicalDisplay = displayRect, in TEST_P()
2627 .clip = displayRect, in TEST_P()
2702 const auto displayRect = Rect(3, 1); in TEST_P() local
2704 .physicalDisplay = displayRect, in TEST_P()
2705 .clip = displayRect, in TEST_P()
2765 const auto displayRect = Rect(3, 1); in TEST_P() local
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/util/
DStubTransaction.java207 int orientation, Rect layerStackRect, Rect displayRect) { in setDisplayProjection() argument
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DStubTransaction.java205 int orientation, Rect layerStackRect, Rect displayRect) { in setDisplayProjection() argument
/frameworks/base/core/java/android/view/
DSurfaceControl.java3635 int orientation, Rect layerStackRect, Rect displayRect) { in setDisplayProjection() argument
3642 if (displayRect == null) { in setDisplayProjection()
3647 displayRect.left, displayRect.top, displayRect.right, displayRect.bottom); in setDisplayProjection()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp316 const Rect displayRect{0, 0, 1000, 2000}; in TEST_F() local
318 ui::Size(displayRect.getWidth(), displayRect.getHeight())); in TEST_F()
320 ui::Size(displayRect.getWidth(), displayRect.getHeight())); in TEST_F()
341 EXPECT_EQ(displayRect, state.displaySpace.getBoundsAsRect()); in TEST_F()
345 EXPECT_EQ(displayRect, state.framebufferSpace.getBoundsAsRect()); in TEST_F()
356 const Rect displayRect{0, 0, 1000, 2000}; in TEST_F() local
359 ui::Size(displayRect.getWidth(), displayRect.getHeight())); in TEST_F()
382 EXPECT_EQ(displayRect, state.displaySpace.getBoundsAsRect()); in TEST_F()
418 const Rect displayRect(newDisplaySize); in TEST_F() local
426 EXPECT_EQ(displayRect, state.displaySpace.getBoundsAsRect()); in TEST_F()
[all …]
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h769 const Rect& layerStackRect, const Rect& displayRect);
800 const Rect& layerStackRect, const Rect& displayRect);
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp658 Rect displayRect(0, 0, mWidth, mHeight); in rotateAwayFromNaturalOrientationIfNeeded() local
662 t.setDisplayProjection(mDisplayToken, orientation, layerStackRect, displayRect); in rotateAwayFromNaturalOrientationIfNeeded()
1808 Rect displayRect(0, mTargetInset, mWidth, mHeight); in handleViewport() local
1813 t.setDisplayProjection(mDisplayToken, ui::ROTATION_0, layerStackRect, displayRect); in handleViewport()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp319 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight); in setDisplayProjection() local
335 layerStackRect, displayRect); in setDisplayProjection()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp1212 Rect displayRect(displayRect_left, displayRect_top, displayRect_right, displayRect_bottom); in nativeSetDisplayProjection() local
1217 layerStackRect, displayRect); in nativeSetDisplayProjection()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp2314 const Rect& displayRect) { in setDisplayProjection() argument
2318 s.orientedDisplaySpaceRect = displayRect; in setDisplayProjection()