Searched refs:getFontMetrics (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
D | TypefaceTest.java | 79 Paint.FontMetrics fm = p.getFontMetrics(); in testUniformY()
|
/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 339 (void)GraphicsJNI::getNativePaint(env, paint)->getFontMetrics(&metrics); in ascent() 346 (void)GraphicsJNI::getNativePaint(env, paint)->getFontMetrics(&metrics); in descent() 350 static jfloat getFontMetrics(JNIEnv* env, jobject paint, jobject metricsObj) { in getFontMetrics() function in android::SkPaintGlue 353 … SkScalar spacing = GraphicsJNI::getNativePaint(env, paint)->getFontMetrics(&metrics); in getFontMetrics() 370 GraphicsJNI::getNativePaint(env, paint)->getFontMetrics(&metrics); in getFontMetricsInt() 842 … {"getFontMetrics", "(Landroid/graphics/Paint$FontMetrics;)F", (void*)SkPaintGlue::getFontMetrics},
|
/frameworks/base/tests/BrowserTestPlugin/jni/event/ |
D | EventPlugin.cpp | 95 gPaintI.getFontMetrics(paint, &fm); in drawPlugin()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 535 /*package*/ static float getFontMetrics(Paint thisPaint, FontMetrics metrics) { in getFontMetrics() method in Paint_Delegate 542 return delegate.getFontMetrics(metrics); in getFontMetrics() 1179 info.mMetrics = Toolkit.getDefaultToolkit().getFontMetrics(info.mFont); in updateFontObject() 1248 private float getFontMetrics(FontMetrics metrics) { in getFontMetrics() method in Paint_Delegate
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 1219 public native float getFontMetrics(FontMetrics metrics); in getFontMetrics() method in Paint 1225 public FontMetrics getFontMetrics() { in getFontMetrics() method in Paint 1227 getFontMetrics(fm); in getFontMetrics() 1275 return getFontMetrics(null); in getFontSpacing()
|
/frameworks/base/libs/hwui/ |
D | DisplayListOp.h | 1278 paint->getFontMetrics(&metrics, 0.0f); in DrawTextOp()
|
D | OpenGLRenderer.cpp | 2881 paint->getFontMetrics(&metrics, 0.0f); in drawText()
|
/frameworks/base/api/ |
D | current.txt | 9062 method public float getFontMetrics(android.graphics.Paint.FontMetrics); 9063 method public android.graphics.Paint.FontMetrics getFontMetrics();
|