Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp674 int32_t naturalPhysicalWidth, naturalPhysicalHeight; in configureSurface() local
682 naturalPhysicalHeight = mViewport.physicalRight - mViewport.physicalLeft; in configureSurface()
692 naturalPhysicalHeight = mViewport.physicalBottom - mViewport.physicalTop; in configureSurface()
702 naturalPhysicalHeight = mViewport.physicalRight - mViewport.physicalLeft; in configureSurface()
713 naturalPhysicalHeight = mViewport.physicalBottom - mViewport.physicalTop; in configureSurface()
721 if (naturalPhysicalHeight == 0 || naturalPhysicalWidth == 0) { in configureSurface()
723 naturalPhysicalHeight = naturalPhysicalHeight == 0 ? 1 : naturalPhysicalHeight; in configureSurface()
728 mPhysicalHeight = naturalPhysicalHeight; in configureSurface()
733 mRawSurfaceHeight = naturalLogicalHeight * naturalDeviceHeight / naturalPhysicalHeight; in configureSurface()
735 mSurfaceTop = naturalPhysicalTop * naturalLogicalHeight / naturalPhysicalHeight; in configureSurface()