Home
last modified time | relevance | path

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

/aosp12/frameworks/native/services/inputflinger/reader/mapper/
H A DTouchInputMapper.cpp698 naturalLogicalWidth = mViewport.logicalBottom - mViewport.logicalTop; in configureSurface()
699 naturalLogicalHeight = mViewport.logicalRight - mViewport.logicalLeft; in configureSurface()
708 naturalLogicalWidth = mViewport.logicalRight - mViewport.logicalLeft; in configureSurface()
709 naturalLogicalHeight = mViewport.logicalBottom - mViewport.logicalTop; in configureSurface()
712 naturalPhysicalLeft = mViewport.deviceWidth - mViewport.physicalRight; in configureSurface()
718 naturalLogicalWidth = mViewport.logicalBottom - mViewport.logicalTop; in configureSurface()
719 naturalLogicalHeight = mViewport.logicalRight - mViewport.logicalLeft; in configureSurface()
723 naturalPhysicalTop = mViewport.deviceWidth - mViewport.physicalRight; in configureSurface()
729 naturalLogicalWidth = mViewport.logicalRight - mViewport.logicalLeft; in configureSurface()
730 naturalLogicalHeight = mViewport.logicalBottom - mViewport.logicalTop; in configureSurface()
[all …]
H A DKeyboardInputMapper.cpp103 if (mViewport) { in getOrientation()
104 return mViewport->orientation; in getOrientation()
110 if (mViewport) { in getDisplayId()
111 return mViewport->displayId; in getDisplayId()
157 mViewport = findViewport(when, config); in configure()
459 if (mViewport) { in getAssociatedDisplayId()
460 return std::make_optional(mViewport->displayId); in getAssociatedDisplayId()
H A DKeyboardInputMapper.h49 std::optional<DisplayViewport> mViewport;
H A DTouchInputMapper.h419 DisplayViewport mViewport;
/aosp12/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp1006 std::optional<DisplayViewport> mViewport; member in android::FakeInputMapper
1103 mViewport = config->getDisplayViewportByPort(*displayPort); in configure()
1159 if (mViewport) { in getAssociatedDisplay()
1160 return std::make_optional(mViewport->displayId); in getAssociatedDisplay()