Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DMinikinUtils.cpp78 switch (paint->getTextAlign()) { in xOffsetForTextAlign()
93 switch (paint->getTextAlign()) { in hOffsetForTextAlign()
/frameworks/base/libs/hwui/
DSkiaCanvasProxy.cpp256 if (glyphs.paint.getTextAlign() != SkPaint::kLeft_Align) { in onDrawText()
261 if (glyphs.paint.getTextAlign() == SkPaint::kCenter_Align) { in onDrawText()
DOpenGLRenderer.cpp2164 if (CC_UNLIKELY(paint->getTextAlign() != SkPaint::kLeft_Align)) {
/frameworks/base/libs/hwui/font/
DFont.cpp317 if (paint->getTextAlign() != SkPaint::kLeft_Align) { in render()
320 if (paint->getTextAlign() == SkPaint::kCenter_Align) { in render()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java1069 if (paintDelegate.getTextAlign() != Paint.Align.LEFT.nativeInt) { in drawText()
1073 if (paintDelegate.getTextAlign() == Paint.Align.CENTER.nativeInt) { in drawText()
1075 } else if (paintDelegate.getTextAlign() == Paint.Align.RIGHT.nativeInt) { in drawText()
DPaint_Delegate.java146 public int getTextAlign() { in getTextAlign() method in Paint_Delegate
/frameworks/base/core/jni/android/graphics/
DPaint.cpp308 static jint getTextAlign(JNIEnv* env, jobject clazz, jlong objHandle) { in getTextAlign() function
310 return static_cast<jint>(obj->getTextAlign()); in getTextAlign()
602 Paint::Align align = paint->getTextAlign(); in getTextPath()
954 {"nGetTextAlign","!(J)I", (void*) PaintGlue::getTextAlign},
/frameworks/base/libs/hwui/tests/unit/
DRecordingCanvasTests.cpp218 EXPECT_EQ(SkPaint::kLeft_Align, op.paint->getTextAlign()) in TEST()
/frameworks/base/graphics/java/android/graphics/
DPaint.java1274 public Align getTextAlign() { in getTextAlign() method in Paint
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10992 method public android.graphics.Paint.Align getTextAlign();
/frameworks/base/api/
Dcurrent.txt12032 method public android.graphics.Paint.Align getTextAlign();
Dtest-current.txt12045 method public android.graphics.Paint.Align getTextAlign();
Dsystem-current.txt12471 method public android.graphics.Paint.Align getTextAlign();