Searched refs:wordMeasurement (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/ |
D | BreakingContextInlineHeaders.h | 649 WordMeasurement& wordMeasurement = wordMeasurements.last(); in handleText() local 651 wordMeasurement.renderer = renderText; in handleText() 652 wordMeasurement.endOffset = m_current.offset(); in handleText() 653 wordMeasurement.startOffset = lastSpace; in handleText() 657 …, font, m_width.currentWidth(), isFixedPitch, m_collapseWhiteSpace, &wordMeasurement.fallbackFonts… in handleText() 659 …, font, m_width.currentWidth(), isFixedPitch, m_collapseWhiteSpace, &wordMeasurement.fallbackFonts… in handleText() 661 wordMeasurement.width = additionalTempWidth + wordSpacingForWordMeasurement; in handleText() 683 …, font, m_width.currentWidth(), isFixedPitch, m_collapseWhiteSpace, &wordMeasurement.fallbackFonts… in handleText() 701 wordMeasurement.endOffset = m_lineBreak.offset(); in handleText() 705 …neBreak.offset() && m_lineBreak.offset() != (unsigned)wordMeasurement.endOffset && !wordMeasuremen… in handleText() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderBlockLineLayout.cpp | 410 const WordMeasurement& wordMeasurement = wordMeasurements[i]; in setLogicalWidthForTextRun() local 411 … if (wordMeasurement.width <=0 || wordMeasurement.startOffset == wordMeasurement.endOffset) in setLogicalWidthForTextRun() 413 …if (wordMeasurement.renderer != renderer || wordMeasurement.startOffset != lastEndOffset || wordMe… in setLogicalWidthForTextRun() 416 lastEndOffset = wordMeasurement.endOffset; in setLogicalWidthForTextRun() 418 int wordLength = lastEndOffset - wordMeasurement.startOffset; in setLogicalWidthForTextRun() 419 …measuredWidth += renderer->width(wordMeasurement.startOffset, wordLength, xPos, run->direction(), … in setLogicalWidthForTextRun() 420 … if (i > 0 && wordLength == 1 && renderer->characterAt(wordMeasurement.startOffset) == ' ') in setLogicalWidthForTextRun() 423 measuredWidth += wordMeasurement.width; in setLogicalWidthForTextRun() 424 if (!wordMeasurement.fallbackFonts.isEmpty()) { in setLogicalWidthForTextRun() 425 … HashSet<const SimpleFontData*>::const_iterator end = wordMeasurement.fallbackFonts.end(); in setLogicalWidthForTextRun() [all …]
|