Home | History | Annotate | Download | only in ash

Lines Matching defs:grid

35   int grid = kMinimumWindowOffset;
36 popup_position_offset_from_screen_corner_x = grid;
37 popup_position_offset_from_screen_corner_y = grid;
44 pop_position_offset_increment_x = grid;
45 pop_position_offset_increment_y = grid;
58 return AlignPopupPosition(old_pos, work_area, grid);
59 const gfx::Rect result = SmartPopupPosition(old_pos, work_area, grid);
61 return AlignPopupPosition(result, work_area, grid);
101 int grid) {
131 // be served anymore. Then the next grid position to the right will be
169 int grid) {
170 if (grid <= 1)
173 int x = pos.x() - (pos.x() - work_area.x()) % grid;
174 int y = pos.y() - (pos.y() - work_area.y()) % grid;
180 if (abs(pos.right() - work_area.right()) < grid)
182 if (abs(pos.bottom() - work_area.bottom()) < grid)