Home
last modified time | relevance | path

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

/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DRenderCoordinates.java30 private float mPageScaleFactor = 1.0f; field in RenderCoordinates
42 mPageScaleFactor = 1.0f; in reset()
62 mPageScaleFactor = pageScaleFactor; in updateFrameInfo()
95 public float getXLocalDip() { return (mXAbsoluteCss - mScrollXCss) * mPageScaleFactor; } in getXLocalDip()
100 public float getYLocalDip() { return (mYAbsoluteCss - mScrollYCss) * mPageScaleFactor; } in getYLocalDip()
125 xDip / mPageScaleFactor + mScrollXCss, in setLocalDip()
126 yDip / mPageScaleFactor + mScrollYCss); in setLocalDip()
252 public float getPageScaleFactor() { return mPageScaleFactor; } in getPageScaleFactor()
315 return pix / (mDeviceScaleFactor * mPageScaleFactor); in fromPixToLocalCss()
322 return css * mPageScaleFactor * mDeviceScaleFactor; in fromLocalCssToPix()
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DAwLayoutSizer.java25 private float mPageScaleFactor = 0.0f; field in AwLayoutSizer
94 doUpdate(widthCss, heightCss, mPageScaleFactor); in onContentSizeChanged()
110 final int heightPix = (int) (heightCss * mPageScaleFactor * mDIPScale); in doUpdate()
111 boolean pageScaleChanged = mPageScaleFactor != pageScaleFactor; in doUpdate()
122 mPageScaleFactor = pageScaleFactor; in doUpdate()
143 int contentHeightPix = (int) (mContentHeightCss * mPageScaleFactor * mDIPScale); in onMeasure()
144 int contentWidthPix = (int) (mContentWidthCss * mPageScaleFactor * mDIPScale); in onMeasure()
DAwContents.java227 private float mPageScaleFactor = 1.0f; field in AwContents
1561 return mPageScaleFactor; in getPageScaleFactor()
1571 return (float)(mPageScaleFactor * mDIPScale); in getScale()
1601 final float zoomInExtent = mMaxPageScaleFactor - mPageScaleFactor; in canZoomIn()
1611 final float zoomOutExtent = mPageScaleFactor - mMinPageScaleFactor; in canZoomOut()
2109 if (mPageScaleFactor == pageScaleFactor &&
2116 if (mPageScaleFactor != pageScaleFactor) {
2117 float oldPageScaleFactor = mPageScaleFactor;
2118 mPageScaleFactor = pageScaleFactor;
2121 (float)(mPageScaleFactor * mDIPScale));