Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp684 int32_t naturalPhysicalWidth, naturalPhysicalHeight; in configureSurface() local
691 naturalPhysicalWidth = mViewport.physicalBottom - mViewport.physicalTop; in configureSurface()
701 naturalPhysicalWidth = mViewport.physicalRight - mViewport.physicalLeft; in configureSurface()
711 naturalPhysicalWidth = mViewport.physicalBottom - mViewport.physicalTop; in configureSurface()
722 naturalPhysicalWidth = mViewport.physicalRight - mViewport.physicalLeft; in configureSurface()
731 if (naturalPhysicalHeight == 0 || naturalPhysicalWidth == 0) { in configureSurface()
734 naturalPhysicalWidth = naturalPhysicalWidth == 0 ? 1 : naturalPhysicalWidth; in configureSurface()
737 mPhysicalWidth = naturalPhysicalWidth; in configureSurface()
742 mSurfaceWidth = naturalLogicalWidth * naturalDeviceWidth / naturalPhysicalWidth; in configureSurface()
744 mSurfaceLeft = naturalPhysicalLeft * naturalLogicalWidth / naturalPhysicalWidth; in configureSurface()