Home
last modified time | relevance | path

Searched refs:DEFAULT_DISPLAY_WIDTH (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp32 constexpr int DEFAULT_DISPLAY_WIDTH = 128; variable
61 return new GraphicBuffer(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT, in allocateDefaultBuffer()
239 static Rect fullscreenRect() { return Rect(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT); } in fullscreenRect()
242 return Rect(DEFAULT_DISPLAY_OFFSET, DEFAULT_DISPLAY_OFFSET, DEFAULT_DISPLAY_WIDTH, in offsetRect()
247 return Rect(DEFAULT_DISPLAY_WIDTH - DEFAULT_DISPLAY_OFFSET, in offsetRectAtZero()
501 expectBufferColor(Rect(DEFAULT_DISPLAY_OFFSET, DEFAULT_DISPLAY_OFFSET, DEFAULT_DISPLAY_WIDTH, in fillBufferPhysicalOffset()
505 Rect offsetRegionTop(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_OFFSET); in fillBufferPhysicalOffset()
549 expectBufferColor(Rect(0, 0, DEFAULT_DISPLAY_WIDTH / 2, DEFAULT_DISPLAY_HEIGHT / 2), 255, 0, 0, in fillBufferCheckersRotate0()
551 expectBufferColor(Rect(DEFAULT_DISPLAY_WIDTH / 2, 0, DEFAULT_DISPLAY_WIDTH, in fillBufferCheckersRotate0()
554 expectBufferColor(Rect(DEFAULT_DISPLAY_WIDTH / 2, DEFAULT_DISPLAY_HEIGHT / 2, in fillBufferCheckersRotate0()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayTest.cpp61 constexpr int32_t DEFAULT_DISPLAY_WIDTH = 1920; variable
167 .setPixels({DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT}) in getDisplayCreationArgsForPhysicalHWCDisplay()
178 .setPixels({DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT}) in getDisplayCreationArgsForNonHWCVirtualDisplay()
261 .setPixels(ui::Size(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_WIDTH)) in TEST_F()
282 .setPixels(ui::Size(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_WIDTH)) in TEST_F()
300 allocateVirtualDisplay(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_WIDTH, in TEST_F()
308 .setPixels(ui::Size(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_WIDTH)) in TEST_F()
326 allocateVirtualDisplay(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_WIDTH, in TEST_F()
334 .setPixels(ui::Size(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_WIDTH)) in TEST_F()
354 .setPixels(ui::Size(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_WIDTH)) in TEST_F()
[all …]
DRenderSurfaceTest.cpp34 constexpr int32_t DEFAULT_DISPLAY_WIDTH = 1920; variable
64 RenderSurfaceCreationArgs{DEFAULT_DISPLAY_WIDTH,
95 const ui::Size expected{DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT}; in TEST_F()
/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp84 constexpr int DEFAULT_DISPLAY_WIDTH = 1920; variable
106 .WillRepeatedly(DoAll(SetArgPointee<1>(DEFAULT_DISPLAY_WIDTH), Return(0))); in CompositionTest()
231 const Rect sourceCrop(0, 0, DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT); in captureScreenComposition()
236 DisplayRenderArea renderArea(mDisplay, sourceCrop, DEFAULT_DISPLAY_WIDTH, in captureScreenComposition()
283 .WillRepeatedly(DoAll(SetArgPointee<1>(DEFAULT_DISPLAY_WIDTH), Return(0))); in setupPreconditions()
296 .setPixels({DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT}) in setupPreconditions()
354 EXPECT_EQ(Rect(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT), in setupCommonScreensCaptureCallExpectations()
356 EXPECT_EQ(Rect(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT), in setupCommonScreensCaptureCallExpectations()
403 EXPECT_EQ(Rect(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT), in setupRECompositionCallExpectations()
405 EXPECT_EQ(Rect(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT), in setupRECompositionCallExpectations()
[all …]
DDisplayTransactionTest.cpp254 constexpr int DEFAULT_DISPLAY_WIDTH = 1080; in injectDefaultInternalDisplay() local
262 .WillRepeatedly(DoAll(SetArgPointee<1>(DEFAULT_DISPLAY_WIDTH), Return(0))); in injectDefaultInternalDisplay()
275 .setPixels({DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT}) in injectDefaultInternalDisplay()
1442 static constexpr int32_t DEFAULT_DISPLAY_WIDTH = 1080; // arbitrary member in android::__anon968546880111::DisplayDeviceSetProjectionTest
1554 : DisplayDeviceSetProjectionTest(ui::Size(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT), in DisplayDeviceSetProjectionTest_Installed0()
1555 ui::Size(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT), in DisplayDeviceSetProjectionTest_Installed0()
1581 : DisplayDeviceSetProjectionTest(ui::Size(DEFAULT_DISPLAY_HEIGHT, DEFAULT_DISPLAY_WIDTH), in DisplayDeviceSetProjectionTest_Installed90()
1582 ui::Size(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT), in DisplayDeviceSetProjectionTest_Installed90()
1608 : DisplayDeviceSetProjectionTest(ui::Size(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT), in DisplayDeviceSetProjectionTest_Installed180()
1609 ui::Size(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT), in DisplayDeviceSetProjectionTest_Installed180()
[all …]
DRefreshRateSelectionTest.cpp60 static constexpr int DEFAULT_DISPLAY_WIDTH = 1920; member in android::RefreshRateSelectionTest