Home
last modified time | relevance | path

Searched refs:textHeight (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistoryChart.java436 int textHeight = mTextDescent - mTextAscent; in onSizeChanged() local
439 if (h > (textHeight*6)) { in onSizeChanged()
441 if (h > (textHeight*15)) { in onSizeChanged()
443 mLineWidth = textHeight/2; in onSizeChanged()
446 mLineWidth = textHeight/3; in onSizeChanged()
448 mLevelTop = textHeight + mLineWidth; in onSizeChanged()
474 int barOffset = textHeight + mLineWidth; in onSizeChanged()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureFloatingPreviewText.java156 final int textHeight = mParams.mGesturePreviewTextHeight; in updatePreviewPosition() local
161 final float rectHeight = textHeight + vPad * 2.0f; in updatePreviewPosition()
172 mPreviewTextY = (int)(rectY + vPad) + textHeight; in updatePreviewPosition()
/packages/apps/Calendar/src/com/android/calendar/
DDayOfMonthDrawable.java52 int textHeight = mTextBounds.bottom - mTextBounds.top; in draw() local
54 canvas.drawText(mDayOfMonth, bounds.right / 2, ((float) bounds.bottom + textHeight + 1) / 2, in draw()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DTutorialEN.java163 int textHeight = chooseSize(window, inputView, text, textView); in show() local
164 offy -= textView.getPaddingTop() + textHeight; in show()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DTutorialJAJP.java165 int textHeight = chooseSize(window, inputView, text, textView); in show() local
166 offy -= textView.getPaddingTop() + textHeight; in show()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMainKeyboardView.java1414 final float textHeight = -paint.ascent() + descent; in drawSpacebar() local
1415 final float baseline = height / 2 + textHeight / 2; in drawSpacebar()