/external/skia/gm/ |
shadertext2.cpp | 114 SkScalar w = fillPaint.measureText(kText, kTextLen); 141 SkScalar labelW = labelPaint.measureText(matrices[lm].fLabel, 199 SkScalar fillX = -outlinePaint.measureText(kFillLabel, strlen(kFillLabel)) - kPadX;
|
coloremoji.cpp | 71 paint.measureText(text, strlen(text), &bounds);
|
fontcache.cpp | 32 return x + paint.measureText(text.c_str(), text.size());
|
arithmode.cpp | 64 SkScalar width = paint.measureText(str.c_str(), str.size());
|
lumafilter.cpp | 23 SkScalar width = paint.measureText(label, len);
|
shadertext3.cpp | 121 SkScalar w = fillPaint.measureText(kText, kTextLen);
|
verttext.cpp | 61 SkScalar total = paint.measureText(gText, gLen);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
NumericSprite.java | 32 int width = roundUpPower2((int) (interDigitGaps + paint.measureText(sStrike)));
|
/external/skia/tools/ |
skhello.cpp | 81 SkScalar width = paint.measureText(text.c_str(), text.size());
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
StringTexture.java | 75 int width = (int) FloatMath.ceil(paint.measureText(text));
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
BalloonHint.java | 385 mSuspensionPointsWidth = mPaintLabel.measureText(SUSPENSION_POINTS); 406 measuredWidth += (int) (mPaintLabel.measureText(mLabel)); 441 float labelMeasuredWidth = mPaintLabel.measureText(mLabel); 464 float width = mPaintLabel.measureText(rawLabel, 0, subLen);
|
/cts/tests/tests/text/src/android/text/method/cts/ |
TouchTest.java | 111 int textWidth = Math.round(paint.measureText(text)); 114 textWidth = Math.round(paint.measureText(text));
|
/frameworks/rs/ |
rsScriptC_LibGL.cpp | 255 rsc->mStateFont.measureText(text, textLen, &metrics); 264 rsc->mStateFont.measureText(text, textLen, &metrics);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
PlayheadView.java | 141 int x = (int) ((getWidth() - mTextPaint.measureText(timeText)) / 2); 177 final int x = (int) (i - mTextPaint.measureText(timeText) / 2);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
CandidateTextView.java | 120 int width = (int)paint.measureText(word.candidate, 0, word.candidate.length()); 131 width = (int)paint.measureText(word.candidate, 0, word.candidate.length());
|
/cts/tests/tests/text/src/android/text/cts/ |
TextUtilsTest.java | 81 float width = p.measureText(text.substring(1)); 90 float textWidth = p.measureText("long, 3 plus"); 101 textWidth = p.measureText("long, string, 2 more"); 106 textWidth = p.measureText("long, string, to, truncate"); 334 float textWidth = p.measureText(mEllipsis) + p.measureText("uncate"); 338 textWidth = p.measureText("long str") + p.measureText(mEllipsis); 342 textWidth = p.measureText("long") + p.measureText(mEllipsis) + p.measureText("ate") [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PaintTest.java | 854 widths[i] = p.measureText(text, i, i + 1); 889 float width = p.measureText(longText, 0, 1); 893 /** Tests that all four overloads of measureText are the same and match some value. */ 905 widths[0] = p.measureText(textSlice); 906 widths[1] = p.measureText(textChars, start, count); 907 widths[2] = p.measureText(textSpan, start, end); 908 widths[3] = p.measureText(text, start, end);
|
PaintFlagsDrawFilterTest.java | 61 mTextWidth = p.measureText(TEXT);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
FlameChart.js | 712 var dotsWidth = context.measureText("\u2026").width; 714 this._minTextWidth = context.measureText("\u2026").width + textPaddingLeft; 778 this._dotsWidth = context.measureText("\u2026").width; 833 var titleWidth = context.measureText(title).width; 849 } while (context.measureText(substring).width > maxSize); 854 var width = context.measureText(substring).width; 862 } while (context.measureText(title.substring(0, i)).width < maxSize);
|
/developers/build/prebuilts/gradle/RenderScriptIntrinsic/RenderScriptIntrinsicSample/src/main/java/com/example/android/renderscriptintrinsic/ |
ThumbnailRadioButton.java | 103 float w = paint.measureText(getText(), 0, getText().length());
|
/developers/samples/android/renderScript/RenderScriptIntrinsic/RenderScriptIntrinsicSample/src/main/java/com/example/android/renderscriptintrinsic/ |
ThumbnailRadioButton.java | 103 float w = paint.measureText(getText(), 0, getText().length());
|
/external/chromium_org/ppapi/cpp/trusted/ |
browser_font_trusted.h | 128 int32_t MeasureText(const BrowserFontTextRun& text) const;
|
/external/skia/bench/ |
FontCacheBench.cpp | 44 paint.measureText(array, count * sizeof(uint16_t));
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ScaledTextActivity.java | 132 float width = mPaint.measureText(TEXT);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
FramedTextButton.java | 127 float textWidth = gPaint.measureText(mText);
|