Searched refs:total_weight (Results 1 – 3 of 3) sorted by relevance
/aosp12/packages/services/BuiltInPrintService/jni/plugins/ |
H A D | wprint_scaler.c | 437 sint32 total_weight; in _scale_row_down_9in() local 482 curr_weight = total_weight > 256 ? 256 : total_weight; in _scale_row_down_9in() 501 sint32 total_weight; in _scale_row_down_8in() local 543 curr_weight = total_weight > 256 ? 256 : total_weight; in _scale_row_down_8in() 599 curr_weight = total_weight > 256 ? 256 : total_weight; in _scale_row_down_7in() 652 curr_weight = total_weight > 256 ? 256 : total_weight; in _scale_row_down_6in() 702 curr_weight = total_weight > 256 ? 256 : total_weight; in _scale_row_down_5in() 749 curr_weight = total_weight > 256 ? 256 : total_weight; in _scale_row_down_4in() 792 curr_weight = total_weight > 256 ? 256 : total_weight; in _scale_row_down_3in() 832 curr_weight = total_weight > 256 ? 256 : total_weight; in _scale_row_down_2in() [all …]
|
/aosp12/system/extras/simpleperf/scripts/inferno/ |
H A D | svg_renderer.py | 51 def get_heat_color(callsite, total_weight): argument 52 r = 245 + 10 * (1 - callsite.weight() / total_weight) 53 g = 110 + 105 * (1 - callsite.weight() / total_weight) 66 def create_svg_node(process, callsite, depth, f, total_weight, height, color_scheme, nav): argument 67 x = float(callsite.offset) / total_weight * 100 69 width = callsite.weight() / total_weight * 100 80 r, g, b = get_heat_color(callsite, total_weight) 101 callsite.weight() / total_weight * 100, 122 def render_svg_nodes(process, flamegraph, depth, f, total_weight, height, color_scheme): argument 141 create_svg_node(process, child, depth, f, total_weight, height, color_scheme, nav) [all …]
|
/aosp12/hardware/google/pixel/thermal/ |
H A D | thermal-helper.cpp | 633 float total_weight = 0, cdev_power_budget; in requestCdevByPower() local 638 total_weight += binded_cdev_info_pair.second.cdev_weight_for_pid[target_state]; in requestCdevByPower() 642 if (!total_weight) { in requestCdevByPower() 651 cdev_power_budget = total_power_budget * (cdev_weight / total_weight); in requestCdevByPower()
|