Home | History | Annotate | Download | only in ui

Lines Matching refs:Point

25 class Point : public LightFlattenablePod<Point>
34 // Default constructor doesn't initialize the Point
35 inline Point() {
37 inline Point(int x, int y) : x(x), y(y) {
40 inline bool operator == (const Point& rhs) const {
43 inline bool operator != (const Point& rhs) const {
53 bool operator < (const Point& rhs) const {
57 inline Point& operator - () {
63 inline Point& operator += (const Point& rhs) {
68 inline Point& operator -= (const Point& rhs) {
74 const Point operator + (const Point& rhs) const {
75 const Point result(x+rhs.x, y+rhs.y);
78 const Point operator - (const Point& rhs) const {
79 const Point result(x-rhs.x, y-rhs.y);
84 ANDROID_BASIC_TYPES_TRAITS(Point)