Searched defs:textWidth (Results 1 - 11 of 11) sorted by relevance

/external/skia/gm/
H A Dbitmapcopy.cpp86 SkScalar textWidth = paint.measureText(name, strlen(name)); local
87 if (textWidth > width) {
88 width = textWidth;
99 SkScalar textWidth = paint.measureText(name, strlen(name)); local
100 SkScalar x = (width - textWidth) / SkScalar(2);
/external/skia/bench/
H A DPicturePlaybackBench.cpp82 const SkScalar textWidth = paint.measureText(text, len); local
84 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) {
107 const SkScalar textWidth = paint.measureText(text, len); local
112 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) {
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/
H A DCCHeadsUpDisplay.cpp168 float textWidth = m_mediumFont->width(run) + 2.0f; local
173 ctx->fillRect(FloatRect(2, top, textWidth + graphWidth, height));
186 int graphLeft = static_cast<int>(textWidth + 3);
/external/webkit/Source/WebCore/rendering/
H A DRenderEmbeddedObject.cpp165 float textWidth; local
166 if (!getReplacementTextGeometry(tx, ty, contentRect, path, replacementTextRect, font, run, textWidth))
176 float labelX = roundf(replacementTextRect.location().x() + (replacementTextRect.size().width() - textWidth) / 2);
184 bool RenderEmbeddedObject::getReplacementTextGeometry(int tx, int ty, FloatRect& contentRect, Path& path, FloatRect& replacementTextRect, Font& font, TextRun& run, float& textWidth) argument
202 textWidth = font.width(run);
204 replacementTextRect.setSize(FloatSize(textWidth + replacementTextRoundedRectLeftRightTextMargin * 2, replacementTextRoundedRectHeight));
260 float textWidth; local
261 if (!getReplacementTextGeometry(0, 0, contentRect, path, replacementTextRect, font, run, textWidth))
H A DRenderImage.cpp305 int textWidth = font.width(textRun); local
307 if (usableWidth >= textWidth && fontMetrics.height() <= imageY)
309 } else if (usableWidth >= textWidth && cHeight >= fontMetrics.height())
H A DRenderListBox.cpp120 float textWidth = itemFont.width(TextRun(text.impl(), false, 0, 0, TextRun::AllowTrailingExpansion, false, false)); local
121 width = max(width, textWidth);
348 float textWidth = itemFont.width(textRun); local
349 offset.setWidth(itemBoudingBox.width() - textWidth - optionsSpacingHorizontal);
351 float textWidth = itemFont.width(textRun); local
352 offset.setWidth((itemBoudingBox.width() - textWidth) / 2);
H A DRenderBlockLineLayout.cpp1634 static inline float textWidth(RenderText* text, unsigned from, unsigned len, const Font& font, float xPos, bool isFixedPitch, bool collapseWhiteSpace) function
1676 float prefixWidth = hyphenWidth + textWidth(text, lastSpace, prefixLength, font, xPos, isFixedPitch, collapseWhiteSpace) + lastSpaceWordSpacing;
2065 charWidth = textWidth(t, pos, 1, f, width.committedWidth() + wrapW, isFixedPitch, collapseWhiteSpace);
2097 additionalTmpW = textWidth(t, lastSpace, pos + 1 - lastSpace, f, width.currentWidth(), isFixedPitch, collapseWhiteSpace) - wordTrailingSpaceWidth + lastSpaceWordSpacing;
2099 additionalTmpW = textWidth(t, lastSpace, pos - lastSpace, f, width.currentWidth(), isFixedPitch, collapseWhiteSpace) + lastSpaceWordSpacing;
2116 int charWidth = textWidth(t, pos, 1, f, width.currentWidth(), isFixedPitch, collapseWhiteSpace) + (applyWordSpacing ? wordSpacing : 0);
2245 float additionalTmpW = ignoringSpaces ? 0 : textWidth(t, lastSpace, pos - lastSpace, f, width.currentWidth(), isFixedPitch, collapseWhiteSpace) + lastSpaceWordSpacing;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ui.forms_3.5.2.r36_v20100702.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jface.text_3.6.1.r361_v20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 217 milliseconds