Loading core/java/android/webkit/WebView.java +6 −0 Original line number Diff line number Diff line Loading @@ -2392,6 +2392,12 @@ public class WebView extends AbsoluteLayout return mZoomManager.getScale(); } // Called by JNI. Returns the scale to apply to the text selection handles /* package */ float getTextHandleScale() { float density = mContext.getResources().getDisplayMetrics().density; return density / getScale(); } /** * Return the reading level scale of the WebView * @return The reading level scale. Loading Loading
core/java/android/webkit/WebView.java +6 −0 Original line number Diff line number Diff line Loading @@ -2392,6 +2392,12 @@ public class WebView extends AbsoluteLayout return mZoomManager.getScale(); } // Called by JNI. Returns the scale to apply to the text selection handles /* package */ float getTextHandleScale() { float density = mContext.getResources().getDisplayMetrics().density; return density / getScale(); } /** * Return the reading level scale of the WebView * @return The reading level scale. Loading