Searched refs:itemFont (Results 1 – 4 of 4) sorted by relevance
/external/webkit/WebCore/platform/win/ |
D | PopupMenuWin.cpp | 197 Font itemFont = client()->menuStyle().font(); in calculatePositionAndSize() local 199 FontDescription d = itemFont.fontDescription(); in calculatePositionAndSize() 201 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in calculatePositionAndSize() 202 itemFont.update(m_popupClient->fontSelector()); in calculatePositionAndSize() 205 popupWidth = max(popupWidth, itemFont.width(TextRun(text.characters(), text.length()))); in calculatePositionAndSize() 521 Font itemFont = client()->menuStyle().font(); in paint() local 523 FontDescription d = itemFont.fontDescription(); in paint() 525 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in paint() 526 itemFont.update(m_popupClient->fontSelector()); in paint() 534 … int textY = itemRect.y() + itemFont.ascent() + (itemRect.height() - itemFont.height()) / 2; in paint() [all …]
|
/external/webkit/WebCore/rendering/ |
D | RenderListBox.cpp | 106 Font itemFont = style()->font(); in updateFromElement() local 111 FontDescription d = itemFont.fontDescription(); in updateFromElement() 113 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in updateFromElement() 114 itemFont.update(document()->styleSelector()->fontSelector()); in updateFromElement() 118 … float textWidth = itemFont.floatWidth(TextRun(text.impl(), 0, 0, 0, false, false, false, false)); in updateFromElement() 326 Font itemFont = style()->font(); in paintItemForeground() local 328 FontDescription d = itemFont.fontDescription(); in paintItemForeground() 330 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in paintItemForeground() 331 itemFont.update(document()->styleSelector()->fontSelector()); in paintItemForeground() 340 paintInfo.context->drawBidiText(itemFont, textRun, r.location()); in paintItemForeground()
|
/external/webkit/WebCore/platform/chromium/ |
D | PopupMenuChromium.cpp | 834 Font itemFont = getRowFont(rowIndex); in paintRow() local 836 int textY = rowRect.y() + itemFont.ascent() + (rowRect.height() - itemFont.height()) / 2; in paintRow() 837 gc->drawBidiText(itemFont, textRun, IntPoint(textX, textY)); in paintRow() 843 Font itemFont = m_popupClient->menuStyle().font(); in getRowFont() local 846 FontDescription d = itemFont.fontDescription(); in getRowFont() 848 Font font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in getRowFont() 853 return itemFont; in getRowFont() 1080 Font itemFont = getRowFont(i); in layout() local 1084 y += itemFont.height(); in layout() 1089 int width = itemFont.width(TextRun(text)); in layout()
|
/external/webkit/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.
|