Searched refs:totalWidth (Results 1 - 25 of 42) sorted by relevance

12

/macosx-10.9.5/WebCore-7537.78.1/rendering/
H A DFixedTableLayout.cpp246 int totalWidth = totalFixedWidth + totalPercentWidth; local
247 if (!numAuto || totalWidth > tableLogicalWidth) {
250 if (totalWidth != tableLogicalWidth) {
252 if (totalFixedWidth && totalWidth < tableLogicalWidth) {
256 calcWidth[i] = calcWidth[i] * tableLogicalWidth / totalWidth;
270 totalWidth = totalFixedWidth + totalPercentWidth;
294 totalWidth = tableLogicalWidth;
297 if (totalWidth < tableLogicalWidth) {
299 int remainingWidth = tableLogicalWidth - totalWidth;
H A DAutoTableLayout.cpp353 int totalWidth = 0; local
356 totalWidth += m_layoutStruct[pos].effectiveMaxLogicalWidth;
359 for (unsigned pos = effCol; pos < lastCol && totalWidth > 0; ++pos) {
361 float percent = percentMissing * static_cast<float>(m_layoutStruct[pos].effectiveMaxLogicalWidth) / totalWidth;
362 totalWidth -= m_layoutStruct[pos].effectiveMaxLogicalWidth;
H A DRenderDeprecatedFlexibleBox.cpp1048 LayoutUnit totalWidth; local
1051 totalWidth = anchorBox->logicalWidth() + font.width(constructTextRun(this, font, ellipsisAndSpace, 2, style()));
1054 totalWidth = font.width(constructTextRun(this, font, &horizontalEllipsis, 1, style()));
1070 if (!lastVisibleLine->lineCanAccommodateEllipsis(leftToRight, blockRightEdge, lastVisibleLine->x() + lastVisibleLine->logicalWidth(), totalWidth))
1076 lastVisibleLine->placeEllipsis(anchorBox ? ellipsisAndSpaceStr : ellipsisStr, leftToRight, blockLeftEdge, blockRightEdge, totalWidth, anchorBox);
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/mac/
H A DFontComplexTextMac.cpp52 float totalWidth = controller.totalWidth(); local
53 return FloatRect(floorf(point.x() + totalWidth - afterWidth), point.y(), roundf(point.x() + totalWidth - beforeWidth) - floorf(point.x() + totalWidth - afterWidth), h);
74 initialAdvance = controller.totalWidth() + controller.finalRoundingWidth() - afterWidth;
116 glyphOverflow->right = max<int>(0, ceilf(controller.maxGlyphBoundingBoxX() - controller.totalWidth()));
118 return controller.totalWidth();
H A DComplexTextController.h65 float totalWidth() const { return m_totalWidth; } function in class:WebCore::ComplexTextController
H A DComplexTextController.cpp685 CGFloat totalWidth = widthSinceLastCommit + advance.width; local
686 widthSinceLastCommit = ceilCGFloat(totalWidth);
687 CGFloat extraWidth = widthSinceLastCommit - totalWidth;
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/win/
H A DFontWin.cpp65 float totalWidth = it.runWidthSoFar(); local
66 return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWidth) - floorf(totalWidth - afterWidth), h);
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/cairo/
H A DFontCairoHarfbuzzNG.cpp69 return shaper.totalWidth();
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/
H A DPopover.js156 const totalWidth = window.innerWidth;
194 if (anchorBox.x + newElementPosition.width < totalWidth) {
197 } else if (newElementPosition.width + borderRadius * 2 < totalWidth) {
198 newElementPosition.x = totalWidth - newElementPosition.width - borderRadius;
201 var arrowRightPosition = Math.max(0, totalWidth - anchorBox.x - anchorBox.width - borderRadius - arrowOffset);
207 newElementPosition.width = totalWidth - borderRadius * 2;
H A DTabbedPane.js465 * @param {number} totalWidth
467 _calculateMaxWidth: function(measuredWidths, totalWidth)
478 if (totalWidth >= totalMeasuredWidth)
486 if (totalWidth + totalExtraWidth >= totalMeasuredWidth)
487 return measuredWidths[i - 1] + (totalWidth + totalExtraWidth - totalMeasuredWidth) / (measuredWidths.length - i);
490 return totalWidth / measuredWidths.length;
496 * @param {number} totalWidth
500 _tabsToShowIndexes: function(tabsOrdered, tabsHistory, totalWidth, measuredDropDownButtonWidth)
510 if (!this._verticalTabLayout && minimalRequiredWidth > totalWidth)
/macosx-10.9.5/tcl-102/tk/tk/generic/ttk/
H A DttkLabel.c415 int totalWidth, totalHeight; member in struct:__anon13541
504 c->totalWidth = c->text.width;
508 c->totalWidth = c->image.width;
512 c->totalWidth = MAX(c->image.width, c->text.width);
517 c->totalWidth = MAX(c->image.width, c->text.width);
523 c->totalWidth = c->image.width + c->text.width + c->space;
607 b = Ttk_AnchorBox(b, l->totalWidth, l->totalHeight, anchor);
/macosx-10.9.5/tcl-102/tcl_ext/tktreectrl/tktreectrl/generic/
H A DtkTreeDisplay.c49 int totalWidth; member in struct:Range
100 int totalWidth; /* Last seen Tree_TotalWidth() */ member in struct:TreeDInfo_
305 range->totalWidth = -1;
375 range->totalWidth = pixels;
440 range->totalWidth = 1;
475 if (range->totalWidth >= 0)
476 return range->totalWidth;
482 return range->totalWidth = Tree_WidthOfColumns(tree);
491 return range->totalWidth = TreeColumn_UseWidth(tree->columnVis);
495 return range->totalWidth
1103 int totalWidth = Tree_TotalWidth(tree); local
1266 int totalWidth = Tree_TotalWidth(tree); local
[all...]
H A DtkTreeMarquee.c593 int totalWidth = Tree_TotalWidth(tree); local
610 if (x1 >= totalWidth)
620 if (x2 > totalWidth)
621 x2 = totalWidth;
H A DtkTreeUtils.c1681 int totalWidth; /* Width in pixels of this chunk. Used member in struct:LayoutChunk
1703 int totalWidth; member in struct:LayoutInfo
1764 chunkPtr->totalWidth = newX - curX;
1925 &chunkPtr->totalWidth);
1928 chunkPtr->totalWidth += curX;
1993 if (chunkPtr->x + chunkPtr->totalWidth < wrapLength)
1996 pixelsForText = chunkPtr->totalWidth - 1;
2008 chunkPtr->totalWidth = pixelsForText;
2032 chunkPtr->totalWidth = chunkPtr->displayWidth;
2047 layoutPtr->totalWidth
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/
H A DFontFastPath.cpp307 float totalWidth = it.m_runWidthSoFar; local
308 return FloatRect(floorf(point.x() + totalWidth - afterWidth), point.y(), roundf(point.x() + totalWidth - beforeWidth) - floorf(point.x() + totalWidth - afterWidth), h);
H A DWidthIterator.cpp290 float totalWidth = widthSinceLastRounding + width; local
291 widthSinceLastRounding = ceilf(totalWidth);
292 width += widthSinceLastRounding - totalWidth;
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/harfbuzz/
H A DHarfBuzzShaper.h63 float totalWidth() { return m_totalWidth; } function in class:WebCore::HarfBuzzShaper
/macosx-10.9.5/WebCore-7537.78.1/inspector/
H A DInspectorFrontendClientLocal.cpp204 unsigned totalWidth = m_frontendPage->mainFrame()->view()->visibleWidth() + m_inspectorController->inspectedPage()->mainFrame()->view()->visibleWidth(); local
205 unsigned attachedWidth = constrainedAttachedWindowWidth(width, totalWidth);
/macosx-10.9.5/WebCore-7537.78.1/platform/mac/
H A DScrollbarThemeMac.mm426 int totalWidth = startWidth + endWidth;
428 return IntRect(scrollbar->x() + startWidth, scrollbar->y(), scrollbar->width() - totalWidth, thickness);
429 return IntRect(scrollbar->x(), scrollbar->y() + startWidth, thickness, scrollbar->height() - totalWidth);
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/blackberry/
H A DFontBlackBerry.cpp61 return shaper.totalWidth();
/macosx-10.9.5/tcl-102/tk/tk/generic/
H A DtkMenu.h329 int totalWidth; /* Width of entire menu. */ member in struct:TkMenu
H A DtkFont.c82 int totalWidth; /* Width in pixels of this chunk. Used when member in struct:LayoutChunk
2145 -1, 0, &chunkPtr->totalWidth);
2148 chunkPtr->totalWidth += curX;
2208 layoutPtr->chunks[0].totalWidth = 0;
2502 if (x < chunkPtr->x + chunkPtr->totalWidth) {
2621 w = chunkPtr->totalWidth;
2649 x = chunkPtr->x + chunkPtr->totalWidth;
3418 chunkPtr->totalWidth = newX - curX;
H A DtkMenuDraw.c55 menuPtr->totalWidth = menuPtr->totalHeight = 0;
557 if ((menuPtr->totalWidth != Tk_ReqWidth(menuPtr->tkwin)) ||
559 Tk_GeometryRequest(menuPtr->tkwin, menuPtr->totalWidth,
/macosx-10.9.5/tcl-102/tk84/tk/generic/
H A DtkMenu.h317 int totalWidth; /* Width of entire menu */ member in struct:TkMenu
H A DtkFont.c85 int totalWidth; /* Width in pixels of this chunk. Used member in struct:LayoutChunk
2020 -1, 0, &chunkPtr->totalWidth);
2023 chunkPtr->totalWidth += curX;
2084 layoutPtr->chunks[0].totalWidth = 0;
2380 if (x < chunkPtr->x + chunkPtr->totalWidth) {
2499 w = chunkPtr->totalWidth;
2524 x = chunkPtr->x + chunkPtr->totalWidth;
3292 chunkPtr->totalWidth = newX - curX;

Completed in 337 milliseconds

12