Lines Matching refs:scales
55 // List of value UI Scale values. Scales for 2x are equivalent to 640,
192 std::vector<float> scales = GetScalesForDisplay(info);
193 for (size_t i = 0; i < scales.size(); ++i) {
194 if (ScaleComparator(scales[i])(scale)) {
195 if (up && i != scales.size() - 1)
196 return scales[i + 1];
198 return scales[i - 1];
199 return scales[i];
412 std::vector<float> scales = GetScalesForDisplay(info);
414 if (std::find_if(scales.begin(), scales.end(), comparator) ==
415 scales.end()) {