Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DImages.cpp812 int num_colors = 0; in analyze_image() local
867 for (idx = 0; idx < num_colors; idx++) { in analyze_image()
879 if (num_colors == 256) { in analyze_image()
883 colors[num_colors++] = col; in analyze_image()
893 int paletteSize = w * h + bpp * num_colors; in analyze_image()
938 *paletteEntries = num_colors; in analyze_image()
941 for (int idx = 0; idx < num_colors; idx++) { in analyze_image()