Searched refs:relative_location (Results 1 – 1 of 1) sorted by relevance
714 gfx::Point relative_location = location; in AvoidMouse() local717 relative_location.set_x(top_right_x - relative_location.x()); in AvoidMouse()719 relative_location.set_x( in AvoidMouse()720 relative_location.x() - (top_left.x() + position_.x())); in AvoidMouse()722 relative_location.set_y( in AvoidMouse()723 relative_location.y() - (top_left.y() + position_.y())); in AvoidMouse()727 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()736 if (relative_location.x() > size_.width()) { in AvoidMouse()[all …]