Lines Matching refs:start

55  * @start the start of the text to render
56 * @count the length of the text to render, start + count must be <= contextCount
61 int TextLayout::shapeRtlText(const jchar* context, jsize start, jsize count, jsize contextCount,
66 // Use fixed length since we need to keep start and count valid
75 for (int i = start, e = start + count; i < e; ++i) {
81 // LOG(LOG_INFO, "CSRTL", "start %d count %d ccount %d\n", start, count, contextCount);
132 int32_t start;
134 UBiDiDirection runDir = ubidi_getVisualRun(bidi, i, &start, &length);
137 slen += shapeRtlText(text + start, 0, length, length, buffer + slen, status);
139 memcpy(buffer + slen, text + start, length * sizeof(jchar));
224 bool TextLayout::prepareRtlTextRun(const jchar* context, jsize start, jsize& count,
227 count = shapeRtlText(context, start, count, contextCount, shaped, status);
237 jint start, jint count, jint contextCount,
246 if (prepareRtlTextRun(chars, start, count, contextCount, buffer.get())) {
250 canvas->drawText(chars + start, count << 1, x_, y_, *paint);
254 void TextLayout::getTextRunAdvances(SkPaint* paint, const jchar* chars, jint start,
260 value = TextLayoutCache::getInstance().getValue(paint, chars, start, count,
264 value->computeValues(paint, chars, start, count, contextCount, dirFlags);
276 void TextLayout::getTextRunAdvancesICU(SkPaint* paint, const jchar* chars, jint start,
280 computeAdvancesWithICU(paint, chars, start, count, contextCount, dirFlags,
319 size_t start, size_t count, size_t contextCount, int dirFlags,
331 // Use fixed length since we need to keep start and count valid
338 for (int i = start, e = i + count; i < e; ++i) {
343 text = buffer + start;
346 text = chars + start;