Lines Matching refs:normalized
26 gfx::Vector2dF DenormalizeToViewport(const gfx::Vector2dF& normalized,
28 return gfx::ScaleVector2d(normalized,
119 gfx::Vector2dF normalized = NormalizeFromViewport(
122 start_anchor_ - DenormalizeToViewport(normalized, TargetViewportSize());
126 // The anchor is the point which is at the same normalized relative position
128 // zoom-in double-tap to a perfectly centered rect will have normalized
130 // screen will have normalized anchor (1.0, 1.0). In other words, it obeys
132 // anchor = start_size * normalized + start_offset
133 // anchor = target_size * normalized + target_offset
134 // where both anchor and normalized begin as unknowns. Solving
135 // for the normalized, we get the following:
140 gfx::Vector2dF normalized = gfx::ScaleVector2d(
143 target_scroll_offset_ + DenormalizeToViewport(normalized,
218 // Interpolate from start to target anchor in normalized space.