Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/text/
DGrTextUtils.cpp66 {x, y}, viewMatrix, skPaint.getTextAlign(), in DrawBmpText()
109 skPaint.getTextAlign(), cache, in DrawBmpPosText()
273 switch (skPaint.getTextAlign()) { in DrawDFText()
302 if (skPaint.getTextAlign() == SkPaint::kCenter_Align) { in DrawDFText()
305 } else if (skPaint.getTextAlign() == SkPaint::kLeft_Align) { in DrawDFText()
351 if (SkPaint::kLeft_Align == dfPaint.getTextAlign()) { in DrawDFPosText()
379 SkScalar alignMul = SkPaint::kCenter_Align == dfPaint.getTextAlign() ? SK_ScalarHalf in DrawDFPosText()
515 SkTextAlignProc alignProc(paint.getTextAlign()); in DrawPosTextAsPath()
DGrStencilAndCoverTextContext.cpp452 if (fFont.getTextAlign() != SkPaint::kLeft_Align) { in setText()
470 if (fFont.getTextAlign() == SkPaint::kCenter_Align) { in setText()
517 SkTextAlignProc alignProc(fFont.getTextAlign()); in setPosText()
/external/skia/src/core/
DSkTextToPathIter.h75 && fPaint.getTextAlign() != SkPaint::kLeft_Align) { // need to measure first in setPosition()
79 if (fPaint.getTextAlign() == SkPaint::kCenter_Align) { in setPosition()
DSkDevice.cpp373 if (paint.getTextAlign() != SkPaint::kLeft_Align) { in drawTextOnPath()
375 if (paint.getTextAlign() == SkPaint::kCenter_Align) { in drawTextOnPath()
DSkPaint.cpp1915 *ptr++ = pack_paint_flags(this->getFlags(), this->getHinting(), this->getTextAlign(), in flatten()
2257 str->append(gTextAlignStrings[this->getTextAlign()]); in toString()
2341 if (paint.getTextAlign() != SkPaint::kLeft_Align) { // need to measure first in SkTextBaseIter()
2345 if (paint.getTextAlign() == SkPaint::kCenter_Align) { in SkTextBaseIter()
DSkDraw.cpp1590 {x, y}, *fMatrix, paint.getTextAlign(), cache.get(), drawOneGlyph); in drawText()
1613 SkTextAlignProc alignProc(paint.getTextAlign()); in drawPosText_asPaths()
1667 SkPaint::Align textAlignment = paint.getTextAlign(); in drawPosText()
DSkTextBlob.cpp24 , fAlign(paint.getTextAlign()) in RunFont()
DSkCanvas.cpp2477 if (paint.getTextAlign() == SkPaint::kCenter_Align) { in DrawTextDecorations()
2479 } else if (paint.getTextAlign() == SkPaint::kRight_Align) { in DrawTextDecorations()
/external/skia/tests/
DTextBlobTest.cpp209 REPORTER_ASSERT(reporter, defaultPaint.getTextAlign() != font.getTextAlign()); in TestPaintProps()
240 REPORTER_ASSERT(reporter, paint.getTextAlign() == font.getTextAlign()); in TestPaintProps()
/external/skia/src/svg/
DSkSVGDevice.cpp531 if (const char* textAlign = svg_text_align(paint.getTextAlign())) { in addTextAttributes()
792 if (paint.getTextAlign() != SkPaint::kLeft_Align) { in drawTextOnPath()
793 SkASSERT(paint.getTextAlign() == SkPaint::kCenter_Align || in drawTextOnPath()
794 paint.getTextAlign() == SkPaint::kRight_Align); in drawTextOnPath()
796 paint.getTextAlign() == SkPaint::kCenter_Align ? "50%" : "100%"); in drawTextOnPath()
/external/skia/gm/
Dglyph_pos_align.cpp54 switch (paint.getTextAlign()) { in drawTestCase()
/external/skia/src/utils/
DSkTextBox.cpp181 switch (paint.getTextAlign()) { in visit()
DSkLua.cpp960 SkPaint::Align align = get_obj<SkPaint>(L, 1)->getTextAlign(); in lpaint_getTextAlign()
/external/skia/include/core/
DSkPaint.h662 Align getTextAlign() const { return (Align)fBitfields.fTextAlign; } in getTextAlign() function
/external/skia/src/pdf/
DSkPDFDevice.cpp86 if (paint.getTextAlign() == SkPaint::kLeft_Align) { in align_text()
105 if (paint.getTextAlign() == SkPaint::kLeft_Align) { in align_text()
111 if (paint.getTextAlign() == SkPaint::kCenter_Align) { in align_text()
/external/skia/src/device/xps/
DSkXPSDevice.cpp2139 SkPoint{ x, y }, matrix, paint.getTextAlign(), cache, processOneGlyph); in drawText()
2199 offset, matrix, pos, scalarsPerPos, paint.getTextAlign(), cache, processOneGlyph); in drawPosText()
/external/skia/tools/json/
DSkJSONCanvas.cpp390 SkPaint::Align textAlign = paint.getTextAlign(); in apply_paint_textalign()
/external/skia/tools/debugger/
DSkDrawCommand.cpp1001 SkPaint::Align textAlign = paint.getTextAlign(); in apply_paint_textalign()
/external/robolectric/v3/runtime/
Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
/external/robolectric/v1/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...

12