Home
last modified time | relevance | path

Searched refs:internalViewport (Results 1 – 4 of 4) 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/reader/mapper/
DRotaryEncoderInputMapper.cpp68 std::optional<DisplayViewport> internalViewport = in configure() local
70 if (internalViewport) { in configure()
71 mOrientation = internalViewport->orientation; in configure()
DCursorInputMapper.cpp184 std::optional<DisplayViewport> internalViewport = in configure() local
186 if (internalViewport) { in configure()
187 mOrientation = internalViewport->orientation; in configure()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1091 std::optional<DisplayViewport> internalViewport = in TEST_F() local
1093 ASSERT_FALSE(internalViewport); in TEST_F()
1100 internalViewport = mFakePolicy->getDisplayViewportByUniqueId(uniqueId); in TEST_F()
1101 ASSERT_TRUE(internalViewport); in TEST_F()
1102 ASSERT_EQ(ViewportType::VIEWPORT_INTERNAL, internalViewport->type); in TEST_F()
1105 internalViewport = mFakePolicy->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in TEST_F()
1106 ASSERT_TRUE(internalViewport); in TEST_F()
1107 ASSERT_EQ(uniqueId, internalViewport->uniqueId); in TEST_F()
1111 internalViewport = mFakePolicy->getDisplayViewportByUniqueId(uniqueId); in TEST_F()
1112 ASSERT_FALSE(internalViewport); in TEST_F()
[all …]