Searched refs:textHeight (Results 1 – 3 of 3) sorted by relevance
34 final int textHeight = fm.descent - fm.ascent; in setupFontMetrics() local36 fm.ascent = Math.min(fm.top, fm.top + (textHeight - bounds.bottom) / 2) - halfMargin; in setupFontMetrics()37 fm.descent = Math.max(fm.bottom, fm.bottom + (bounds.bottom - textHeight) / 2) in setupFontMetrics()
191 float textHeight = mTextHeightRaw * getResources().getDisplayMetrics().scaledDensity; in getCharBounds() local192 mDrawPaint.setTextSize(textHeight); in getCharBounds()
1450 final float textHeight = mDrawPaint.getTextSize(); in drawWeekNumbersAndDates() local1451 final int y = (int) ((mHeight + textHeight) / 2) - mWeekSeparatorLineWidth; in drawWeekNumbersAndDates()