Lines Matching refs:scales
62 // List of value UI Scale values. Scales for 2x are equivalent to 640,
228 std::vector<float> scales = GetScalesForDisplay(info);
229 for (size_t i = 0; i < scales.size(); ++i) {
230 if (ScaleComparator(scales[i])(scale)) {
231 if (up && i != scales.size() - 1)
232 return scales[i + 1];
234 return scales[i - 1];
235 return scales[i];
457 std::vector<float> scales = GetScalesForDisplay(info);
459 if (std::find_if(scales.begin(), scales.end(), comparator) ==
460 scales.end()) {