Searched refs:new_pivot (Results 1 – 2 of 2) sorted by relevance
56 gfx::Point new_pivot; in InitTransform() local63 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()
109 gfx::Point new_pivot; in GetScreenRotation() local116 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()