am 55b039f1: Merge "Support for correctly scaling text selection handles"

* commit '55b039f1b7ecb0439e095082e82c4d4fa2627921':
  Support for correctly scaling text selection handles
This commit is contained in:
John Reck
2011-09-28 11:39:10 -07:00
committed by Android Git Automerger

View File

@@ -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.