Searched defs:current_length (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.cpp95 const float current_length = width > height ? width : height; local
96 if (length > current_length) {
97 const float dx = width * (length / current_length - 1.0f);
100 const float dy = height * (length / current_length - 1.0f);
112 const float current_length = width > height ? width : height; local
113 if (current_length >= max_length) {
118 if (current_length * f > max_length) {
119 f *= max_length / (current_length * f);
/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.cpp94 const float current_length = width > height ? width : height; local
95 if (length > current_length) {
96 const float dx = width * (length / current_length - 1.0f);
99 const float dy = height * (length / current_length - 1.0f);
111 const float current_length = width > height ? width : height; local
112 if (current_length >= max_length) {
117 if (current_length * f > max_length) {
118 f *= max_length / (current_length * f);

Completed in 63 milliseconds