Home
last modified time | relevance | path

Searched refs:hash_to_float (Results 1 – 1 of 1) sorted by relevance

/system/extras/simpleperf/scripts/inferno/
Dsvg_renderer.py33 def hash_to_float(string): function
38 r = 175 + int(50 * hash_to_float(reversed(method)))
39 g = 60 + int(180 * hash_to_float(method))
40 b = 60 + int(55 * hash_to_float(reversed(method)))
45 r = 170 + int(80 * hash_to_float(reversed(method)))
46 g = 180 + int(70 * hash_to_float((method)))
47 b = 170 + int(80 * hash_to_float(reversed(method)))