HomeSort by relevance Sort by last modified time
    Searched refs:Vector2d (Results 1 - 25 of 311) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/ui/gfx/geometry/
vector2d_conversions.h 8 #include "ui/gfx/geometry/vector2d.h"
13 // Returns a Vector2d with each component from the input Vector2dF floored.
14 GFX_EXPORT Vector2d ToFlooredVector2d(const Vector2dF& vector2d);
16 // Returns a Vector2d with each component from the input Vector2dF ceiled.
17 GFX_EXPORT Vector2d ToCeiledVector2d(const Vector2dF& vector2d);
19 // Returns a Vector2d with each component from the input Vector2dF rounded.
20 GFX_EXPORT Vector2d ToRoundedVector2d(const Vector2dF& vector2d);
    [all...]
vector2d.cc 5 #include "ui/gfx/geometry/vector2d.h"
13 bool Vector2d::IsZero() const {
17 void Vector2d::Add(const Vector2d& other) {
22 void Vector2d::Subtract(const Vector2d& other) {
27 int64 Vector2d::LengthSquared() const {
31 float Vector2d::Length() const {
35 std::string Vector2d::ToString() const {
vector2d.h 22 class GFX_EXPORT Vector2d {
24 Vector2d() : x_(0), y_(0) {}
25 Vector2d(int x, int y) : x_(x), y_(y) {}
37 void Add(const Vector2d& other);
39 void Subtract(const Vector2d& other);
41 void operator+=(const Vector2d& other) { Add(other); }
42 void operator-=(const Vector2d& other) { Subtract(other); }
44 void SetToMin(const Vector2d& other) {
49 void SetToMax(const Vector2d& other) {
70 inline bool operator==(const Vector2d& lhs, const Vector2d& rhs)
    [all...]
vector2d_conversions.cc 11 Vector2d ToFlooredVector2d(const Vector2dF& vector2d) {
12 int x = ToFlooredInt(vector2d.x());
13 int y = ToFlooredInt(vector2d.y());
14 return Vector2d(x, y);
17 Vector2d ToCeiledVector2d(const Vector2dF& vector2d) {
18 int x = ToCeiledInt(vector2d.x());
19 int y = ToCeiledInt(vector2d.y());
20 return Vector2d(x, y)
    [all...]
point.h 13 #include "ui/gfx/geometry/vector2d.h"
28 class GFX_EXPORT Point : public PointBase<Point, int, Vector2d> {
30 Point() : PointBase<Point, int, Vector2d>(0, 0) {}
31 Point(int x, int y) : PointBase<Point, int, Vector2d>(x, y) {}
67 inline Point operator+(const Point& lhs, const Vector2d& rhs) {
73 inline Point operator-(const Point& lhs, const Vector2d& rhs) {
79 inline Vector2d operator-(const Point& lhs, const Point& rhs) {
80 return Vector2d(lhs.x() - rhs.x(), lhs.y() - rhs.y());
83 inline Point PointAtOffsetFromOrigin(const Vector2d& offset_from_origin) {
88 extern template class PointBase<Point, int, Vector2d>;
    [all...]
vector2d_unittest.cc 10 #include "ui/gfx/geometry/vector2d.h"
16 Vector2d i(3, 4);
22 Vector2d int_zero(0, 0);
23 Vector2d int_nonzero(2, -2);
34 Vector2d i1(3, 5);
35 Vector2d i2(4, -1);
38 Vector2d expected;
39 Vector2d actual;
41 { Vector2d(3, 5), i1 + Vector2d() },
    [all...]
point.cc 15 template class PointBase<Point, int, Vector2d>;
18 Point::Point(DWORD point) : PointBase<Point, int, Vector2d>(0, 0){
25 : PointBase<Point, int, Vector2d>(point.x, point.y) {
42 : PointBase<Point, int, Vector2d>(point.x, point.y) {
  /external/chromium_org/ui/wm/public/
animation_host.h 12 class Vector2d;
31 const gfx::Vector2d& top_left_delta,
32 const gfx::Vector2d& bottom_right_delta) = 0;
  /external/chromium_org/android_webview/browser/
browser_view_renderer_client.h 41 virtual void ScrollContainerViewTo(gfx::Vector2d new_value) = 0;
51 virtual void UpdateScrollState(gfx::Vector2d max_scroll_offset,
58 virtual void DidOverscroll(gfx::Vector2d overscroll_delta) = 0;
  /external/chromium_org/content/browser/renderer_host/
render_widget_host_view_mac_dictionary_helper.h 9 #include "ui/gfx/vector2d.h"
30 void set_offset(const gfx::Vector2d& offset) { offset_ = offset; }
43 gfx::Vector2d offset_;
  /external/eigen/unsupported/doc/examples/
BVH_Example.cpp 10 Box2d bounding_box(const Vector2d &v) { return Box2d(v, v); } //compute the bounding box of a single point
20 double minimumOnVolumeObject(const Box2d &r, const Vector2d &v) { ++calls; return r.squaredExteriorDistance(v); }
21 double minimumOnObjectVolume(const Vector2d &v, const Box2d &r) { ++calls; return r.squaredExteriorDistance(v); }
22 double minimumOnObjectObject(const Vector2d &v1, const Vector2d &v2) { ++calls; return (v1 - v2).squaredNorm(); }
29 typedef std::vector<Vector2d, aligned_allocator<Vector2d> > StdVectorOfVector2d;
32 redPoints.push_back(Vector2d::Random());
33 bluePoints.push_back(Vector2d::Random());
47 KdBVH<double, 2, Vector2d> redTree(redPoints.begin(), redPoints.end()), blueTree(bluePoints.begin(), bluePoints.end()); //co (…)
    [all...]
  /external/chromium_org/ui/base/dragdrop/
drag_utils.h 19 class Vector2d;
40 const gfx::Vector2d& cursor_offset,
46 const gfx::Vector2d& cursor_offset,
drag_utils_aura.cc 12 #include "ui/gfx/vector2d.h"
17 const gfx::Vector2d& cursor_offset,
  /external/chromium_org/cc/resources/
resource_update.h 10 #include "ui/gfx/vector2d.h"
23 const gfx::Vector2d& dest_offset);
32 gfx::Vector2d dest_offset;
  /external/chromium_org/cc/trees/
layer_tree_host_client.h 13 class Vector2d;
30 virtual void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta,
  /external/chromium_org/ui/app_list/
pagination_controller.h 11 class Vector2d;
39 bool OnScroll(const gfx::Vector2d& offset);
  /external/chromium_org/ui/app_list/views/
app_list_drag_and_drop_host.h 12 class Vector2d;
31 const gfx::Vector2d& cursor_offset_from_center,
  /external/ceres-solver/internal/ceres/
dogleg_strategy.h 79 typedef Eigen::Matrix<double, 2, 1, Eigen::DontAlign> Vector2d;
92 bool FindMinimumOnTrustRegionBoundary(Vector2d* minimum) const;
94 Vector2d ComputeSubspaceStepFromRoot(double lambda) const;
95 double EvaluateSubspaceModel(const Vector2d& x) const;
158 Vector2d subspace_g_;
  /external/chromium_org/android_webview/native/
java_browser_view_renderer_helper.h 28 const gfx::Vector2d& scroll_correction,
35 const gfx::Vector2d& scroll_correction,
  /external/chromium_org/chrome/browser/ui/panels/
native_panel_stack_window.h 15 class Vector2d;
74 virtual void MovePanelsBy(const gfx::Vector2d& delta) = 0;
  /external/chromium_org/ui/gfx/
blit.h 17 class Vector2d;
48 const Vector2d& offset);
  /external/chromium_org/ui/views/widget/desktop_aura/
x11_desktop_window_move_client.h 41 const gfx::Vector2d& drag_offset,
55 gfx::Vector2d window_offset_;
  /external/chromium_org/chrome/browser/extensions/api/automation_internal/
automation_util.h 31 const gfx::Vector2d& location_offset);
  /external/chromium_org/content/common/input/
synthetic_smooth_scroll_gesture_params.h 13 #include "ui/gfx/vector2d.h"
28 std::vector<gfx::Vector2d> distances; // Positive X/Y to scroll left/up.
  /external/chromium_org/ui/accessibility/platform/
ax_platform_node_delegate.h 10 #include "ui/gfx/geometry/vector2d.h"
33 virtual gfx::Vector2d GetGlobalCoordinateOffset() = 0;

Completed in 2288 milliseconds

1 2 3 4 5 6 7 8 91011>>