OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mTextBounds
(Results
1 - 7
of
7
) sorted by null
/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/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/Launcher3/src/com/android/launcher3/
BaseRecyclerViewFastScrollPopup.java
46
private Rect
mTextBounds
= new Rect();
70
mTextPaint.getTextBounds(sectionName, 0, sectionName.length(),
mTextBounds
);
72
mTextBounds
.right = (int) (
mTextBounds
.left + mTextPaint.measureText(sectionName));
86
int bgPadding = (mBgOriginalSize -
mTextBounds
.height()) / 2;
88
int bgWidth = Math.max(mBgOriginalSize,
mTextBounds
.width() + (2 * bgPadding));
150
c.drawText(mSectionName, (mBgBounds.width() -
mTextBounds
.width()) / 2,
151
mBgBounds.height() - (mBgBounds.height() -
mTextBounds
.height()) / 2,
/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;
/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/category/
IconView.java
47
private Rect
mTextBounds
= new Rect();
87
mPaint.getTextBounds(text, 0, text.length(),
mTextBounds
);
Completed in 284 milliseconds