Lines Matching defs:scale_factor
108 ScaleFactor scale_factor = (*g_supported_scale_factors)[i];
109 float diff = std::abs(kScaleFactorScales[scale_factor] - scale);
111 closest_match = scale_factor;
119 float GetImageScale(ScaleFactor scale_factor) {
120 return kScaleFactorScales[scale_factor];
123 bool IsScaleFactorSupported(ScaleFactor scale_factor) {
127 scale_factor) != g_supported_scale_factors->end();
137 const ScaleFactor scale_factor = static_cast<ScaleFactor>(i);
138 float diff = std::abs(kScaleFactorScales[scale_factor] - scale);
140 closest_match = scale_factor;