Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadTextView.java36 private Rect mTextBounds = new Rect(); field in DialpadTextView
54 canvas.drawText(mTextStr, -mTextBounds.left, -mTextBounds.top, paint); in draw()
65 getPaint().getTextBounds(mTextStr, 0, mTextStr.length(), mTextBounds); in onMeasure()
67 int width = resolveSize(mTextBounds.width(), widthMeasureSpec); in onMeasure()
68 int height = resolveSize(mTextBounds.height(), heightMeasureSpec); in onMeasure()
/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()