Searched refs:textHeight (Results 1 – 5 of 5) 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()
412 float textHeight = mTextPaint.descent() - mTextPaint.ascent(); in calculateBaseOffsets() local413 float textOffset = (textHeight / 2) - mTextPaint.descent(); in calculateBaseOffsets()444 float textHeight = mTextPaint.descent() - mTextPaint.ascent(); in calculateBaseOffsets() local445 float textOffset = (textHeight / 2) - mTextPaint.descent(); in calculateBaseOffsets()
440 final int textHeight = mCurrText.getMeasuredHeight(); in onMeasure() local442 height = Math.max(minHeight, textHeight + heightPadding); in onMeasure()
182 float textHeight = mTextHeightRaw * getResources().getDisplayMetrics().scaledDensity; in getCharBounds() local183 mDrawPaint.setTextSize(textHeight); in getCharBounds()
1452 final float textHeight = mDrawPaint.getTextSize(); in drawWeekNumbersAndDates() local1453 final int y = (int) ((mHeight + textHeight) / 2) - mWeekSeparatorLineWidth; in drawWeekNumbersAndDates()