Home
last modified time | relevance | path

Searched refs:ellipsisX (Results 1 – 2 of 2) sorted by relevance

/external/webkit/WebCore/rendering/
DInlineFlowBox.cpp933 int ellipsisX = m_x + rootLine->ellipsisBox()->x(); in paintTextDecorations() local
940 bool ltrTruncation = ltr && (x + w >= ellipsisX + ellipsisWidth); in paintTextDecorations()
941 bool rtlTruncation = !ltr && (x <= ellipsisX + ellipsisWidth); in paintTextDecorations()
943 w -= (x + w) - (ellipsisX + ellipsisWidth); in paintTextDecorations()
945 int dx = m_x - ((ellipsisX - m_x) + ellipsisWidth); in paintTextDecorations()
950 bool ltrPastEllipsis = ltr && x >= ellipsisX; in paintTextDecorations()
951 bool rtlPastEllipsis = !ltr && (x + w) <= (ellipsisX + ellipsisWidth); in paintTextDecorations()
955 bool ltrTruncation = ltr && x + w >= ellipsisX; in paintTextDecorations()
956 bool rtlTruncation = !ltr && x <= ellipsisX; in paintTextDecorations()
958 w -= (x + w - ellipsisX); in paintTextDecorations()
[all …]
DInlineTextBox.cpp158 int ellipsisX = flowIsLTR ? visibleRightEdge - ellipsisWidth : visibleLeftEdge + ellipsisWidth; in placeEllipsisBox() local
163 bool ltrFullTruncation = flowIsLTR && ellipsisX <= m_x; in placeEllipsisBox()
164 bool rtlFullTruncation = !flowIsLTR && ellipsisX >= (m_x + m_width); in placeEllipsisBox()
172 bool ltrEllipsisWithinBox = flowIsLTR && (ellipsisX < m_x + m_width); in placeEllipsisBox()
173 bool rtlEllipsisWithinBox = !flowIsLTR && (ellipsisX > m_x); in placeEllipsisBox()
184 ellipsisX = ltr ? m_x + visibleBoxWidth : m_x + m_width - visibleBoxWidth; in placeEllipsisBox()
187 int offset = offsetForPosition(ellipsisX, false); in placeEllipsisBox()
192 return min(ellipsisX, m_x); in placeEllipsisBox()