/external/chromium_org/ui/gfx/ |
point3_f.h | 17 class GFX_EXPORT Point3F { 19 Point3F() : x_(0), y_(0), z_(0) {} 21 Point3F(float x, float y, float z) : x_(x), y_(y), z_(z) {} 23 explicit Point3F(const PointF& point) : x_(point.x()), y_(point.y()), z_(0) {} 25 ~Point3F() {} 64 float SquaredDistanceTo(const Point3F& other) const { 84 inline bool operator==(const Point3F& lhs, const Point3F& rhs) { 88 inline bool operator!=(const Point3F& lhs, const Point3F& rhs) [all...] |
point3_unittest.cc | 13 gfx::Point3F a(1.6f, 5.1f, 3.2f); 18 gfx::Point3F expected; 19 gfx::Point3F actual; 21 { gfx::Point3F(4.7f, 1.9f, 12.5f), a + v1 }, 22 { gfx::Point3F(-1.5f, 8.3f, -6.1f), a - v1 }, 26 { gfx::Point3F(12.8f, 0.7f, 9.2f), a + v1 - v2 }, 27 { gfx::Point3F(-9.6f, 9.5f, -2.8f), a - v1 + v2 } 35 EXPECT_EQ(Point3F(4.7f, 1.9f, 12.5f).ToString(), a.ToString()); 38 EXPECT_EQ(Point3F(12.8f, 0.7f, 9.2f).ToString(), a.ToString()); 42 gfx::Point3F a(1.6f, 5.2f, 3.2f) [all...] |
point3_f.cc | 11 std::string Point3F::ToString() const { 15 Point3F operator+(const Point3F& lhs, const Vector3dF& rhs) { 19 return Point3F(x, y, z); 24 Point3F operator-(const Point3F& lhs, const Vector3dF& rhs) { 28 return Point3F(x, y, z); 33 Vector3dF operator-(const Point3F& lhs, const Point3F& rhs) {
|
transform_util_unittest.cc | 142 Point3F point; 144 point = Point3F(viewport.origin()); 146 EXPECT_EQ(Point3F(31.f, 20.f, 10.f), point) << "Transformed origin"; 148 point = Point3F(viewport.top_right()); 150 EXPECT_EQ(Point3F(31.f, 1940.f, 10.f), point) << "Transformed top-right"; 152 point = Point3F(viewport.bottom_left()); 154 EXPECT_EQ(Point3F(-3569.f, 20.f, 10.f), point) << "Transformed bottom-left"; 156 point = Point3F(viewport.bottom_right()); 158 EXPECT_EQ(Point3F(-3569.f, 1940.f, 10.f), point)
|
box_f.cc | 28 void BoxF::ExpandTo(const Point3F& min, const Point3F& max) { 56 void BoxF::ExpandTo(const Point3F& point) { 61 ExpandTo(box.origin(), gfx::Point3F(box.right(), box.bottom(), box.front()));
|
box_f.h | 33 BoxF(const Point3F& origin, float width, float height, float depth) 94 const Point3F& origin() const { return origin_; } 95 void set_origin(const Point3F& origin) { origin_ = origin; } 100 void ExpandTo(const Point3F& point); 114 void ExpandTo(const Point3F& min, const Point3F& max); 116 Point3F origin_;
|
interpolated_transform.h | 146 InterpolatedScale(const gfx::Point3F& start_scale, 147 const gfx::Point3F& end_scale); 148 InterpolatedScale(const gfx::Point3F& start_scale, 149 const gfx::Point3F& end_scale, 158 const gfx::Point3F start_scale_; 159 const gfx::Point3F end_scale_;
|
transform.h | 20 class Point3F; 188 void TransformPoint(Point3F* point) const; 195 bool TransformPointReverse(Point3F* point) const; 256 Point3F* point) const;
|
interpolated_transform.cc | 200 start_scale_(gfx::Point3F(start_scale, start_scale, start_scale)), 201 end_scale_(gfx::Point3F(end_scale, end_scale, end_scale)) { 207 start_scale_(gfx::Point3F(start_scale, start_scale, start_scale)), 208 end_scale_(gfx::Point3F(end_scale, end_scale, end_scale)) { 211 InterpolatedScale::InterpolatedScale(const gfx::Point3F& start_scale, 212 const gfx::Point3F& end_scale) 218 InterpolatedScale::InterpolatedScale(const gfx::Point3F& start_scale, 219 const gfx::Point3F& end_scale,
|
interpolated_transform_unittest.cc | 40 ui::InterpolatedScale interpolated_scale(gfx::Point3F(0, 0, 0), 41 gfx::Point3F(100, 100, 100)); 43 gfx::Point3F(0, 0, 0), gfx::Point3F(100, 100, 100), 100, 200); 95 new ui::InterpolatedScale(gfx::Point3F(1, 1, 1), gfx::Point3F(2, 2, 2))); 187 new ui::InterpolatedScale(gfx::Point3F(1, 1, 1), 188 gfx::Point3F(scale_x, scale_y, 1)));
|
box_unittest.cc | 23 BoxF(Point3F(2.f, 4.f, 6.f), 3.f, 5.f, 7.f).ToString()); 25 BoxF(Point3F(2.f, 4.f, 6.f), -3.f, -5.f, -7.f).ToString()); 86 Point3F point1(0.5f, 0.5f, 0.5f); 87 Point3F point2(-0.5f, -0.5f, -0.5f);
|
transform.cc | 401 void Transform::TransformPoint(Point3F* point) const { 418 bool Transform::TransformPointReverse(Point3F* point) const { 459 gfx::Point3F point = box->origin(); 497 Point3F* point) const {
|
transform_unittest.cc | 73 bool PointsAreNearlyEqual(const Point3F& lhs, 74 const Point3F& rhs) { 236 Point3F p1(value.x1, value.y1, 0); 237 Point3F p2(value.x2, value.y2, 0); 265 Point3F p1(value.before, value.before, 0); 266 Point3F p2(value.after, value.after, 0); 296 Point3F p1(value.x1, value.y1, 0); 297 Point3F p2(value.x2, value.y2, 0); 323 Point3F p0, p1, p2; 370 Point3F p0, p1, p2 [all...] |
transform_util.cc | 241 Point3F point_original(point); 242 Point3F point_transformed(point);
|
/external/chromium_org/cc/base/ |
math_util.h | 53 gfx::Point3F CartesianPoint3d() const { 55 return gfx::Point3F(x(), y(), z()); 61 return gfx::Point3F(x() * inv_w, y() * inv_w, z() * inv_w); 135 static gfx::Point3F MapPoint(const gfx::Transform&, 136 const gfx::Point3F&,
|
math_util.cc | 46 const gfx::Point3F& p) { 162 MapHomogeneousPoint(transform, gfx::Point3F(src_quad.p1())); 164 MapHomogeneousPoint(transform, gfx::Point3F(src_quad.p2())); 166 MapHomogeneousPoint(transform, gfx::Point3F(src_quad.p3())); 168 MapHomogeneousPoint(transform, gfx::Point3F(src_quad.p4())); 339 MapHomogeneousPoint(transform, gfx::Point3F(q.p1())); 341 MapHomogeneousPoint(transform, gfx::Point3F(q.p2())); 343 MapHomogeneousPoint(transform, gfx::Point3F(q.p3())); 345 MapHomogeneousPoint(transform, gfx::Point3F(q.p4())); 361 HomogeneousCoordinate h = MapHomogeneousPoint(transform, gfx::Point3F(p)) [all...] |
/external/chromium_org/webkit/renderer/compositor_bindings/ |
web_layer_impl_fixed_bounds_unittest.cc | 33 gfx::Point3F TransformPoint(const gfx::Transform& transform, 34 const gfx::Point3F& point) { 35 gfx::Point3F result = point; 52 gfx::Point3F original_point(10, 20, 1); 53 gfx::Point3F scaled_point(
|
/external/chromium_org/cc/animation/ |
transform_operation.cc | 231 static void BoundingBoxForArc(const gfx::Point3F& point, 282 gfx::Point3F point_rotated_from = point; 284 gfx::Point3F point_rotated_to = point; 304 gfx::Point3F origin; 306 gfx::Point3F center = 322 gfx::Point3F px(1.f, 0.f, 0.f); 324 gfx::Point3F px_projected = 328 gfx::Point3F pz(0.f, 0.f, 1.f); 330 gfx::Point3F pz_projected = 359 gfx::Point3F rotated = point [all...] |
/external/chromium_org/cc/trees/ |
layer_sorter.cc | 225 gfx::Point3F c1 = 226 MathUtil::MapPoint(draw_transform, gfx::Point3F(0.f, 0.f, 0.f), &clipped); 227 gfx::Point3F c2 = 228 MathUtil::MapPoint(draw_transform, gfx::Point3F(0.f, 1.f, 0.f), &clipped); 229 gfx::Point3F c3 = 230 MathUtil::MapPoint(draw_transform, gfx::Point3F(1.f, 0.f, 0.f), &clipped); 247 gfx::Vector3dF w = gfx::Point3F(p) - transform_origin;
|
layer_sorter.h | 48 gfx::Point3F transform_origin;
|
/external/chromium_org/ash/wm/ |
window_animations.cc | 86 new ui::InterpolatedScale(gfx::Point3F(1, 1, 1), 87 gfx::Point3F(scale_x, scale_y, 1)));
|
/external/chromium_org/ui/views/corewm/ |
window_animations.cc | 332 gfx::Point3F(kWindowAnimation_Bounce_Scale, 335 gfx::Point3F(1, 1, 1)));
|
/external/chromium_org/ui/aura/ |
root_window.cc | 425 gfx::Point3F point_3f(*point); 431 gfx::Point3F point_3f(*point); [all...] |
/external/chromium_org/ui/compositor/ |
layer.cc | 706 gfx::Point3F p(*point); 716 gfx::Point3F p(*point);
|
/external/chromium_org/ash/magnifier/ |
magnification_controller.cc | 46 gfx::Point3F host_location_3f(root_location);
|