Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java560 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in nAscent() local
562 return - javaMetrics.getAscent(); in nAscent()
577 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in nDescent() local
578 return javaMetrics.getDescent(); in nDescent()
607 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in nGetFontMetricsInt() local
610 fmi.top = - javaMetrics.getMaxAscent(); in nGetFontMetricsInt()
611 fmi.ascent = - javaMetrics.getAscent(); in nGetFontMetricsInt()
612 fmi.descent = javaMetrics.getDescent(); in nGetFontMetricsInt()
613 fmi.bottom = javaMetrics.getMaxDescent(); in nGetFontMetricsInt()
614 fmi.leading = javaMetrics.getLeading(); in nGetFontMetricsInt()
[all …]