Searched refs:constructTextRun (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DTextRunConstructor.h60 TextRun constructTextRun(RenderObject* context, const Font&, const String&, RenderStyle*,
62 TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, unsigned offset, unsigned length, RenderStyle*,
66 TextRun constructTextRun(RenderObject* context, const Font&, const String&, RenderStyle*, TextDirection,
69 TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, RenderStyle*, TextDirection,
72 TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, unsigned offset, unsigned length, RenderStyle*, TextDirection,
75 TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, unsigned offset, RenderStyle*,
78 TextRun constructTextRun(RenderObject* context, const Font&, const LChar* characters, int length, RenderStyle*, TextDirection,
81 TextRun constructTextRun(RenderObject* context, const Font&, const UChar* characters, int length, RenderStyle*, TextDirection,
H A DTextRunConstructor.cpp75 TextRun constructTextRun(RenderObject* context, const Font& font, const LChar* characters, int length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion) function in namespace:blink
80 TextRun constructTextRun(RenderObject* context, const Font& font, const UChar* characters, int length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion) function in namespace:blink
85 TextRun constructTextRun(RenderObject* context, const Font& font, const RenderText* text, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion) function in namespace:blink
92 TextRun constructTextRun(RenderObject* context, const Font& font, const RenderText* text, unsigned offset, unsigned length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion) function in namespace:blink
100 TextRun constructTextRun(RenderObject* context, const Font& font, const String& string, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion, TextRunFlags flags) function in namespace:blink
110 TextRun constructTextRun(RenderObject* context, const Font& font, const String& string, RenderStyle* style, TextRun::ExpansionBehavior expansion, TextRunFlags flags) function in namespace:blink
113 return constructTextRun(context, font, string, style, determineDirectionality(string, hasStrongDirectionality), expansion, flags);
116 TextRun constructTextRun(RenderObject* context, const Font& font, const RenderText* text, unsigned offset, unsigned length, RenderStyle* style, TextRun::ExpansionBehavior expansion) function in namespace:blink
H A DEllipsisBox.cpp64 TextRun textRun = constructTextRun(&renderer(), font, m_str, style, TextRun::AllowTrailingExpansion);
106 return enclosingIntRect(font.selectionRectForText(constructTextRun(&renderer(), font, m_str, style, TextRun::AllowTrailingExpansion), IntPoint(logicalLeft(), logicalTop() + root().selectionTopAdjustedForPrecedingBlock()), root().selectionHeightAdjustedForPrecedingBlock()));
129 context->drawHighlightForText(font, constructTextRun(&renderer(), font, m_str, style, TextRun::AllowTrailingExpansion), localOrigin, h, c);
H A DRenderFileUploadControl.cpp109 TextRun textRun = constructTextRun(this, font, displayedFilename, style(), TextRun::AllowTrailingExpansion, RespectDirection | RespectDirectionOverride);
155 // FIXME: Remove the need for this const_cast by making constructTextRun take a const RenderObject*.
157 float minDefaultLabelWidth = defaultWidthNumChars * font.width(constructTextRun(renderer, font, characterAsString, style(), TextRun::AllowTrailingExpansion));
160 float defaultLabelWidth = font.width(constructTextRun(renderer, font, label, style(), TextRun::AllowTrailingExpansion));
H A DInlineTextBox.cpp223 TextRun textRun = constructTextRun(styleToUse, font, respectHyphen ? &charactersWithHyphen : 0);
491 TextRun textRun = constructTextRun(styleToUse, font, string, maximumLength, hasHyphen() ? &charactersWithHyphen : 0);
621 TextRun textRun = constructTextRun(style, font, string, renderer().textLength() - m_start, respectHyphen ? &charactersWithHyphen : 0);
662 context->drawHighlightForText(font, constructTextRun(style, font), localOrigin, selHeight, backgroundColor, sPos, ePos);
980 TextRun run = constructTextRun(style, font);
1025 TextRun run = constructTextRun(style, font);
1184 return font.offsetForPosition(constructTextRun(style, font), lineOffset - logicalLeft(), includePartialGlyphs);
1204 return font.selectionRectForText(constructTextRun(styleToUse, font), IntPoint(logicalLeft(), 0), 0, from, to).maxX();
1238 TextRun textRun = constructTextRun(styleToUse, font);
1251 TextRun InlineTextBox::constructTextRun(RenderStyl function in class:blink::InlineTextBox
1266 TextRun InlineTextBox::constructTextRun(RenderStyle* style, const Font& font, StringView string, int maximumLength, StringBuilder* charactersWithHyphen) const function in class:blink::InlineTextBox
[all...]
H A DRenderCombineText.cpp102 TextRun run = constructTextRun(this, originalFont(), this, style(), style()->direction());
H A DInlineTextBox.h106 TextRun constructTextRun(RenderStyle*, const Font&, StringBuilder* charactersWithHyphen = 0) const;
107 TextRun constructTextRun(RenderStyle*, const Font&, StringView, int maximumLength, StringBuilder* charactersWithHyphen = 0) const;
H A DRenderTextControl.cpp233 TextRun textRun = constructTextRun(this, font, str, style(), TextRun::AllowTrailingExpansion);
H A DRenderText.cpp754 TextRun run = constructTextRun(const_cast<RenderText*>(this), f, this, start, len, style(), textDirection);
811 float spaceWidth = font.width(constructTextRun(this, font, &spaceChar, 1, style(), direction));
887 return font.width(constructTextRun(renderer, font, style->hyphenString().string(), style, direction));
1036 cachedWordTrailingSpaceWidth[textDirection] = f.width(constructTextRun(this, f, &space, 1, styleToUse, textDirection)) + wordSpacing;
1107 TextRun run = constructTextRun(this, f, this, i, 1, styleToUse, textDirection);
1518 TextRun run = constructTextRun(const_cast<RenderText*>(this), f, this, from, len, style(), textDirection);
H A DRenderImage.cpp133 IntSize paddedTextSize(paddingWidth + std::min(ceilf(font.width(constructTextRun(this, font, m_altText, style()))), maxAltTextWidth), paddingHeight + std::min(font.fontMetrics().height(), maxAltTextHeight));
H A DRenderDeprecatedFlexibleBox.cpp935 totalWidth = anchorBox->logicalWidth() + font.width(constructTextRun(this, font, ellipsisAndSpace, 2, style(), style()->direction()));
938 totalWidth = font.width(constructTextRun(this, font, &horizontalEllipsis, 1, style(), style()->direction()));
H A DRenderListMarker.cpp1397 LayoutUnit suffixSpaceWidth = font.width(constructTextRun(this, font, suffixSpace, 2, style(), style()->direction()));
1602 int suffixSpaceWidth = font.width(constructTextRun(this, font, suffixSpace, 2, style(), style()->direction()));
H A DRenderBlockLineLayout.cpp1169 float spaceWidth = font.width(constructTextRun(t, font, &space, 1, t->style(), LTR));
1936 float firstLineEllipsisWidth = firstLineFont.width(constructTextRun(this, firstLineFont, &horizontalEllipsis, 1, firstLineStyle(), ellipsisDirection));
1937 float ellipsisWidth = (font == firstLineFont) ? firstLineEllipsisWidth : font.width(constructTextRun(this, font, &horizontalEllipsis, 1, style(), ellipsisDirection));
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGTextMetrics.h44 static TextRun constructTextRun(RenderSVGInlineText*, unsigned position, unsigned length);
47 static TextRun constructTextRun(RenderSVGInlineText*, unsigned position, unsigned length, TextDirection);
H A DSVGTextMetrics.cpp63 TextRun SVGTextMetrics::constructTextRun(RenderSVGInlineText* text, unsigned position, unsigned length) function in class:blink::SVGTextMetrics
66 return constructTextRun(text, position, length, text->style()->direction());
69 TextRun SVGTextMetrics::constructTextRun(RenderSVGInlineText* text, unsigned position, unsigned length, TextDirection textDirection) function in class:blink::SVGTextMetrics
104 return SVGTextMetrics(text, constructTextRun(text, position, length, textDirection));
110 return SVGTextMetrics(text, constructTextRun(text, position, length));
H A DSVGInlineTextBox.h64 TextRun constructTextRun(RenderStyle*, const SVGTextFragment&) const;
H A DSVGInlineTextBox.cpp97 TextRun textRun = constructTextRun(style, fragment);
136 FloatRect selectionRect = scaledFont.selectionRectForText(constructTextRun(style, fragment), textOrigin, fragment.height * scalingFactor, startPosition, endPosition);
393 TextRun SVGInlineTextBox::constructTextRun(RenderStyle* style, const SVGTextFragment& fragment) const function in class:blink::SVGInlineTextBox
627 TextRun textRun = constructTextRun(style, fragment);
H A DSVGTextMetricsBuilder.cpp77 , m_run(SVGTextMetrics::constructTextRun(text, 0, text->textLength()))
/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DListMarkerPainter.cpp162 TextRun textRun = constructTextRun(&m_renderListMarker, font, m_renderListMarker.text(), m_renderListMarker.style());
200 TextRun suffixRun = constructTextRun(&m_renderListMarker, font, suffixStr, 2, m_renderListMarker.style(), m_renderListMarker.style()->direction());
H A DImagePainter.cpp134 TextRun textRun = constructTextRun(&m_renderImage, font, m_renderImage.altText(), m_renderImage.style(), TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion, DefaultTextRunFlags | RespectDirection);
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/
H A DBreakingContextInlineHeaders.h506 return font.width(constructTextRun(renderer, font,
522 TextRun run = constructTextRun(text, font, text, from, len, text->style());
597 font.width(constructTextRun(renderText, font, &space, 1, style, style->direction())) + wordSpacing

Completed in 384 milliseconds