Home
last modified time | relevance | path

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

/external/chromium_org/ppapi/examples/2d/
Dpaint_manager_example.cc45 last_x_(0), in MyInstance()
114 pp::Rect square = SquareForPoint(last_x_, last_y_); in OnPaint()
128 if (x == last_x_ && y == last_y_) in UpdateSquare()
133 paint_manager_.InvalidateRect(SquareForPoint(last_x_, last_y_)); in UpdateSquare()
136 last_x_ = x; in UpdateSquare()
140 paint_manager_.InvalidateRect(SquareForPoint(last_x_, last_y_)); in UpdateSquare()
145 int last_x_; member in MyInstance
/external/chromium_org/ppapi/examples/input/
Dpointer_event_input.cc45 last_x_(0), in MyInstance()
132 pp::Rect square = SquareForPoint(last_x_, last_y_); in OnPaint()
146 if (x == last_x_ && y == last_y_) in UpdateSquare()
151 paint_manager_.InvalidateRect(SquareForPoint(last_x_, last_y_)); in UpdateSquare()
154 last_x_ = x; in UpdateSquare()
158 paint_manager_.InvalidateRect(SquareForPoint(last_x_, last_y_)); in UpdateSquare()
163 int last_x_; member in MyInstance