/frameworks/native/libs/renderengine/tests/ |
D | RenderEngineTest.cpp | 33 constexpr int DEFAULT_DISPLAY_HEIGHT = 256; 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() 243 DEFAULT_DISPLAY_HEIGHT); in offsetRect() 248 DEFAULT_DISPLAY_HEIGHT - DEFAULT_DISPLAY_OFFSET); in offsetRectAtZero() 502 DEFAULT_DISPLAY_HEIGHT), in fillBufferPhysicalOffset() 504 Rect offsetRegionLeft(DEFAULT_DISPLAY_OFFSET, DEFAULT_DISPLAY_HEIGHT); in fillBufferPhysicalOffset() 549 expectBufferColor(Rect(0, 0, DEFAULT_DISPLAY_WIDTH / 2, DEFAULT_DISPLAY_HEIGHT / 2), 255, 0, 0, in fillBufferCheckersRotate0() 552 DEFAULT_DISPLAY_HEIGHT / 2), in fillBufferCheckersRotate0() 554 expectBufferColor(Rect(DEFAULT_DISPLAY_WIDTH / 2, DEFAULT_DISPLAY_HEIGHT / 2, in fillBufferCheckersRotate0() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | CompositionTest.cpp | 85 constexpr int DEFAULT_DISPLAY_HEIGHT = 1024; variable 108 .WillRepeatedly(DoAll(SetArgPointee<1>(DEFAULT_DISPLAY_HEIGHT), Return(0))); in CompositionTest() 231 const Rect sourceCrop(0, 0, DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT); in captureScreenComposition() 237 DEFAULT_DISPLAY_HEIGHT, ui::Dataspace::V0_SRGB, in captureScreenComposition() 285 .WillRepeatedly(DoAll(SetArgPointee<1>(DEFAULT_DISPLAY_HEIGHT), 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 …]
|
D | DisplayTransactionTest.cpp | 255 constexpr int DEFAULT_DISPLAY_HEIGHT = 1920; in injectDefaultInternalDisplay() local 264 .WillRepeatedly(DoAll(SetArgPointee<1>(DEFAULT_DISPLAY_HEIGHT), Return(0))); in injectDefaultInternalDisplay() 275 .setPixels({DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT}) in injectDefaultInternalDisplay() 1443 static constexpr int32_t DEFAULT_DISPLAY_HEIGHT = 1920; // 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 …]
|
D | RefreshRateSelectionTest.cpp | 61 static constexpr int DEFAULT_DISPLAY_HEIGHT = 1024; member in android::RefreshRateSelectionTest
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | RenderSurfaceTest.cpp | 35 constexpr int32_t DEFAULT_DISPLAY_HEIGHT = 1080; variable 65 DEFAULT_DISPLAY_HEIGHT, mNativeWindow, 95 const ui::Size expected{DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT}; in TEST_F()
|
D | DisplayTest.cpp | 62 constexpr int32_t DEFAULT_DISPLAY_HEIGHT = 1080; variable 167 .setPixels({DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT}) in getDisplayCreationArgsForPhysicalHWCDisplay() 178 .setPixels({DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT}) in getDisplayCreationArgsForNonHWCVirtualDisplay() 1008 .setPixels({DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT}) 1019 DEFAULT_DISPLAY_HEIGHT, mNativeWindow,
|