Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp203 const Rect& newViewport, const Rect& newFrame) { in setProjection() argument
204 Rect viewport(newViewport); in setProjection()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp2072 const Rect newViewport(0, 0, 123, 456); in TEST_F() local
2083 display.mutableCurrentDisplayState().viewport = newViewport; in TEST_F()
2093 EXPECT_EQ(newViewport, display.mutableDisplayDevice()->getViewport()); in TEST_F()
/frameworks/native/services/inputflinger/
DInputReader.cpp3495 DisplayViewport newViewport; in findViewport() local
3499 newViewport.setNonDisplayViewport(rawWidth, rawHeight); in findViewport()
3500 return std::make_optional(newViewport); in findViewport()
3543 std::optional<DisplayViewport> newViewport = findViewport(); in configureSurface() local
3544 if (!newViewport) { in configureSurface()
3557 bool viewportChanged = mViewport != *newViewport; in configureSurface()
3559 mViewport = *newViewport; in configureSurface()