HomeSort by relevance Sort by last modified time
    Searched refs:fmi (Results 1 - 7 of 7) sorted by null

  /frameworks/base/core/tests/coretests/src/android/text/
StaticLayoutTest.java 50 FontMetricsInt fmi = b.paint.getFontMetricsInt(); local
53 Log.i("TG1:paint", fmi.toString());
57 fmi.ascent, fmi.descent);
77 FontMetricsInt fmi = b.paint.getFontMetricsInt(); local
80 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent,
81 fmi.top, fmi.bottom)
93 FontMetricsInt fmi = b.paint.getFontMetricsInt(); local
111 FontMetricsInt fmi = b.paint.getFontMetricsInt(); local
132 FontMetricsInt fmi = b.paint.getFontMetricsInt(); local
160 FontMetricsInt fmi = b.paint.getFontMetricsInt(); local
181 FontMetricsInt fmi = b.paint.getFontMetricsInt(); local
203 FontMetricsInt fmi = b.paint.getFontMetricsInt(); local
    [all...]
  /frameworks/base/core/java/android/text/
TextLine.java 247 * @param fmi receives font metrics information, can be null
250 float metrics(FontMetricsInt fmi) {
251 return measure(mLen, false, fmi);
262 * @param fmi receives metrics information about the requested
267 float measure(int offset, boolean trailing, FontMetricsInt fmi) {
277 return measureRun(0, offset, mLen, false, fmi);
280 return measureRun(0, offset, mLen, true, fmi);
313 return h += measureRun(segstart, offset, j, runIsRtl, fmi);
316 float w = measureRun(segstart, j, j, runIsRtl, fmi);
380 * @param fmi receives metrics information about the requeste
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ShortcutIntentBuilder.java 398 final FontMetricsInt fmi = textPaint.getFontMetricsInt(); local
406 final int textBandHeight = (fmi.descent - fmi.ascent) + textPadding * 2;
413 - fmi.descent - textPadding, textPaint);
  /cts/tests/tests/graphics/src/android/graphics/cts/
PaintTest.java 957 Paint.FontMetricsInt fmi = new Paint.FontMetricsInt(); local
963 p.getFontMetricsInt(fmi);
964 assertEquals(Math.round(p.ascent()), fmi.ascent);
965 assertEquals(Math.round(p.descent()), fmi.descent);
968 p.getFontMetricsInt(fmi);
969 assertEquals(Math.round(p.ascent()), fmi.ascent);
970 assertEquals(Math.round(p.descent()), fmi.descent);
976 Paint.FontMetricsInt fmi; local
982 fmi = p.getFontMetricsInt();
983 assertEquals(Math.round(p.ascent()), fmi.ascent)
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationItemViewCoordinates.java 432 final FontMetricsInt fmi = t.getPaint().getFontMetricsInt(); local
433 return (fmi.top - fmi.ascent);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Paint_Delegate.java 599 long nativeTypeface, FontMetricsInt fmi) {
608 if (fmi != null) {
610 fmi.top = - javaMetrics.getMaxAscent();
611 fmi.ascent = - javaMetrics.getAscent();
612 fmi.descent = javaMetrics.getDescent();
613 fmi.bottom = javaMetrics.getMaxDescent();
614 fmi.leading = javaMetrics.getLeading();
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Paint.java     [all...]

Completed in 1159 milliseconds