Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/compile/
DPng.cpp250 png_bytep alphaPalette, int* paletteEntries, in analyze_image() argument
345 *paletteEntries = 0; in analyze_image()
399 *paletteEntries = num_colors; in analyze_image()
473 int paletteEntries; in writePng() local
476 &paletteEntries, &hasTransparency, &colorType, outRows); in writePng()
489 diag->Note(DiagMessage() << "has " << paletteEntries << " colors" in writePng()
516 png_set_PLTE(writePtr, infoPtr, rgbPalette, paletteEntries); in writePng()
518 png_set_tRNS(writePtr, infoPtr, alphaPalette, paletteEntries, in writePng()
/frameworks/base/tools/aapt/
DImages.cpp877 int *paletteEntries, int *alphaPaletteEntries, bool *hasTransparency, in analyze_image() argument
1031 *paletteEntries = 0; in analyze_image()
1101 *paletteEntries = numColors; in analyze_image()
1175 int paletteEntries, alphaPaletteEntries; in write_png() local
1179 &paletteEntries, &alphaPaletteEntries, &hasTransparency, &color_type, outRows); in write_png()
1201 imageName, paletteEntries, in write_png()
1224 png_set_PLTE(write_ptr, write_info, rgbPalette, paletteEntries); in write_png()