Searched defs:snapped (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/ui/gfx/
H A Dtransform_util_unittest.cc41 bool snapped = SnapTransform(&result, transform, viewport); local
43 EXPECT_TRUE(snapped) << "Viewport should snap for this rotation.";
54 bool snapped = SnapTransform(&result, transform, viewport); local
56 EXPECT_FALSE(snapped) << "Distant viewport shouldn't snap by more than 1px.";
67 bool snapped = SnapTransform(&result, transform, viewport); local
69 EXPECT_FALSE(snapped) << "Viewport should not snap for this rotation.";
82 bool snapped = SnapTransform(&result, transform, viewport); local
84 EXPECT_TRUE(snapped) << "Viewport should snap for this translation.";
96 bool snapped = SnapTransform(&result, transform, viewport); local
98 EXPECT_TRUE(snapped)
110 bool snapped = SnapTransform(&result, transform, viewport); local
122 bool snapped = SnapTransform(&result, transform, viewport); local
139 bool snapped = SnapTransform(&result, transform, viewport); local
175 bool snapped = SnapTransform(&result, transform, viewport); local
[all...]
H A Dtransform_util.cc164 // Create snapped rotation.
258 const Transform& snapped) {
265 Transform combined = snapped * original_inv;
463 Transform snapped = local
468 CheckTransformsMapsIntViewportWithinOnePixel(viewport, transform, snapped);
470 *out = snapped;
256 CheckTransformsMapsIntViewportWithinOnePixel(const Rect& viewport, const Transform& original, const Transform& snapped) argument

Completed in 121 milliseconds