Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DRotaryEncoderInputMapper.cpp87 std::optional<DisplayViewport> internalViewport = in reconfigure() local
89 if (internalViewport) { in reconfigure()
90 mOrientation = internalViewport->orientation; in reconfigure()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp389 std::optional<DisplayViewport> internalViewport = in TEST_F() local
391 ASSERT_FALSE(internalViewport); in TEST_F()
398 internalViewport = mFakePolicy->getDisplayViewportByUniqueId(uniqueId); in TEST_F()
399 ASSERT_TRUE(internalViewport); in TEST_F()
400 ASSERT_EQ(ViewportType::INTERNAL, internalViewport->type); in TEST_F()
403 internalViewport = mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in TEST_F()
404 ASSERT_TRUE(internalViewport); in TEST_F()
405 ASSERT_EQ(uniqueId, internalViewport->uniqueId); in TEST_F()
409 internalViewport = mFakePolicy->getDisplayViewportByUniqueId(uniqueId); in TEST_F()
410 ASSERT_FALSE(internalViewport); in TEST_F()
[all …]
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayManagerServiceTest.java480 DisplayViewport internalViewport = null;
487 internalViewport = v;
488 assertTrue(internalViewport.valid);
503 assertNotNull(internalViewport);