Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DMinikinUtils.cpp67 switch (paint->getTextAlign()) { in xOffsetForTextAlign()
82 switch (paint->getTextAlign()) { in hOffsetForTextAlign()
DPaint.cpp355 static jint getTextAlign(JNIEnv* env, jobject clazz, jlong objHandle) { in getTextAlign() function in android::PaintGlue
357 return static_cast<jint>(obj->getTextAlign()); in getTextAlign()
831 Paint::Align align = paint->getTextAlign(); in getTextPath()
1139 {"native_getTextAlign","!(J)I", (void*) PaintGlue::getTextAlign},
/frameworks/base/libs/hwui/
DSkiaCanvasProxy.cpp225 if (glyphs.paint.getTextAlign() != SkPaint::kLeft_Align) { in onDrawText()
230 if (glyphs.paint.getTextAlign() == SkPaint::kCenter_Align) { in onDrawText()
DOpenGLRenderer.cpp2271 if (CC_UNLIKELY(paint->getTextAlign() != SkPaint::kLeft_Align)) {
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java980 if (paintDelegate.getTextAlign() != Paint.Align.LEFT.nativeInt) { in drawText()
984 if (paintDelegate.getTextAlign() == Paint.Align.CENTER.nativeInt) { in drawText()
986 } else if (paintDelegate.getTextAlign() == Paint.Align.RIGHT.nativeInt) { in drawText()
DPaint_Delegate.java143 public int getTextAlign() { in getTextAlign() method in Paint_Delegate
/frameworks/base/libs/hwui/font/
DFont.cpp324 if (paint->getTextAlign() != SkPaint::kLeft_Align) { in render()
327 if (paint->getTextAlign() == SkPaint::kCenter_Align) { in render()
/frameworks/base/graphics/java/android/graphics/
DPaint.java1160 public Align getTextAlign() { in getTextAlign() method in Paint
/frameworks/base/api/
Dcurrent.txt11552 method public android.graphics.Paint.Align getTextAlign();
Dsystem-current.txt11889 method public android.graphics.Paint.Align getTextAlign();