/external/webkit/Source/WebCore/platform/graphics/wx/ |
FontWx.cpp | 96 float totalWidth = it.runWidthSoFar(); 97 return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWidth) - floorf(totalWidth - afterWidth), h); 99 float totalWidth = it.totalWidth(); 100 return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWidth) - floorf(totalWidth - afterWidth), h); 142 startX += controller.totalWidth() - afterWidth [all...] |
/external/webkit/Source/WebCore/platform/graphics/mac/ |
FontComplexTextMac.cpp | 52 float totalWidth = controller.totalWidth(); 53 return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWidth) - floorf(totalWidth - afterWidth), h); 74 initialAdvance = controller.totalWidth() - afterWidth; 117 glyphOverflow->right = max<int>(0, ceilf(controller.maxGlyphBoundingBoxX() - controller.totalWidth())); 119 return controller.totalWidth();
|
ComplexTextController.h | 61 float totalWidth() const { return m_totalWidth; }
|
/external/webkit/Source/WebCore/rendering/ |
FixedTableLayout.cpp | 260 int totalWidth = totalFixedWidth + totalPercentWidth; 261 if (!numAuto || totalWidth > tableLogicalWidth) { 264 if (totalWidth != tableLogicalWidth) { 266 if (totalFixedWidth && totalWidth < tableLogicalWidth) { 270 calcWidth[i] = calcWidth[i] * tableLogicalWidth / totalWidth; 284 totalWidth = totalFixedWidth + totalPercentWidth; 306 totalWidth = tableLogicalWidth; 309 if (totalWidth < tableLogicalWidth) { 311 int remainingWidth = tableLogicalWidth - totalWidth;
|
AutoTableLayout.cpp | 368 float totalWidth = 0; 371 totalWidth += m_layoutStruct[pos].effectiveMaxLogicalWidth; 374 for (unsigned pos = effCol; pos < lastCol && totalWidth > 0; ++pos) { 376 float percent = percentMissing * static_cast<float>(m_layoutStruct[pos].effectiveMaxLogicalWidth) / totalWidth; 377 totalWidth -= m_layoutStruct[pos].effectiveMaxLogicalWidth; [all...] |
RenderFlexibleBox.cpp | [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
FontWin.cpp | 65 float totalWidth = it.runWidthSoFar(); 66 return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWidth) - floorf(totalWidth - afterWidth), h);
|
FontCGWin.cpp | 155 int totalWidth = 0; 158 totalWidth += gdiAdvances[i]; 174 totalWidth + fontMetrics.ascent() + fontMetrics.descent(),
|
/external/webkit/Source/WebCore/inspector/front-end/ |
Popover.js | 91 const totalWidth = window.innerWidth; 128 if (anchorBox.x + newElementPosition.width < totalWidth) { 131 } else if (newElementPosition.width + borderRadius * 2 < totalWidth) { 132 newElementPosition.x = totalWidth - newElementPosition.width - borderRadius; 135 var arrowRightPosition = Math.max(0, totalWidth - anchorBox.x - anchorBox.width - borderRadius - arrowOffset); 140 newElementPosition.width = totalWidth - borderRadius * 2;
|
/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());
|
/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/Email/src/com/android/email/activity/ |
ThreePaneLayout.java | 361 final int totalWidth = getMeasuredWidth(); 369 setViewWidth(mRightPane, totalWidth - getMessageListWidth()); 376 expectedMessageListWidth = totalWidth - getMailboxListWidth();
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
FontChromiumWin.cpp | 245 int totalWidth = 0; 247 totalWidth += lroundf(m_glyphBuffer.advanceAt(m_from + i)); 252 totalWidth + fontMetrics.ascent() + fontMetrics.descent(),
|
/external/webkit/Source/WebCore/platform/graphics/ |
FontFastPath.cpp | 475 float totalWidth = it.m_runWidthSoFar; 476 return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWidth) - floorf(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/webkit/Source/WebCore/platform/chromium/ |
ScrollbarThemeChromiumMac.mm | 335 int totalWidth = startWidth + endWidth; 337 return IntRect(scrollbar->x() + startWidth, scrollbar->y(), scrollbar->width() - totalWidth, thickness); 338 return IntRect(scrollbar->x(), scrollbar->y() + startWidth, thickness, scrollbar->height() - totalWidth);
|
/external/webkit/Source/WebCore/platform/gtk/ |
RenderThemeGtk.cpp | 545 int totalWidth = trackRect.width(); 555 int width = ((end - start) * totalWidth) / mediaDuration; 561 rangeRect.setLocation(IntPoint(trackRect.x() + start / mediaDuration* totalWidth, trackRect.y()));
|
/external/webkit/Source/WebCore/platform/mac/ |
ScrollbarThemeMac.mm | 385 int totalWidth = startWidth + endWidth; 387 return IntRect(scrollbar->x() + startWidth, scrollbar->y(), scrollbar->width() - totalWidth, thickness); 388 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...] |