• Home
  • Raw
  • Download

Lines Matching refs:internalViewport

1256     std::optional<DisplayViewport> internalViewport =  in TEST_F()  local
1258 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()
1279 internalViewport = mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in TEST_F()
1280 ASSERT_FALSE(internalViewport); in TEST_F()
1309 std::optional<DisplayViewport> internalViewport = in TEST_F() local
1311 ASSERT_TRUE(internalViewport); in TEST_F()
1312 ASSERT_EQ(internalUniqueId, internalViewport->uniqueId); in TEST_F()
8328 std::optional<DisplayViewport> internalViewport = in halfDisplayToCenterHorizontal() local
8332 internalViewport->orientation = orientation; in halfDisplayToCenterHorizontal()
8334 internalViewport->logicalLeft = 0; in halfDisplayToCenterHorizontal()
8335 internalViewport->logicalTop = 0; in halfDisplayToCenterHorizontal()
8336 internalViewport->logicalRight = DISPLAY_HEIGHT; in halfDisplayToCenterHorizontal()
8337 internalViewport->logicalBottom = DISPLAY_WIDTH / 2; in halfDisplayToCenterHorizontal()
8339 internalViewport->physicalLeft = 0; in halfDisplayToCenterHorizontal()
8340 internalViewport->physicalTop = DISPLAY_WIDTH / 4; in halfDisplayToCenterHorizontal()
8341 internalViewport->physicalRight = DISPLAY_HEIGHT; in halfDisplayToCenterHorizontal()
8342 internalViewport->physicalBottom = DISPLAY_WIDTH * 3 / 4; in halfDisplayToCenterHorizontal()
8344 internalViewport->deviceWidth = DISPLAY_HEIGHT; in halfDisplayToCenterHorizontal()
8345 internalViewport->deviceHeight = DISPLAY_WIDTH; in halfDisplayToCenterHorizontal()
8347 internalViewport->logicalLeft = 0; in halfDisplayToCenterHorizontal()
8348 internalViewport->logicalTop = 0; in halfDisplayToCenterHorizontal()
8349 internalViewport->logicalRight = DISPLAY_WIDTH / 2; in halfDisplayToCenterHorizontal()
8350 internalViewport->logicalBottom = DISPLAY_HEIGHT; in halfDisplayToCenterHorizontal()
8352 internalViewport->physicalLeft = DISPLAY_WIDTH / 4; in halfDisplayToCenterHorizontal()
8353 internalViewport->physicalTop = 0; in halfDisplayToCenterHorizontal()
8354 internalViewport->physicalRight = DISPLAY_WIDTH * 3 / 4; in halfDisplayToCenterHorizontal()
8355 internalViewport->physicalBottom = DISPLAY_HEIGHT; in halfDisplayToCenterHorizontal()
8357 internalViewport->deviceWidth = DISPLAY_WIDTH; in halfDisplayToCenterHorizontal()
8358 internalViewport->deviceHeight = DISPLAY_HEIGHT; in halfDisplayToCenterHorizontal()
8361 mFakePolicy->updateViewport(internalViewport.value()); in halfDisplayToCenterHorizontal()