Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/thumbnails/
Dcontent_analysis.cc492 float computed_aspect = static_cast<float>(computed_width) / computed_height; in AdjustClippingSizeToAspectRatio() local
493 float aspect_change_delta = std::abs(computed_aspect - desired_aspect); in AdjustClippingSizeToAspectRatio()
499 (computed_aspect / desired_aspect > kAspectRatioToleranceFactor || in AdjustClippingSizeToAspectRatio()
500 desired_aspect / computed_aspect > kAspectRatioToleranceFactor)) { in AdjustClippingSizeToAspectRatio()
508 if (computed_aspect / desired_aspect > kAspectRatioToleranceFactor) { in AdjustClippingSizeToAspectRatio()
565 std::abs(computed_aspect - desired_aspect)) { in AdjustClippingSizeToAspectRatio()
572 computed_aspect = new_computed_aspect; in AdjustClippingSizeToAspectRatio()