Home
last modified time | relevance | path

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

/aosp12/frameworks/base/tools/aapt2/compile/
H A DPngCrunch.cpp317 size_t color_palette_size, size_t alpha_palette_size) { in PickColorType() argument
319 const size_t alpha_chunk_size = 16 + alpha_palette_size; in PickColorType()
326 if (alpha_palette_size == 0) { in PickColorType()
347 if (alpha_palette_size > 0) { in PickColorType()
348 total_size_with_palette += alpha_palette_size; in PickColorType()
359 if (alpha_palette_size == 0) { in PickColorType()
366 if (alpha_palette_size == 0) { in PickColorType()