Lines Matching refs:Range
5 #include "ui/gfx/range/range_f.h"
17 RangeF RangeF::Intersect(const RangeF& range) const {
18 float min = std::max(GetMin(), range.GetMin());
19 float max = std::min(GetMax(), range.GetMax());
27 RangeF RangeF::Intersect(const Range& range) const {
28 RangeF range_f(range.start(), range.end());
32 Range RangeF::Floor() const {
35 return Range(start, end);
38 Range RangeF::Ceil() const {
41 return Range(start, end);
44 Range RangeF::Round() const {
47 return Range(start, end);
54 std::ostream& operator<<(std::ostream& os, const RangeF& range) {
55 return os << range.ToString();