HomeSort by relevance Sort by last modified time
    Searched defs:mTextBounds (Results 1 - 7 of 7) sorted by null

  /packages/apps/Calendar/src/com/android/calendar/
DayOfMonthDrawable.java 36 private final Rect mTextBounds = new Rect();
51 mPaint.getTextBounds(mDayOfMonth, 0, mDayOfMonth.length(), mTextBounds);
52 int textHeight = mTextBounds.bottom - mTextBounds.top;
  /packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DialpadTextView.java 35 private Rect mTextBounds = new Rect();
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/Launcher3/src/com/android/launcher3/
BaseRecyclerViewFastScrollPopup.java 54 private Rect mTextBounds = new Rect();
85 mTextPaint.getTextBounds(sectionName, 0, sectionName.length(), mTextBounds);
87 mTextBounds.right = (int) (mTextBounds.left + mTextPaint.measureText(sectionName));
102 int bgPadding = (mBgOriginalSize - mTextBounds.height()) / 2;
104 int bgWidth = Math.max(mBgOriginalSize, mTextBounds.width() + (2 * bgPadding));
186 c.drawText(mSectionName, (mBgBounds.width() - mTextBounds.width()) / 2,
187 mBgBounds.height() - (mBgBounds.height() / 2) - mTextBounds.exactCenterY(),
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
IconView.java 47 private Rect mTextBounds = new Rect();
87 mPaint.getTextBounds(text, 0, text.length(), mTextBounds);
  /frameworks/base/media/java/android/media/
TimedText.java 105 private Rect mTextBounds = null;
385 return mTextBounds;
502 mTextBounds = new Rect(left, top, right, bottom);
ClosedCaptionRenderer.java     [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
StateView.java 69 private Rect mTextBounds = new Rect();
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;

Completed in 565 milliseconds