Lines Matching defs:p0
57 public float getSpan(GlyphView v, int p0, int p1,
60 Segment text = v.getText(p0, p1);
62 int width = Utilities.getTabbedTextWidth(v, text, metrics, (int) x, e, p0,
94 public void paint(GlyphView v, Graphics g, Shape a, int p0, int p1) {
104 if (p != p0) {
105 text = v.getText(p, p0);
116 text = v.getText(p0, p1);
119 Utilities.drawTabbedText(v, text, x, y, g, expander,p0,
129 int p0 = v.getStartOffset();
140 if ((pos >= p0) && (pos <= p1)) {
142 text = v.getText(p0, pos);
144 int width = Utilities.getTabbedTextWidth(v, text, metrics, alloc.x, expander, p0,
171 int p0 = v.getStartOffset();
174 Segment text = v.getText(p0, p1);
177 alloc.x, (int) x, expander, p0,
180 int retValue = p0 + offs;
198 * @param p0 the location in the model where the
208 public int getBoundedPosition(GlyphView v, int p0, float x, float len) {
211 Segment s = v.getText(p0, v.getEndOffset());
214 expander, p0, false,
217 int p1 = p0 + index;