Lines Matching refs:colors
50 colors.data());
63 std::vector<uint32_t> colors;
239 uint32_t colors[256], col;
250 // 3. There are no more than 256 distinct RGBA colors
299 // Check if image is really <= 256 colors
304 if (colors[idx] == col) {
321 colors[num_colors++] = col;
346 // 3. RGB(A) - use COLOR_TYPE_PALETTE if the number of distinct colors is sufficiently
379 // Create separate RGB and Alpha palettes and set the number of colors
384 col = colors[idx];
469 << " colors" << (hasTransparency ? " (with alpha)" : "")
591 << ", d = " << bitDepth << ", colors = " << colorType
1109 // colors we can use in the 9-patch format.
1117 image->colors.resize(numColors);
1156 image->colors[colorIndex++] = c;
1172 printf(" #%08x", image->colors[i]);