Home
last modified time | relevance | path

Searched refs:charWidth (Results 1 – 11 of 11) sorted by relevance

/external/webkit/WebCore/rendering/
DRenderTextControlMultiLine.cpp77 int RenderTextControlMultiLine::preferredContentWidth(float charWidth) const in preferredContentWidth()
80 return static_cast<int>(ceilf(charWidth * factor)) + scrollbarThickness(); in preferredContentWidth()
DRenderTextControlMultiLine.h43 virtual int preferredContentWidth(float charWidth) const;
DRenderFileUploadControl.cpp251 … float charWidth = style()->font().floatWidth(TextRun(&ch, 1, false, 0, 0, false, false, false)); in calcPrefWidths() local
252 m_maxPrefWidth = (int)ceilf(charWidth * defaultWidthNumChars); in calcPrefWidths()
DRenderTextControl.h75 virtual int preferredContentWidth(float charWidth) const = 0;
DRenderTextControlSingleLine.h79 virtual int preferredContentWidth(float charWidth) const;
DRenderTextControlSingleLine.cpp404 int RenderTextControlSingleLine::preferredContentWidth(float charWidth) const in preferredContentWidth()
410 int result = static_cast<int>(ceilf(charWidth * factor)); in preferredContentWidth()
413 result += style()->font().primaryFont()->maxCharWidth() - charWidth; in preferredContentWidth()
DRenderTextControl.cpp467 float charWidth = style()->font().primaryFont()->avgCharWidth(); in calcPrefWidths() local
468 …m_maxPrefWidth = preferredContentWidth(charWidth) + m_innerText->renderBox()->paddingLeft() + m_in… in calcPrefWidths()
DRenderBlockLineLayout.cpp1912 int charWidth = 0; in findNextLineBreak() local
1979 wrapW += charWidth; in findNextLineBreak()
1980charWidth = textWidth(t, pos, 1, f, w + wrapW, isFixedPitch, collapseWhiteSpace); in findNextLineBreak()
1981 midWordBreak = w + wrapW + charWidth > width; in findNextLineBreak()
2022 …int charWidth = textWidth(t, pos, 1, f, w + tmpW, isFixedPitch, collapseWhiteSpace) + (applyWordSp… in findNextLineBreak() local
2028 if (w + tmpW + charWidth > width) { in findNextLineBreak()
/external/webkit/WebCore/
DChangeLog-2002-12-039745 (QFontMetrics::charWidth): Add const.
10577 (QFontMetrics::charWidth):
10583 Added QFontMetrics::charWidth.
13409 * src/kwq/qt/qfontmetrics.h: Removed charWidth and changed _width to take QChar *.
13410 * src/kwq/KWQFontMetrics.mm: Removed charWidth and changed _width to take QChar *.
13456 * src/kwq/KWQFontMetrics.mm: (QFontMetrics::charWidth): New.
13509 * src/kwq/qt/qfontmetrics.h: Add charWidth() and _charWidth() functions.
DChangeLog-2005-08-237267 (QFontMetrics::charWidth):
13844 (QFontMetrics::charWidth):
14358 (QFontMetrics::charWidth):
DChangeLog-2005-12-199555 * kwq/KWQFontMetrics.h: Removed the single-character width overloads, charWidth,