Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DFontComplexTextMac.cpp63 float totalWidth = controller.totalWidth(); in selectionRectForComplexText() local
64 …(floorf(point.x() + totalWidth - afterWidth), point.y(), roundf(point.x() + totalWidth - beforeWid… in selectionRectForComplexText()
85 initialAdvance = controller.totalWidth() - afterWidth; in getGlyphsAndAdvancesForComplexText()
133 return shaper.totalWidth(); in floatWidthForComplexText()
139 …ds->setRight(std::max<int>(0, ceilf(controller.maxGlyphBoundingBoxX() - controller.totalWidth()))); in floatWidthForComplexText()
141 return controller.totalWidth(); in floatWidthForComplexText()
DComplexTextController.h66 float totalWidth() const { return m_totalWidth; } in totalWidth() function
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DFixedTableLayout.cpp245 int totalWidth = totalFixedWidth + totalPercentWidth; in layout() local
246 if (!numAuto || totalWidth > tableLogicalWidth) { in layout()
249 if (totalWidth != tableLogicalWidth) { in layout()
251 if (totalFixedWidth && totalWidth < tableLogicalWidth) { in layout()
255 calcWidth[i] = calcWidth[i] * tableLogicalWidth / totalWidth; in layout()
269 totalWidth = totalFixedWidth + totalPercentWidth; in layout()
293 totalWidth = tableLogicalWidth; in layout()
296 if (totalWidth < tableLogicalWidth) { in layout()
298 int remainingWidth = tableLogicalWidth - totalWidth; in layout()
DAutoTableLayout.cpp367 int totalWidth = 0; in calcEffectiveLogicalWidth() local
370 totalWidth += m_layoutStruct[pos].effectiveMaxLogicalWidth; in calcEffectiveLogicalWidth()
373 for (unsigned pos = effCol; pos < lastCol && totalWidth > 0; ++pos) { in calcEffectiveLogicalWidth()
375 …t = percentMissing * static_cast<float>(m_layoutStruct[pos].effectiveMaxLogicalWidth) / totalWidth; in calcEffectiveLogicalWidth()
376 totalWidth -= m_layoutStruct[pos].effectiveMaxLogicalWidth; in calcEffectiveLogicalWidth()
DRenderDeprecatedFlexibleBox.cpp932 float totalWidth; in applyLineClamp() local
935totalWidth = anchorBox->logicalWidth() + font.width(constructTextRun(this, font, ellipsisAndSpace,… in applyLineClamp()
938totalWidth = font.width(constructTextRun(this, font, &horizontalEllipsis, 1, style(), style()->dir… in applyLineClamp()
954 …s(leftToRight, blockRightEdge, lastVisibleLine->x() + lastVisibleLine->logicalWidth(), totalWidth)) in applyLineClamp()
960 …llipsisStr, leftToRight, blockLeftEdge.toFloat(), blockRightEdge.toFloat(), totalWidth, anchorBox); in applyLineClamp()
/external/chromium_org/ui/webui/resources/js/cr/ui/table/
Dtable_list.js57 row.style.width = cm.totalWidth + 'px';
59 this.afterFiller_.style.width = cm.totalWidth + 'px';
106 if (cm.totalWidth > offsetWidth) {
115 if (cm.totalWidth <= offsetWidth && style.overflowX != 'hidden') {
121 var x = cm.totalWidth <= this.clientWidth ? 'hidden' : 'scroll';
183 listItem.style.width = cm.totalWidth + 'px';
Dtable_column_model.js145 get totalWidth() { getter in TableColumnModel
160 c.width = Math.max(10, c.width - this.totalWidth + contentWidth);
/external/chromium_org/chrome/browser/ui/cocoa/
Dscreen_capture_notification_ui_cocoa.mm203 CGFloat totalWidth = kPaddingHorizontal * 2 + kHorizontalMargin * 2 +
205 [content setFrame:NSMakeRect(0, 0, totalWidth, totalHeight)];
209 totalWidth - kPaddingHorizontal - buttonsWidth, kPaddingVertical);
213 totalWidth - kPaddingHorizontal - NSWidth([minimizeButton_ frame]),
218 setFrameOrigin:NSMakePoint(totalWidth - NSMaxX([stopButton_ frame]),
221 setFrameOrigin:NSMakePoint(totalWidth - NSMaxX([minimizeButton_ frame]),
224 setFrameOrigin:NSMakePoint(totalWidth - NSMaxX([statusTextField frame]),
226 [gripView setFrameOrigin:NSMakePoint(totalWidth - NSMaxX([gripView frame]),
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
DPopover.js159 const totalWidth = container.offsetWidth;
198 if (anchorBox.x + newElementPosition.width < totalWidth) {
201 } else if (newElementPosition.width + borderRadius * 2 < totalWidth) {
202 newElementPosition.x = totalWidth - newElementPosition.width - borderRadius;
205 …var arrowRightPosition = Math.max(0, totalWidth - anchorBox.x - anchorBox.width - borderRadius - a…
211 newElementPosition.width = totalWidth - borderRadius * 2;
DTabbedPane.js656 _calculateMaxWidth: function(measuredWidths, totalWidth) argument
667 if (totalWidth >= totalMeasuredWidth)
675 if (totalWidth + totalExtraWidth >= totalMeasuredWidth)
676 …return measuredWidths[i - 1] + (totalWidth + totalExtraWidth - totalMeasuredWidth) / (measuredWidt…
679 return totalWidth / measuredWidths.length;
689 _tabsToShowIndexes: function(tabsOrdered, tabsHistory, totalWidth, measuredDropDownButtonWidth) argument
701 if (!this._verticalTabLayout && minimalRequiredWidth > totalWidth)
DSuggestBox.js99 var totalWidth = container.offsetWidth;
DDataGrid.js486 var totalWidth = 0;
488 totalWidth += widths[i];
491 var width = Math.round(100 * widths[i] / totalWidth);
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLMarqueeElement.js253 var totalWidth = metrics.marqueeWidth + metrics.contentWidth;
269 parameters.distance = totalWidth;
274 parameters.distance = totalWidth;
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Dfile_table.js79 var totalWidth = 0;
84 totalWidth += this.columns_[i].width;
95 positions[i + 1] = ~~(newTotalWidth * sum / totalWidth);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DHarfBuzzShaper.h64 float totalWidth() { return m_totalWidth; } in totalWidth() function
DFontHarfBuzz.cpp272 …Bounds->setRight(std::max<int>(0, ceilf(shaper.glyphBoundingBox().right() - shaper.totalWidth()))); in floatWidthForComplexText()
274 return shaper.totalWidth(); in floatWidthForComplexText()
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollbarThemeMacNonOverlayAPI.mm305 int totalWidth = startWidth + endWidth;
307 …return IntRect(scrollbar->x() + startWidth, scrollbar->y(), scrollbar->width() - totalWidth, thick…
308 … IntRect(scrollbar->x(), scrollbar->y() + startWidth, thickness, scrollbar->height() - totalWidth);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DFont.cpp860 float totalWidth = it.m_runWidthSoFar; in selectionRectForSimpleText() local
863 fromX = totalWidth - afterWidth; in selectionRectForSimpleText()
864 toX = totalWidth - beforeWidth; in selectionRectForSimpleText()
/external/chromium_org/chrome/browser/resources/options/chromeos/
Ddisplay_options.js742 var totalWidth = width + numDisplays * MIRRORING_OFFSET_PIXELS;
751 $('display-options-displays-view').offsetWidth / 2 - totalWidth / 2;