/frameworks/base/core/tests/coretests/src/android/text/ |
StaticLayoutDirectionsTest.java | 128 float width = b.paint.measureText(b.text, 0, 5); // exclude 'c' 197 float width = Layout.measureText(b.paint,
|
TextUtilsTest.java | 320 assertTrue("wid " + i + " pass " + j, p.measureText(out1) <= i); 323 assertTrue("wid " + i + " pass " + j, p.measureText(keep1) == p.measureText(out1));
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
CandidateView.java | 296 mCandidatesPaint.measureText(SUSPENSION_POINTS); 386 mCandidatesPaint.measureText(SUSPENSION_POINTS); 440 float itemWidth = mCandidatesPaint.measureText(itemStr); 510 footnoteSize = mFootnotePaint.measureText(footnote); 514 float candidateWidth = mCandidatesPaint.measureText(cand); 576 float width = mCandidatesPaint.measureText(rawCandidate, 0, subLen);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
SearchActivity.java | 114 float searchStringWidth = tp.measureText(mTargetString); 117 float ellipsisWidth = tp.measureText(sEllipsis); 148 if (tp.measureText(candidate) > textFieldWidth) {
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
SimpleFontDataSkia.cpp | 230 paint.measureText(&glyph, 2, &bounds); 266 SkScalar width = paint.measureText(&glyph, 2);
|
/external/chromium_org/third_party/skia/src/views/ |
SkWidgets.cpp | 352 SkScalar width = fPaint.measureText(fText.c_str(), fText.size(), NULL, NULL); 361 (void)fPaint.measureText(0, NULL, &before, &after);
|
/external/skia/src/views/ |
SkWidgets.cpp | 352 SkScalar width = fPaint.measureText(fText.c_str(), fText.size(), NULL, NULL); 361 (void)fPaint.measureText(0, NULL, &before, &after);
|
/external/skia/tests/ |
FontHostTest.cpp | 295 SkScalar width1 = paint.measureText(txt, strlen(txt)); 298 SkScalar width2 = paint.measureText(txt, strlen(txt), &bounds);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
LoadAverageService.java | 51 mLoadWidth = (int)mPaint.measureText(mLoadText); 56 return (int)mPaint.measureText(name);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
ProjectPickerAdapter.java | 181 final int availableTitleWidth = bitmap.getWidth() - (int) paint.measureText(duration); 190 bitmap.getWidth() - paint.measureText(duration) - mOverlayHorizontalInset,
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
LabelView.java | 147 result = (int) mTextPaint.measureText(mText) + getPaddingLeft()
|
/external/chromium/chrome/common/extensions/ |
extension_action.cc | 128 SkScalar text_width = text_paint->measureText(text.c_str(), text.size());
|
/external/chromium_org/ppapi/cpp/dev/ |
font_dev.h | 122 int32_t MeasureText(const TextRun_Dev& text) const;
|
/external/chromium_org/third_party/skia/src/views/animated/ |
SkStaticTextView.cpp | 39 SkScalar width = fPaint.measureText(fText.c_str(), fText.size());
|
/external/skia/gm/ |
fontmgr.cpp | 24 return x + paint.measureText(text.c_str(), text.size());
|
/external/skia/src/views/animated/ |
SkStaticTextView.cpp | 39 SkScalar width = fPaint.measureText(fText.c_str(), fText.size());
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
LabelView.java | 140 result = (int) mTextPaint.measureText(mText) + mPaddingLeft
|
/frameworks/base/services/java/com/android/server/wm/ |
Watermark.java | 92 mTextWidth = (int)mTextPaint.measureText(mText);
|
/frameworks/rs/ |
rsFont.h | 154 void measureText(const char *text, uint32_t len, Font::Rect *bounds);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
IconView.java | 101 float textWidth = mPaint.measureText(text);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
FolderSpan.java | 90 int w = (int) paint.measureText(text, start, end) + 2 * paddingW;
|
ConversationItemView.java | 306 int width = (int) sFoldersPaint.measureText(folderString) + cellSize; 341 // TODO(ath): sFoldersPaint.measureText() is done 3x in this method. stop that. 358 final int textW = (int) sFoldersPaint.measureText(folderString); [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
StringUtils.java | 180 final int textSize = (int)p.measureText(text);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureFloatingPreviewText.java | 155 final float textWidth = mParams.getTextPaint().measureText(text);
|
/sdk/testapps/customViewTest/libWithCustomView/src/com/android/tests/libwithcustom/ |
LabelView.java | 146 result = (int) mTextPaint.measureText(mText) + getPaddingLeft()
|