Searched refs:internalViewport (Results 1 – 4 of 4) sorted by relevance
70 std::optional<DisplayViewport> internalViewport = in configure() local72 if (internalViewport) { in configure()73 mOrientation = internalViewport->orientation; in configure()
203 std::optional<DisplayViewport> internalViewport = in configure() local205 if (internalViewport) { in configure()206 mOrientation = getInverseRotation(internalViewport->orientation); in configure()207 mDisplayWidth = internalViewport->deviceWidth; in configure()208 mDisplayHeight = internalViewport->deviceHeight; in configure()213 std::optional<DisplayViewport> internalViewport = in configure() local215 if (internalViewport) { in configure()216 mOrientation = internalViewport->orientation; in configure()
214 DisplayViewport internalViewport = null; in testCreateVirtualDisplay_sentToInputManager() local221 internalViewport = v; in testCreateVirtualDisplay_sentToInputManager()222 assertTrue(internalViewport.valid); in testCreateVirtualDisplay_sentToInputManager()236 assertNotNull(internalViewport); in testCreateVirtualDisplay_sentToInputManager()284 DisplayViewport internalViewport = viewports.get(i); in testPhysicalViewports() local287 assertNotNull(internalViewport); in testPhysicalViewports()288 assertEquals(DisplayViewport.VIEWPORT_INTERNAL, internalViewport.type); in testPhysicalViewports()289 assertTrue(internalViewport.valid); in testPhysicalViewports()290 assertTrue(Arrays.binarySearch(displayIds, internalViewport.displayId) >= 0); in testPhysicalViewports()
1256 std::optional<DisplayViewport> internalViewport = in TEST_F() local1258 ASSERT_FALSE(internalViewport); in TEST_F()1266 internalViewport = mFakePolicy->getDisplayViewportByUniqueId(uniqueId); in TEST_F()1267 ASSERT_TRUE(internalViewport); in TEST_F()1268 ASSERT_EQ(ViewportType::INTERNAL, internalViewport->type); in TEST_F()1271 internalViewport = mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in TEST_F()1272 ASSERT_TRUE(internalViewport); in TEST_F()1273 ASSERT_EQ(uniqueId, internalViewport->uniqueId); in TEST_F()1277 internalViewport = mFakePolicy->getDisplayViewportByUniqueId(uniqueId); in TEST_F()1278 ASSERT_FALSE(internalViewport); in TEST_F()[all …]