Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp684 int32_t naturalPhysicalWidth, naturalPhysicalHeight; in configureSurface() local
692 naturalPhysicalHeight = mViewport.physicalRight - mViewport.physicalLeft; in configureSurface()
702 naturalPhysicalHeight = mViewport.physicalBottom - mViewport.physicalTop; in configureSurface()
712 naturalPhysicalHeight = mViewport.physicalRight - mViewport.physicalLeft; in configureSurface()
723 naturalPhysicalHeight = mViewport.physicalBottom - mViewport.physicalTop; in configureSurface()
731 if (naturalPhysicalHeight == 0 || naturalPhysicalWidth == 0) { in configureSurface()
733 naturalPhysicalHeight = naturalPhysicalHeight == 0 ? 1 : naturalPhysicalHeight; in configureSurface()
738 mPhysicalHeight = naturalPhysicalHeight; in configureSurface()
743 mSurfaceHeight = naturalLogicalHeight * naturalDeviceHeight / naturalPhysicalHeight; in configureSurface()
745 mSurfaceTop = naturalPhysicalTop * naturalLogicalHeight / naturalPhysicalHeight; in configureSurface()