Lines Matching refs:contextStart

1381     public void drawTextRun(Canvas c, int start, int end, int contextStart, int contextEnd,
1385 int contextLen = contextEnd - contextStart;
1388 c.drawTextRun(mText, start, len, contextStart, contextLen, x, y, isRtl, p);
1389 } else if (contextStart >= mGapStart) {
1390 c.drawTextRun(mText, start + mGapLength, len, contextStart + mGapLength,
1394 getChars(contextStart, contextEnd, buf, 0);
1395 c.drawTextRun(buf, start - contextStart, len, 0, contextLen, x, y, isRtl, p);
1452 public float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, boolean isRtl,
1457 int contextLen = contextEnd - contextStart;
1461 ret = p.getTextRunAdvances(mText, start, len, contextStart, contextLen,
1465 contextStart + mGapLength, contextLen, isRtl, advances, advancesPos);
1468 getChars(contextStart, contextEnd, buf, 0);
1469 ret = p.getTextRunAdvances(buf, start - contextStart, len,
1484 * <code>contextStart</code>, <code>contextEnd</code> and <code>offset</code> are relative to
1488 * this returns -1. Otherwise this will never return a value before contextStart or after
1491 * @param contextStart the start index of the context
1503 public int getTextRunCursor(int contextStart, int contextEnd, int dir, int offset,
1508 int contextLen = contextEnd - contextStart;
1510 ret = p.getTextRunCursor(mText, contextStart, contextLen,
1512 } else if (contextStart >= mGapStart) {
1513 ret = p.getTextRunCursor(mText, contextStart + mGapLength, contextLen,
1517 getChars(contextStart, contextEnd, buf, 0);
1519 dir, offset - contextStart, cursorOpt) + contextStart;