Home
last modified time | relevance | path

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

/external/webkit/WebCore/rendering/
DRenderTextControlMultiLine.cpp113 int RenderTextControlMultiLine::preferredContentWidth(float charWidth) const in preferredContentWidth()
116 return static_cast<int>(ceilf(charWidth * factor)) + scrollbarThickness(); in preferredContentWidth()
DRenderTextControlMultiLine.h42 virtual int preferredContentWidth(float charWidth) const;
DRenderFileUploadControl.cpp250 … float charWidth = style()->font().floatWidth(TextRun(&ch, 1, false, 0, 0, false, false, false)); in calcPrefWidths() local
251 m_maxPrefWidth = (int)ceilf(charWidth * defaultWidthNumChars); in calcPrefWidths()
DRenderTextControl.h100 virtual int preferredContentWidth(float charWidth) const = 0;
DRenderTextControlSingleLine.h66 virtual int preferredContentWidth(float charWidth) const;
DRenderTextControl.cpp477 … float charWidth = style()->font().floatWidth(TextRun(&ch, 1, false, 0, 0, false, false, false)); in calcPrefWidths() local
478 …m_maxPrefWidth = preferredContentWidth(charWidth) + m_innerText->renderBox()->paddingLeft() + m_in… in calcPrefWidths()
Dbidi.cpp1837 int charWidth = 0; in findNextLineBreak() local
1903 wrapW += charWidth; in findNextLineBreak()
1904 charWidth = t->width(pos, 1, f, w + wrapW); in findNextLineBreak()
1905 midWordBreak = w + wrapW + charWidth > width; in findNextLineBreak()
1946 … int charWidth = t->width(pos, 1, f, w + tmpW) + (applyWordSpacing ? wordSpacing : 0); in findNextLineBreak() local
1952 if (w + tmpW + charWidth > width) { in findNextLineBreak()
DRenderTextControlSingleLine.cpp406 int RenderTextControlSingleLine::preferredContentWidth(float charWidth) const in preferredContentWidth()
412 int result = static_cast<int>(ceilf(charWidth * factor)); in preferredContentWidth()
/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,