Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DImages.cpp906 int num_colors = 0; in analyze_image() local
961 for (idx = 0; idx < num_colors; idx++) { in analyze_image()
973 if (num_colors == 256) { in analyze_image()
977 colors[num_colors++] = col; in analyze_image()
987 int paletteSize = w * h + bpp * num_colors; in analyze_image()
1032 *paletteEntries = num_colors; in analyze_image()
1035 for (int idx = 0; idx < num_colors; idx++) { in analyze_image()