Lines Matching refs:aspect
232 // infobars as the aspect ratio will be wrong. Fix that.
384 // Given the number |n| of tiles with a desired aspect ratio of |a| and a
390 // We want to have the small rects have the same aspect ratio a as a full
647 CGFloat aspect = NSWidth(containing_rect) / NSHeight(containing_rect);
659 // that need to fit into that rect. The aspect ratio of the thumbnails needs
667 // such that count_x / count_y is roughly equal to |aspect|?
669 tile_count, aspect,
685 // |small_width / small_height| has only roughly an aspect ratio of |aspect|.
686 // Shrink the thumbnail rect to make the aspect ratio fit exactly, and add
690 if (aspect > small_width/static_cast<float>(small_height)) {
691 small_height = small_width / aspect;
697 small_width = small_height * aspect;