Home
last modified time | relevance | path

Searched refs:GetClampedValue (Results 1 – 1 of 1) sorted by relevance

/external/libchrome/ui/gfx/geometry/
Drect.h42 size_(GetClampedValue(x, width), GetClampedValue(y, height)) {} in Rect()
46 size_(GetClampedValue(origin.x(), size.width()), in Rect()
47 GetClampedValue(origin.y(), size.height())) {} in Rect()
67 size_.set_width(GetClampedValue(x, width())); in set_x()
74 size_.set_height(GetClampedValue(y, height())); in set_y()
78 void set_width(int width) { size_.set_width(GetClampedValue(x(), width)); } in set_width()
82 size_.set_height(GetClampedValue(y(), height)); in set_height()
234 static constexpr int GetClampedValue(int origin, int size) { in GetClampedValue() function