return getViewIndexAtPosition(pos);
int i = -1; if (pos >= getStartOffset() && pos < getEndOffset()) i = getViewIndexAtPosition(pos); return i;
  public int getViewIndex(int pos, Position.Bias b)  {    if (b == Position.Bias.Backward && pos != 0)      pos -= 1;    return getViewIndexAtPosition(pos);  }