Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DPngCrunch.cpp393 std::unique_ptr<png_byte[]> alpha_palette_bytes; in WritePalette() local
395 alpha_palette_bytes = std::unique_ptr<png_byte[]>(new png_byte[alpha_palette->size()]); in WritePalette()
410 if (alpha != 0xff && alpha_palette_bytes) { in WritePalette()
412 alpha_palette_bytes[index] = alpha; in WritePalette()
421 if (alpha_palette_bytes) { in WritePalette()
422 png_set_tRNS(write_ptr, write_info_ptr, alpha_palette_bytes.get(), alpha_palette->size(), in WritePalette()