Searched refs:SquareForPoint (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/ppapi/examples/2d/
H A Dpaint_manager_example.cc22 pp::Rect SquareForPoint(int x, int y) { function
114 pp::Rect square = SquareForPoint(last_x_, last_y_);
133 paint_manager_.InvalidateRect(SquareForPoint(last_x_, last_y_));
140 paint_manager_.InvalidateRect(SquareForPoint(last_x_, last_y_));
/external/chromium_org/ppapi/examples/input/
H A Dpointer_event_input.cc22 pp::Rect SquareForPoint(int x, int y) { function
132 pp::Rect square = SquareForPoint(last_x_, last_y_);
151 paint_manager_.InvalidateRect(SquareForPoint(last_x_, last_y_));
158 paint_manager_.InvalidateRect(SquareForPoint(last_x_, last_y_));

Completed in 50 milliseconds