Home
last modified time | relevance | path

Searched refs:totalWidth (Results 1 – 18 of 18) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/wx/
DFontWx.cpp96 float totalWidth = it.runWidthSoFar(); in selectionRectForComplexText() local
97 …rn FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWid… in selectionRectForComplexText()
99 float totalWidth = it.totalWidth(); in selectionRectForComplexText()
100 …rn FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWid… in selectionRectForComplexText()
142 startX += controller.totalWidth() - afterWidth; in drawComplexText()
176 return controller.totalWidth(); in floatWidthForComplexText()
/external/webkit/Source/WebCore/platform/graphics/mac/
DFontComplexTextMac.cpp52 float totalWidth = controller.totalWidth(); in selectionRectForComplexText() local
53 …rn FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWid… in selectionRectForComplexText()
74 initialAdvance = controller.totalWidth() - afterWidth; in getGlyphsAndAdvancesForComplexText()
117 …hOverflow->right = max<int>(0, ceilf(controller.maxGlyphBoundingBoxX() - controller.totalWidth())); in floatWidthForComplexText()
119 return controller.totalWidth(); in floatWidthForComplexText()
DComplexTextController.h61 float totalWidth() const { return m_totalWidth; } in totalWidth() function
/external/webkit/Source/WebCore/rendering/
DFixedTableLayout.cpp260 int totalWidth = totalFixedWidth + totalPercentWidth; in layout() local
261 if (!numAuto || totalWidth > tableLogicalWidth) { in layout()
264 if (totalWidth != tableLogicalWidth) { in layout()
266 if (totalFixedWidth && totalWidth < tableLogicalWidth) { in layout()
270 calcWidth[i] = calcWidth[i] * tableLogicalWidth / totalWidth; in layout()
284 totalWidth = totalFixedWidth + totalPercentWidth; in layout()
306 totalWidth = tableLogicalWidth; in layout()
309 if (totalWidth < tableLogicalWidth) { in layout()
311 int remainingWidth = tableLogicalWidth - totalWidth; in layout()
DAutoTableLayout.cpp368 float totalWidth = 0; in calcEffectiveLogicalWidth() local
371 totalWidth += m_layoutStruct[pos].effectiveMaxLogicalWidth; in calcEffectiveLogicalWidth()
374 for (unsigned pos = effCol; pos < lastCol && totalWidth > 0; ++pos) { in calcEffectiveLogicalWidth()
376 …t = percentMissing * static_cast<float>(m_layoutStruct[pos].effectiveMaxLogicalWidth) / totalWidth; in calcEffectiveLogicalWidth()
377 totalWidth -= m_layoutStruct[pos].effectiveMaxLogicalWidth; in calcEffectiveLogicalWidth()
DRenderFlexibleBox.cpp914 int totalWidth; in applyLineClamp() local
917 totalWidth = anchorBox->logicalWidth() + font.width(TextRun(ellipsisAndSpace, 2)); in applyLineClamp()
920 totalWidth = font.width(TextRun(&horizontalEllipsis, 1)); in applyLineClamp()
939 …lipsis(leftToRight, blockEdge, lastVisibleLine->x() + lastVisibleLine->logicalWidth(), totalWidth)) in applyLineClamp()
943 …ipsisAndSpaceStr : ellipsisStr, leftToRight, blockLeftEdge, blockRightEdge, totalWidth, anchorBox); in applyLineClamp()
/external/webkit/Source/WebCore/inspector/front-end/
DPopover.js91 const totalWidth = window.innerWidth;
128 if (anchorBox.x + newElementPosition.width < totalWidth) {
131 } else if (newElementPosition.width + borderRadius * 2 < totalWidth) {
132 newElementPosition.x = totalWidth - newElementPosition.width - borderRadius;
135 …var arrowRightPosition = Math.max(0, totalWidth - anchorBox.x - anchorBox.width - borderRadius - a…
140 newElementPosition.width = totalWidth - borderRadius * 2;
/external/webkit/Source/WebCore/platform/graphics/win/
DFontWin.cpp65 float totalWidth = it.runWidthSoFar(); in selectionRectForComplexText() local
66 …rn FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWid… in selectionRectForComplexText()
DFontCGWin.cpp155 int totalWidth = 0; in drawGDIGlyphs() local
158 totalWidth += gdiAdvances[i]; in drawGDIGlyphs()
174 totalWidth + fontMetrics.ascent() + fontMetrics.descent(), in drawGDIGlyphs()
/external/jmonkeyengine/engine/src/core/com/jme3/font/
DLetters.java19 private float totalWidth; field in Letters
251 totalWidth = -1; in invalidate()
270 return totalWidth; in getTotalWidth()
279 if (totalWidth < 0) { in validateSize()
282 totalWidth = Math.max(totalWidth, l.getX1()); in validateSize()
/external/webkit/Source/WebCore/platform/graphics/
DFontFastPath.cpp475 float totalWidth = it.m_runWidthSoFar; in selectionRectForSimpleText() local
476 …rn FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWid… in selectionRectForSimpleText()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DFontChromiumWin.cpp245 int totalWidth = 0; in estimateTextBounds() local
247 totalWidth += lroundf(m_glyphBuffer.advanceAt(m_from + i)); in estimateTextBounds()
252 totalWidth + fontMetrics.ascent() + fontMetrics.descent(), in estimateTextBounds()
/external/chromium/chrome/browser/resources/shared/js/cr/ui/table/
Dtable_column_model.js138 get totalWidth() { getter in TableColumnModel
/external/webkit/Source/WebCore/platform/gtk/
DRenderThemeGtk.cpp545 int totalWidth = trackRect.width(); in paintMediaSliderTrack() local
555 int width = ((end - start) * totalWidth) / mediaDuration; in paintMediaSliderTrack()
561 … rangeRect.setLocation(IntPoint(trackRect.x() + start / mediaDuration* totalWidth, trackRect.y())); in paintMediaSliderTrack()
/external/chromium/chrome/browser/resources/keyboard/
Dmain.js640 var totalWidth = Math.floor(height * allRows[0].aspect);
641 var leftPadding = Math.floor((newX - totalWidth) / 2);
/external/webkit/Source/WebCore/platform/chromium/
DScrollbarThemeChromiumMac.mm335 int totalWidth = startWidth + endWidth;
337 …return IntRect(scrollbar->x() + startWidth, scrollbar->y(), scrollbar->width() - totalWidth, thick…
338 … IntRect(scrollbar->x(), scrollbar->y() + startWidth, thickness, scrollbar->height() - totalWidth);
/external/webkit/Source/WebCore/platform/mac/
DScrollbarThemeMac.mm385 int totalWidth = startWidth + endWidth;
387 …return IntRect(scrollbar->x() + startWidth, scrollbar->y(), scrollbar->width() - totalWidth, thick…
388 … IntRect(scrollbar->x(), scrollbar->y() + startWidth, thickness, scrollbar->height() - totalWidth);
/external/webkit/Source/WebCore/
DChangeLog-2009-06-1692434 (WebCore::CoreTextController::totalWidth):
92452 totalWidth() instead of advancing to the end and using runWidthSoFar().