Searched defs:textRun (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DTextRunIterator.h44 TextRunIterator(const TextRun* textRun, unsigned offset) argument
45 : m_textRun(textRun)
H A DBidiResolverTest.cpp58 TextDirection determineParagraphDirectionality(const TextRun& textRun, bool* hasStrongDirectionality = 0) argument
62 resolver.setPositionIgnoringNestedIsolates(TextRunIterator(&textRun, 0));
178 TextRun textRun(input.data(), input.size());
181 textRun.setDirection(determineParagraphDirectionality(textRun));
184 textRun.setDirection(LTR);
187 textRun.setDirection(RTL);
191 resolver.setStatus(BidiStatus(textRun.direction(), textRun.directionalOverride()));
192 resolver.setPositionIgnoringNestedIsolates(TextRunIterator(&textRun,
[all...]
/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()); local
175 TextRunPaintInfo textRunPaintInfo(textRun);
192 textRun.setText(reversedText.toString());
206 context->drawText(font, suffixRunInfo, textOrigin + IntSize(font.width(textRun), 0));
H A DImagePainter.cpp134 TextRun textRun = constructTextRun(&m_renderImage, font, m_renderImage.altText(), m_renderImage.style(), TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion, DefaultTextRunFlags | RespectDirection); local
135 float textWidth = font.width(textRun);
136 TextRunPaintInfo textRunPaintInfo(textRun);
139 if (textRun.direction() == RTL) {
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DEllipsisBox.cpp64 TextRun textRun = constructTextRun(&renderer(), font, m_str, style, TextRun::AllowTrailingExpansion); local
65 TextPainter textPainter(context, font, textRun, textOrigin, boxRect, isHorizontal());
H A DRenderFileUploadControl.cpp109 TextRun textRun = constructTextRun(this, font, displayedFilename, style(), TextRun::AllowTrailingExpansion, RespectDirection | RespectDirectionOverride); local
119 float textWidth = font.width(textRun);
133 TextRunPaintInfo textRunPaintInfo(textRun);
H A DRenderTextControl.cpp233 TextRun textRun = constructTextRun(this, font, str, style(), TextRun::AllowTrailingExpansion); local
234 return font.width(textRun);
H A DInlineTextBox.cpp223 TextRun textRun = constructTextRun(styleToUse, font, respectHyphen ? &charactersWithHyphen : 0); local
228 r = enclosingIntRect(font.selectionRectForText(textRun, startingPoint, selHeight, sPos, ePos));
491 TextRun textRun = constructTextRun(styleToUse, font, string, maximumLength, hasHyphen() ? &charactersWithHyphen : 0); local
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 ? &charactersWithHyphen : 0); local
623 ePos = textRun.length();
636 context->drawHighlightForText(font, textRun, localOrigin, selHeight, c, sPos, ePos);
1238 TextRun textRun local
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/
H A DDragImage.cpp181 TextRun textRun(urlString);
182 buffer->context()->drawText(urlFont, TextRunPaintInfo(textRun), textPos);
189 TextRun textRun = textRunWithDirectionality(label, hasStrongDirectionality); local
191 if (hasStrongDirectionality && textRun.direction() == RTL) {
192 float textWidth = labelFont.width(textRun);
196 buffer->context()->drawBidiText(labelFont, TextRunPaintInfo(textRun), textPos);
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGInlineTextBox.cpp97 TextRun textRun = constructTextRun(style, fragment); local
104 textRun.setHorizontalGlyphStretch(narrowPrecisionToFloat(fragmentTransform.xScale()));
106 return fragment.characterOffset - start() + textRenderer.scaledFont().offsetForPosition(textRun, position * scalingFactor, includePartialGlyphs);
562 TextRun& textRun, const SVGTextFragment& fragment, int startPosition, int endPosition,
594 TextRunPaintInfo textRunPaintInfo(textRun);
627 TextRun textRun = constructTextRun(style, fragment); local
629 paintTextWithShadows(context, style, textRun, fragment, 0, fragment.length, resourceMode);
635 paintTextWithShadows(context, style, textRun, fragment, 0, startPosition, resourceMode);
644 paintTextWithShadows(context, selectionStyle, textRun, fragment, startPosition, endPosition, resourceMode);
654 paintTextWithShadows(context, style, textRun, fragmen
561 paintTextWithShadows(GraphicsContext* context, RenderStyle* style, TextRun& textRun, const SVGTextFragment& fragment, int startPosition, int endPosition, RenderSVGResourceModeFlags resourceMode) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
H A DVTTCue.cpp506 VTTTextRunIterator(const TextRun* textRun, unsigned offset) : TextRunIterator(textRun, offset) { } argument

Completed in 299 milliseconds