Home
last modified time | relevance | path

Searched refs:fontMetrics (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorEditText.java185 final FontMetricsInt fontMetrics = getPaint().getFontMetricsInt(); in getCompoundPaddingTop() local
186 final int paddingOffset = -(fontMetrics.ascent + mTempRect.height()); in getCompoundPaddingTop()
194 final FontMetricsInt fontMetrics = getPaint().getFontMetricsInt(); in getCompoundPaddingBottom() local
195 return super.getCompoundPaddingBottom() - Math.min(getPaddingBottom(), fontMetrics.descent); in getCompoundPaddingBottom()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DUserDictionaryToolsList.java673 FontMetricsInt fontMetrics = paint.getFontMetricsInt(); in updateWordList() local
674 int row_hight = (Math.abs(fontMetrics.top) + fontMetrics.bottom) * 2; in updateWordList()