Searched refs:BoxF (Results 1 - 25 of 32) sorted by relevance

12

/external/chromium_org/cc/layers/
H A Dlayer_utils.h11 class BoxF;
24 static bool GetAnimationBounds(const LayerImpl& layer, gfx::BoxF* out);
H A Dlayer_utils.cc45 bool LayerUtils::GetAnimationBounds(const LayerImpl& layer_in, gfx::BoxF* out) {
67 gfx::BoxF box(layer_in.bounds().width(), layer_in.bounds().height(), 0.f);
114 gfx::BoxF inflated;
122 gfx::BoxF inflated;
H A Dlayer_utils_unittest.cc72 gfx::BoxF box;
75 gfx::BoxF expected(150.f, 50.f, 0.f, 350.f, 450.f, 0.f);
95 gfx::BoxF box;
98 gfx::BoxF expected(150.f, 50.f, 0.f, 150.f, 250.f, 0.f);
118 gfx::BoxF box;
121 gfx::BoxF expected(150.f, 50.f, 0.f, 150.f, 250.f, 0.f);
145 gfx::BoxF box;
148 gfx::BoxF expected(150.f, 50.f, 0.f, 150.f, 250.f, 0.f);
171 gfx::BoxF box;
174 gfx::BoxF expecte
[all...]
/external/chromium_org/ui/gfx/geometry/
H A Dbox_unittest.cc12 EXPECT_EQ(BoxF(0.f, 0.f, 0.f, 0.f, 0.f, 0.f).ToString(),
13 BoxF().ToString());
14 EXPECT_EQ(BoxF(0.f, 0.f, 0.f, -3.f, -5.f, -7.f).ToString(),
15 BoxF().ToString());
17 EXPECT_EQ(BoxF(0.f, 0.f, 0.f, 3.f, 5.f, 7.f).ToString(),
18 BoxF(3.f, 5.f, 7.f).ToString());
19 EXPECT_EQ(BoxF(0.f, 0.f, 0.f, 0.f, 0.f, 0.f).ToString(),
20 BoxF(-3.f, -5.f, -7.f).ToString());
22 EXPECT_EQ(BoxF(2.f, 4.f, 6.f, 3.f, 5.f, 7.f).ToString(),
23 BoxF(Point3
[all...]
H A Dbox_f.h18 class GFX_EXPORT BoxF { class in namespace:gfx
20 BoxF() function in class:gfx::BoxF
25 BoxF(float width, float height, float depth) function in class:gfx::BoxF
30 BoxF(float x, float y, float z, float width, float height, float depth) function in class:gfx::BoxF
36 BoxF(const Point3F& origin, float width, float height, float depth) function in class:gfx::BoxF
42 ~BoxF() {}
65 void Union(const BoxF& box);
108 void ExpandTo(const BoxF& box);
125 GFX_EXPORT BoxF UnionBoxes(const BoxF
[all...]
H A Dbox_f.cc14 std::string BoxF::ToString() const {
22 bool BoxF::IsEmpty() const {
28 void BoxF::ExpandTo(const Point3F& min, const Point3F& max) {
46 void BoxF::Union(const BoxF& box) {
56 void BoxF::ExpandTo(const Point3F& point) {
60 void BoxF::ExpandTo(const BoxF& box) {
64 BoxF UnionBoxes(const BoxF
[all...]
/external/chromium_org/cc/animation/
H A Dtransform_operation.h11 class BoxF;
64 static bool BlendedBoundsForBox(const gfx::BoxF& box,
69 gfx::BoxF* bounds);
H A Dtransform_operations.h16 class BoxF;
54 bool BlendedBoundsForBox(const gfx::BoxF& box,
58 gfx::BoxF* bounds) const;
H A Danimation_curve.h14 class BoxF;
75 virtual bool AnimatedBoundsForBox(const gfx::BoxF& box,
76 gfx::BoxF* bounds) const = 0;
H A Dtransform_operations_unittest.cc721 gfx::BoxF box(1.f, 1.f, 1.f);
722 gfx::BoxF bounds;
737 gfx::BoxF box(1.f, 2.f, 3.f);
738 gfx::BoxF bounds;
754 gfx::BoxF box(1.f, 2.f, 3.f, 4.f, 4.f, 4.f);
755 gfx::BoxF bounds;
761 EXPECT_EQ(gfx::BoxF(2.f, -6.f, -1.f, 12.f, 20.f, 12.f).ToString(),
768 EXPECT_EQ(gfx::BoxF(4.f, -2.f, 1.f, 8.f, 12.f, 8.f).ToString(),
774 EXPECT_EQ(gfx::BoxF(1.f, 2.f, 1.f, 11.f, 8.f, 6.f).ToString(),
779 EXPECT_EQ(gfx::BoxF(
[all...]
H A Dlayer_animation_controller.h21 class BoxF;
127 bool FilterAnimationBoundsForBox(const gfx::BoxF& box,
128 gfx::BoxF* bounds) const;
129 bool TransformAnimationBoundsForBox(const gfx::BoxF& box,
130 gfx::BoxF* bounds) const;
H A Dkeyframed_animation_curve.h184 virtual bool AnimatedBoundsForBox(const gfx::BoxF& box,
185 gfx::BoxF* bounds) const OVERRIDE;
H A Dtransform_operation.cc236 gfx::BoxF* box) {
280 *box = gfx::BoxF();
364 bool TransformOperation::BlendedBoundsForBox(const gfx::BoxF& box,
369 gfx::BoxF* bounds) {
401 gfx::BoxF to_box = box;
421 gfx::BoxF box_for_arc;
H A Dtransform_operations.cc46 bool TransformOperations::BlendedBoundsForBox(const gfx::BoxF& box,
50 gfx::BoxF* bounds) const {
69 gfx::BoxF bounds_for_operation;
H A Dkeyframed_animation_curve.cc309 const gfx::BoxF& box,
310 gfx::BoxF* bounds) const {
312 *bounds = gfx::BoxF();
314 gfx::BoxF bounds_for_step;
H A Dlayer_animation_controller.cc433 const gfx::BoxF& box, gfx::BoxF* bounds) const {
439 const gfx::BoxF& box,
440 gfx::BoxF* bounds) const {
450 *bounds = gfx::BoxF();
458 gfx::BoxF animation_bounds;
/external/chromium_org/ui/gfx/test/
H A Dgfx_util.h24 const BoxF& lhs,
25 const BoxF& rhs);
H A Dgfx_util.cc49 const BoxF& lhs,
50 const BoxF& rhs) {
93 void PrintTo(const BoxF& box, ::std::ostream* os) {
/external/chromium_org/ui/compositor/
H A Dtransform_animation_curve_adapter.h31 virtual bool AnimatedBoundsForBox(const gfx::BoxF& box,
32 gfx::BoxF* bounds) const OVERRIDE;
61 virtual bool AnimatedBoundsForBox(const gfx::BoxF& box,
62 gfx::BoxF* bounds) const OVERRIDE;
H A Dtransform_animation_curve_adapter.cc56 const gfx::BoxF& box,
57 gfx::BoxF* bounds) const {
121 const gfx::BoxF& box,
122 gfx::BoxF* bounds) const {
/external/chromium_org/ui/gfx/
H A Dtransform.h18 class BoxF;
217 void TransformBox(BoxF* box) const;
223 bool TransformBoxReverse(BoxF* box) const;
H A Dtransform.cc455 void Transform::TransformBox(BoxF* box) const {
456 BoxF bounds;
474 bool Transform::TransformBoxReverse(BoxF* box) const {
/external/chromium_org/cc/test/
H A Danimation_test_common.h44 virtual bool AnimatedBoundsForBox(const gfx::BoxF& box,
45 gfx::BoxF* bounds) const OVERRIDE;
H A Danimation_test_common.cc166 bool FakeTransformTransition::AnimatedBoundsForBox(const gfx::BoxF& box,
167 gfx::BoxF* bounds) const {
/external/chromium_org/cc/base/
H A Dmath_util.h221 static void AddToTracedValue(const gfx::BoxF& box,

Completed in 5883 milliseconds

12