Home
last modified time | relevance | path

Searched refs:DEFAULT_DISPLAY_HEIGHT (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp27 constexpr int DEFAULT_DISPLAY_HEIGHT = 256; variable
47 return new GraphicBuffer(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT, in allocateDefaultBuffer()
108 static Rect fullscreenRect() { return Rect(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT); } in fullscreenRect()
112 DEFAULT_DISPLAY_HEIGHT); in offsetRect()
117 DEFAULT_DISPLAY_HEIGHT - DEFAULT_DISPLAY_OFFSET); in offsetRectAtZero()
362 DEFAULT_DISPLAY_HEIGHT), in fillBufferPhysicalOffset()
364 Rect offsetRegionLeft(DEFAULT_DISPLAY_OFFSET, DEFAULT_DISPLAY_HEIGHT); in fillBufferPhysicalOffset()
409 expectBufferColor(Rect(0, 0, DEFAULT_DISPLAY_WIDTH / 2, DEFAULT_DISPLAY_HEIGHT / 2), 255, 0, 0, in fillBufferCheckersRotate0()
412 DEFAULT_DISPLAY_HEIGHT / 2), in fillBufferCheckersRotate0()
414 expectBufferColor(Rect(DEFAULT_DISPLAY_WIDTH / 2, DEFAULT_DISPLAY_HEIGHT / 2, in fillBufferCheckersRotate0()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp78 constexpr int DEFAULT_DISPLAY_HEIGHT = 1024; variable
105 .WillRepeatedly(DoAll(SetArgPointee<1>(DEFAULT_DISPLAY_HEIGHT), Return(0))); in CompositionTest()
225 const Rect sourceCrop(0, 0, DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT); in captureScreenComposition()
230 DEFAULT_DISPLAY_HEIGHT, ui::Dataspace::V0_SRGB, in captureScreenComposition()
282 .WillRepeatedly(DoAll(SetArgPointee<1>(DEFAULT_DISPLAY_HEIGHT), Return(0))); in setupPreconditions()
337 EXPECT_EQ(Rect(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT), in setupCommonScreensCaptureCallExpectations()
339 EXPECT_EQ(Rect(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT), in setupCommonScreensCaptureCallExpectations()
376 EXPECT_EQ(Rect(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT), in setupRECompositionCallExpectations()
378 EXPECT_EQ(Rect(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT), in setupRECompositionCallExpectations()
609 EXPECT_EQ(Rect(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT), in setupREBufferCompositionCommonCallExpectations()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DRenderSurfaceTest.cpp40 constexpr int32_t DEFAULT_DISPLAY_HEIGHT = 1080; variable
73 DEFAULT_DISPLAY_HEIGHT, mNativeWindow,
103 const ui::Size expected{DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT}; in TEST_F()