/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
FixedTableLayout.cpp | 242 int totalWidth = totalFixedWidth + totalPercentWidth; 243 if (!numAuto || totalWidth > tableLogicalWidth) { 246 if (totalWidth != tableLogicalWidth) { 248 if (totalFixedWidth && totalWidth < tableLogicalWidth) { 252 calcWidth[i] = calcWidth[i] * tableLogicalWidth / totalWidth; 266 totalWidth = totalFixedWidth + totalPercentWidth; 290 totalWidth = tableLogicalWidth; 293 if (totalWidth < tableLogicalWidth) { 295 int remainingWidth = tableLogicalWidth - totalWidth;
|
AutoTableLayout.cpp | 365 int totalWidth = 0; 368 totalWidth += m_layoutStruct[pos].effectiveMaxLogicalWidth; 371 for (unsigned pos = effCol; pos < lastCol && totalWidth > 0; ++pos) { 373 float percent = percentMissing * static_cast<float>(m_layoutStruct[pos].effectiveMaxLogicalWidth) / totalWidth; 374 totalWidth -= m_layoutStruct[pos].effectiveMaxLogicalWidth; [all...] |
RenderDeprecatedFlexibleBox.cpp | [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
FontComplexTextMac.cpp | 65 float totalWidth = controller.totalWidth(); 66 return FloatRect(floorf(point.x() + totalWidth - afterWidth), point.y(), roundf(point.x() + totalWidth - beforeWidth) - floorf(point.x() + totalWidth - afterWidth), h); 87 initialAdvance = controller.totalWidth() + controller.finalRoundingWidth() - afterWidth; 136 return shaper.totalWidth(); 142 glyphBounds->setRight(max<int>(0, ceilf(controller.maxGlyphBoundingBoxX() - controller.totalWidth()))); 144 return controller.totalWidth();
|
ComplexTextController.h | 66 float totalWidth() const { return m_totalWidth; }
|
ComplexTextController.cpp | 628 CGFloat totalWidth = widthSinceLastCommit + advance.width; 629 widthSinceLastCommit = ceilCGFloat(totalWidth); 630 CGFloat extraWidth = widthSinceLastCommit - 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 | 158 const totalWidth = container.offsetWidth; 197 if (anchorBox.x + newElementPosition.width < totalWidth) { 200 } else if (newElementPosition.width + borderRadius * 2 < totalWidth) { 201 newElementPosition.x = totalWidth - newElementPosition.width - borderRadius; 204 var arrowRightPosition = Math.max(0, totalWidth - anchorBox.x - anchorBox.width - borderRadius - arrowOffset); 210 newElementPosition.width = totalWidth - borderRadius * 2;
|
TabbedPane.js | 631 * @param {number} totalWidth 633 _calculateMaxWidth: function(measuredWidths, totalWidth) 644 if (totalWidth >= totalMeasuredWidth) 652 if (totalWidth + totalExtraWidth >= totalMeasuredWidth) 653 return measuredWidths[i - 1] + (totalWidth + totalExtraWidth - totalMeasuredWidth) / (measuredWidths.length - i); 656 return totalWidth / measuredWidths.length; 662 * @param {number} totalWidth 666 _tabsToShowIndexes: function(tabsOrdered, tabsHistory, totalWidth, measuredDropDownButtonWidth) 678 if (!this._verticalTabLayout && minimalRequiredWidth > totalWidth) [all...] |
SuggestBox.js | 100 var totalWidth = container.offsetWidth;
|
/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/ |
WidthIterator.cpp | 280 float totalWidth = widthSinceLastRounding + width; 281 widthSinceLastRounding = ceilf(totalWidth); 282 width += widthSinceLastRounding - totalWidth;
|
Font.cpp | [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ |
HarfBuzzShaper.h | 64 float totalWidth() { return m_totalWidth; }
|
FontHarfBuzz.cpp | 219 glyphBounds->setRight(std::max<int>(0, ceilf(shaper.glyphBoundingBox().right() - shaper.totalWidth()))); 221 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 | 332 int totalWidth = startWidth + endWidth; 334 return IntRect(scrollbar->x() + startWidth, scrollbar->y(), scrollbar->width() - totalWidth, thickness); 335 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...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactListItemView.java | 369 final int totalWidth = effectiveWidth - mGapBetweenLabelAndData; 370 dataWidth = ((totalWidth * mDataViewWidthWeight) 372 labelWidth = ((totalWidth * mLabelViewWidthWeight) / [all...] |