HomeSort by relevance Sort by last modified time
    Searched refs:textRun (Results 1 - 15 of 15) sorted by null

  /external/chromium_org/third_party/WebKit/Source/platform/text/
TextRunIterator.h 32 #include "platform/text/TextRun.h"
44 TextRunIterator(const TextRun* textRun, unsigned offset)
45 : m_textRun(textRun)
71 const TextRun* m_textRun;
BidiResolverTest.cpp 49 TextRun run(value);
58 TextDirection determineParagraphDirectionality(const TextRun& textRun, bool* hasStrongDirectionality = 0)
62 resolver.setPositionIgnoringNestedIsolates(TextRunIterator(&textRun, 0));
77 TextRun run(data);
178 TextRun textRun(input.data(), input.size());
181 textRun.setDirection(determineParagraphDirectionality(textRun));
184 textRun.setDirection(LTR)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
WebFontImpl.cpp 37 #include "platform/text/TextRun.h"
94 TextRun textRun(run);
95 TextRunPaintInfo runInfo(textRun);
97 runInfo.to = to == -1 ? textRun.length() : to;
PopupListBox.cpp 53 #include "platform/text/TextRun.h"
475 TextRun textRun(itemText, 0, 0, TextRun::AllowTrailingExpansion, style.textDirection(), style.hasTextDirectionOverride());
479 textX += maxWidth - itemFont.width(textRun);
483 TextRunPaintInfo textRunPaintInfo(textRun);
752 TextRun textRun(text, 0, 0, TextRun::AllowTrailingExpansion, style.textDirection(), style.hasTextDirectionOverride());
753 return font.width(textRun);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/
DragImage.cpp 44 #include "platform/text/TextRun.h"
138 TextRun labelRun(label.impl());
139 TextRun urlRun(urlString.impl());
181 TextRun textRun(urlString);
182 buffer->context()->drawText(urlFont, TextRunPaintInfo(textRun), textPos);
189 TextRun textRun = textRunWithDirectionality(label, hasStrongDirectionality);
191 if (hasStrongDirectionality && textRun.direction() == RTL) {
192 float textWidth = labelFont.width(textRun);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/paint/
ImagePainter.cpp 134 TextRun textRun = constructTextRun(&m_renderImage, font, m_renderImage.altText(), m_renderImage.style(), TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion, DefaultTextRunFlags | RespectDirection);
135 float textWidth = font.width(textRun);
136 TextRunPaintInfo textRunPaintInfo(textRun);
139 if (textRun.direction() == RTL) {
ListMarkerPainter.cpp 162 TextRun textRun = constructTextRun(&m_renderListMarker, font, m_renderListMarker.text(), m_renderListMarker.style());
175 TextRunPaintInfo textRunPaintInfo(textRun);
192 textRun.setText(reversedText.toString());
200 TextRun suffixRun = constructTextRun(&m_renderListMarker, font, suffixStr, 2, m_renderListMarker.style(), m_renderListMarker.style()->direction());
206 context->drawText(font, suffixRunInfo, textOrigin + IntSize(font.width(textRun), 0));
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderFileUploadControl.cpp 38 #include "platform/text/TextRun.h"
109 TextRun textRun = constructTextRun(this, font, displayedFilename, style(), TextRun::AllowTrailingExpansion, RespectDirection | RespectDirectionOverride);
119 float textWidth = font.width(textRun);
133 TextRunPaintInfo textRunPaintInfo(textRun);
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));
InlineTextBox.cpp 223 TextRun textRun = constructTextRun(styleToUse, font, respectHyphen ? &charactersWithHyphen : 0);
228 r = enclosingIntRect(font.selectionRectForText(textRun, startingPoint, selHeight, sPos, ePos));
491 TextRun textRun = constructTextRun(styleToUse, font, string, maximumLength, hasHyphen() ? &charactersWithHyphen : 0);
493 length = textRun.length();
502 selectionEnd = textRun.length();
510 TextPainter textPainter(context, font, textRun, textOrigin, boxRect, isHorizontal());
621 TextRun textRun = constructTextRun(style, font, string, renderer().textLength() - m_start, respectHyphen ? &charac (…)
    [all...]
EllipsisBox.cpp 33 #include "platform/text/TextRun.h"
64 TextRun textRun = constructTextRun(&renderer(), font, m_str, style, TextRun::AllowTrailingExpansion);
65 TextPainter textPainter(context, font, textRun, textOrigin, boxRect, isHorizontal());
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);
RenderTextControl.cpp 233 TextRun textRun = constructTextRun(this, font, str, style(), TextRun::AllowTrailingExpansion);
234 return font.width(textRun);
RenderText.cpp 754 TextRun run = constructTextRun(const_cast<RenderText*>(this), f, this, start, len, style(), textDirection);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGInlineTextBox.cpp 97 TextRun textRun = constructTextRun(style, fragment);
104 textRun.setHorizontalGlyphStretch(narrowPrecisionToFloat(fragmentTransform.xScale()));
106 return fragment.characterOffset - start() + textRenderer.scaledFont().offsetForPosition(textRun, position * scalingFactor, includePartialGlyphs);
393 TextRun SVGInlineTextBox::constructTextRun(RenderStyle* style, const SVGTextFragment& fragment) const
403 TextRun run(static_cast<const LChar*>(0) // characters, will be set below if non-zero.
407 , TextRun::AllowTrailingExpansion
424 // Propagate the maximum length of the characters buffer to the TextRun, even when we're only processing a substring.
562 TextRun& textRun, const SVGTextFragment& fragment, int startPosition, int endPosition
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
CanvasRenderingContext2D.cpp 67 #include "platform/text/TextRun.h"
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
VTTCue.cpp 506 VTTTextRunIterator(const TextRun* textRun, unsigned offset) : TextRunIterator(textRun, offset) { }
520 TextRun run(value);
    [all...]

Completed in 296 milliseconds