Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DUnicode.cpp227 static inline int charWidth(int UCS) in charWidth() function
356 int Width = charWidth(buf[0]); in columnWidthUTF8()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderTextControlMultiLine.cpp62 LayoutUnit RenderTextControlMultiLine::preferredContentLogicalWidth(float charWidth) const in preferredContentLogicalWidth()
65 return static_cast<LayoutUnit>(ceilf(charWidth * factor)) + scrollbarThickness(); in preferredContentLogicalWidth()
DRenderTextControlMultiLine.h42 virtual LayoutUnit preferredContentLogicalWidth(float charWidth) const OVERRIDE;
DRenderTextControlSingleLine.cpp300 LayoutUnit RenderTextControlSingleLine::preferredContentLogicalWidth(float charWidth) const in preferredContentLogicalWidth()
307 LayoutUnit result = LayoutUnit::fromFloatCeil(charWidth * factor); in preferredContentLogicalWidth()
322 result += maxCharWidth - charWidth; in preferredContentLogicalWidth()
DRenderTextControlSingleLine.h71 virtual LayoutUnit preferredContentLogicalWidth(float charWidth) const OVERRIDE FINAL;
DRenderTextControl.h60 virtual LayoutUnit preferredContentLogicalWidth(float charWidth) const = 0;
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/
DBreakingContextInlineHeaders.h559 float charWidth = 0; in handleText() local
613 wrapW += charWidth; in handleText()
615charWidth = textWidth(renderText, m_current.offset(), midWordBreakIsBeforeSurrogatePair ? 2 : 1, f… in handleText()
616 midWordBreak = m_width.committedWidth() + wrapW + charWidth > m_width.availableWidth(); in handleText()
677 …float charWidth = textWidth(renderText, m_current.offset(), 1, font, m_width.currentWidth(), isFix… in handleText() local
683 if (!m_width.fitsOnLine(charWidth)) { in handleText()
700 if (charWidth) { in handleText()
702 wordMeasurement.width = charWidth; in handleText()
/external/mesa3d/src/mesa/drivers/windows/gdi/
Dwgl.c404 int charWidth,charHeight,bmapWidth,bmapHeight,numBytes,res; in wglUseFontBitmaps_FX() local
415 charWidth = size.cx; in wglUseFontBitmaps_FX()
418 bmapWidth = ((charWidth + 31) / 32) * 32; in wglUseFontBitmaps_FX()
453 (GLfloat)charWidth, 0.0, in wglUseFontBitmaps_FX()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/windows/gdi/
Dwgl.c404 int charWidth,charHeight,bmapWidth,bmapHeight,numBytes,res; in wglUseFontBitmaps_FX() local
415 charWidth = size.cx; in wglUseFontBitmaps_FX()
418 bmapWidth = ((charWidth + 31) / 32) * 32; in wglUseFontBitmaps_FX()
453 (GLfloat)charWidth, 0.0, in wglUseFontBitmaps_FX()
/external/chromium_org/third_party/skia/experimental/webtry/res/js/cm/
Dcodemirror.js274 …var perLine = wrapping && Math.max(5, cm.display.scroller.clientWidth / charWidth(cm.display) - 3);
1637 …rect = {left: rSpan.left, right: rSpan.left + charWidth(cm.display), top: rSpan.top, bottom: rSpan…
1764 if (!cm.options.lineWrapping) left = charWidth(cm.display) * pos.ch;
1868 function charWidth(display) { function
2513 …coords = Pos(coords.line, Math.max(0, Math.round((x - paddingH(cm.display).left) / charWidth(cm.di…
4013 defaultCharWidth: function() { return charWidth(this.display); },
/external/skia/experimental/webtry/res/js/cm/
Dcodemirror.js274 …var perLine = wrapping && Math.max(5, cm.display.scroller.clientWidth / charWidth(cm.display) - 3);
1637 …rect = {left: rSpan.left, right: rSpan.left + charWidth(cm.display), top: rSpan.top, bottom: rSpan…
1764 if (!cm.options.lineWrapping) left = charWidth(cm.display) * pos.ch;
1868 function charWidth(display) { function
2513 …coords = Pos(coords.line, Math.max(0, Math.round((x - paddingH(cm.display).left) / charWidth(cm.di…
4013 defaultCharWidth: function() { return charWidth(this.display); },
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
Dcodemirror.js282 …var perLine = wrapping && Math.max(5, cm.display.scroller.clientWidth / charWidth(cm.display) - 3);
1644 …rect = {left: rSpan.left, right: rSpan.left + charWidth(cm.display), top: rSpan.top, bottom: rSpan…
1771 if (!cm.options.lineWrapping) left = charWidth(cm.display) * pos.ch;
1875 function charWidth(display) { function
2515 …coords = Pos(coords.line, Math.max(0, Math.round((x - paddingH(cm.display).left) / charWidth(cm.di…
4025 defaultCharWidth: function() { return charWidth(this.display); },