Lines Matching defs:fm
413 Paint.FontMetricsInt fm) {
415 chooseHeight(text, start, end, spanstartv, v, fm, null);
420 Paint.FontMetricsInt fm, TextPaint paint) {
426 if (fm.bottom - fm.top < size) {
427 fm.top = fm.bottom - size;
428 fm.ascent = fm.ascent - size;
446 int need = (int) Math.ceil(-fm.top * sProportion);
448 if (size - fm.descent >= need) {
453 fm.top = fm.bottom - size;
454 fm.ascent = fm.descent - size;
461 fm.top = fm.ascent = -need;
462 fm.bottom = fm.descent = fm.top + size;
468 fm.top = fm.ascent = -size;
469 fm.bottom = fm.descent = 0;