Home | History | Annotate | Download | only in mac

Lines Matching refs:m_scrollableArea

531     float newPos = std::max<float>(std::min<float>(currentPos + (step * multiplier), static_cast<float>(m_scrollableArea->scrollSize(orientation))), 0);
554 if (!m_scrollableArea->constrainsScrollingToContentEdge())
557 return max<float>(min<float>(position, m_scrollableArea->contentsSize().width() - m_scrollableArea->visibleWidth()), 0);
562 if (!m_scrollableArea->constrainsScrollingToContentEdge())
565 return max<float>(min<float>(position, m_scrollableArea->contentsSize().height() - m_scrollableArea->visibleHeight()), 0);
570 if (!m_scrollableArea->constrainsScrollingToContentEdge())
573 float newX = max<float>(min<float>(position.x(), m_scrollableArea->contentsSize().width() - m_scrollableArea->visibleWidth()), 0);
574 float newY = max<float>(min<float>(position.y(), m_scrollableArea->contentsSize().height() - m_scrollableArea->visibleHeight()), 0);
848 limitDelta.setHeight(m_scrollableArea->visibleContentRect().y() + + m_scrollableArea->scrollOrigin().y());
851 limitDelta.setHeight(m_scrollableArea->contentsSize().height() - (m_scrollableArea->visibleContentRect().maxY() + m_scrollableArea->scrollOrigin().y()));
856 limitDelta.setWidth(m_scrollableArea->visibleContentRect().x() + m_scrollableArea->scrollOrigin().x());
859 limitDelta.setWidth(m_scrollableArea->contentsSize().width() - (m_scrollableArea->visibleContentRect().maxX() + m_scrollableArea->scrollOrigin().x()));
870 switch (m_scrollableArea->verticalScrollElasticity()) {
872 Scrollbar* hScroller = m_scrollableArea->horizontalScrollbar();
873 Scrollbar* vScroller = m_scrollableArea->verticalScrollbar();
888 switch (m_scrollableArea->horizontalScrollElasticity()) {
890 Scrollbar* hScroller = m_scrollableArea->horizontalScrollbar();
891 Scrollbar* vScroller = m_scrollableArea->verticalScrollbar();
930 IntSize stretchAmount = m_scrollableArea->overhangAmount();
1006 m_scrollableArea->setConstrainsScrollingToContentEdge(false);
1008 m_scrollableArea->setConstrainsScrollingToContentEdge(true);
1019 m_scrollableArea->setConstrainsScrollingToContentEdge(false);
1021 m_scrollableArea->setConstrainsScrollingToContentEdge(true);
1026 IntSize stretchAmount = m_scrollableArea->overhangAmount();
1040 FloatPoint origOrigin = (m_scrollableArea->visibleContentRect().location() + m_scrollableArea->scrollOrigin()) - stretchAmount;
1044 m_scrollableArea->setConstrainsScrollingToContentEdge(false);
1046 m_scrollableArea->setConstrainsScrollingToContentEdge(true);
1069 IntSize stretchAmount = m_scrollableArea->overhangAmount();
1125 m_startStretch = m_scrollableArea->overhangAmount();
1137 m_origOrigin = (m_scrollableArea->visibleContentRect().location() + m_scrollableArea->scrollOrigin()) - m_startStretch;
1145 Scrollbar* hScroller = m_scrollableArea->horizontalScrollbar();
1150 Scrollbar* vScroller = m_scrollableArea->verticalScrollbar();
1161 m_scrollableArea->setConstrainsScrollingToContentEdge(false);
1163 m_scrollableArea->setConstrainsScrollingToContentEdge(true);
1165 FloatSize newStretch = m_scrollableArea->overhangAmount();
1172 m_scrollableArea->didCompleteRubberBand(roundedIntSize(m_startStretch));