/external/webkit/Source/WebCore/rendering/ |
D | RenderEmbeddedObject.cpp | 165 float textWidth; in paintReplaced() local 166 …(!getReplacementTextGeometry(tx, ty, contentRect, path, replacementTextRect, font, run, textWidth)) in paintReplaced() 176 … roundf(replacementTextRect.location().x() + (replacementTextRect.size().width() - textWidth) / 2); in paintReplaced() 184 …ontentRect, Path& path, FloatRect& replacementTextRect, Font& font, TextRun& run, float& textWidth) in getReplacementTextGeometry() argument 202 textWidth = font.width(run); in getReplacementTextGeometry() 204 …replacementTextRect.setSize(FloatSize(textWidth + replacementTextRoundedRectLeftRightTextMargin * … in getReplacementTextGeometry() 260 float textWidth; in isInMissingPluginIndicator() local 261 …f (!getReplacementTextGeometry(0, 0, contentRect, path, replacementTextRect, font, run, textWidth)) in isInMissingPluginIndicator()
|
D | RenderListBox.cpp | 120 …float textWidth = itemFont.width(TextRun(text.impl(), false, 0, 0, TextRun::AllowTrailingExpansion… in updateFromElement() local 121 width = max(width, textWidth); in updateFromElement() 348 float textWidth = itemFont.width(textRun); in itemOffsetForAlignment() local 349 offset.setWidth(itemBoudingBox.width() - textWidth - optionsSpacingHorizontal); in itemOffsetForAlignment() 351 float textWidth = itemFont.width(textRun); in itemOffsetForAlignment() local 352 offset.setWidth((itemBoudingBox.width() - textWidth) / 2); in itemOffsetForAlignment()
|
D | RenderEmbeddedObject.h | 71 … FloatRect& contentRect, Path&, FloatRect& replacementTextRect, Font&, TextRun&, float& textWidth);
|
D | RenderImage.cpp | 305 int textWidth = font.width(textRun); in paintReplaced() local 307 if (usableWidth >= textWidth && fontMetrics.height() <= imageY) in paintReplaced() 309 } else if (usableWidth >= textWidth && cHeight >= fontMetrics.height()) in paintReplaced()
|
D | RenderBlockLineLayout.cpp | 1634 static inline float textWidth(RenderText* text, unsigned from, unsigned len, const Font& font, floa… in textWidth() function 1676 …float prefixWidth = hyphenWidth + textWidth(text, lastSpace, prefixLength, font, xPos, isFixedPitc… in tryHyphenating() 2065 …charWidth = textWidth(t, pos, 1, f, width.committedWidth() + wrapW, isFixedPitch, collapseWhiteSpa… in findNextLineBreak() 2097 …additionalTmpW = textWidth(t, lastSpace, pos + 1 - lastSpace, f, width.currentWidth(), isFixedPitc… in findNextLineBreak() 2099 …additionalTmpW = textWidth(t, lastSpace, pos - lastSpace, f, width.currentWidth(), isFixedPitch, c… in findNextLineBreak() 2116 …int charWidth = textWidth(t, pos, 1, f, width.currentWidth(), isFixedPitch, collapseWhiteSpace) + … in findNextLineBreak() 2245 …float additionalTmpW = ignoringSpaces ? 0 : textWidth(t, lastSpace, pos - lastSpace, f, width.curr… in findNextLineBreak()
|
/external/skia/gm/ |
D | bitmapcopy.cpp | 82 SkScalar textWidth = paint.measureText(name, strlen(name)); in onDraw() local 83 if (textWidth > width) { in onDraw() 84 width = textWidth; in onDraw() 95 SkScalar textWidth = paint.measureText(name, strlen(name)); in onDraw() local 96 SkScalar x = (width - textWidth) / SkScalar(2); in onDraw()
|
/external/skia/bench/ |
D | PicturePlaybackBench.cpp | 82 const SkScalar textWidth = paint.measureText(text, len); in recordCanvas() local 84 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) { in recordCanvas() 107 const SkScalar textWidth = paint.measureText(text, len); in recordCanvas() local 112 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) { in recordCanvas()
|
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/ |
D | CCHeadsUpDisplay.cpp | 168 float textWidth = m_mediumFont->width(run) + 2.0f; in drawFPSCounter() local 173 ctx->fillRect(FloatRect(2, top, textWidth + graphWidth, height)); in drawFPSCounter() 186 int graphLeft = static_cast<int>(textWidth + 3); in drawFPSCounter()
|
/external/chromium/chrome/browser/ui/cocoa/download/ |
D | download_item_cell.mm | 466 CGFloat textWidth = innerFrame.size.width - 468 NSString* secondaryText = [self elideStatus:textWidth]; 564 CGFloat textWidth = cellFrame.size.width - 566 [self setTitle:[self elideTitle:textWidth]];
|
/external/chromium/chrome/browser/autocomplete/ |
D | autocomplete_popup_view_mac.mm | 210 const float textWidth = cellWidth - kTextXOffset; 212 textWidth * kMaxContentsFraction);
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2009-06-16 | 26815 (WebCore::textWidth): 45458 (WebCore::textWidth): Added this inlined helper function which calls 45465 textWidth() helper function.
|
D | ChangeLog-2011-02-16 | 12379 (WebCore::textWidth):
|
D | ChangeLog | 65173 (WebCore::textWidth):
|