Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DPng.cpp335 int paletteSize = w * h + bpp * num_colors; in analyze_image() local
341 printf("Size w/ palette = %d, gray+alpha = %d, rgb(a) = %d\n", paletteSize, 2 * w * h, in analyze_image()
362 if (isPalette && (paletteSize < 2 * w * h)) { in analyze_image()
368 } else if (isPalette && (paletteSize < bpp * w * h)) { in analyze_image()
/frameworks/base/tools/aapt/
DImages.cpp1036 int paletteSize = w * h + 3 * numOpaqueColors + 4 * numAlphaColors; in analyze_image() local
1044 paletteSize, 2 * w * h, bpp * w * h); in analyze_image()
1062 if (isPalette && (paletteSize < 2 * w * h)) { in analyze_image()
1068 } else if (isPalette && (paletteSize < bpp * w * h)) { in analyze_image()