Searched refs:kMousePadding (Results 1 – 3 of 3) sorted by relevance
36 const int kMousePadding = 20; variable204 bubble_rect.x() - bubble_rect.height() - kMousePadding; in MouseMoved()206 bubble_rect.right() + bubble_rect.height() + kMousePadding; in MouseMoved()207 int top_threshold = bubble_rect.y() - kMousePadding; in MouseMoved()
44 static const int kMousePadding = 20; variable727 if (relative_location.y() > -kMousePadding && in AvoidMouse()728 relative_location.x() < size_.width() + kMousePadding) { in AvoidMouse()729 int offset = kMousePadding + relative_location.y(); in AvoidMouse()732 offset = offset * offset / kMousePadding; in AvoidMouse()738 static_cast<float>(kMousePadding - in AvoidMouse()740 static_cast<float>(kMousePadding))); in AvoidMouse()
31 const int kMousePadding = 20;291 if (cursor_location.y < kMousePadding &&292 cursor_location.x < kMousePadding) {293 int offset = kMousePadding - cursor_location.y;296 offset = offset * offset / kMousePadding;301 offset = offset * ((kMousePadding - cursor_location.x) / kMousePadding);