Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputReader.cpp3564 int32_t naturalPhysicalWidth, naturalPhysicalHeight; in configureSurface() local
3571 naturalPhysicalWidth = mViewport.physicalBottom - mViewport.physicalTop; in configureSurface()
3581 naturalPhysicalWidth = mViewport.physicalRight - mViewport.physicalLeft; in configureSurface()
3591 naturalPhysicalWidth = mViewport.physicalBottom - mViewport.physicalTop; in configureSurface()
3602 naturalPhysicalWidth = mViewport.physicalRight - mViewport.physicalLeft; in configureSurface()
3611 if (naturalPhysicalHeight == 0 || naturalPhysicalWidth == 0) { in configureSurface()
3614 naturalPhysicalWidth = naturalPhysicalWidth == 0 ? 1 : naturalPhysicalWidth; in configureSurface()
3617 mPhysicalWidth = naturalPhysicalWidth; in configureSurface()
3622 mSurfaceWidth = naturalLogicalWidth * naturalDeviceWidth / naturalPhysicalWidth; in configureSurface()
3624 mSurfaceLeft = naturalPhysicalLeft * naturalLogicalWidth / naturalPhysicalWidth; in configureSurface()