Searched refs:charWidth (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderTextControlMultiLine.h42 virtual LayoutUnit preferredContentLogicalWidth(float charWidth) const OVERRIDE;
H A DRenderTextControlMultiLine.cpp62 LayoutUnit RenderTextControlMultiLine::preferredContentLogicalWidth(float charWidth) const
65 return static_cast<LayoutUnit>(ceilf(charWidth * factor)) + scrollbarThickness();
H A DRenderTextControl.h60 virtual LayoutUnit preferredContentLogicalWidth(float charWidth) const = 0;
H A DRenderTextControlSingleLine.h71 virtual LayoutUnit preferredContentLogicalWidth(float charWidth) const OVERRIDE FINAL;
H A DRenderTextControlSingleLine.cpp293 LayoutUnit RenderTextControlSingleLine::preferredContentLogicalWidth(float charWidth) const
300 LayoutUnit result = LayoutUnit::fromFloatCeil(charWidth * factor);
315 result += maxCharWidth - charWidth;
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/windows/gdi/
H A Dwgl.c404 int charWidth,charHeight,bmapWidth,bmapHeight,numBytes,res; local
415 charWidth = size.cx;
418 bmapWidth = ((charWidth + 31) / 32) * 32;
453 (GLfloat)charWidth, 0.0,
/external/mesa3d/src/mesa/drivers/windows/gdi/
H A Dwgl.c404 int charWidth,charHeight,bmapWidth,bmapHeight,numBytes,res; local
415 charWidth = size.cx;
418 bmapWidth = ((charWidth + 31) / 32) * 32;
453 (GLfloat)charWidth, 0.0,
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/
H A DBreakingContextInlineHeaders.h567 float charWidth = 0; local
619 wrapW += charWidth;
621 charWidth = textWidth(renderText, m_current.offset(), midWordBreakIsBeforeSurrogatePair ? 2 : 1, font, m_width.committedWidth() + wrapW, isFixedPitch, m_collapseWhiteSpace);
622 midWordBreak = m_width.committedWidth() + wrapW + charWidth > m_width.availableWidth();
683 float charWidth = textWidth(renderText, m_current.offset(), 1, font, m_width.currentWidth(), isFixedPitch, m_collapseWhiteSpace, &wordMeasurement.fallbackFonts) + (applyWordSpacing ? wordSpacing : 0); local
689 if (!m_width.fitsOnLine(charWidth)) {
706 if (charWidth) {
708 wordMeasurement.width = charWidth;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.p2.ui.sdk.scheduler_1.0.0.v20100507-1815.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jface_3.6.1.M20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/llvm/lib/Support/
H A DUnicode.cpp227 static inline int charWidth(int UCS) function in namespace:llvm::sys::unicode
356 int Width = charWidth(buf[0]);
/external/chromium_org/third_party/skia/experimental/webtry/res/js/cm/
H A 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.bottom};
1764 if (!cm.options.lineWrapping) left = charWidth(cm.display) * pos.ch;
1868 function charWidth(display) {
2513 coords = Pos(coords.line, Math.max(0, Math.round((x - paddingH(cm.display).left) / charWidth(cm.display)) - colDiff));
4013 defaultCharWidth: function() { return charWidth(this.display); },
/external/skia/experimental/webtry/res/js/cm/
H A 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.bottom};
1764 if (!cm.options.lineWrapping) left = charWidth(cm.display) * pos.ch;
1868 function charWidth(display) {
2513 coords = Pos(coords.line, Math.max(0, Math.round((x - paddingH(cm.display).left) / charWidth(cm.display)) - colDiff));
4013 defaultCharWidth: function() { return charWidth(this.display); },
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
H A Dcodemirror.js281 var perLine = wrapping && Math.max(5, cm.display.scroller.clientWidth / charWidth(cm.display) - 3);
1673 rect = {left: rSpan.left, right: rSpan.left + charWidth(cm.display), top: rSpan.top, bottom: rSpan.bottom};
1817 if (!cm.options.lineWrapping) left = charWidth(cm.display) * pos.ch;
1921 function charWidth(display) {
2684 coords = Pos(coords.line, Math.max(0, Math.round((x - paddingH(cm.display).left) / charWidth(cm.display)) - colDiff));
4205 defaultCharWidth: function() { return charWidth(this.display); },

Completed in 1542 milliseconds