HomeSort by relevance Sort by last modified time
    Searched refs:runIndex (Results 1 - 25 of 42) sorted by null

1 2

  /libcore/ojluni/src/main/java/java/text/
AttributedString.java 456 int runIndex = 0;
457 while (runIndex < runCount && runStarts[runIndex] < offset) {
458 runIndex++;
462 if (runIndex < runCount && runStarts[runIndex] == offset) {
463 return runIndex;
495 Vector<Attribute> oldRunAttributes = runAttributes[runIndex - 1];
496 Vector<Object> oldRunAttributeValues = runAttributeValues[runIndex - 1];
507 for (int i = runCount - 1; i > runIndex; i--)
    [all...]
  /external/skqp/src/gpu/text/
GrAtlasTextContext.h 101 static void DrawBmpText(GrAtlasTextBlob*, int runIndex, GrAtlasGlyphCache*,
106 static void DrawBmpPosText(GrAtlasTextBlob*, int runIndex, GrAtlasGlyphCache*,
117 void drawDFText(GrAtlasTextBlob* blob, int runIndex, GrAtlasGlyphCache*, const SkSurfaceProps&,
122 void drawDFPosText(GrAtlasTextBlob* blob, int runIndex, GrAtlasGlyphCache*,
134 static void BmpAppendGlyph(GrAtlasTextBlob*, int runIndex, GrAtlasGlyphCache*,
138 static void DfAppendGlyph(GrAtlasTextBlob*, int runIndex, GrAtlasGlyphCache*,
GrAtlasTextBlob.h 135 // sets the last subrun of runIndex to use distance field text
136 void setSubRunHasDistanceFields(int runIndex, bool hasLCD, bool isAntiAlias, bool hasWCoord) {
137 Run& run = fRuns[runIndex];
145 void setRunTooBigForAtlas(int runIndex) {
146 fRuns[runIndex].fTooBigForAtlas = true;
157 void initOverride(int runIndex) {
158 Run& run = fRuns[runIndex];
164 SkGlyphCache* setupCache(int runIndex,
172 void appendGlyph(int runIndex,
210 void computeSubRunBounds(SkRect* outBounds, int runIndex, int subRunIndex
    [all...]
GrAtlasTextContext.cpp 383 void GrAtlasTextContext::DrawBmpText(GrAtlasTextBlob* blob, int runIndex,
401 SkGlyphCache* cache = blob->setupCache(runIndex, props, scalerContextFlags, paint, &viewMatrix);
406 BmpAppendGlyph(blob, runIndex, fontCache, &currStrike,
416 void GrAtlasTextContext::DrawBmpPosText(GrAtlasTextBlob* blob, int runIndex,
437 SkGlyphCache* cache = blob->setupCache(runIndex, props, scalerContextFlags, paint, &viewMatrix);
444 BmpAppendGlyph(blob, runIndex, fontCache, &currStrike, glyph,
453 void GrAtlasTextContext::BmpAppendGlyph(GrAtlasTextBlob* blob, int runIndex,
486 blob->appendGlyph(runIndex, glyphRect, color, *strike, glyph, glyphCache, skGlyph, sx, sy,
585 void GrAtlasTextContext::drawDFText(GrAtlasTextBlob* blob, int runIndex,
656 this->drawDFPosText(blob, runIndex, fontCache, props, paint, scalerContextFlags, viewMatrix
    [all...]
GrAtlasTextBlob.cpp 51 SkGlyphCache* GrAtlasTextBlob::setupCache(int runIndex,
56 GrAtlasTextBlob::Run* run = &fRuns[runIndex];
70 void GrAtlasTextBlob::appendGlyph(int runIndex,
87 Run& run = fRuns[runIndex];
  /external/skia/src/gpu/text/
GrAtlasTextContext.h 77 void drawText(GrAtlasTextBlob* blob, int runIndex, GrGlyphCache*, const SkSurfaceProps&,
130 static void DrawBmpText(GrAtlasTextBlob*, int runIndex, GrGlyphCache*,
135 static void DrawBmpPosText(GrAtlasTextBlob*, int runIndex, GrGlyphCache*,
141 static void DrawBmpTextAsPaths(GrAtlasTextBlob*, int runIndex, GrGlyphCache*,
147 static void DrawBmpPosTextAsPaths(GrAtlasTextBlob*, int runIndex, GrGlyphCache*,
159 void drawDFText(GrAtlasTextBlob* blob, int runIndex, GrGlyphCache*, const SkSurfaceProps&,
164 void drawDFPosText(GrAtlasTextBlob* blob, int runIndex, GrGlyphCache*,
176 static void BmpAppendGlyph(GrAtlasTextBlob*, int runIndex, GrGlyphCache*,
180 static void DfAppendGlyph(GrAtlasTextBlob*, int runIndex, GrGlyphCache*,
GrAtlasTextContext.cpp 366 void GrAtlasTextContext::DrawBmpText(GrAtlasTextBlob* blob, int runIndex,
383 DrawBmpTextAsPaths(blob, runIndex, glyphCache, props, paint, scalerContextFlags, viewMatrix,
389 SkGlyphCache* cache = blob->setupCache(runIndex, props, scalerContextFlags, paint, &viewMatrix);
394 BmpAppendGlyph(blob, runIndex, glyphCache, &currStrike,
404 void GrAtlasTextContext::DrawBmpPosText(GrAtlasTextBlob* blob, int runIndex,
423 DrawBmpPosTextAsPaths(blob, runIndex, glyphCache, props, paint, scalerContextFlags,
429 SkGlyphCache* cache = blob->setupCache(runIndex, props, scalerContextFlags, paint, &viewMatrix);
435 BmpAppendGlyph(blob, runIndex, glyphCache, &currStrike, glyph,
444 void GrAtlasTextContext::DrawBmpTextAsPaths(GrAtlasTextBlob* blob, int runIndex,
473 blob->appendPathGlyph(runIndex, *iterPath, xpos + x, y, iter.getPathScale(), false)
    [all...]
GrAtlasTextBlob.cpp 57 SkGlyphCache* GrAtlasTextBlob::setupCache(int runIndex,
62 GrAtlasTextBlob::Run* run = &fRuns[runIndex];
76 void GrAtlasTextBlob::appendGlyph(int runIndex,
97 this->appendPathGlyph(runIndex, *glyph->fPath, x, y, scale, preTransformed);
101 Run& run = fRuns[runIndex];
157 void GrAtlasTextBlob::appendPathGlyph(int runIndex, const SkPath& path, SkScalar x, SkScalar y,
159 Run& run = fRuns[runIndex];
315 for (int runIndex = 0; runIndex <= lastRun; runIndex++)
    [all...]
GrAtlasTextBlob.h 144 // sets the last subrun of runIndex to use distance field text
145 void setSubRunHasDistanceFields(int runIndex, bool hasLCD, bool isAntiAlias, bool hasWCoord) {
146 Run& run = fRuns[runIndex];
154 void setRunPaintFlags(int runIndex, uint16_t paintFlags) {
155 fRuns[runIndex].fPaintFlags = paintFlags & Run::kPaintFlagsMask;
166 void initOverride(int runIndex) {
167 Run& run = fRuns[runIndex];
173 SkGlyphCache* setupCache(int runIndex,
181 void appendGlyph(int runIndex,
190 void appendPathGlyph(int runIndex, const SkPath& path
    [all...]
  /external/icu/icu4c/source/common/
ubidiln.cpp 363 ubidi_getVisualRun(UBiDi *pBiDi, int32_t runIndex,
373 RETURN_IF_BAD_RANGE(runIndex, 0, pBiDi->runCount, errorCode, UBIDI_LTR);
375 start=pBiDi->runs[runIndex].logicalStart;
380 if(runIndex>0) {
381 *pLength=pBiDi->runs[runIndex].visualLimit-
382 pBiDi->runs[runIndex-1].visualLimit;
601 int32_t runIndex, start;
622 runIndex=0;
641 runs[runIndex].logicalStart=start;
642 runs[runIndex].visualLimit=i-start
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
BidiLine.java 305 static BidiRun getVisualRun(Bidi bidi, int runIndex)
307 int start = bidi.runs[runIndex].start;
309 byte level = bidi.runs[runIndex].level;
311 if (runIndex > 0) {
313 bidi.runs[runIndex].limit -
314 bidi.runs[runIndex - 1].limit;
529 int runIndex, start;
548 runIndex = 0;
567 runs[runIndex] = new BidiRun(start, i - start, level);
568 ++runIndex;
    [all...]
Bidi.java     [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
BidiLine.java 304 static BidiRun getVisualRun(Bidi bidi, int runIndex)
306 int start = bidi.runs[runIndex].start;
308 byte level = bidi.runs[runIndex].level;
310 if (runIndex > 0) {
312 bidi.runs[runIndex].limit -
313 bidi.runs[runIndex - 1].limit;
528 int runIndex, start;
547 runIndex = 0;
566 runs[runIndex] = new BidiRun(start, i - start, level);
567 ++runIndex;
    [all...]
Bidi.java     [all...]
  /frameworks/base/core/java/android/text/
TextLine.java 566 int runIndex, runLevel = 0, runStart = lineStart, runLimit = lineEnd, newCaret = -1;
570 runIndex = -2;
572 runIndex = runs.length;
576 for (runIndex = 0; runIndex < runs.length; runIndex += 2) {
577 runStart = lineStart + runs[runIndex];
579 runLimit = runStart + (runs[runIndex+1] & Layout.RUN_LENGTH_MASK);
584 runLevel = (runs[runIndex+1] >>> Layout.RUN_LEVEL_SHIFT) &
605 runIndex = prevRunIndex
    [all...]
Layout.java     [all...]
  /external/icu/icu4c/source/layoutex/layout/
playout.h 323 * @param runIndex is the index of the run, in visual order.
335 pl_getLineVisualRun(const pl_line *line, le_int32 runIndex);
ParagraphLayout.h 136 * @param runIndex is the index of the run, in visual order.
147 const VisualRun *getVisualRun(le_int32 runIndex) const;
  /external/icu/icu4c/source/layoutex/
playout.cpp 213 pl_getLineVisualRun(const pl_line *line, le_int32 runIndex)
221 return (pl_visualRun *) ll->getVisualRun(runIndex);
ParagraphLayout.cpp     [all...]
  /external/owasp/sanitizer/empiricism/
html-containment.js 29 var runIndex = 0;
64 ++runIndex;
68 var ratio = runIndex / nRuns;
74 // total_time / nRuns = time_so_far / runIndex
75 // total_time = time_so_far * nRuns / runIndex
  /frameworks/base/telephony/java/com/android/internal/telephony/uicc/
IccUtils.java 570 for (int runIndex = 0; runIndex < run; ++runIndex) {
571 int offset = run - runIndex - 1;
  /external/skia/tools/shape/
SkShaper_harfbuzz.cpp 677 int runIndex = glyphIterator.fRunIndex;
681 if (previousRunIndex != runIndex) {
683 runs[runIndex].fPaint.getFontMetrics(&metrics);
687 previousRunIndex = runIndex;
697 int numRuns = runIndex - previousBreak.fRunIndex + 1;
711 int endGlyphIndex = (logicalIndex == runIndex)
  /external/skqp/tools/shape/
SkShaper_harfbuzz.cpp 672 int runIndex = glyphIterator.fRunIndex;
676 if (previousRunIndex != runIndex) {
678 runs[runIndex].fPaint.getFontMetrics(&metrics);
682 previousRunIndex = runIndex;
692 int numRuns = runIndex - previousBreak.fRunIndex + 1;
706 int endGlyphIndex = (logicalIndex == runIndex)
  /external/icu/icu4c/source/common/unicode/
ubidi.h     [all...]

Completed in 466 milliseconds

1 2