Home
last modified time | relevance | path

Searched refs:FloatBox (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DFloatBoxTest.cpp38 FloatBox box(1, 2, 3, 4, 5, 6); in TEST()
52 FloatBox box(0, 0, 0, 4, 4, 4); in TEST()
54 EXPECT_PRED_FORMAT2(FloatBoxTest::AssertAlmostEqual, FloatBox(1, 2, 3, 4, 4, 4), box); in TEST()
57 EXPECT_PRED_FORMAT2(FloatBoxTest::AssertAlmostEqual, FloatBox(-2, -4, -6, 4, 4, 4), box); in TEST()
62 FloatBox box(1, 2, 3, 4, 4, 4); in TEST()
63 FloatBox box2(box); in TEST()
67 EXPECT_PRED_FORMAT2(FloatBoxTest::AssertAlmostEqual, FloatBox(1, 2, 3, 3, 3, 3), box); in TEST()
72 FloatBox box(1, 2, 3, 4, 4, 4); in TEST()
74 EXPECT_PRED_FORMAT2(FloatBoxTest::AssertAlmostEqual, FloatBox(1, 2, 0, 4, 4, 0), box); in TEST()
79 FloatBox box; in TEST()
[all …]
DFloatBoxTestHelpers.h29 class FloatBox; variable
31 void PrintTo(const FloatBox&, ::std::ostream*);
36 bool ApproximatelyEqual(const FloatBox&, const FloatBox&);
37 …ing::AssertionResult AssertAlmostEqual(const char*, const char*, const FloatBox&, const FloatBox&);
38 ::testing::AssertionResult AssertContains(const char*, const char*, const FloatBox&, const FloatBox
DFloatBox.h38 class FloatBox {
40 FloatBox() in FloatBox() function
50 FloatBox(float x, float y, float z, float width, float height, float depth) in FloatBox() function
60 FloatBox(const FloatBox& box) in FloatBox() function
129 void expandTo(const FloatBox& box) in expandTo()
134 void unionBounds(const FloatBox& box) in unionBounds()
167 inline bool operator==(const FloatBox& a, const FloatBox& b)
173 inline bool operator!=(const FloatBox& a, const FloatBox& b)
DFloatBoxTestHelpers.cpp31 void blink::PrintTo(const FloatBox& box, ::std::ostream* os) in PrintTo()
56 bool blink::FloatBoxTest::ApproximatelyEqual(const FloatBox& a, const FloatBox& b) in ApproximatelyEqual()
69 …st::AssertAlmostEqual(const char* m_expr, const char* n_expr, const FloatBox& m, const FloatBox& n) in AssertAlmostEqual()
80 …xTest::AssertContains(const char* m_expr, const char* n_expr, const FloatBox& m, const FloatBox& n) in AssertContains()
82 FloatBox newM = m; in AssertContains()
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DTransformOperationsTest.cpp51 FloatBox box(200, 500, 100, 100, 300, 200); in EmpiricallyTestBounds()
52 FloatBox bounds; in EmpiricallyTestBounds()
57 FloatBox empiricalBounds; in EmpiricallyTestBounds()
65 FloatBox transformed = box; in EmpiricallyTestBounds()
84 FloatBox box(0, 0, 0, 10, 10, 10); in TEST()
85 FloatBox bounds; in TEST()
88 EXPECT_PRED_FORMAT2(FloatBoxTest::AssertAlmostEqual, FloatBox(0, 0, 0, 20, 20, 210), bounds); in TEST()
91 EXPECT_PRED_FORMAT2(FloatBoxTest::AssertAlmostEqual, FloatBox(0, 0, 0, 20, 20, 210), bounds); in TEST()
94 EXPECT_PRED_FORMAT2(FloatBoxTest::AssertAlmostEqual, FloatBox(-30, 0, 0, 40, 30, 25), bounds); in TEST()
97 … EXPECT_PRED_FORMAT2(FloatBoxTest::AssertAlmostEqual, FloatBox(-30, 10, 15, 50, 20, 195), bounds); in TEST()
[all …]
DTransformOperations.h34 class FloatBox; variable
84 …ndedBoundsForBox(const FloatBox&, const TransformOperations& from, const double& minProgress, cons…
DTransformOperations.cpp133 …const RotateTransformOperation& toTransform, double minProgress, double maxProgress, FloatBox& box) in boundingBoxForArc()
239 …edBoundsForBox(const FloatBox& box, const TransformOperations& from, const double& minProgress, co… in blendedBoundsForBox()
296 FloatBox fromBox = *bounds; in blendedBoundsForBox()
297 FloatBox toBox = *bounds; in blendedBoundsForBox()
342 FloatBox fromBox = *bounds; in blendedBoundsForBox()
347 FloatBox boundsForArc; in blendedBoundsForBox()
DTransformationMatrix.h44 class FloatBox; variable
155 void transformBox(FloatBox&) const;
DTransformationMatrix.cpp648 void TransformationMatrix::transformBox(FloatBox& box) const in transformBox()
650 FloatBox bounds; in transformBox()
/external/chromium_org/third_party/WebKit/Source/core/animation/
DCompositorAnimations.h42 class FloatBox; variable
56 …virtual bool getAnimatedBoundingBox(FloatBox&, const AnimationEffect&, double minValue, double max…
DAnimationStack.cpp149 bool AnimationStack::getAnimatedBoundingBox(FloatBox& box, CSSPropertyID property) const in getAnimatedBoundingBox()
151 FloatBox originalBox(box); in getAnimatedBoundingBox()
161 FloatBox expandingBox(originalBox); in getAnimatedBoundingBox()
DAnimationStack.h58 bool getAnimatedBoundingBox(FloatBox&, CSSPropertyID) const;
DCompositorAnimationsTest.cpp118 …bool getAnimationBounds(FloatBox& boundingBox, const AnimationEffect& effect, double minValue, dou… in getAnimationBounds()
302 FloatBox bounds; in TEST_F()
304 EXPECT_EQ(FloatBox(0.0f, 0.f, 0.0f, 200.0f, 200.0f, 0.0f), bounds); in TEST_F()
305 bounds = FloatBox(); in TEST_F()
307 EXPECT_EQ(FloatBox(-200.0f, -200.0, 0.0, 400.0f, 400.0f, 0.0f), bounds); in TEST_F()
310 bounds = FloatBox(); in TEST_F()
313 EXPECT_EQ(FloatBox(-300.0f, -400.f, 0.0f, 500.0f, 600.0f, 1.0f), bounds); in TEST_F()
314 bounds = FloatBox(); in TEST_F()
316 EXPECT_EQ(FloatBox(-1300.0f, -1600.f, 0.0f, 1500.0f, 1800.0f, 3.0f), bounds); in TEST_F()
DCompositorAnimations.cpp76 bool CompositorAnimations::getAnimatedBoundingBox(FloatBox& box, const AnimationEffect& effect, dou… in getAnimatedBoundingBox()
97 FloatBox originalBox(box); in getAnimatedBoundingBox()
123 FloatBox bounds; in getAnimatedBoundingBox()