Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DFontComplexTextMac.cpp64 float totalWidth = controller.totalWidth(); in selectionRectForComplexText() local
65 …(floorf(point.x() + totalWidth - afterWidth), point.y(), roundf(point.x() + totalWidth - beforeWid… in selectionRectForComplexText()
86 initialAdvance = controller.totalWidth() + controller.finalRoundingWidth() - afterWidth; in getGlyphsAndAdvancesForComplexText()
135 return shaper.totalWidth(); in floatWidthForComplexText()
142 …hOverflow->right = max<int>(0, ceilf(controller.maxGlyphBoundingBoxX() - controller.totalWidth())); in floatWidthForComplexText()
144 return controller.totalWidth(); in floatWidthForComplexText()
DComplexTextController.h65 float totalWidth() const { return m_totalWidth; } in totalWidth() function
DComplexTextController.cpp685 CGFloat totalWidth = widthSinceLastCommit + advance.width; in adjustGlyphsAndAdvances() local
686 widthSinceLastCommit = ceilCGFloat(totalWidth); in adjustGlyphsAndAdvances()
687 CGFloat extraWidth = widthSinceLastCommit - totalWidth; in adjustGlyphsAndAdvances()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DFixedTableLayout.cpp247 int totalWidth = totalFixedWidth + totalPercentWidth; in layout() local
248 if (!numAuto || totalWidth > tableLogicalWidth) { in layout()
251 if (totalWidth != tableLogicalWidth) { in layout()
253 if (totalFixedWidth && totalWidth < tableLogicalWidth) { in layout()
257 calcWidth[i] = calcWidth[i] * tableLogicalWidth / totalWidth; in layout()
271 totalWidth = totalFixedWidth + totalPercentWidth; in layout()
295 totalWidth = tableLogicalWidth; in layout()
298 if (totalWidth < tableLogicalWidth) { in layout()
300 int remainingWidth = tableLogicalWidth - totalWidth; in layout()
DAutoTableLayout.cpp348 int totalWidth = 0; in calcEffectiveLogicalWidth() local
351 totalWidth += m_layoutStruct[pos].effectiveMaxLogicalWidth; in calcEffectiveLogicalWidth()
354 for (unsigned pos = effCol; pos < lastCol && totalWidth > 0; ++pos) { in calcEffectiveLogicalWidth()
356 …t = percentMissing * static_cast<float>(m_layoutStruct[pos].effectiveMaxLogicalWidth) / totalWidth; in calcEffectiveLogicalWidth()
357 totalWidth -= m_layoutStruct[pos].effectiveMaxLogicalWidth; in calcEffectiveLogicalWidth()
DRenderDeprecatedFlexibleBox.cpp948 LayoutUnit totalWidth; in applyLineClamp() local
951totalWidth = anchorBox->logicalWidth() + font.width(RenderBlockFlow::constructTextRun(this, font, … in applyLineClamp()
954totalWidth = font.width(RenderBlockFlow::constructTextRun(this, font, &horizontalEllipsis, 1, styl… in applyLineClamp()
970 …s(leftToRight, blockRightEdge, lastVisibleLine->x() + lastVisibleLine->logicalWidth(), totalWidth)) in applyLineClamp()
976 …ipsisAndSpaceStr : ellipsisStr, leftToRight, blockLeftEdge, blockRightEdge, 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/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/chromium_org/third_party/WebKit/Source/devtools/front_end/
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 - a…
207 newElementPosition.width = totalWidth - borderRadius * 2;
DTabbedPane.js541 _calculateMaxWidth: function(measuredWidths, totalWidth) argument
552 if (totalWidth >= totalMeasuredWidth)
560 if (totalWidth + totalExtraWidth >= totalMeasuredWidth)
561 …return measuredWidths[i - 1] + (totalWidth + totalExtraWidth - totalMeasuredWidth) / (measuredWidt…
564 return totalWidth / measuredWidths.length;
574 _tabsToShowIndexes: function(tabsOrdered, tabsHistory, totalWidth, measuredDropDownButtonWidth) argument
586 if (!this._verticalTabLayout && minimalRequiredWidth > totalWidth)
DDataGrid.js489 var totalWidth = 0;
491 totalWidth += widths[i];
494 var width = Math.round(100 * widths[i] / totalWidth);
/external/chromium_org/chrome/browser/ui/cocoa/
Dscreen_capture_notification_ui_cocoa.mm176 CGFloat totalWidth = kPaddingLeft + kPadding + kHorizontalMargin * 2 +
178 [content setFrame:NSMakeRect(0, 0, totalWidth, totalHeight)];
182 NSMakePoint(totalWidth - kPadding - buttonWidth, kPadding);
187 setFrameOrigin:NSMakePoint(totalWidth - NSMaxX([stopButton_ frame]),
190 setFrameOrigin:NSMakePoint(totalWidth - NSMaxX([statusTextField frame]),
192 [gripView setFrameOrigin:NSMakePoint(totalWidth - NSMaxX([gripView frame]),
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DWidthIterator.cpp282 float totalWidth = widthSinceLastRounding + width; in advanceInternal() local
283 widthSinceLastRounding = ceilf(totalWidth); in advanceInternal()
284 width += widthSinceLastRounding - totalWidth; in advanceInternal()
DFontFastPath.cpp567 float totalWidth = it.m_runWidthSoFar; in selectionRectForSimpleText() local
568 float pixelAlignedX = floorf(point.x() + totalWidth - afterWidth + LayoutUnit::epsilon()); in selectionRectForSimpleText()
570 roundf(point.x() + totalWidth - beforeWidth) - pixelAlignedX, h); in selectionRectForSimpleText()
/external/chromium/chrome/browser/resources/shared/js/cr/ui/table/
Dtable_column_model.js138 get totalWidth() { getter in TableColumnModel
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DHarfBuzzShaper.h61 float totalWidth() { return m_totalWidth; } in totalWidth() function
DFontHarfBuzz.cpp198 return shaper.totalWidth(); in floatWidthForComplexText()
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollbarThemeMacNonOverlayAPI.mm326 int totalWidth = startWidth + endWidth;
328 …return IntRect(scrollbar->x() + startWidth, scrollbar->y(), scrollbar->width() - totalWidth, thick…
329 … IntRect(scrollbar->x(), scrollbar->y() + startWidth, thickness, scrollbar->height() - totalWidth);
/external/chromium_org/chrome/browser/resources/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/chrome/browser/resources/keyboard/
Dmain.js640 var totalWidth = Math.floor(height * allRows[0].aspect);
641 var leftPadding = Math.floor((newX - totalWidth) / 2);
/external/chromium_org/chrome/browser/resources/options/chromeos/
Ddisplay_options.js688 var totalWidth = width + numDisplays * MIRRORING_OFFSET_PIXELS;
697 $('display-options-displays-view').offsetWidth / 2 - totalWidth / 2;