Searched refs:current_ratio (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.cpp77 const float current_ratio = width / height; local
78 if (current_ratio < ratio) {
79 const float dx = width * (ratio / current_ratio - 1.0f);
83 const float dy = height * (current_ratio / ratio - 1.0f);
/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.cpp76 const float current_ratio = width / height; local
77 if (current_ratio < ratio) {
78 const float dx = width * (ratio / current_ratio - 1.0f);
82 const float dy = height * (current_ratio / ratio - 1.0f);

Completed in 33 milliseconds