Home
last modified time | relevance | path

Searched refs:mTextBounds (Results 1 – 4 of 4) sorted by relevance

/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DDialpadTextView.java35 private Rect mTextBounds = new Rect(); field in DialpadTextView
55 canvas.drawText(mTextStr, -mTextBounds.left, -mTextBounds.top, paint); in draw()
66 getPaint().getTextBounds(mTextStr, 0, mTextStr.length(), mTextBounds); in onMeasure()
68 int width = resolveSize(mTextBounds.width(), widthMeasureSpec); in onMeasure()
69 int height = resolveSize(mTextBounds.height(), heightMeasureSpec); in onMeasure()
/packages/apps/Calendar/src/com/android/calendar/
DDayOfMonthDrawable.java36 private final Rect mTextBounds = new Rect(); field in DayOfMonthDrawable
51 mPaint.getTextBounds(mDayOfMonth, 0, mDayOfMonth.length(), mTextBounds); in draw()
52 int textHeight = mTextBounds.bottom - mTextBounds.top; in draw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStateView.java69 private Rect mTextBounds = new Rect(); field in StateView
127 mPaint.getTextBounds(mText, 0, mText.length(), mTextBounds); in drawText()
128 int x = (canvas.getWidth() - mTextBounds.width()) / 2; in drawText()
129 int y = mTextBounds.height() + (canvas.getHeight() - mTextBounds.height()) / 2; in drawText()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DIconView.java47 private Rect mTextBounds = new Rect(); field in IconView
87 mPaint.getTextBounds(text, 0, text.length(), mTextBounds); in computeTextPosition()