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

1 2

  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/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();
143 glyphOverflow->right = max<int>(0, ceilf(controller.maxGlyphBoundingBoxX() - controller.totalWidth()));
145 return controller.totalWidth();
ComplexTextController.h 65 float totalWidth() const { return m_totalWidth; }
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
FixedTableLayout.cpp 247 int totalWidth = totalFixedWidth + totalPercentWidth;
248 if (!numAuto || totalWidth > tableLogicalWidth) {
251 if (totalWidth != tableLogicalWidth) {
253 if (totalFixedWidth && totalWidth < tableLogicalWidth) {
257 calcWidth[i] = calcWidth[i] * tableLogicalWidth / totalWidth;
271 totalWidth = totalFixedWidth + totalPercentWidth;
295 totalWidth = tableLogicalWidth;
298 if (totalWidth < tableLogicalWidth) {
300 int remainingWidth = tableLogicalWidth - totalWidth;
AutoTableLayout.cpp 348 int totalWidth = 0;
351 totalWidth += m_layoutStruct[pos].effectiveMaxLogicalWidth;
354 for (unsigned pos = effCol; pos < lastCol && totalWidth > 0; ++pos) {
356 float percent = percentMissing * static_cast<float>(m_layoutStruct[pos].effectiveMaxLogicalWidth) / totalWidth;
357 totalWidth -= m_layoutStruct[pos].effectiveMaxLogicalWidth;
    [all...]
RenderDeprecatedFlexibleBox.cpp     [all...]
  /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 153 int widthMeasureSpec, int totalWidth,
157 totalWidth + mImposedTabWidths[childIndex], MeasureSpec.EXACTLY);
163 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight);
TableRow.java 192 int widthMeasureSpec, int totalWidth,
248 totalWidth, heightMeasureSpec, totalHeight);
  /external/jmonkeyengine/engine/src/core/com/jme3/font/
Letters.java 19 private float totalWidth;
251 totalWidth = -1;
270 return totalWidth;
279 if (totalWidth < 0) {
282 totalWidth = Math.max(totalWidth, l.getX1());
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
TwoPaneLayout.java 471 private int computeConversationListWidth(int totalWidth) {
476 return totalWidth - computeFolderListWidth(totalWidth);
480 return (int) (totalWidth * mConversationListWeight);
493 private int computeConversationWidth(int totalWidth) {
495 return totalWidth;
497 return totalWidth - (int) (totalWidth * mConversationListWeight);
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
Popover.js 156 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;
TabbedPane.js 505 * @param {number} totalWidth
507 _calculateMaxWidth: function(measuredWidths, totalWidth)
518 if (totalWidth >= totalMeasuredWidth)
526 if (totalWidth + totalExtraWidth >= totalMeasuredWidth)
527 return measuredWidths[i - 1] + (totalWidth + totalExtraWidth - totalMeasuredWidth) / (measuredWidths.length - i);
530 return totalWidth / measuredWidths.length;
536 * @param {number} totalWidth
540 _tabsToShowIndexes: function(tabsOrdered, tabsHistory, totalWidth, measuredDropDownButtonWidth)
552 if (!this._verticalTabLayout && minimalRequiredWidth > totalWidth)
  /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 185 float totalWidth = 0f;
189 totalWidth += f;
191 return (int) totalWidth;
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationItemView.java 302 int totalWidth = 0;
312 totalWidth += width;
313 if (totalWidth > availableSpace) {
318 return totalWidth;
344 final int totalWidth = measureFolders(availableSpace, cellSize);
345 int xStart = xEnd - Math.min(availableSpace, totalWidth);
346 final boolean overflow = totalWidth > availableSpace;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/harfbuzz/
HarfBuzzShaper.h 63 float totalWidth() { return m_totalWidth; }
FontHarfBuzz.cpp 201 return shaper.totalWidth();
  /frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
PhotoViewActivity.java 799 final int totalWidth = mRootView.getMeasuredWidth();
811 final float scaleW = (float) mAnimationStartWidth / totalWidth;
816 totalWidth, scale);
    [all...]
  /frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
PhotoViewActivity.java 798 final int totalWidth = mRootView.getMeasuredWidth();
810 final float scaleW = (float) mAnimationStartWidth / totalWidth;
815 totalWidth, scale);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
WidthIterator.cpp 286 float totalWidth = widthSinceLastRounding + width;
287 widthSinceLastRounding = ceilf(totalWidth);
288 width += widthSinceLastRounding - totalWidth;
FontFastPath.cpp 562 float totalWidth = it.m_runWidthSoFar;
563 return FloatRect(floorf(point.x() + totalWidth - afterWidth), point.y(), roundf(point.x() + totalWidth - beforeWidth) - floorf(point.x() + totalWidth - afterWidth), h);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/
shmstr.h 128 CARD16 totalWidth B16;
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/
shmstr.h 128 CARD16 totalWidth B16;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/
shmstr.h 128 CARD16 totalWidth B16;
  /external/chromium_org/third_party/WebKit/Source/core/platform/mac/
ScrollbarThemeMacNonOverlayAPI.mm 325 int totalWidth = startWidth + endWidth;
327 return IntRect(scrollbar->x() + startWidth, scrollbar->y(), scrollbar->width() - totalWidth, thickness);
328 return IntRect(scrollbar->x(), scrollbar->y() + startWidth, thickness, scrollbar->height() - totalWidth);

Completed in 1045 milliseconds

1 2