Searched refs:best_value (Results 1 – 2 of 2) sorted by relevance
96 ResourceConfigValue* best_value = nullptr; in SelectValues() local98 if (!best_value || this_value->config.isBetterThan(best_value->config, &target_density)) { in SelectValues()99 best_value = this_value; in SelectValues()102 CHECK(best_value != nullptr); in SelectValues()106 (*claimed_values)[best_value] = true; in SelectValues()107 selected.push_back(best_value); in SelectValues()139 ResourceConfigValue* best_value = nullptr; in MarkNonPreferredDensitiesAsClaimed() local141 if (!best_value || this_value->config.isBetterThan(best_value->config, &target_density)) { in MarkNonPreferredDensitiesAsClaimed()142 best_value = this_value; in MarkNonPreferredDensitiesAsClaimed()145 CHECK(best_value != nullptr); in MarkNonPreferredDensitiesAsClaimed()[all …]
163 ResourceConfigValue* best_value = nullptr; in BestConfigValue() local169 if (best_value != nullptr) { in BestConfigValue()170 if (!value->config.isBetterThan(best_value->config, &match)) { in BestConfigValue()171 if (value->config.compare(best_value->config) != 0) { in BestConfigValue()177 best_value = value.get(); in BestConfigValue()181 if (!best_value) { in BestConfigValue()185 return best_value->value.get(); in BestConfigValue()