Lines Matching refs:fm
409 Paint.FontMetricsInt fm) {
411 chooseHeight(text, start, end, spanstartv, v, fm, null);
416 Paint.FontMetricsInt fm, TextPaint paint) {
422 if (fm.bottom - fm.top < size) {
423 fm.top = fm.bottom - size;
424 fm.ascent = fm.ascent - size;
442 int need = (int) Math.ceil(-fm.top * sProportion);
444 if (size - fm.descent >= need) {
449 fm.top = fm.bottom - size;
450 fm.ascent = fm.descent - size;
457 fm.top = fm.ascent = -need;
458 fm.bottom = fm.descent = fm.top + size;
464 fm.top = fm.ascent = -size;
465 fm.bottom = fm.descent = 0;