Home
last modified time | relevance | path

Searched refs:maxCharWidth (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderTextControlSingleLine.cpp318 float maxCharWidth = 0.f; in preferredContentLogicalWidth() local
325 maxCharWidth = scaleEmToUnits(4027); in preferredContentLogicalWidth()
327 maxCharWidth = roundf(style()->font().primaryFont()->maxCharWidth()); in preferredContentLogicalWidth()
330 if (maxCharWidth > 0.f) in preferredContentLogicalWidth()
331 result += maxCharWidth - charWidth; in preferredContentLogicalWidth()
DRenderBlock.cpp2965 float maxCharWidth = lineGrid->style()->font().primaryFont()->maxCharWidth(); in adjustLogicalLeftOffsetForLine() local
2966 if (!maxCharWidth) in adjustLogicalLeftOffsetForLine()
2978 …float remainder = fmodf(maxCharWidth - fmodf(left + layoutOffset - lineGridOffset, maxCharWidth), in adjustLogicalLeftOffsetForLine()
3003 float maxCharWidth = lineGrid->style()->font().primaryFont()->maxCharWidth(); in adjustLogicalRightOffsetForLine() local
3004 if (!maxCharWidth) in adjustLogicalRightOffsetForLine()
3016 … float remainder = fmodf(fmodf(right + layoutOffset - lineGridOffset, maxCharWidth), maxCharWidth); in adjustLogicalRightOffsetForLine()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DSimpleFontData.h111 float maxCharWidth() const { return m_maxCharWidth; } in maxCharWidth() function
112 void setMaxCharWidth(float maxCharWidth) { m_maxCharWidth = maxCharWidth; } in setMaxCharWidth() argument