Lines Matching defs:xoff
582 int xoff = evtX - x - XOFF + beginW;
583 return findCursorOffset(xoff, text, len/2, 0, len);
586 private int findCursorOffset(int xoff, String str,
594 if ((xoff - lw) < (uw - xoff))
602 if (width > xoff)
603 return findCursorOffset(xoff, str, cur - (cur-lower)/2,
606 return findCursorOffset(xoff, str, cur + (upper-cur)/2,
678 int xoff =
681 g.fillRect(xoff, YPAD/2, 1, h-YPAD);
697 int xoff = XOFF;
710 xoff += metrics.stringWidth(text.substring(scrollPos,
712 g.fillRect(xoff, YPAD/2, 1, h-YPAD);
719 xoff, yoff);
720 xoff += metrics.stringWidth(text.substring(
730 g.fillRect(xoff, YPAD/2, selectW, h-YPAD);
732 g.drawString(selectStr, xoff, yoff);
738 xoff += selectW;
741 g.fillRect(xoff, YPAD/2, 1, h-YPAD);
744 xoff += selectW;
752 g.drawString(text.substring(end), xoff, yoff);