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()
374 float textHeight = mTextPaint.descent() - mTextPaint.ascent(); in calculateBaseOffsets() local375 float textOffset = (textHeight / 2) - mTextPaint.descent(); in calculateBaseOffsets()406 float textHeight = mTextPaint.descent() - mTextPaint.ascent(); in calculateBaseOffsets() local407 float textOffset = (textHeight / 2) - mTextPaint.descent(); in calculateBaseOffsets()
449 final int textHeight = mCurrText.getMeasuredHeight(); in onMeasure() local451 height = Math.max(minHeight, textHeight + heightPadding); in onMeasure()
183 float textHeight = mTextHeightRaw * getResources().getDisplayMetrics().scaledDensity; in getCharBounds() local184 mDrawPaint.setTextSize(textHeight); in getCharBounds()
1400 final float textHeight = mDrawPaint.getTextSize(); in drawWeekNumbersAndDates() local1401 final int y = (int) ((mHeight + textHeight) / 2) - mWeekSeperatorLineWidth; in drawWeekNumbersAndDates()