Home
last modified time | relevance | path

Searched refs:getTextAlign (Results 1 – 15 of 15) sorted by relevance

/external/skia/src/gpu/
DGrStencilAndCoverTextContext.cpp121 if (fSkPaint.getTextAlign() != SkPaint::kLeft_Align) { in onDrawText()
139 if (fSkPaint.getTextAlign() == SkPaint::kCenter_Align) { in onDrawText()
203 SkTextAlignProc alignProc(fSkPaint.getTextAlign()); in onDrawPosText()
DGrAtlasTextContext.cpp827 if (skPaint.getTextAlign() != SkPaint::kLeft_Align) { in internalDrawBMPText()
834 if (skPaint.getTextAlign() == SkPaint::kCenter_Align) { in internalDrawBMPText()
912 SkTextAlignProc alignProc(skPaint.getTextAlign()); in internalDrawBMPPosText()
931 if (SkPaint::kLeft_Align == skPaint.getTextAlign()) { in internalDrawBMPPosText()
997 if (SkPaint::kLeft_Align == skPaint.getTextAlign()) { in internalDrawBMPPosText()
1085 switch (origPaint.getTextAlign()) { in internalDrawDFText()
1112 if (origPaint.getTextAlign() == SkPaint::kCenter_Align) { in internalDrawDFText()
1115 } else if (origPaint.getTextAlign() == SkPaint::kLeft_Align) { in internalDrawDFText()
1155 if (SkPaint::kLeft_Align == skPaint.getTextAlign()) { in internalDrawDFPosText()
1184 SkScalar alignMul = SkPaint::kCenter_Align == skPaint.getTextAlign() ? SK_ScalarHalf in internalDrawDFPosText()
DGrTextContext.cpp191 SkTextAlignProc alignProc(paint.getTextAlign()); in drawPosTextAsPath()
/external/skia/src/svg/
DSkSVGDevice.cpp530 if (const char* textAlign = svg_text_align(paint.getTextAlign())) { in addTextAttributes()
790 if (paint.getTextAlign() != SkPaint::kLeft_Align) { in drawTextOnPath()
791 SkASSERT(paint.getTextAlign() == SkPaint::kCenter_Align || in drawTextOnPath()
792 paint.getTextAlign() == SkPaint::kRight_Align); in drawTextOnPath()
794 paint.getTextAlign() == SkPaint::kCenter_Align ? "50%" : "100%"); in drawTextOnPath()
/external/skia/gm/
Dglyph_pos_align.cpp65 switch (paint.getTextAlign()) { in drawTestCase()
/external/skia/src/core/
DSkDevice.cpp338 if (paint.getTextAlign() != SkPaint::kLeft_Align) { in drawTextOnPath()
340 if (paint.getTextAlign() == SkPaint::kCenter_Align) { in drawTextOnPath()
DSkDraw.cpp1615 if (paint.getTextAlign() != SkPaint::kLeft_Align) { in drawText()
1623 if (paint.getTextAlign() == SkPaint::kCenter_Align) { in drawText()
1700 SkTextAlignProc alignProc(paint.getTextAlign()); in drawPosText_asPaths()
1765 SkTextAlignProc alignProc(paint.getTextAlign()); in drawPosText()
1784 if (SkPaint::kLeft_Align == paint.getTextAlign()) { in drawPosText()
1830 if (SkPaint::kLeft_Align == paint.getTextAlign()) { in drawPosText()
DSkPaint.cpp1934 *ptr++ = pack_paint_flags(this->getFlags(), this->getHinting(), this->getTextAlign(), in flatten()
2259 str->append(gTextAlignStrings[this->getTextAlign()]); in toString()
2343 if (paint.getTextAlign() != SkPaint::kLeft_Align) { // need to measure first in SkTextToPathIter()
2347 if (paint.getTextAlign() == SkPaint::kCenter_Align) { in SkTextToPathIter()
DSkCanvas.cpp2213 if (paint.getTextAlign() == SkPaint::kCenter_Align) { in DrawTextDecorations()
2215 } else if (paint.getTextAlign() == SkPaint::kRight_Align) { in DrawTextDecorations()
/external/skia/src/pipe/
DSkGPipeWrite.cpp1226 if (base.getTextAlign() != paint.getTextAlign()) { in writePaint()
1227 *ptr++ = PaintOp_packOpData(kAlign_PaintOp, paint.getTextAlign()); in writePaint()
1228 base.setTextAlign(paint.getTextAlign()); in writePaint()
/external/skia/src/utils/
DSkTextBox.cpp181 switch (paint.getTextAlign()) { in visit()
DSkLua.cpp959 SkPaint::Align align = get_obj<SkPaint>(L, 1)->getTextAlign(); in lpaint_getTextAlign()
/external/skia/include/core/
DSkPaint.h703 Align getTextAlign() const { return (Align)fBitfields.fTextAlign; } in getTextAlign() function
/external/skia/src/pdf/
DSkPDFDevice.cpp83 if (paint.getTextAlign() == SkPaint::kLeft_Align) { in align_text()
102 if (paint.getTextAlign() == SkPaint::kLeft_Align) { in align_text()
108 if (paint.getTextAlign() == SkPaint::kCenter_Align) { in align_text()
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...