Home
last modified time | relevance | path

Searched refs:new_pivot (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/ash/rotator/
Dscreen_rotation.cc56 gfx::Point new_pivot; in InitTransform() local
63 new_origin_ = new_pivot = gfx::Point(width, 0); in InitTransform()
66 new_origin_ = new_pivot = gfx::Point(0, height); in InitTransform()
70 new_pivot = old_pivot = gfx::Point(width / 2, height / 2); in InitTransform()
77 current_transform.TransformPoint(&new_pivot); in InitTransform()
88 gfx::Point(new_pivot.x() - old_pivot.x(), in InitTransform()
89 new_pivot.y() - old_pivot.y()))); in InitTransform()
/external/chromium_org/ui/gfx/
Dinterpolated_transform_unittest.cc109 gfx::Point new_pivot; in GetScreenRotation() local
116 new_pivot = gfx::Point(width, 0); in GetScreenRotation()
119 new_pivot = gfx::Point(0, height); in GetScreenRotation()
123 new_pivot = old_pivot = gfx::Point(width / 2, height / 2); in GetScreenRotation()
136 gfx::Point(new_pivot.x() - old_pivot.x(), in GetScreenRotation()
137 new_pivot.y() - old_pivot.y()))); in GetScreenRotation()