/external/chromium_org/ui/gfx/geometry/ |
H A D | vector2d_conversions.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);
|
H A D | vector2d.cc | 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 {
|
H A D | vector2d.h | 22 class GFX_EXPORT Vector2d { class in namespace:gfx 24 Vector2d() : x_(0), y_(0) {} function in class:gfx::Vector2d 25 Vector2d(int x, int y) : x_(x), y_(y) {} function in class:gfx::Vector2d 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 [all...] |
H A D | vector2d_conversions.cc | 11 Vector2d ToFlooredVector2d(const Vector2dF& vector2d) { 14 return Vector2d(x, y); 17 Vector2d ToCeiledVector2d(const Vector2dF& vector2d) { 20 return Vector2d(x, y); 23 Vector2d ToRoundedVector2d(const Vector2dF& vector2d) { 26 return Vector2d(x, y);
|
H A D | point.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>;
|
H A D | vector2d_unittest.cc | 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() }, 42 { Vector2d( [all...] |
H A D | 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) {
|
H A D | rect.h | 38 : public RectBase<Rect, Point, Size, Insets, Vector2d, int> { 40 Rect() : RectBase<Rect, Point, Size, Insets, Vector2d, int>(Point()) {} 43 : RectBase<Rect, Point, Size, Insets, Vector2d, int> 47 : RectBase<Rect, Point, Size, Insets, Vector2d, int> 57 : RectBase<Rect, Point, Size, Insets, Vector2d, int>(size) {} 60 : RectBase<Rect, Point, Size, Insets, Vector2d, int>(origin, size) {} 87 GFX_EXPORT Rect operator+(const Rect& lhs, const Vector2d& rhs); 88 GFX_EXPORT Rect operator-(const Rect& lhs, const Vector2d& rhs); 90 inline Rect operator+(const Vector2d& lhs, const Rect& rhs) { 135 extern template class RectBase<Rect, Point, Size, Insets, Vector2d, in [all...] |
/external/chromium_org/ui/wm/public/ |
H A D | animation_host.h | 12 class Vector2d; 31 const gfx::Vector2d& top_left_delta, 32 const gfx::Vector2d& bottom_right_delta) = 0;
|
/external/eigen/unsupported/doc/examples/ |
H A D | 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> redTre [all...] |
/external/chromium_org/android_webview/browser/ |
H A D | 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/ui/base/dragdrop/ |
H A D | drag_utils_aura.cc | 17 const gfx::Vector2d& cursor_offset,
|
H A D | drag_utils.h | 19 class Vector2d; 40 const gfx::Vector2d& cursor_offset, 46 const gfx::Vector2d& cursor_offset,
|
/external/chromium_org/cc/resources/ |
H A D | resource_update.h | 23 const gfx::Vector2d& dest_offset); 32 gfx::Vector2d dest_offset;
|
H A D | image_layer_updater.h | 26 const gfx::Vector2d& dest_offset, 43 const gfx::Vector2d& dest_offset,
|
H A D | image_layer_updater.cc | 19 const gfx::Vector2d& dest_offset, 39 const gfx::Vector2d& dest_offset, 47 gfx::Vector2d clipped_dest_offset = 49 gfx::Vector2d(clipped_source_rect.origin() - source_rect.origin());
|
/external/chromium_org/content/browser/renderer_host/ |
H A D | render_widget_host_view_mac_dictionary_helper.h | 30 void set_offset(const gfx::Vector2d& offset) { offset_ = offset; } 43 gfx::Vector2d offset_;
|
/external/ceres-solver/internal/ceres/ |
H A D | dogleg_strategy.h | 79 typedef Eigen::Matrix<double, 2, 1, Eigen::DontAlign> Vector2d; typedef in class:ceres::internal::DoglegStrategy 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/cc/trees/ |
H A D | layer_tree_host_client.h | 13 class Vector2d; 30 virtual void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta,
|
/external/chromium_org/ui/app_list/ |
H A D | pagination_controller.h | 11 class Vector2d; 39 bool OnScroll(const gfx::Vector2d& offset);
|
/external/chromium_org/ui/app_list/views/ |
H A D | app_list_drag_and_drop_host.h | 12 class Vector2d; 31 const gfx::Vector2d& cursor_offset_from_center,
|
/external/chromium_org/chrome/browser/extensions/api/automation_internal/ |
H A D | automation_util.h | 31 const gfx::Vector2d& location_offset);
|
/external/chromium_org/android_webview/native/ |
H A D | java_browser_view_renderer_helper.h | 28 const gfx::Vector2d& scroll_correction, 35 const gfx::Vector2d& scroll_correction,
|
/external/chromium_org/ui/gfx/ |
H A D | blit.h | 17 class Vector2d; 48 const Vector2d& offset);
|
/external/chromium_org/ui/views/widget/desktop_aura/ |
H A D | x11_desktop_window_move_client.h | 41 const gfx::Vector2d& drag_offset, 55 gfx::Vector2d window_offset_;
|