Lines Matching defs:contextStart

1922             int contextStart, int contextEnd, boolean isRtl, float[] advances,
1928 if ((start | end | contextStart | contextEnd | advancesIndex | (end - start)
1929 | (start - contextStart) | (contextEnd - end)
1938 contextStart, contextEnd, isRtl, advances, advancesIndex);
1943 contextStart, contextEnd, isRtl, advances, advancesIndex);
1947 contextStart, contextEnd, isRtl, advances, advancesIndex, this);
1953 int contextLen = contextEnd - contextStart;
1956 TextUtils.getChars(text, contextStart, contextEnd, buf, 0);
1957 float result = getTextRunAdvances(buf, start - contextStart, len,
1991 * @param contextStart the index of the first character to use for shaping context,
2004 public float getTextRunAdvances(String text, int start, int end, int contextStart,
2010 if ((start | end | contextStart | contextEnd | advancesIndex | (end - start)
2011 | (start - contextStart) | (contextEnd - end)
2024 contextStart, contextEnd, isRtl, advances, advancesIndex);
2030 contextStart, contextEnd, isRtl, advances, advancesIndex);
2054 * value before contextStart or after contextStart + contextLength.
2057 * @param contextStart the start of the context
2067 public int getTextRunCursor(char[] text, int contextStart, int contextLength,
2069 int contextEnd = contextStart + contextLength;
2070 if (((contextStart | contextEnd | offset | (contextEnd - contextStart)
2071 | (offset - contextStart) | (contextEnd - offset)
2078 contextStart, contextLength, dir, offset, cursorOpt);
2094 * value before contextStart or after contextEnd.
2097 * @param contextStart the start of the context
2107 public int getTextRunCursor(CharSequence text, int contextStart,
2112 return getTextRunCursor(text.toString(), contextStart, contextEnd,
2117 contextStart, contextEnd, dir, offset, cursorOpt, this);
2120 int contextLen = contextEnd - contextStart;
2122 TextUtils.getChars(text, contextStart, contextEnd, buf, 0);
2123 int relPos = getTextRunCursor(buf, 0, contextLen, dir, offset - contextStart, cursorOpt);
2125 return (relPos == -1) ? -1 : relPos + contextStart;
2141 * value before contextStart or after contextEnd.
2144 * @param contextStart the start of the context
2154 public int getTextRunCursor(String text, int contextStart, int contextEnd,
2156 if (((contextStart | contextEnd | offset | (contextEnd - contextStart)
2157 | (offset - contextStart) | (contextEnd - offset)
2164 contextStart, contextEnd, dir, offset, cursorOpt);
2276 * addition, the range {@code contextStart} to {@code contextEnd} is used as context for the
2280 * <p>All text outside the range {@code contextStart..contextEnd} is ignored. The text between
2288 * {@code start..contextStart} or {@code end..contextEnd}). If {@code offset} points to a
2296 * <p>All indices are relative to the start of {@code text}. Further, {@code 0 <= contextStart
2302 * @param contextStart the index of the start of the shaping context
2308 public float getRunAdvance(char[] text, int start, int end, int contextStart, int contextEnd,
2313 if ((contextStart | start | offset | end | contextEnd
2314 | start - contextStart | offset - start | end - offset
2323 contextStart, contextEnd, isRtl, offset);
2332 * @param contextStart the index of the start of the shaping context
2338 public float getRunAdvance(CharSequence text, int start, int end, int contextStart,
2343 if ((contextStart | start | offset | end | contextEnd
2344 | start - contextStart | offset - start | end - offset
2352 char[] buf = TemporaryBuffer.obtain(contextEnd - contextStart);
2353 TextUtils.getChars(text, contextStart, contextEnd, buf, 0);
2354 float result = getRunAdvance(buf, start - contextStart, end - contextStart, 0,
2355 contextEnd - contextStart, isRtl, offset - contextStart);
2375 * <p>All indices are relative to the start of {@code text}. Further, {@code 0 <= contextStart
2382 * @param contextStart the index of the start of the shaping context
2388 public int getOffsetForAdvance(char[] text, int start, int end, int contextStart,
2393 if ((contextStart | start | end | contextEnd
2394 | start - contextStart | end - start | contextEnd - end
2400 contextStart, contextEnd, isRtl, advance);
2409 * @param contextStart the index of the start of the shaping context
2415 public int getOffsetForAdvance(CharSequence text, int start, int end, int contextStart,
2420 if ((contextStart | start | end | contextEnd
2421 | start - contextStart | end - start | contextEnd - end
2426 char[] buf = TemporaryBuffer.obtain(contextEnd - contextStart);
2427 TextUtils.getChars(text, contextStart, contextEnd, buf, 0);
2428 int result = getOffsetForAdvance(buf, start - contextStart, end - contextStart, 0,
2429 contextEnd - contextStart, isRtl, advance) + contextStart;
2483 String text, int start, int end, int contextStart, int contextEnd,
2490 String text, int start, int end, int contextStart, int contextEnd,
2494 int contextStart, int contextLength, int dir, int offset, int cursorOpt);
2496 int contextStart, int contextEnd, int dir, int offset, int cursorOpt);
2522 char[] text, int start, int end, int contextStart, int contextEnd, boolean isRtl,
2525 long native_typeface, char[] text, int start, int end, int contextStart, int contextEnd,