Home
last modified time | relevance | path

Searched refs:ellipsisWidth (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRootInlineBox.cpp103 …tInlineBox::lineCanAccommodateEllipsis(bool ltr, int blockEdge, int lineBoxEdge, int ellipsisWidth) in lineCanAccommodateEllipsis() argument
107 if (logicalWidth() - delta < ellipsisWidth) in lineCanAccommodateEllipsis()
112 return InlineFlowBox::canAccommodateEllipsis(ltr, blockEdge, ellipsisWidth); in lineCanAccommodateEllipsis()
115 …omicString& ellipsisStr, bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, in placeEllipsis() argument
120 ellipsisWidth - (markupBox ? markupBox->logicalWidth() : 0), logicalHeight(), in placeEllipsis()
129 if (ltr && (logicalLeft() + logicalWidth() + ellipsisWidth) <= blockRightEdge) { in placeEllipsis()
131 return logicalWidth() + ellipsisWidth; in placeEllipsis()
139 …float position = placeEllipsisBox(ltr, blockLeftEdge, blockRightEdge, ellipsisWidth, truncatedWidt… in placeEllipsis()
144 …llipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, float &trunca… in placeEllipsisBox() argument
146 …= InlineFlowBox::placeEllipsisBox(ltr, blockLeftEdge, blockRightEdge, ellipsisWidth, truncatedWidt… in placeEllipsisBox()
[all …]
DRootInlineBox.h99 bool lineCanAccommodateEllipsis(bool ltr, int blockEdge, int lineBoxEdge, int ellipsisWidth);
101 …lipsisStr, bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, InlineBox* ma…
103 …llipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, float &trunca…
DInlineBox.cpp284 bool InlineBox::canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth) const in canAccommodateEllipsis()
291 IntRect ellipsisRect(ltr ? blockEdge - ellipsisWidth : blockEdge, 0, ellipsisWidth, 10); in canAccommodateEllipsis()
DInlineTextBox.cpp267 …(bool flowIsLTR, float visibleLeftEdge, float visibleRightEdge, float ellipsisWidth, float &trunca… in placeEllipsisBox() argument
275 … float ellipsisX = flowIsLTR ? visibleRightEdge - ellipsisWidth : visibleLeftEdge + ellipsisWidth; in placeEllipsisBox()
300 int visibleBoxWidth = visibleRightEdge - visibleLeftEdge - ellipsisWidth; in placeEllipsisBox()
309 truncatedWidth += ellipsisWidth; in placeEllipsisBox()
325 truncatedWidth += widthOfVisibleText + ellipsisWidth; in placeEllipsisBox()
329 return logicalRight() - widthOfVisibleText - ellipsisWidth; in placeEllipsisBox()
DInlineFlowBox.h206 …virtual bool canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth) const OVERRIDE FIN…
207 …llipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, float &trunca…
DInlineBox.h267 virtual bool canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth) const;
269 …sisBox(bool ltr, float visibleLeftEdge, float visibleRightEdge, float ellipsisWidth, float &trunca…
DInlineTextBox.h131 …(bool flowIsLTR, float visibleLeftEdge, float visibleRightEdge, float ellipsisWidth, float &trunca…
DInlineFlowBox.cpp1155 bool InlineFlowBox::canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth) const in canAccommodateEllipsis()
1158 if (!box->canAccommodateEllipsis(ltr, blockEdge, ellipsisWidth)) in canAccommodateEllipsis()
1164 …llipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, float &trunca… in placeEllipsisBox() argument
1178 …esult = box->placeEllipsisBox(ltr, visibleLeftEdge, visibleRightEdge, ellipsisWidth, truncatedWidt… in placeEllipsisBox()
DRenderBlockLineLayout.cpp1937 …float ellipsisWidth = (font == firstLineFont) ? firstLineEllipsisWidth : font.width(constructTextR… in checkLinesForTextOverflow() local
1957 LayoutUnit width = firstLine ? firstLineEllipsisWidth : ellipsisWidth; in checkLinesForTextOverflow()