/frameworks/base/libs/hwui/ |
D | SkiaCanvasProxy.cpp | 211 GlyphIDConverter glyphs(text, byteLength, origPaint); in onDrawText() local 214 SkAutoSTMalloc<32, SkPoint> pointStorage(glyphs.count); in onDrawText() 215 SkAutoSTMalloc<32, SkScalar> glyphWidths(glyphs.count); in onDrawText() 216 glyphs.paint.getTextWidths(glyphs.glyphIDs, glyphs.count << 1, glyphWidths.get()); in onDrawText() 222 glyphs.paint.measureText(glyphs.glyphIDs, glyphs.count << 1, &bounds); in onDrawText() 225 if (glyphs.paint.getTextAlign() != SkPaint::kLeft_Align) { in onDrawText() 227 for (int i = 0; i < glyphs.count; i++) { in onDrawText() 230 if (glyphs.paint.getTextAlign() == SkPaint::kCenter_Align) { in onDrawText() 233 if (glyphs.paint.isVerticalText()) { in onDrawText() 251 if (glyphs.paint.isVerticalText()) { in onDrawText() [all …]
|
D | DisplayListCanvas.cpp | 427 void DisplayListCanvas::drawTextOnPath(const uint16_t* glyphs, int count, in drawTextOnPath() argument 429 if (!glyphs || count <= 0) return; in drawTextOnPath() 432 DrawOp* op = new (alloc()) DrawTextOnPathOp(refText((const char*) glyphs, bytesCount), in drawTextOnPath() 460 void DisplayListCanvas::drawText(const uint16_t* glyphs, const float* positions, in drawText() argument 465 if (!glyphs || count <= 0 || PaintUtils::paintWillNotDrawText(paint)) return; in drawText() 468 const char* text = refText((const char*) glyphs, bytesCount); in drawText()
|
D | Canvas.h | 150 virtual void drawText(const uint16_t* glyphs, const float* positions, int count, 158 virtual void drawTextOnPath(const uint16_t* glyphs, int count, const SkPath& path,
|
D | DisplayListCanvas.h | 231 virtual void drawText(const uint16_t* glyphs, const float* positions, int count, 236 virtual void drawTextOnPath(const uint16_t* glyphs, int count, const SkPath& path,
|
D | SkiaCanvas.cpp | 126 virtual void drawTextOnPath(const uint16_t* glyphs, int count, const SkPath& path, 699 void SkiaCanvas::drawTextOnPath(const uint16_t* glyphs, int count, const SkPath& path, in drawTextOnPath() argument 701 mCanvas->drawTextOnPathHV(glyphs, count << 1, path, hOffset, vOffset, paint); in drawTextOnPath()
|
/frameworks/minikin/sample/ |
D | example_skia.cpp | 82 uint16_t *glyphs = new uint16_t[nGlyphs]; in drawToSkia() local 92 glyphs[i] = layout->getGlyphId(i); in drawToSkia() 97 canvas->drawPosText(glyphs + start, (i - start) << 1, pos + start, *paint); in drawToSkia() 103 canvas->drawPosText(glyphs + start, (nGlyphs - start) << 1, pos + start, *paint); in drawToSkia() 104 delete[] glyphs; in drawToSkia()
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 428 DrawTextFunctor(const Layout& layout, Canvas* canvas, uint16_t* glyphs, float* pos, in DrawTextFunctor() argument 431 : layout(layout), canvas(canvas), glyphs(glyphs), pos(pos), paint(paint), in DrawTextFunctor() 437 glyphs[i] = layout.getGlyphId(i); in operator ()() 443 glyphs[i] = layout.getGlyphId(i); in operator ()() 450 canvas->drawText(glyphs + start, pos + (2 * start), glyphCount, paint, x, y, in operator ()() 457 uint16_t* glyphs; member in android::CanvasJNI::DrawTextFunctor 508 uint16_t* glyphs = new uint16_t[nGlyphs]; in drawText() local 519 DrawTextFunctor f(layout, canvas, glyphs, pos, paint, x, y, bounds, layout.getAdvance()); in drawText() 524 delete[] glyphs; in drawText() 588 uint16_t glyphs[1]; in operator ()() local [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 794 uint16_t* glyphs, SkPoint* pos) in GetTextFunctor() argument 795 : layout(layout), path(path), x(x), y(y), paint(paint), glyphs(glyphs), pos(pos) { in GetTextFunctor() 800 glyphs[i] = layout.getGlyphId(i); in operator ()() 805 paint->getPosTextPath(glyphs + start, (end - start) << 1, pos + start, path); in operator ()() 807 paint->getPosTextPath(glyphs + start, (end - start) << 1, pos + start, &tmpPath); in operator ()() 817 uint16_t* glyphs; member in android::PaintGlue::GetTextFunctor 827 uint16_t* glyphs = new uint16_t[nGlyphs]; in getTextPath() local 834 GetTextFunctor f(layout, path, x, y, paint, glyphs, pos); in getTextPath() 837 delete[] glyphs; in getTextPath()
|
/frameworks/base/docs/html/wear/design/ |
D | index.jd | 49 …rases, not sentences. Show, don't tell: where possible use simple icons, glyphs, and visualization…
|
/frameworks/base/docs/html/design/patterns/ |
D | actionbar.jd | 183 Pre-defined glyphs should be used for certain common actions such as "refresh" and "share." The
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 991 int end, int contextStart, int contextEnd, int flags, char[] glyphs) { in native_getTextGlyphs() argument
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 2484 int flags, char[] glyphs); in native_getTextGlyphs() argument
|
/frameworks/base/docs/html/about/versions/ |
D | jelly-bean.jd | 1307 <li>Better glyph support for Japanese users (renders Japanese-specific versions of glyphs when syst… 1308 <li>Arabic glyphs optimized for WebViews in addition to the Arabic glyphs for TextViews</li> 1309 <li>Vertical Text support in WebViews, including Ruby Text and additional Vertical Text glyphs</li> 1310 <li>Synthetic Bold is now available for all fonts that don't have dedicated bold glyphs</li>
|
D | android-4.0.jd | 1602 needed for combining glyphs) in {@link android.webkit.WebView} and the built-in Browser</li>
|