code: @TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
      public final int getOffsetForPosition(final float x, final float y) {
          return getView().getOffsetForPosition(x, y);
      }
docs: Get the character offset closest to the specified absolute position. A typical use case is to
  pass the result of {@link MotionEvent#getX()} and {@link MotionEvent#getY()} to this method.
  
  @param x
  The horizontal absolute position of a point on screen
  @param y
  The vertical absolute position of a point on screen
  @return the character offset for the character whose position is closest to the specified
  position. Returns -1 if there is no layout.