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

/external/chromium_org/third_party/skia/gm/
H A Dbitmapcopy.cpp89 SkScalar textWidth = paint.measureText(name, strlen(name)); local
90 if (textWidth > width) {
91 width = textWidth;
102 SkScalar textWidth = paint.measureText(name, strlen(name)); local
103 SkScalar x = (width - textWidth) / SkScalar(2);
/external/skia/gm/
H A Dbitmapcopy.cpp87 SkScalar textWidth = paint.measureText(name, strlen(name)); local
88 if (textWidth > width) {
89 width = textWidth;
100 SkScalar textWidth = paint.measureText(name, strlen(name)); local
101 SkScalar x = (width - textWidth) / SkScalar(2);
/external/chromium_org/third_party/skia/bench/
H A DPicturePlaybackBench.cpp81 const SkScalar textWidth = paint.measureText(text, len); variable
83 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) {
106 const SkScalar textWidth = paint.measureText(text, len); variable
111 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) {
/external/skia/bench/
H A DPicturePlaybackBench.cpp81 const SkScalar textWidth = paint.measureText(text, len); variable
83 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) {
106 const SkScalar textWidth = paint.measureText(text, len); variable
111 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) {
/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DImagePainter.cpp135 float textWidth = font.width(textRun); local
137 textRunPaintInfo.bounds = FloatRect(textRectOrigin, FloatSize(textWidth, fontMetrics.height()));
141 textOrigin.move(availableWidth - ceilf(textWidth), 0);
144 if (usableWidth >= textWidth && fontMetrics.height() <= imageOffset.height())
146 } else if (usableWidth >= textWidth && usableHeight >= fontMetrics.height()) {
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderEmbeddedObject.cpp138 float textWidth; local
139 if (!getReplacementTextGeometry(paintOffset, contentRect, path, replacementTextRect, font, run, textWidth))
150 float labelX = roundf(replacementTextRect.location().x() + (replacementTextRect.size().width() - textWidth) / 2);
159 bool RenderEmbeddedObject::getReplacementTextGeometry(const LayoutPoint& accumulatedOffset, FloatRect& contentRect, Path& path, FloatRect& replacementTextRect, Font& font, TextRun& run, float& textWidth) const
176 textWidth = font.width(run);
178 replacementTextRect.setSize(FloatSize(textWidth + replacementTextRoundedRectLeftRightTextMargin * 2, replacementTextRoundedRectHeight));
H A DRenderFileUploadControl.cpp119 float textWidth = font.width(textRun); local
124 textX = contentLeft + contentWidth() - buttonAndSpacingWidth - textWidth;
136 textWidth, style()->fontMetrics().height());
/external/chromium_org/third_party/WebKit/Source/platform/
H A DDragImage.cpp192 float textWidth = labelFont.width(textRun); local
194 textPos.setX(availableWidth - ceilf(textWidth));
/external/chromium_org/third_party/skia/experimental/PdfViewer/
H A DSkPdfFont.h278 SkScalar textWidth = paint->measureText(utf8, len); local
279 return SkScalarToDouble(textWidth);
/external/skia/experimental/PdfViewer/
H A DSkPdfFont.h278 SkScalar textWidth = paint->measureText(utf8, len); local
279 return SkScalarToDouble(textWidth);
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/
H A DBreakingContextInlineHeaders.h516 ALWAYS_INLINE float textWidth(RenderText* text, unsigned from, unsigned len, const Font& font, float xPos, bool isFixedPitch, bool collapseWhiteSpace, HashSet<const SimpleFontData*>* fallbackFonts = 0) function in namespace:blink
621 charWidth = textWidth(renderText, m_current.offset(), midWordBreakIsBeforeSurrogatePair ? 2 : 1, font, m_width.committedWidth() + wrapW, isFixedPitch, m_collapseWhiteSpace);
657 additionalTempWidth = textWidth(renderText, lastSpace, m_current.offset() + 1 - lastSpace, font, m_width.currentWidth(), isFixedPitch, m_collapseWhiteSpace, &wordMeasurement.fallbackFonts) - wordTrailingSpaceWidth;
659 additionalTempWidth = textWidth(renderText, lastSpace, m_current.offset() - lastSpace, font, m_width.currentWidth(), isFixedPitch, m_collapseWhiteSpace, &wordMeasurement.fallbackFonts);
683 float charWidth = textWidth(renderText, m_current.offset(), 1, font, m_width.currentWidth(), isFixedPitch, m_collapseWhiteSpace, &wordMeasurement.fallbackFonts) + (applyWordSpacing ? wordSpacing : 0);
814 float additionalTempWidth = m_ignoringSpaces ? 0 : textWidth(renderText, lastSpace, m_current.offset() - lastSpace, font, m_width.currentWidth(), isFixedPitch, m_collapseWhiteSpace, &wordMeasurement.fallbackFonts);
/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 ...
/external/chromium_org/third_party/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...

Completed in 264 milliseconds