Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputReader.cpp3564 int32_t naturalPhysicalWidth, naturalPhysicalHeight; in configureSurface() local
3572 naturalPhysicalHeight = mViewport.physicalRight - mViewport.physicalLeft; in configureSurface()
3582 naturalPhysicalHeight = mViewport.physicalBottom - mViewport.physicalTop; in configureSurface()
3592 naturalPhysicalHeight = mViewport.physicalRight - mViewport.physicalLeft; in configureSurface()
3603 naturalPhysicalHeight = mViewport.physicalBottom - mViewport.physicalTop; in configureSurface()
3611 if (naturalPhysicalHeight == 0 || naturalPhysicalWidth == 0) { in configureSurface()
3613 naturalPhysicalHeight = naturalPhysicalHeight == 0 ? 1 : naturalPhysicalHeight; in configureSurface()
3618 mPhysicalHeight = naturalPhysicalHeight; in configureSurface()
3623 mSurfaceHeight = naturalLogicalHeight * naturalDeviceHeight / naturalPhysicalHeight; in configureSurface()
3625 mSurfaceTop = naturalPhysicalTop * naturalLogicalHeight / naturalPhysicalHeight; in configureSurface()