/external/skia/gm/ |
H A D | bitmapcopy.cpp | 89 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/bench/ |
H A D | PicturePlaybackBench.cpp | 81 const SkScalar textWidth = paint.measureText(text, len); local 83 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) { 106 const SkScalar textWidth = paint.measureText(text, len); local 111 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) {
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderEmbeddedObject.cpp | 144 float textWidth; local 145 if (!getReplacementTextGeometry(paintOffset, contentRect, path, replacementTextRect, font, run, textWidth)) 155 float labelX = roundf(replacementTextRect.location().x() + (replacementTextRect.size().width() - textWidth) / 2); 164 bool RenderEmbeddedObject::getReplacementTextGeometry(const LayoutPoint& accumulatedOffset, FloatRect& contentRect, Path& path, FloatRect& replacementTextRect, Font& font, TextRun& run, float& textWidth) const 181 textWidth = font.width(run); 183 replacementTextRect.setSize(FloatSize(textWidth + replacementTextRoundedRectLeftRightTextMargin * 2, replacementTextRoundedRectHeight));
|
H A D | RenderFileUploadControl.cpp | 119 float textWidth = font.width(textRun); local 124 textX = contentLeft + contentWidth() - buttonAndSpacingWidth - textWidth; 136 textWidth,
|
H A D | RenderImage.cpp | 364 LayoutUnit textWidth = font.width(textRun); local 366 textRunPaintInfo.bounds = FloatRect(textRectOrigin, FloatSize(textWidth, fontMetrics.height())); 369 if (usableWidth >= textWidth && fontMetrics.height() <= imageOffset.height()) 371 } else if (usableWidth >= textWidth && usableHeight >= fontMetrics.height())
|
H A D | TextAutosizer.cpp | 172 float TextAutosizer::clusterMultiplier(WritingMode writingMode, const TextAutosizingWindowInfo& windowInfo, float textWidth) const 177 float logicalClusterWidth = std::min<float>(textWidth, logicalLayoutWidth); 210 float textWidth = clusterInfo.blockContainingAllText->contentLogicalWidth(); local 212 if (clusterShouldBeAutosized(clusterInfo, textWidth)) 213 multiplier = clusterMultiplier(clusterInfo.root->style()->writingMode(), windowInfo, textWidth); 567 void TextAutosizer::measureDescendantTextWidth(const RenderBlock* container, TextAutosizingClusterInfo& clusterInfo, float minTextWidth, float& textWidth) argument 574 textWidth += toRenderText(descendant)->renderedTextLength() * descendant->style()->specifiedFontSize(); 578 measureDescendantTextWidth(descendantBlock, clusterInfo, minTextWidth, textWidth); 580 if (textWidth >= minTextWidth)
|
H A D | RenderListBox.cpp | 139 float textWidth = itemFont.width(textRun); local 140 width = max(width, textWidth); 382 float textWidth = itemFont.width(textRun); local 383 offset.setWidth(itemBoudingBox.width() - textWidth - optionsSpacingHorizontal); 385 float textWidth = itemFont.width(textRun); local 386 offset.setWidth((itemBoudingBox.width() - textWidth) / 2);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/ |
H A D | BreakingContextInlineHeaders.h | 701 ALWAYS_INLINE float textWidth(RenderText* text, unsigned from, unsigned len, const Font& font, float xPos, bool isFixedPitch, bool collapseWhiteSpace, HashSet<const SimpleFontData*>* fallbackFonts = 0, TextLayout* layout = 0) function in namespace:WebCore 806 charWidth = textWidth(renderText, m_current.m_pos, midWordBreakIsBeforeSurrogatePair ? 2 : 1, font, m_width.committedWidth() + wrapW, isFixedPitch, m_collapseWhiteSpace, 0, textLayout); 840 additionalTmpW = textWidth(renderText, lastSpace, m_current.m_pos + 1 - lastSpace, font, m_width.currentWidth(), isFixedPitch, m_collapseWhiteSpace, &wordMeasurement.fallbackFonts, textLayout) - wordTrailingSpaceWidth; 842 additionalTmpW = textWidth(renderText, lastSpace, m_current.m_pos - lastSpace, font, m_width.currentWidth(), isFixedPitch, m_collapseWhiteSpace, &wordMeasurement.fallbackFonts, textLayout); 865 float charWidth = textWidth(renderText, m_current.m_pos, 1, font, m_width.currentWidth(), isFixedPitch, m_collapseWhiteSpace, &wordMeasurement.fallbackFonts, textLayout) + (applyWordSpacing ? wordSpacing : 0); 996 float additionalTmpW = m_ignoringSpaces ? 0 : textWidth(renderText, lastSpace, m_current.m_pos - lastSpace, font, m_width.currentWidth(), isFixedPitch, m_collapseWhiteSpace, &wordMeasurement.fallbackFonts, textLayout);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.ui.forms_3.5.2.r36_v20100702.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |