Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java156 DisplayViewport internalViewport = null; in testCreateVirtualDisplay_sentToInputManager() local
161 internalViewport = v; in testCreateVirtualDisplay_sentToInputManager()
175 assertNotNull(internalViewport); in testCreateVirtualDisplay_sentToInputManager()
179 assertTrue(internalViewport.valid); in testCreateVirtualDisplay_sentToInputManager()
219 DisplayViewport internalViewport = viewports.get(0); in testPhysicalViewports() local
222 assertNotNull(internalViewport); in testPhysicalViewports()
223 assertEquals(DisplayViewport.VIEWPORT_INTERNAL, internalViewport.type); in testPhysicalViewports()
224 assertTrue(internalViewport.valid); in testPhysicalViewports()
225 assertEquals(displayId, internalViewport.displayId); in testPhysicalViewports()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1079 std::optional<DisplayViewport> internalViewport = in TEST_F() local
1081 ASSERT_FALSE(internalViewport); in TEST_F()
1088 internalViewport = mFakePolicy->getDisplayViewportByUniqueId(uniqueId); in TEST_F()
1089 ASSERT_TRUE(internalViewport); in TEST_F()
1090 ASSERT_EQ(ViewportType::VIEWPORT_INTERNAL, internalViewport->type); in TEST_F()
1093 internalViewport = mFakePolicy->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in TEST_F()
1094 ASSERT_TRUE(internalViewport); in TEST_F()
1095 ASSERT_EQ(uniqueId, internalViewport->uniqueId); in TEST_F()
1099 internalViewport = mFakePolicy->getDisplayViewportByUniqueId(uniqueId); in TEST_F()
1100 ASSERT_FALSE(internalViewport); in TEST_F()
[all …]
/frameworks/native/services/inputflinger/
DInputReader.cpp2651 std::optional<DisplayViewport> internalViewport = in configure() local
2653 if (internalViewport) { in configure()
2654 mOrientation = internalViewport->orientation; in configure()
2990 std::optional<DisplayViewport> internalViewport = in configure() local
2992 if (internalViewport) { in configure()
2993 mOrientation = internalViewport->orientation; in configure()