Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DImages.cpp885 int numOpaqueColors = 0, numAlphaColors = 0; in analyze_image() local
978 for (idx = 0; idx < numOpaqueColors; idx++) { in analyze_image()
986 if (numOpaqueColors < 256) { in analyze_image()
987 opaqueColors[numOpaqueColors] = col; in analyze_image()
989 numOpaqueColors++; in analyze_image()
1018 if (numOpaqueColors + numAlphaColors > 256) { in analyze_image()
1035 int paletteSize = w * h + 3 * numOpaqueColors + 4 * numAlphaColors; in analyze_image()
1085 memcpy(colors + numAlphaColors, opaqueColors, 4 * numOpaqueColors); in analyze_image()
1100 int numColors = numOpaqueColors + numAlphaColors; in analyze_image()