/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" 96 TextRun textRun(run); 97 TextRunPaintInfo runInfo(textRun); 99 runInfo.to = to == -1 ? textRun.length() : to;
|
PopupListBox.cpp | 53 #include "platform/text/TextRun.h" 454 TextRun textRun(itemText, 0, 0, TextRun::AllowTrailingExpansion, style.textDirection(), style.hasTextDirectionOverride()); 458 textX += maxWidth - itemFont.width(textRun); 462 TextRunPaintInfo textRunPaintInfo(textRun); 746 width = itemFont.width(TextRun(text));
|
/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 = urlFont.width(textRun); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderFileUploadControl.cpp | 35 #include "platform/text/TextRun.h" 108 TextRun textRun = constructTextRun(this, font, displayedFilename, style(), TextRun::AllowTrailingExpansion, RespectDirection | RespectDirectionOverride); 109 textRun.disableRoundingHacks(); 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));
|
RenderTextControl.cpp | 234 TextRun textRun = constructTextRun(this, font, str, style(), TextRun::AllowTrailingExpansion); 235 textRun.disableRoundingHacks(); 236 return font.width(textRun);
|
RenderListBox.cpp | 159 TextRun textRun = constructTextRun(this, itemFont, text, style(), TextRun::AllowTrailingExpansion); 161 textRun.setDirection(direction); 162 textRun.disableRoundingHacks(); 163 float textWidth = itemFont.width(textRun); 406 static LayoutSize itemOffsetForAlignment(TextRun textRun, RenderStyle* itemStyle, Font itemFont, LayoutRect itemBoudingBox) 416 float textWidth = itemFont.width(textRun); 419 float textWidth = itemFont.width(textRun); [all...] |
InlineTextBox.cpp | 215 TextRun textRun = constructTextRun(styleToUse, font, respectHyphen ? &charactersWithHyphen : 0); 220 r = enclosingIntRect(font.selectionRectForText(textRun, startingPoint, selHeight, sPos, ePos)); 392 const RenderObject& renderer, const Font& font, const TextRun& textRun, 415 TextRunPaintInfo textRunPaintInfo(textRun); 670 TextRun textRun = constructTextRun(styleToUse, font, string, maximumLength, hasHyphen() ? &charactersWithHyphen : 0); 672 length = textRun.length(); 700 paintTextWithShadows(context, rendererToUse, font, textRun, nullAtom, 0, 0, length, length, textOrigin, boxRect, textShadow, textStrokeWidth > 0, isHorizonta (…) [all...] |
EllipsisBox.cpp | 32 #include "platform/text/TextRun.h" 82 TextRun textRun = RenderBlockFlow::constructTextRun(&renderer(), font, m_str, style, TextRun::AllowTrailingExpansion); 83 TextRunPaintInfo textRunPaintInfo(textRun); 132 return enclosingIntRect(font.selectionRectForText(RenderBlockFlow::constructTextRun(&renderer(), font, m_str, style, TextRun::AllowTrailingExpansion), IntPoint(logicalLeft(), logicalTop() + root().selectionTopAdjustedForPrecedingBlock()), root().selectionHeightAdjustedForPrecedingBlock())); 156 context->drawHighlightForText(font, RenderBlockFlow::constructTextRun(&renderer(), font, m_str, style, TextRun::AllowTrailingExpansion), localOrigin, h, c);
|
RenderImage.cpp | 335 TextRun textRun = RenderBlockFlow::constructTextRun(this, font, m_altText, style(), TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion, DefaultTextRunFlags | RespectDirection); 336 float textWidth = font.width(textRun); 337 TextRunPaintInfo textRunPaintInfo(textRun); 340 if (textRun.direction() == RTL) {
|
RenderListMarker.cpp | [all...] |
RenderText.cpp | 748 TextRun run = RenderBlockFlow::constructTextRun(const_cast<RenderText*>(this), f, this, start, len, style(), textDirection); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
SVGInlineTextBox.cpp | 100 TextRun textRun = constructTextRun(style, fragment); 107 textRun.setHorizontalGlyphStretch(narrowPrecisionToFloat(fragmentTransform.xScale())); 109 return fragment.characterOffset - start() + textRenderer.scaledFont().offsetForPosition(textRun, position * scalingFactor, includePartialGlyphs); 403 float scalingFactor, TextRun& textRun, RenderStyle* style, RenderSVGResourceModeFlags resourceMode) 411 TextRun::RenderingContext* renderingContext = textRun.renderingContext(); 420 TextRun& textRun, RenderSVGResourceModeFlags resourceMode [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/ |
VTTCue.cpp | 507 VTTTextRunIterator(const TextRun* textRun, unsigned offset) : TextRunIterator(textRun, offset) { } 521 TextRun run(value); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
CanvasRenderingContext2D.cpp | 65 #include "platform/text/TextRun.h" [all...] |