/external/chromium_org/third_party/WebKit/Source/platform/text/ |
H A D | TextRunIterator.h | 44 TextRunIterator(const TextRun* textRun, unsigned offset) argument 45 : m_textRun(textRun)
|
H A D | BidiResolverTest.cpp | 58 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/web/ |
H A D | WebFontImpl.cpp | 94 TextRun textRun(run); 95 TextRunPaintInfo runInfo(textRun); 97 runInfo.to = to == -1 ? textRun.length() : to;
|
H A D | PopupListBox.cpp | 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);
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | DragImage.cpp | 181 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/paint/ |
H A D | ImagePainter.cpp | 134 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) {
|
H A D | ListMarkerPainter.cpp | 162 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));
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderFileUploadControl.cpp | 109 TextRun textRun = constructTextRun(this, font, displayedFilename, style(), TextRun::AllowTrailingExpansion, RespectDirection | RespectDirectionOverride); local 119 float textWidth = font.width(textRun); 133 TextRunPaintInfo textRunPaintInfo(textRun);
|
H A D | InlineTextBox.cpp | 223 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...] |
H A D | EllipsisBox.cpp | 64 TextRun textRun = constructTextRun(&renderer(), font, m_str, style, TextRun::AllowTrailingExpansion); local 65 TextPainter textPainter(context, font, textRun, textOrigin, boxRect, isHorizontal());
|
H A D | RenderTextControl.cpp | 233 TextRun textRun = constructTextRun(this, font, str, style(), TextRun::AllowTrailingExpansion); local 234 return font.width(textRun);
|
H A D | RenderText.cpp | 929 TextRun textRun(text()); 938 bidiResolver.setPositionIgnoringNestedIsolates(TextRunIterator(&textRun, 0)); 941 bidiResolver.createBidiRunsForLine(TextRunIterator(&textRun, textRun.length()), NoVisualOverride, hardLineBreak, reorderRuns);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | SVGInlineTextBox.cpp | 97 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/canvas/ |
H A D | CanvasRenderingContext2D.cpp | 2103 const TextRun textRun(text, 0, 0, TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion, LTR, false, true, true); 2104 FloatRect textBounds = font.selectionRectForText(textRun, FloatPoint(), font.fontDescription().computedSize(), 0, -1, true); 2107 metrics->setWidth(font.width(textRun)); 2175 TextRun textRun(text, 0, 0, TextRun::AllowTrailingExpansion, direction, override, true, true); 2178 float fontWidth = font.width(textRun); 2201 TextRunPaintInfo textRunPaintInfo(textRun);
|
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/ |
H A D | VTTCue.cpp | 506 VTTTextRunIterator(const TextRun* textRun, unsigned offset) : TextRunIterator(textRun, offset) { } argument
|