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

/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
H A DDialpadTextView.java35 private Rect mTextBounds = new Rect(); field in class:DialpadTextView
55 canvas.drawText(mTextStr, -mTextBounds.left, -mTextBounds.top, paint);
66 getPaint().getTextBounds(mTextStr, 0, mTextStr.length(), mTextBounds);
68 int width = resolveSize(mTextBounds.width(), widthMeasureSpec);
69 int height = resolveSize(mTextBounds.height(), heightMeasureSpec);
/packages/apps/Calendar/src/com/android/calendar/
H A DDayOfMonthDrawable.java36 private final Rect mTextBounds = new Rect(); field in class:DayOfMonthDrawable
51 mPaint.getTextBounds(mDayOfMonth, 0, mDayOfMonth.length(), mTextBounds);
52 int textHeight = mTextBounds.bottom - mTextBounds.top;
/packages/apps/Camera/src/com/android/camera/ui/
H A DZoomRenderer.java50 private Rect mTextBounds; field in class:ZoomRenderer
73 mTextBounds = new Rect();
121 mTextPaint.getTextBounds(txt, 0, txt.length(), mTextBounds);
122 canvas.drawText(txt, mCenterX - mTextBounds.centerX(), mCenterY - mTextBounds.centerY(),
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DStateView.java69 private Rect mTextBounds = new Rect(); field in class:StateView
127 mPaint.getTextBounds(mText, 0, mText.length(), mTextBounds);
128 int x = (canvas.getWidth() - mTextBounds.width()) / 2;
129 int y = mTextBounds.height() + (canvas.getHeight() - mTextBounds.height()) / 2;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DIconView.java47 private Rect mTextBounds = new Rect(); field in class:IconView
87 mPaint.getTextBounds(text, 0, text.length(), mTextBounds);

Completed in 159 milliseconds