Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java574 java.awt.FontMetrics javaMetrics = fonts.get(0).mMetrics; in nAscent() local
576 return - javaMetrics.getAscent(); in nAscent()
592 java.awt.FontMetrics javaMetrics = fonts.get(0).mMetrics; in nDescent() local
593 return javaMetrics.getDescent(); in nDescent()
622 java.awt.FontMetrics javaMetrics = fonts.get(0).mMetrics; in nGetFontMetricsInt() local
625 fmi.top = (int)(- javaMetrics.getMaxAscent() * 1.15); in nGetFontMetricsInt()
626 fmi.ascent = - javaMetrics.getAscent(); in nGetFontMetricsInt()
627 fmi.descent = javaMetrics.getDescent(); in nGetFontMetricsInt()
628 fmi.bottom = (int)(javaMetrics.getMaxDescent() * 1.15); in nGetFontMetricsInt()
629 fmi.leading = javaMetrics.getLeading(); in nGetFontMetricsInt()
[all …]