HomeSort by relevance Sort by last modified time
    Searched refs:TextRun (Results 26 - 50 of 68) sorted by null

12 3

  /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));
RenderEmbeddedObject.cpp 43 #include "platform/text/TextRun.h"
137 TextRun run("");
159 bool RenderEmbeddedObject::getReplacementTextGeometry(const LayoutPoint& accumulatedOffset, FloatRect& contentRect, Path& path, FloatRect& replacementTextRect, Font& font, TextRun& run, float& textWidth) const
175 run = TextRun(m_unavailablePluginReplacementText);
RenderCombineText.cpp 102 TextRun run = constructTextRun(this, originalFont(), this, style(), style()->direction());
RenderTextControl.cpp 233 TextRun textRun = constructTextRun(this, font, str, style(), TextRun::AllowTrailingExpansion);
234 return font.width(textRun);
TextPainter.cpp 18 #include "platform/text/TextRun.h"
24 TextPainter::TextPainter(GraphicsContext* context, const Font& font, const TextRun& run, const FloatPoint& textOrigin, const FloatRect& textBounds, bool horizontal)
226 DEFINE_STATIC_LOCAL(TextRun, placeholderTextRun, (&ideographicFullStop, 1));
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...]
RenderText.cpp 754 TextRun run = constructTextRun(const_cast<RenderText*>(this), f, this, start, len, style(), textDirection);
    [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/platform/text/
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...]
StringTruncator.cpp 34 #include "platform/text/TextRun.h"
96 TextRun run(string);
102 TextRun run(characters, length);
  /external/chromium_org/ui/gfx/
render_text_mac.cc 168 const TextRun& run = runs_[i];
181 RenderTextMac::TextRun::TextRun()
193 RenderTextMac::TextRun::~TextRun() {
277 runs_.push_back(TextRun());
278 TextRun* run = &runs_.back();
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
WidthCache.h 30 #include "platform/text/TextRun.h"
131 WidthCacheEntry* add(const TextRun& run, WidthCacheEntry entry)
151 WidthCacheEntry* addSlowCase(const TextRun& run, WidthCacheEntry entry)
Font.cpp 39 #include "platform/text/TextRun.h"
152 float Font::width(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
194 float Font::width(const TextRun& run, int& charsConsumed, Glyph& glyphId) const
197 if (TextRun::RenderingContext* renderingContext = run.renderingContext())
242 FloatRect Font::selectionRectForText(const TextRun& run, const FloatPoint& point, int h, int from, int to, bool accountForGlyphBounds) const
257 int Font::offsetForPosition(const TextRun& run, float x, bool includePartialGlyphs) const
276 CodePath Font::codePath(const TextRun& run) const
747 TextRun::RenderingContext* renderingContext = runInfo.run.renderingContext();
    [all...]
WidthIterator.cpp 40 WidthIterator::WidthIterator(const Font* font, const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, bool accountForGlyphBounds, bool forTextEmphasis)
77 if (TextRun::RenderingContext* renderingContext = m_run.renderingContext()) {
  /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/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/platform/fonts/mac/
FontComplexTextMac.cpp 36 #include "platform/text/TextRun.h"
47 FloatRect Font::selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int h,
128 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, IntRectExtent* glyphBounds) const
144 int Font::offsetForPositionForComplexText(const TextRun& run, float x, bool includePartialGlyphs) const
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
FontHarfBuzz.cpp 263 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, IntRectExtent* glyphBounds) const
278 int Font::offsetForPositionForComplexText(const TextRun& run, float xFloat,
287 // Return the rectangle for selecting the given range of code-points in the TextRun.
288 FloatRect Font::selectionRectForComplexText(const TextRun& run,
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFontData.cpp 37 #include "platform/text/TextRun.h"
152 const TextRun& run = iterator.run();
177 if (TextRun::RenderingContext* renderingContext = run.renderingContext())
  /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...]
SVGTextMetricsBuilder.cpp 34 #include "platform/text/TextRun.h"
64 TextRun m_run;
  /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...]
  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
CanvasRenderingContext2D.cpp 67 #include "platform/text/TextRun.h"
    [all...]

Completed in 614 milliseconds

12 3