Searched refs:m_itemHeight (Results 1 – 7 of 7) sorted by relevance
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/win/ |
D | WebPopupMenuWin.cpp | 53 data.m_itemHeight = m_popupClient->menuStyle().font().fontMetrics().height() + 1; in setUpPlatformData() 81 IntSize backingStoreSize(backingStoreWidth, (itemCount * data.m_itemHeight)); in setUpPlatformData() 91 for (int y = 0; y < backingStoreSize.height(); y += data.m_itemHeight) { in setUpPlatformData() 92 int index = y / data.m_itemHeight; in setUpPlatformData() 99 IntRect itemRect(0, y, backingStoreWidth, data.m_itemHeight); in setUpPlatformData()
|
/external/webkit/Source/WebKit2/Shared/ |
D | PlatformPopupMenuData.cpp | 40 , m_itemHeight(0) in PlatformPopupMenuData() 53 encoder->encode(m_itemHeight); in encode() 81 if (!decoder->decode(data.m_itemHeight)) in decode()
|
D | PlatformPopupMenuData.h | 52 int m_itemHeight; member
|
/external/webkit/Source/WebCore/platform/win/ |
D | PopupMenuWin.cpp | 97 , m_itemHeight(0) in PopupMenuWin() 308 m_itemHeight = client()->menuStyle().font().fontMetrics().height() + optionSpacingMiddle; in calculatePositionAndSize() 309 int naturalHeight = m_itemHeight * itemCount; in calculatePositionAndSize() 312 popupHeight -= popupHeight % m_itemHeight; in calculatePositionAndSize() 406 return clientRect().height() / m_itemHeight; in visibleItems() 411 return m_scrollOffset + point.y() / m_itemHeight; in listIndexAtPoint() 491 damageRect.setY(m_itemHeight * (index - m_scrollOffset)); in invalidateItem() 492 damageRect.setHeight(m_itemHeight); in invalidateItem() 602 listRect.move(IntSize(0, m_scrollOffset * m_itemHeight)); in paint() 604 for (int y = listRect.y(); y < listRect.maxY(); y += m_itemHeight) { in paint() [all …]
|
D | PopupMenuWin.h | 62 int itemHeight() const { return m_itemHeight; } in itemHeight() 121 int m_itemHeight; variable
|
/external/webkit/Source/WebKit2/UIProcess/win/ |
D | WebPopupMenuProxyWin.cpp | 170 , m_itemHeight(0) in WebPopupMenuProxyWin() 372 m_itemHeight = m_data.m_itemHeight; in calculatePositionAndSize() 374 int naturalHeight = m_itemHeight * itemCount; in calculatePositionAndSize() 378 popupHeight -= popupHeight % m_itemHeight; in calculatePositionAndSize() 447 damageRect.setY(m_itemHeight * (index - m_scrollOffset)); in invalidateItem() 448 damageRect.setHeight(m_itemHeight); in invalidateItem() 497 ::ScrollWindowEx(m_popup, 0, scrolledLines * m_itemHeight, &r, 0, 0, 0, flags); in scrollTo() 839 translatedDamageRect.move(IntSize(0, m_scrollOffset * m_itemHeight)); in paint() 842 …xRectInBackingStore(0, focusedIndex() * m_itemHeight, m_data.m_selectedBackingStore->size().width(… in paint() 844 selectedIndexDstPoint.move(0, -m_scrollOffset * m_itemHeight); in paint() [all …]
|
D | WebPopupMenuProxyWin.h | 97 int itemHeight() const { return m_itemHeight; } in itemHeight() 132 int m_itemHeight; variable
|