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

1 2 3

  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/skia/
SkiaFontWin.h 51 const int* advances,
64 const int* advances,
SkiaFontWin.cpp 54 const int* advances,
73 x += SkIntToScalar(advances[i]);
81 x += SkIntToScalar(advances[i]);
120 const int* advances,
139 skiaDrawText(context, origin, textRect, &paint, &glyphs[0], &advances[0], &offsets[0], numGlyphs);
166 skiaDrawText(context, origin, textRect, &paint, &glyphs[0], &advances[0], &offsets[0], numGlyphs);
176 const int* advances,
182 numGlyphs, glyphs, advances, offsets, origin, textRect);
189 const int* advances,
197 paintSkiaText(context, hfont, face.get(), size, paintTextFlags, numGlyphs, glyphs, advances, offsets, origin, textRect)
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/
search.h 45 * @brief Precalculate advances for Knuth-Morris-Pratt algorithm.
48 * @param advances Returned offsets.
115 difference_type advances[pattern_length]; local
116 calc_borders(begin2, pattern_length, advances);
157 start += (pos_in_pattern - advances[pos_in_pattern]);
159 (advances[pos_in_pattern] < 0) ? 0 : advances[pos_in_pattern];
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/
FontChromiumWin.cpp 75 // the arrays of characters and advances.
77 Vector<int, kMaxBufferLength> advances; local
102 // To position glyphs vertically, we use offsets instead of advances.
103 advances.resize(curLen);
104 advances.fill(0);
115 paintSkiaText(graphicsContext, font->platformData(), curLen, &glyphs[0], &advances[0], &offsets[0], origin, SkRect(textRect));
124 // of each glyph in floating point units and rounds to integer advances at the last possible moment.
132 advances.resize(curLen);
138 advances[i] = lroundf(horizontalOffset) - lastHorizontalOffsetRounded;
139 lastHorizontalOffsetRounded += advances[i]
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BidiRenderer.java 77 * @param advances If not null, then advances for each character to be rendered are returned
79 * @param advancesIndex index into advances from where the advances need to be filled.
88 /* package */ float renderText(int start, int limit, boolean isRtl, float advances[],
95 x = renderScript(run.start, run.limit, run.font, flag, advances, advancesIndex, draw,
110 float advances[], int advancesIndex, boolean draw, float x, float y) {
120 return render(start, limit, preferredFont, flag, advances, advancesIndex, draw,
123 x = render(start, canDisplayUpTo, preferredFont, flag, advances, advancesIndex,
133 x = render(start, start+charCount, font, flag, advances, advancesIndex, draw
    [all...]
  /external/chromium_org/third_party/freetype/src/base/
ftadvanc.c 26 FT_Fixed* advances,
49 advances[nn] = FT_MulDiv( advances[nn], scale, 64 );
  /external/freetype/src/base/
ftadvanc.c 28 FT_Fixed* advances,
51 advances[nn] = FT_MulDiv( advances[nn], scale, 64 );
  /frameworks/base/core/java/android/text/
GraphicsOperations.java 58 int flags, float[] advances, int advancesIndex, Paint paint);
  /frameworks/base/graphics/java/android/graphics/
Paint.java 172 * <p>Enabling this flag causes glyph advances to be computed with subpixel
    [all...]
  /external/harfbuzz/contrib/
harfbuzz-freetype.c 37 HB_Fixed *advances, int flags) {
44 advances[i] = 0;
48 advances[i] = face->glyph->advance.x;
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
GlyphBuffer.h 48 // CG uses CGSize instead of FloatSize so that the result of advances()
78 GlyphBufferAdvance* advances(int from) { return m_advances.data() + from; } function in class:WebCore::GlyphBuffer
80 const GlyphBufferAdvance* advances(int from) const { return m_advances.data() + from; } function in class:WebCore::GlyphBuffer
WidthIterator.cpp 114 GlyphBufferAdvance* advances = glyphBuffer->advances(0);
117 widthDifference -= advances[i].width();
122 fontData->applyTransforms(glyphBuffer->glyphs(lastGlyphCount), advances + lastGlyphCount, glyphBufferSize - lastGlyphCount, typesettingFeatures);
131 glyphBuffer->advances(spaceOffset - 1)->setWidth(originalAdvances.advanceBeforeCharacter);
132 glyphBuffer->advances(spaceOffset)->setWidth(originalAdvances.advanceAtCharacter);
137 widthDifference += advances[i].width();
SimpleFontData.h 184 bool applyTransforms(GlyphBufferGlyph* glyphs, GlyphBufferAdvance* advances, size_t glyphCount, TypesettingFeatures typesettingFeatures) const
187 UNUSED_PARAM(advances);
  /external/harfbuzz_ng/src/
hb-buffer-deserialize-text.rl 77 advances= '+' (num >tok %parse_x_advance) (',' (num >tok %parse_y_advance))?;
83 advances?
hb-old.cc 112 HB_Fixed *advances,
118 advances[i] = font->get_glyph_h_advance (glyphs[i]);
338 ALLOCATE_ARRAY (HB_Fixed, item.advances, num_glyphs);
389 info[i].mask = item.advances[i];
  /external/harfbuzz/src/
harfbuzz-shaper.h 243 void (*getGlyphAdvances)(HB_Font font, const HB_Glyph *glyphs, hb_uint32 numGlyphs, HB_Fixed *advances, int flags /*HB_ShaperFlag*/);
277 hb_uint32 num_glyphs; /* input: capacity of output arrays <glyphs>, <attributes>, <advances>, <offsets>, and <log_clusters>; */
282 HB_Fixed *advances; /* output: <num_glyphs> advances */ member in struct:HB_ShaperItem_
harfbuzz-hangul.c 249 syllable.advances = item->advances + first_glyph;
harfbuzz-tibetan.c 235 syllable.advances = item->advances + first_glyph;
  /external/harfbuzz_ng/src/hb-old/
harfbuzz-shaper.h 212 void (*getGlyphAdvances)(HB_Font font, const HB_Glyph *glyphs, hb_uint32 numGlyphs, HB_Fixed *advances, int flags /*HB_ShaperFlag*/);
246 hb_uint32 num_glyphs; /* input: capacity of output arrays <glyphs>, <attributes>, <advances>, <offsets>, and <log_clusters>; */
251 HB_Fixed *advances; /* output: <num_glyphs> advances */ member in struct:HB_ShaperItem_
  /external/chromium_org/third_party/harfbuzz-ng/src/
hb-old.cc 112 HB_Fixed *advances,
118 advances[i] = font->get_glyph_h_advance (glyphs[i]);
338 ALLOCATE_ARRAY (HB_Fixed, item.advances, num_glyphs);
389 info[i].mask = item.advances[i];
  /external/chromium_org/third_party/freetype/src/truetype/
ttdriver.c 133 FT_Fixed *advances )
150 advances[nn] = ah;
162 advances[nn] = aw;
  /external/freetype/src/truetype/
ttdriver.c 202 FT_Fixed *advances )
219 advances[nn] = ah;
231 advances[nn] = aw;
  /cts/tests/tests/text/src/android/text/cts/
StaticLayoutLineBreakingTest.java 51 int contextIndex, int contextCount, int flags, float[] advances,
67 | (advances == null ? 0 :
68 (advances.length - (advancesIndex + count)))) < 0) {
74 if (advances != null) {
77 advances[advancesIndex + i] = width;
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/harfbuzz/
HarfBuzzShaper.h 87 float* advances() { return &m_advances[0]; } function in class:WebCore::HarfBuzzShaper::HarfBuzzRun
  /external/chromium_org/third_party/skia/src/ports/
SkHarfBuzzFont.cpp 50 hb_uint32 numGlyphs, HB_Fixed* advances, int flags) {
68 advances[i] = SkScalarToHarfbuzzFixed(scalarWidths[i]);

Completed in 990 milliseconds

1 2 3