Home
last modified time | relevance | path

Searched refs:mViewport (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.cpp101 if (mViewport) { in getOrientation()
102 return mViewport->orientation; in getOrientation()
108 if (mViewport) { in getDisplayId()
109 return mViewport->displayId; in getDisplayId()
157 mViewport = findViewport(when, config); in configure()
433 if (mViewport) { in getAssociatedDisplayId()
434 return std::make_optional(mViewport->displayId); in getAssociatedDisplayId()
DTouchInputMapper.cpp667 bool viewportChanged = mViewport != *newViewport; in configureSurface()
669 mViewport = *newViewport; in configureSurface()
677 switch (mViewport.orientation) { in configureSurface()
679 naturalLogicalWidth = mViewport.logicalBottom - mViewport.logicalTop; in configureSurface()
680 naturalLogicalHeight = mViewport.logicalRight - mViewport.logicalLeft; in configureSurface()
681 naturalPhysicalWidth = mViewport.physicalBottom - mViewport.physicalTop; in configureSurface()
682 naturalPhysicalHeight = mViewport.physicalRight - mViewport.physicalLeft; in configureSurface()
683 naturalPhysicalLeft = mViewport.deviceHeight - mViewport.physicalBottom; in configureSurface()
684 naturalPhysicalTop = mViewport.physicalLeft; in configureSurface()
685 naturalDeviceWidth = mViewport.deviceHeight; in configureSurface()
[all …]
DKeyboardInputMapper.h48 std::optional<DisplayViewport> mViewport;
DTouchInputMapper.h405 DisplayViewport mViewport;
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp966 std::optional<DisplayViewport> mViewport; member in android::FakeInputMapper
1065 mViewport = config->getDisplayViewportByPort(*displayPort); in configure()
1121 if (mViewport) { in getAssociatedDisplay()
1122 return std::make_optional(mViewport->displayId); in getAssociatedDisplay()