float Axis::GetPageEnd() { return GetPageStart() + GetPageLength(); }
bool Axis::Scrollable() { if (mAxisLocked) { return false; } return GetCompositionLength() < GetPageLength(); }
CSSCoord Axis::GetPageEnd() const { return GetPageStart() + GetPageLength(); }
bool Axis::CanScroll() const { return GetPageLength() - GetCompositionLength() > COORDINATE_EPSILON; }
bool Axis::ScaleWillOverscrollBothSides(float aScale) const { const FrameMetrics& metrics = GetFrameMetrics(); ParentLayerRect screenCompositionBounds = metrics.GetCompositionBounds() / ParentLayerToParentLayerScale(aScale); return GetRectLength(screenCompositionBounds) - GetPageLength() > COORDINATE_EPSILON; }
ParentLayerCoord Axis::GetPageEnd() const { return GetPageStart() + GetPageLength(); }