Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp26 constexpr int DEFAULT_DISPLAY_WIDTH = 128; 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()
111 return Rect(DEFAULT_DISPLAY_OFFSET, DEFAULT_DISPLAY_OFFSET, DEFAULT_DISPLAY_WIDTH, in offsetRect()
116 return Rect(DEFAULT_DISPLAY_WIDTH - DEFAULT_DISPLAY_OFFSET, in offsetRectAtZero()
361 expectBufferColor(Rect(DEFAULT_DISPLAY_OFFSET, DEFAULT_DISPLAY_OFFSET, DEFAULT_DISPLAY_WIDTH, in fillBufferPhysicalOffset()
365 Rect offsetRegionTop(DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_OFFSET); in fillBufferPhysicalOffset()
409 expectBufferColor(Rect(0, 0, DEFAULT_DISPLAY_WIDTH / 2, DEFAULT_DISPLAY_HEIGHT / 2), 255, 0, 0, in fillBufferCheckersRotate0()
411 expectBufferColor(Rect(DEFAULT_DISPLAY_WIDTH / 2, 0, DEFAULT_DISPLAY_WIDTH, in fillBufferCheckersRotate0()
414 expectBufferColor(Rect(DEFAULT_DISPLAY_WIDTH / 2, DEFAULT_DISPLAY_HEIGHT / 2, in fillBufferCheckersRotate0()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp77 constexpr int DEFAULT_DISPLAY_WIDTH = 1920; variable
103 .WillRepeatedly(DoAll(SetArgPointee<1>(DEFAULT_DISPLAY_WIDTH), Return(0))); in CompositionTest()
225 const Rect sourceCrop(0, 0, DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT); in captureScreenComposition()
229 DisplayRenderArea renderArea(mDisplay, sourceCrop, DEFAULT_DISPLAY_WIDTH, in captureScreenComposition()
280 .WillRepeatedly(DoAll(SetArgPointee<1>(DEFAULT_DISPLAY_WIDTH), 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.cpp39 constexpr int32_t DEFAULT_DISPLAY_WIDTH = 1920; variable
72 RenderSurfaceCreationArgs{DEFAULT_DISPLAY_WIDTH,
103 const ui::Size expected{DEFAULT_DISPLAY_WIDTH, DEFAULT_DISPLAY_HEIGHT}; in TEST_F()