Searched refs:mTextBounds (Results 1 - 5 of 5) sorted by relevance
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/ |
H A D | DialpadTextView.java | 35 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 D | DayOfMonthDrawable.java | 36 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 D | ZoomRenderer.java | 50 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 D | StateView.java | 69 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 D | IconView.java | 47 private Rect mTextBounds = new Rect(); field in class:IconView 87 mPaint.getTextBounds(text, 0, text.length(), mTextBounds);
|
Completed in 159 milliseconds