@Nullable
  @Override
  public TextHitInfo getLocationOffset(int x, int y) {
    InputMethodRequests delegate = getDelegate();
    if (delegate == null) {
      return null;
    } else {
      return delegate.getLocationOffset(x, y);
    }
  }
@Nullable
  @Override
  public TextHitInfo getLocationOffset(int x, int y)