/external/webkit/Source/WebCore/platform/graphics/ |
D | StringTruncator.cpp | 101 static String truncateString(const String& string, float maxWidth, const Font& font, TruncationFunc… in truncateString() argument 106 ASSERT(maxWidth >= 0); in truncateString() 125 if (width <= maxWidth) in truncateString() 134 if (currentEllipsisWidth >= maxWidth) { in truncateString() 140 ASSERT(widthForLargestKnownToFit <= maxWidth); in truncateString() 141 ASSERT(widthForSmallestKnownToNotFit > maxWidth); in truncateString() 145 keepCount = static_cast<unsigned>(maxWidth * ratio); in truncateString() 161 if (width <= maxWidth) { in truncateString() 182 String StringTruncator::centerTruncate(const String& string, float maxWidth, const Font& font) in centerTruncate() argument 184 return truncateString(string, maxWidth, font, centerTruncateToBuffer); in centerTruncate() [all …]
|
D | StringTruncator.h | 40 static String centerTruncate(const String&, float maxWidth, const Font&); 41 static String rightTruncate(const String&, float maxWidth, const Font&);
|
/external/chromium/chrome/browser/ui/cocoa/tab_contents/ |
D | sad_tab_view.mm | 64 CGFloat maxWidth = NSWidth(newBounds) - (kTabHorzMargin * 2); 69 CGFloat iconX = (maxWidth - NSWidth(iconFrame)) / 2; 81 CGFloat titleX = (maxWidth - NSWidth(titleFrame)) / 2; 91 if (messageSize_.width > maxWidth) { // Need to wrap message. 92 [message_ setFrameSize:NSMakeSize(maxWidth, messageSize_.height)]; 95 messageFrame.size.width = maxWidth; 103 messageFrame.origin.x = (maxWidth - NSWidth(messageFrame)) / 2; 114 CGFloat linkX = (maxWidth - NSWidth(linkFrame)) / 2;
|
/external/webkit/Source/WebKit/mac/Misc/ |
D | WebStringTruncator.h | 35 + (NSString *)centerTruncateString:(NSString *)string toWidth:(float)maxWidth withFont:(NSFont *)fo… 38 + (NSString *)centerTruncateString:(NSString *)string toWidth:(float)maxWidth; 40 + (NSString *)rightTruncateString:(NSString *)string toWidth:(float)maxWidth withFont:(NSFont *)fon…
|
D | WebStringTruncator.mm | 73 + (NSString *)centerTruncateString:(NSString *)string toWidth:(float)maxWidth 75 return StringTruncator::centerTruncate(string, maxWidth, fontFromNSFont(defaultMenuFont())); 78 + (NSString *)centerTruncateString:(NSString *)string toWidth:(float)maxWidth withFont:(NSFont *)fo… 80 return StringTruncator::centerTruncate(string, maxWidth, fontFromNSFont(font)); 83 + (NSString *)rightTruncateString:(NSString *)string toWidth:(float)maxWidth withFont:(NSFont *)font 85 return StringTruncator::rightTruncate(string, maxWidth, fontFromNSFont(font));
|
/external/webkit/Source/WebCore/rendering/ |
D | RenderFlexibleBox.cpp | 195 if (style()->maxWidth().isFixed() && style()->maxWidth().value() != undefinedLength) { in computePreferredLogicalWidths() 196 …idth = min(m_maxPreferredLogicalWidth, computeContentBoxLogicalWidth(style()->maxWidth().value())); in computePreferredLogicalWidths() 197 …idth = min(m_minPreferredLogicalWidth, computeContentBoxLogicalWidth(style()->maxWidth().value())); in computePreferredLogicalWidths() 970 int maxWidth = INT_MAX; in allowedChildFlex() local 972 if (!child->style()->maxWidth().isUndefined() && child->style()->maxWidth().isFixed()) in allowedChildFlex() 973 maxWidth = child->style()->maxWidth().value(); in allowedChildFlex() 974 else if (child->style()->maxWidth().type() == Intrinsic) in allowedChildFlex() 975 maxWidth = child->maxPreferredLogicalWidth(); in allowedChildFlex() 976 else if (child->style()->maxWidth().type() == MinIntrinsic) in allowedChildFlex() 977 maxWidth = child->minPreferredLogicalWidth(); in allowedChildFlex() [all …]
|
D | RenderScrollbarPart.cpp | 96 …int maxWidth = style()->maxWidth().isUndefined() ? w : calcScrollbarThicknessUsing(style()->maxWid… in computeScrollbarWidth() local 97 setWidth(max(minWidth, min(maxWidth, w))); in computeScrollbarWidth()
|
D | RenderSlider.cpp | 91 if (style()->maxWidth().isFixed() && style()->maxWidth().value() != undefinedLength) { in computePreferredLogicalWidths() 92 …idth = min(m_maxPreferredLogicalWidth, computeContentBoxLogicalWidth(style()->maxWidth().value())); in computePreferredLogicalWidths() 93 …idth = min(m_minPreferredLogicalWidth, computeContentBoxLogicalWidth(style()->maxWidth().value())); in computePreferredLogicalWidths()
|
D | AutoTableLayout.cpp | 222 void AutoTableLayout::computePreferredLogicalWidths(int& minWidth, int& maxWidth) in computePreferredLogicalWidths() argument 228 maxWidth = 0; in computePreferredLogicalWidths() 240 maxWidth += m_layoutStruct[i].effectiveMaxLogicalWidth; in computePreferredLogicalWidths() 254 maxWidth = max(maxWidth, static_cast<int>(min(maxNonPercent, INT_MAX / 2.0f))); in computePreferredLogicalWidths() 255 maxWidth = max(maxWidth, static_cast<int>(min(maxPercent, INT_MAX / 2.0f))); in computePreferredLogicalWidths() 258 maxWidth = max(maxWidth, spanMaxLogicalWidth); in computePreferredLogicalWidths() 262 maxWidth += bordersPaddingAndSpacing; in computePreferredLogicalWidths() 267 maxWidth = minWidth; in computePreferredLogicalWidths() 270 maxWidth = intMaxForLength; in computePreferredLogicalWidths()
|
D | RenderDataGrid.cpp | 115 if (style()->maxWidth().isFixed() && style()->maxWidth().value() != undefinedLength) { in computePreferredLogicalWidths() 116 …idth = min(m_maxPreferredLogicalWidth, computeContentBoxLogicalWidth(style()->maxWidth().value())); in computePreferredLogicalWidths() 117 …idth = min(m_minPreferredLogicalWidth, computeContentBoxLogicalWidth(style()->maxWidth().value())); in computePreferredLogicalWidths()
|
D | FixedTableLayout.cpp | 192 void FixedTableLayout::computePreferredLogicalWidths(int& minWidth, int& maxWidth) in computePreferredLogicalWidths() argument 209 maxWidth = minWidth; in computePreferredLogicalWidths() 225 …nt()->inQuirksMode() && m_table->style()->logicalWidth().isPercent() && maxWidth < TABLE_MAX_WIDTH) in computePreferredLogicalWidths() 226 maxWidth = TABLE_MAX_WIDTH; in computePreferredLogicalWidths()
|
D | RenderFileUploadControl.cpp | 301 if (style()->maxWidth().isFixed() && style()->maxWidth().value() != undefinedLength) { in computePreferredLogicalWidths() 302 …idth = min(m_maxPreferredLogicalWidth, computeContentBoxLogicalWidth(style()->maxWidth().value())); in computePreferredLogicalWidths() 303 …idth = min(m_minPreferredLogicalWidth, computeContentBoxLogicalWidth(style()->maxWidth().value())); in computePreferredLogicalWidths()
|
D | RenderReplaced.cpp | 264 if (style()->maxWidth().isFixed() && style()->maxWidth().value() != undefinedLength) in computePreferredLogicalWidths() 265 …m_maxPreferredLogicalWidth = min(m_maxPreferredLogicalWidth, style()->maxWidth().value() + (style(… in computePreferredLogicalWidths() 268 || style()->maxWidth().isPercent() || style()->maxHeight().isPercent() in computePreferredLogicalWidths()
|
D | FixedTableLayout.h | 36 virtual void computePreferredLogicalWidths(int& minWidth, int& maxWidth);
|
D | TableLayout.h | 41 virtual void computePreferredLogicalWidths(int& minWidth, int& maxWidth) = 0;
|
D | AutoTableLayout.h | 38 virtual void computePreferredLogicalWidths(int& minWidth, int& maxWidth);
|
/external/webkit/Source/WebKit/mac/WebView/ |
D | WebTextCompletionController.mm | 136 CGFloat maxWidth = 0; 141 if (width > maxWidth) { 142 maxWidth = width; 148 …maxWidth = ceilf([NSScrollView frameSizeForContentSize:NSMakeSize(maxWidth, 100.0f) hasHorizontalS… 149 …maxWidth = ceilf([NSWindow frameRectForContentRect:NSMakeRect(0.0f, 0.0f, maxWidth, 100.0f) styleM… 150 maxWidth += 5.0f; 151 windowFrame.size.width = max(maxWidth, windowFrame.size.width); 152 maxWidth = min<CGFloat>(400, windowFrame.size.width);
|
/external/opencv/cvaux/src/ |
D | cvlcm.cpp | 58 float maxWidth; member 275 float maxWidth) in cvLinearContorModelFromVoronoiDiagram() argument 279 CvLCM LCM = {NULL, VoronoiDiagram,NULL,NULL,maxWidth}; in cvLinearContorModelFromVoronoiDiagram() 286 if( maxWidth < 0 ) in cvLinearContorModelFromVoronoiDiagram() 376 if(pNode->radius > LCM->maxWidth) in _cvConstructLCM() 381 if(pNode1->radius > LCM->maxWidth) in _cvConstructLCM() 453 if(pNode0->radius <= pLCM->maxWidth && pNode1->radius <= pLCM->maxWidth) in _cvConstructLCMComplexNode() 546 if(pNode1->radius >= pLCM->maxWidth) in _cvConstructLCMEdge()
|
/external/chromium/chrome/browser/ui/cocoa/find_bar/ |
D | find_bar_cocoa_controller.h | 73 - (void)positionFindBarViewAtMaxY:(CGFloat)maxY maxWidth:(CGFloat)maxWidth;
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
D | ImageDiff.cpp | 170 int maxWidth = max(baseline.width(), actual.width()); in percentageDifferent() local 174 pixelsDifferent += (maxWidth - w) * h; in percentageDifferent() 177 pixelsDifferent += (maxHeight - h) * maxWidth; in percentageDifferent()
|
/external/webkit/Source/WebCore/rendering/svg/ |
D | RenderSVGRoot.cpp | 67 if (style()->maxWidth().isFixed() && style()->maxWidth().value() != undefinedLength) in computePreferredLogicalWidths() 68 …width = min(width, style()->maxWidth().value() + (style()->boxSizing() == CONTENT_BOX ? borderAndP… in computePreferredLogicalWidths()
|
/external/webkit/Source/WebCore/html/canvas/ |
D | CanvasRenderingContext2D.h | 216 void fillText(const String& text, float x, float y, float maxWidth); 218 void strokeText(const String& text, float x, float y, float maxWidth); 286 …void drawTextInternal(const String& text, float x, float y, bool fill, float maxWidth = 0, bool us…
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | task_manager_mac.mm | 30 int maxWidth; // If this is -1, 1.5*minColumWidth is used as max width. 245 int minWidth = 200, maxWidth = 400; 251 maxWidth = columnWidths[i].maxWidth; 252 if (maxWidth < 0) 253 maxWidth = 3 * minWidth / 2; // *1.5 for ints. 259 [column.get() setMaxWidth:maxWidth];
|
/external/chromium/chrome/browser/ui/cocoa/extensions/ |
D | browser_actions_container_view.h | 79 @property(nonatomic) CGFloat maxWidth;
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
D | SimpleFontDataQt.cpp | 93 m_maxCharWidth = fm.maxWidth(); in platformCharWidthInit()
|