HomeSort by relevance Sort by last modified time
    Searched refs:totalWidth (Results 1 - 25 of 40) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/rendering/
FixedTableLayout.cpp 245 int totalWidth = totalFixedWidth + totalPercentWidth;
246 if (!numAuto || totalWidth > tableLogicalWidth) {
249 if (totalWidth != tableLogicalWidth) {
251 if (totalFixedWidth && totalWidth < tableLogicalWidth) {
255 calcWidth[i] = calcWidth[i] * tableLogicalWidth / totalWidth;
269 totalWidth = totalFixedWidth + totalPercentWidth;
293 totalWidth = tableLogicalWidth;
296 if (totalWidth < tableLogicalWidth) {
298 int remainingWidth = tableLogicalWidth - totalWidth;
AutoTableLayout.cpp 367 int totalWidth = 0;
370 totalWidth += m_layoutStruct[pos].effectiveMaxLogicalWidth;
373 for (unsigned pos = effCol; pos < lastCol && totalWidth > 0; ++pos) {
375 float percent = percentMissing * static_cast<float>(m_layoutStruct[pos].effectiveMaxLogicalWidth) / totalWidth;
376 totalWidth -= m_layoutStruct[pos].effectiveMaxLogicalWidth;
    [all...]
RenderDeprecatedFlexibleBox.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
FontComplexTextMac.cpp 63 float totalWidth = controller.totalWidth();
64 return FloatRect(floorf(point.x() + totalWidth - afterWidth), point.y(), roundf(point.x() + totalWidth - beforeWidth) - floorf(point.x() + totalWidth - afterWidth), h);
85 initialAdvance = controller.totalWidth() - afterWidth;
133 return shaper.totalWidth();
139 glyphBounds->setRight(std::max<int>(0, ceilf(controller.maxGlyphBoundingBoxX() - controller.totalWidth())));
141 return controller.totalWidth();
ComplexTextController.h 66 float totalWidth() const { return m_totalWidth; }
  /frameworks/base/core/java/android/widget/
TableLayout.java 456 int widthMeasureSpec, int totalWidth,
465 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight);
562 int totalWidth = 0;
564 totalWidth += width;
569 if ((totalWidth > size) && (mShrinkAllColumns || mShrinkableColumns.size() > 0)) {
572 mutateColumnsWidth(mShrinkableColumns, mShrinkAllColumns, size, totalWidth);
573 } else if ((totalWidth < size) && (mStretchAllColumns || mStretchableColumns.size() > 0)) {
576 mutateColumnsWidth(mStretchableColumns, mStretchAllColumns, size, totalWidth);
581 boolean allColumns, int size, int totalWidth) {
586 final int totalExtraSpace = size - totalWidth;
    [all...]
TabWidget.java 156 int widthMeasureSpec, int totalWidth,
160 totalWidth + mImposedTabWidths[childIndex], MeasureSpec.EXACTLY);
166 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight);
TableRow.java 192 int widthMeasureSpec, int totalWidth,
248 totalWidth, heightMeasureSpec, totalHeight);
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
Popover.js 159 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 - arrowOffset);
211 newElementPosition.width = totalWidth - borderRadius * 2;
TabbedPane.js 654 * @param {number} totalWidth
656 _calculateMaxWidth: function(measuredWidths, totalWidth)
667 if (totalWidth >= totalMeasuredWidth)
675 if (totalWidth + totalExtraWidth >= totalMeasuredWidth)
676 return measuredWidths[i - 1] + (totalWidth + totalExtraWidth - totalMeasuredWidth) / (measuredWidths.length - i);
679 return totalWidth / measuredWidths.length;
685 * @param {number} totalWidth
689 _tabsToShowIndexes: function(tabsOrdered, tabsHistory, totalWidth, measuredDropDownButtonWidth)
701 if (!this._verticalTabLayout && minimalRequiredWidth > totalWidth)
    [all...]
SuggestBox.js 99 var totalWidth = container.offsetWidth;
DataGrid.js 486 var totalWidth = 0;
488 totalWidth += widths[i];
491 var width = Math.round(100 * widths[i] / totalWidth);
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
PaintTest.java 71 float totalWidth = 0.0f;
73 totalWidth += widths[i];
78 assertBreakText(text, textChars, textSpan, i, i + 1, true, totalWidth, 1, widths[i]);
82 assertBreakText(text, textChars, textSpan, 0, 0, true, totalWidth, 0, 0);
85 assertBreakText(text, textChars, textSpan, 0, 3, true, totalWidth,
89 assertBreakText(text, textChars, textSpan, 0, 3, false, totalWidth,
93 assertBreakText(text, textChars, textSpan, 5, 7, true, totalWidth,
97 assertBreakText(text, textChars, textSpan, 5, 7, false, totalWidth,
101 assertBreakText(text, textChars, textSpan, 2, 5, true, totalWidth,
105 assertBreakText(text, textChars, textSpan, 2, 5, false, totalWidth,
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
TouchTest.java 189 float totalWidth = 0f;
193 totalWidth += f;
195 return (int) totalWidth;
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
HarfBuzzShaper.h 64 float totalWidth() { return m_totalWidth; }
FontHarfBuzz.cpp 272 glyphBounds->setRight(std::max<int>(0, ceilf(shaper.glyphBoundingBox().right() - shaper.totalWidth())));
274 return shaper.totalWidth();
  /frameworks/opt/photoviewer/src/com/android/ex/photo/
PhotoViewController.java     [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/X11/extensions/
shmproto.h 98 CARD16 totalWidth B16;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/extensions/
shmproto.h 98 CARD16 totalWidth B16;
  /external/chromium_org/third_party/WebKit/Source/platform/scroll/
ScrollbarThemeMacNonOverlayAPI.mm 305 int totalWidth = startWidth + endWidth;
307 return IntRect(scrollbar->x() + startWidth, scrollbar->y(), scrollbar->width() - totalWidth, thickness);
308 return IntRect(scrollbar->x(), scrollbar->y() + startWidth, thickness, scrollbar->height() - totalWidth);
  /frameworks/base/core/java/android/inputmethodservice/
Keyboard.java 619 int totalWidth = 0;
625 totalWidth += key.width;
627 if (totalGap + totalWidth > newWidth) {
629 float scaleFactor = (float)(newWidth - totalGap) / totalWidth;
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationItemView.java     [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
Font.cpp     [all...]
  /external/chromium_org/ui/file_manager/file_manager/foreground/js/
file_table.js 79 var totalWidth = 0;
84 totalWidth += this.columns_[i].width;
95 positions[i + 1] = ~~(newTotalWidth * sum / totalWidth);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListItemView.java 370 final int totalWidth = effectiveWidth - mGapBetweenLabelAndData;
371 dataWidth = ((totalWidth * mDataViewWidthWeight)
373 labelWidth = ((totalWidth * mLabelViewWidthWeight) /
    [all...]

Completed in 807 milliseconds

1 2