Lines Matching full:vector2d
552 gfx::Vector2d dest_offset = source_rect.origin() - anchor;
557 gfx::Vector2d paint_offset = source_rect.origin() - paint_rect.origin();
685 gfx::Rect ExpandRectByDelta(gfx::Rect rect, gfx::Vector2d delta) {
703 gfx::Vector2d delta = visible_content_rect().CenterPoint() -
711 gfx::Vector2d major_scroll_delta =
713 gfx::Vector2d(delta.x(), 0) :
714 gfx::Vector2d(0, delta.y());
802 gfx::Vector2d delta = -predicted_scroll_;
803 delta = gfx::Vector2d(delta.x() == 0 ? 1 : delta.x(),
805 gfx::Vector2d major_delta =
806 (std::abs(delta.x()) > std::abs(delta.y())) ? gfx::Vector2d(delta.x(), 0)
807 : gfx::Vector2d(0, delta.y());
808 gfx::Vector2d minor_delta =
809 (std::abs(delta.x()) <= std::abs(delta.y())) ? gfx::Vector2d(delta.x(), 0)
810 : gfx::Vector2d(0, delta.y());
811 gfx::Vector2d deltas[4] = { major_delta, minor_delta, -major_delta,