/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 | 21 class GFX_EXPORT Vector2d { 23 Vector2d() : x_(0), y_(0) {} 24 Vector2d(int x, int y) : x_(x), y_(y) {} 36 void Add(const Vector2d& other); 38 void Subtract(const Vector2d& other); 40 void operator+=(const Vector2d& other) { Add(other); } 41 void operator-=(const Vector2d& other) { Subtract(other); } 43 void SetToMin(const Vector2d& other) { 48 void SetToMax(const Vector2d& other) { 69 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 | 10 #include "ui/gfx/geometry/vector2d.h" 25 class GFX_EXPORT Point : public PointBase<Point, int, Vector2d> { 27 Point() : PointBase<Point, int, Vector2d>(0, 0) {} 28 Point(int x, int y) : PointBase<Point, int, Vector2d>(x, y) {} 64 inline Point operator+(const Point& lhs, const Vector2d& rhs) { 70 inline Point operator-(const Point& lhs, const Vector2d& rhs) { 76 inline Vector2d operator-(const Point& lhs, const Point& rhs) { 77 return Vector2d(lhs.x() - rhs.x(), lhs.y() - rhs.y()); 80 inline Point PointAtOffsetFromOrigin(const Vector2d& offset_from_origin) { 85 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) {
|
rect.h | 22 #include "ui/gfx/geometry/vector2d.h" 37 : public RectBase<Rect, Point, Size, Insets, Vector2d, int> { 39 Rect() : RectBase<Rect, Point, Size, Insets, Vector2d, int>(Point()) {} 42 : RectBase<Rect, Point, Size, Insets, Vector2d, int> 46 : RectBase<Rect, Point, Size, Insets, Vector2d, int> 56 : RectBase<Rect, Point, Size, Insets, Vector2d, int>(size) {} 59 : RectBase<Rect, Point, Size, Insets, Vector2d, int>(origin, size) {} 86 GFX_EXPORT Rect operator+(const Rect& lhs, const Vector2d& rhs); 87 GFX_EXPORT Rect operator-(const Rect& lhs, const Vector2d& rhs); 89 inline Rect operator+(const Vector2d& lhs, const Rect& rhs) [all...] |
/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 | 38 virtual void ScrollContainerViewTo(gfx::Vector2d new_value) = 0; 48 virtual void UpdateScrollState(gfx::Vector2d max_scroll_offset, 55 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_;
|
render_view_host_delegate_view.h | 20 class Vector2d; 61 const gfx::Vector2d& image_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;
|
image_layer_updater.h | 26 const gfx::Vector2d& dest_offset, 43 const gfx::Vector2d& dest_offset,
|
/external/chromium_org/cc/trees/ |
layer_tree_host_client.h | 13 class Vector2d; 29 virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta,
|
/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/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.
|