Home
last modified time | relevance | path

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

/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DRenderCoordinates.java35 private float mDeviceScaleFactor; field in RenderCoordinates
51 mDeviceScaleFactor = deviceScaleFactor; in setDeviceScaleFactor()
105 public float getXPix() { return getXLocalDip() * mDeviceScaleFactor; } in getXPix()
110 public float getYPix() { return getYLocalDip() * mDeviceScaleFactor + mContentOffsetYPix; } in getYPix()
133 setLocalDip(xPix / mDeviceScaleFactor, yPix / mDeviceScaleFactor); in setScreen()
267 public float getDeviceScaleFactor() { return mDeviceScaleFactor; } in getDeviceScaleFactor()
301 return pix / mDeviceScaleFactor; in fromPixToDip()
308 return dip * mDeviceScaleFactor; in fromDipToPix()
315 return pix / (mDeviceScaleFactor * mPageScaleFactor); in fromPixToLocalCss()
322 return css * mPageScaleFactor * mDeviceScaleFactor; in fromLocalCssToPix()