Searched defs:maxW (Results 1 - 6 of 6) sorted by relevance

/external/webkit/WebCore/rendering/
H A DRenderVideo.cpp220 int maxW = !includeMaxWidth || style()->maxWidth().isUndefined() ? width : calcReplacedWidthUsing(style()->maxWidth()); local
222 return max(minW, min(width, maxW));
H A DRenderFlexibleBox.cpp1037 int maxW = INT_MAX; local
1041 maxW = child->style()->maxWidth().value();
1043 maxW = child->maxPrefWidth();
1045 maxW = child->minPrefWidth();
1046 if (maxW == INT_MAX)
1047 return maxW;
1048 return max(0, maxW - w);
H A DRenderImage.cpp603 int maxW = !includeMaxWidth || style()->maxWidth().isUndefined() ? width : calcReplacedWidthUsing(style()->maxWidth()); local
606 width = max(minW, min(width, maxW));
615 return max(minW, min(width, maxW));
644 int maxW = style()->maxWidth().value() == undefinedLength ? width : local
646 width = max(minW, min(width, maxW));
H A DRenderText.cpp470 int& minW, int& maxW, bool& stripFrontSpaces)
490 maxW = 0;
496 maxW = m_maxWidth;
509 maxW -= spaceWidth;
511 maxW += f.wordSpacing();
516 if (!style()->autoWrap() || minW > maxW)
517 minW = maxW;
523 beginMaxW = maxW;
524 endMaxW = maxW;
465 trimmedPrefWidths(int leadWidth, int& beginMinW, bool& beginWS, int& endMinW, bool& endWS, bool& hasBreakableChar, bool& hasBreak, int& beginMaxW, int& endMaxW, int& minW, int& maxW, bool& stripFrontSpaces) argument
H A DRenderBox.cpp1337 int maxW = calcWidthUsing(MaxWidth, containerWidth); local
1338 if (width() > maxW) {
1339 setWidth(maxW);
1664 int maxW = !includeMaxWidth || style()->maxWidth().isUndefined() ? width : calcReplacedWidthUsing(style()->maxWidth()); local
1666 return max(minW, min(width, maxW));
/external/clearsilver/imd/
H A Dimd.c272 NEOERR *scale_and_display_image(char *fname,int maxW,int maxH,char *cachepath, argument
313 if ((srcW > maxW) || (srcH > maxH))
316 if (srcW / factor > maxW)
319 if (srcW / factor > maxW)
350 if ((maxW && srcW > maxW) || (maxH && srcH > maxH)) {
364 dstAspect = ((float)maxW/(float)maxH);
368 dstW = maxW;
372 dstW = maxW;
376 dstH = maxW;
1001 int maxW = 0, maxH = 0; local
[all...]

Completed in 62 milliseconds