Lines Matching refs:fontHeight
271 int fontHeight = metrics.getHeight();
276 if (fontHeight > 0) {
277 linesBelow = Math.max(0, heightBelow / fontHeight);
278 linesAbove = Math.max(0, heightAbove / fontHeight);
279 linesTotal = alloc.height / fontHeight;
280 if (alloc.height % fontHeight != 0) {
312 y += fontHeight;
402 int fontHeight = metrics.getHeight();
403 int lineIndex = (fontHeight > 0 ?
404 Math.abs((y - alloc.y) / fontHeight) :