Searched refs:itemFont (Results 1 – 5 of 5) sorted by relevance
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/win/ |
D | WebPopupMenuWin.cpp | 61 Font itemFont = m_popupClient->menuStyle().font(); in setUpPlatformData() local 63 FontDescription d = itemFont.fontDescription(); in setUpPlatformData() 65 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in setUpPlatformData() 66 itemFont.update(m_popupClient->fontSelector()); in setUpPlatformData() 69 …popupWidth = std::max<float>(popupWidth, ceilf(itemFont.width(TextRun(text.characters(), text.leng… in setUpPlatformData() 124 Font itemFont = m_popupClient->menuStyle().font(); in setUpPlatformData() local 126 FontDescription d = itemFont.fontDescription(); in setUpPlatformData() 128 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in setUpPlatformData() 129 itemFont.update(m_popupClient->fontSelector()); in setUpPlatformData() 137 …int textY = itemRect.y() + itemFont.fontMetrics().ascent() + (itemRect.height() - itemFont.fontMet… in setUpPlatformData() [all …]
|
/external/webkit/Source/WebCore/rendering/ |
D | RenderListBox.cpp | 108 Font itemFont = style()->font(); in updateFromElement() local 113 FontDescription d = itemFont.fontDescription(); in updateFromElement() 115 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in updateFromElement() 116 itemFont.update(document()->styleSelector()->fontSelector()); in updateFromElement() 120 …float textWidth = itemFont.width(TextRun(text.impl(), false, 0, 0, TextRun::AllowTrailingExpansion… in updateFromElement() 339 static IntSize itemOffsetForAlignment(TextRun textRun, RenderStyle* itemStyle, Font itemFont, IntRe… in itemOffsetForAlignment() argument 346 IntSize offset = IntSize(0, itemFont.fontMetrics().ascent()); in itemOffsetForAlignment() 348 float textWidth = itemFont.width(textRun); in itemOffsetForAlignment() 351 float textWidth = itemFont.width(textRun); in itemOffsetForAlignment() 393 Font itemFont = style()->font(); in paintItemForeground() local [all …]
|
/external/webkit/Source/WebCore/platform/win/ |
D | PopupMenuWin.cpp | 321 Font itemFont = client()->menuStyle().font(); in calculatePositionAndSize() local 323 FontDescription d = itemFont.fontDescription(); in calculatePositionAndSize() 325 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in calculatePositionAndSize() 326 itemFont.update(m_popupClient->fontSelector()); in calculatePositionAndSize() 329 …popupWidth = max(popupWidth, static_cast<int>(ceilf(itemFont.width(TextRun(text.characters(), text… in calculatePositionAndSize() 638 Font itemFont = client()->menuStyle().font(); in paint() local 640 FontDescription d = itemFont.fontDescription(); in paint() 642 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in paint() 643 itemFont.update(m_popupClient->fontSelector()); in paint() 651 …int textY = itemRect.y() + itemFont.fontMetrics().ascent() + (itemRect.height() - itemFont.fontMet… in paint() [all …]
|
/external/webkit/Source/WebCore/platform/chromium/ |
D | PopupMenuChromium.cpp | 929 Font itemFont = getRowFont(rowIndex); in paintRow() local 948 String str = StringTruncator::rightTruncate(itemText, maxWidth, itemFont); in paintRow() 956 StringTruncator::width(itemText, itemFont); in paintRow() 957 itemLabel = StringTruncator::rightTruncate(itemLabel, availableWidth, itemFont); in paintRow() 967 textX += maxWidth - itemFont.width(textRun); in paintRow() 970 …int textY = rowRect.y() + itemFont.fontMetrics().ascent() + (rowRect.height() - itemFont.fontMetri… in paintRow() 971 gc->drawBidiText(itemFont, textRun, IntPoint(textX, textY)); in paintRow() 995 textX = remainingWidth - itemFont.width(labelTextRun); in paintRow() 998 gc->drawBidiText(itemFont, labelTextRun, IntPoint(textX, textY)); in paintRow() 1003 Font itemFont = m_popupClient->itemStyle(rowIndex).font(); in getRowFont() local [all …]
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2005-08-23 | 51199 (itemTextRenderer): Replaced itemFont with this, which returns a WebCoreTextRenderer. 57647 (itemFont): Added. Returns a suitable font for individual items. 57662 (-[KWQTableView initWithListBox:items:]): Use itemFont() instead of computing the font.
|