/external/autotest/tko/ |
D | display.py | 4 color_map = { variable 45 keys = filter(lambda key: key.endswith('pct'), color_map.keys()) 52 % color_map[key] 115 if color_map.has_key(color_key): 116 self.color = color_map[color_key] 118 self.color = color_map['header'] 120 self.color = color_map['plain_text'] 122 self.color = color_map['blank'] 281 color_map['borders'])
|
/external/trappy/trappy/plotter/ |
D | ILinePlotGen.py | 70 def _add_graph_cell(self, fig_name, color_map): argument 73 colors_opt_arg = ", " + to_dygraph_colors(color_map) if color_map else "" 146 def _init_html(self, color_map): argument 161 self._add_graph_cell(fig_name, color_map)
|
D | ColorMap.py | 22 def to_dygraph_colors(color_map): argument 30 rgb_list = ["rgb(" + ", ".join(str(i) for i in e) + ")" for e in color_map]
|
D | EventPlot.py | 123 color_map=None): argument 139 graph["colorMap"] = color_map
|
/external/webp/src/dsp/ |
D | lossless_mips_dsp_r2.c | 24 const uint32_t* const color_map, \ 79 : [color_map]"r"(color_map) \ 84 *dst++ = GET_VALUE(color_map[GET_INDEX(*src++)]); \
|
D | lossless.h | 85 const uint32_t* const color_map, 89 const uint32_t* const color_map,
|
D | lossless.c | 326 static void F_NAME(const TYPE* src, const uint32_t* const color_map, \ 332 *dst++ = GET_VALUE(color_map[GET_INDEX(*src++)]); \ 342 const uint32_t* const color_map = transform->data_; \ 356 *dst++ = GET_VALUE(color_map[packed_pixels & bit_mask]); \ 361 VP8LMapColor##BIT_SUFFIX(src, color_map, dst, y_start, y_end, width); \
|
/external/trappy/tests/ |
D | test_plotter.py | 357 color_map = [[86, 58, 206]] 359 self.assertEquals(to_dygraph_colors(color_map), expected) 361 color_map = [[0, 0, 0], [123, 23, 45]] 363 self.assertEquals(to_dygraph_colors(color_map), expected)
|
/external/libjpeg-turbo/ |
D | wrppm.c | 144 register JSAMPROW color_map = cinfo->colormap[0]; in put_demapped_gray() local 150 PUTPPMSAMPLE(bufferptr, GETJSAMPLE(color_map[GETJSAMPLE(*ptr++)])); in put_demapped_gray()
|
/external/lisa/ipynb/energy/ |
D | EnergyModel_SystemEnergy.ipynb | 621 " color_map = map(cmap.cmap, range(len(cluster.freqs)))\n", 622 " color_map = dict(zip(cluster.freqs, color_map))\n", 634 " ax.plot(x, [slope*i + intercept for i in x], color=color_map[freq])\n", 636 " ax.scatter(x, y, color=color_map[freq], label='{} kHz'.format(freq))\n", 783 " color_map = map(cmap.cmap, range(len(clusters) + 1))\n", 797 " ax.plot(x, y, color=color_map[i], marker='o', label=cl.name)\n", 804 " ax.plot(x, y, '--', color=color_map[-1])\n", 811 " ax.plot(x, y, '--', color=color_map[-1])\n", 1249 " color_map = map(cmap.cmap, cluster.idle_states)\n", 1250 " color_map = [c for c in color_map for i in xrange(n_cpus)]\n", [all …]
|
D | EnergyModel_ClusterEnergy.ipynb | 524 " color_map = map(cmap.cmap, range(len(cluster.freqs)))\n", 525 " color_map = dict(zip(cluster.freqs, color_map))\n", 537 " ax.plot(x, [slope*i + intercept for i in x], color=color_map[freq])\n", 539 " ax.scatter(x, y, color=color_map[freq], label='{} kHz'.format(freq))\n", 708 " color_map = map(cmap.cmap, range(len(clusters) + 1))\n", 722 " ax.plot(x, y, color=color_map[i], marker='o', label=cl.name)\n", 729 " ax.plot(x, y, '--', color=color_map[-1])\n", 736 " ax.plot(x, y, '--', color=color_map[-1])\n", 1038 " color_map = map(cmap.cmap, cluster.idle_states)\n", 1039 " color_map = [c for c in color_map for i in xrange(n_cpus)]\n", [all …]
|
/external/trappy/doc/ |
D | InteractivePlotter.ipynb | 534 " color_map={\"A\" : \"blue\", \"B\" : \"red\", \"C\" : \"green\"}\n", 551 … " color_map={\"A\" : \"\t#ffa07a\", \"B\" : \"#f08080\", \"C\" : \"#add8e6\"}\n",
|