/frameworks/minikin/sample/ |
H A D | example_skia.cpp | 84 uint16_t *glyphs = new uint16_t[nGlyphs]; local 94 glyphs[i] = layout->getGlyphId(i); 99 canvas->drawPosText(glyphs + start, (i - start) << 1, pos + start, *paint); 105 canvas->drawPosText(glyphs + start, (nGlyphs - start) << 1, pos + start, *paint); 106 delete[] glyphs;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 733 uint16_t* glyphs, SkPoint* pos) 734 : layout(layout), path(path), x(x), y(y), paint(paint), glyphs(glyphs), pos(pos) { 739 glyphs[i] = layout.getGlyphId(i); 744 paint->getPosTextPath(glyphs + start, (end - start) << 1, pos + start, path); 746 paint->getPosTextPath(glyphs + start, (end - start) << 1, pos + start, &tmpPath); 756 uint16_t* glyphs; member in class:android::PaintGlue::GetTextFunctor 766 uint16_t* glyphs = new uint16_t[nGlyphs]; local 773 GetTextFunctor f(layout, path, x, y, paint, glyphs, pos); 776 delete[] glyphs; 732 GetTextFunctor(const Layout& layout, SkPath* path, jfloat x, jfloat y, Paint* paint, uint16_t* glyphs, SkPoint* pos) argument [all...] |
H A D | SkiaCanvas.cpp | 124 virtual void drawTextOnPath(const uint16_t* glyphs, int count, const SkPath& path, 681 // glyphs centered or right-aligned; the offset above takes 706 void SkiaCanvas::drawTextOnPath(const uint16_t* glyphs, int count, const SkPath& path, argument 708 mCanvas->drawTextOnPathHV(glyphs, count, path, hOffset, vOffset, paint);
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 413 DrawTextFunctor(const Layout& layout, Canvas* canvas, uint16_t* glyphs, float* pos, argument 415 : layout(layout), canvas(canvas), glyphs(glyphs), pos(pos), paint(paint), 421 glyphs[i] = layout.getGlyphId(i); 427 glyphs[i] = layout.getGlyphId(i); 434 canvas->drawText(glyphs + start, pos + (2 * start), glyphCount, paint, x, y, 440 uint16_t* glyphs; member in class:android::CanvasJNI::DrawTextFunctor 490 uint16_t* glyphs = new uint16_t[nGlyphs]; local 498 DrawTextFunctor f(layout, canvas, glyphs, pos, paint, x, y, bounds); 503 delete[] glyphs; 603 uint16_t glyphs[1]; local [all...] |
H A D | android_view_GLES20Canvas.cpp | 597 Paint* paint, uint16_t* glyphs, float* pos, float totalAdvance, 599 : layout(layout), renderer(renderer), x(x), y(y), paint(paint), glyphs(glyphs), 603 glyphs[i] = layout.getGlyphId(i); 609 renderer->drawText((const char*) (glyphs + start), bytesCount, glyphsCount, 618 uint16_t* glyphs; member in class:android::RenderTextFunctor 628 uint16_t* glyphs = new uint16_t[nGlyphs]; local 635 RenderTextFunctor f(*layout, renderer, x, y, paint, glyphs, pos, totalAdvance, bounds); 637 delete[] glyphs; 657 uint16_t glyphs[ local 596 RenderTextFunctor(const Layout& layout, DisplayListRenderer* renderer, jfloat x, jfloat y, Paint* paint, uint16_t* glyphs, float* pos, float totalAdvance, uirenderer::Rect& bounds) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Paint_Delegate.java | 986 int end, int contextStart, int contextEnd, int flags, char[] glyphs) { 985 native_getTextGlyphs(long native_object, String text, int start, int end, int contextStart, int contextEnd, int flags, char[] glyphs) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 1943 * <p>This generates the sum of the advances of glyphs for 2268 int flags, char[] glyphs); 2266 native_getTextGlyphs(long native_object, String text, int start, int end, int contextStart, int contextEnd, int flags, char[] glyphs) argument
|