Searched refs:charWidth (Results 1 – 11 of 11) sorted by relevance
/external/webkit/WebCore/rendering/ |
D | RenderTextControlMultiLine.cpp | 77 int RenderTextControlMultiLine::preferredContentWidth(float charWidth) const in preferredContentWidth() 80 return static_cast<int>(ceilf(charWidth * factor)) + scrollbarThickness(); in preferredContentWidth()
|
D | RenderTextControlMultiLine.h | 43 virtual int preferredContentWidth(float charWidth) const;
|
D | RenderFileUploadControl.cpp | 251 … 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()
|
D | RenderTextControl.h | 75 virtual int preferredContentWidth(float charWidth) const = 0;
|
D | RenderTextControlSingleLine.h | 79 virtual int preferredContentWidth(float charWidth) const;
|
D | RenderTextControlSingleLine.cpp | 404 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()
|
D | RenderTextControl.cpp | 467 float charWidth = style()->font().primaryFont()->avgCharWidth(); in calcPrefWidths() local 468 …m_maxPrefWidth = preferredContentWidth(charWidth) + m_innerText->renderBox()->paddingLeft() + m_in… in calcPrefWidths()
|
D | RenderBlockLineLayout.cpp | 1912 int charWidth = 0; in findNextLineBreak() local 1979 wrapW += charWidth; in findNextLineBreak() 1980 … charWidth = 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/ |
D | ChangeLog-2002-12-03 | 9745 (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.
|
D | ChangeLog-2005-08-23 | 7267 (QFontMetrics::charWidth): 13844 (QFontMetrics::charWidth): 14358 (QFontMetrics::charWidth):
|
D | ChangeLog-2005-12-19 | 9555 * kwq/KWQFontMetrics.h: Removed the single-character width overloads, charWidth,
|