HomeSort by relevance Sort by last modified time
    Searched full:m_buttonsize (Results 1 - 2 of 2) sorted by null

  /external/webkit/Source/WebKit/win/
FullscreenVideoController.h 95 float value() const { return static_cast<float>(m_buttonPosition) / (m_rect.width() - m_buttonSize); }
96 void setValue(float value) { m_buttonPosition = static_cast<int>(value * (m_rect.width() - m_buttonSize)); }
100 int m_buttonSize;
FullscreenVideoController.cpp 125 , m_buttonSize(buttonSize)
142 context.drawEllipse(IntRect(m_rect.location().x() + m_buttonPosition, m_rect.location().y() - (m_buttonSize - m_rect.height()) / 2, m_buttonSize, m_buttonSize));
148 float half = static_cast<float>(m_buttonSize) / 2;
151 points[1].setX(m_rect.location().x() + m_buttonPosition + m_buttonSize);
154 points[2].setY(m_rect.location().y() + m_buttonSize);
167 if (relativeX >= m_buttonPosition && relativeX <= m_buttonPosition + m_buttonSize)
170 m_dragStartOffset = m_rect.location().x() + m_buttonSize / 2;
173 m_buttonPosition = max(0, min(m_rect.width() - m_buttonSize, point.x() - m_dragStartOffset))
    [all...]

Completed in 66 milliseconds