Searched defs:palette (Results 1 - 2 of 2) sorted by relevance

/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
H A DPalette.java78 void onGenerated(Palette palette); argument
149 * Returns all of the swatches which make up the palette.
156 * Returns the most vibrant swatch in the palette. Might be null.
164 * Returns a light and vibrant swatch from the palette. Might be null.
172 * Returns a dark and vibrant swatch from the palette. Might be null.
180 * Returns a muted swatch from the palette. Might be null.
188 * Returns a muted and light swatch from the palette. Might be null.
196 * Returns a muted and dark swatch from the palette. Might be null.
204 * Returns the most vibrant color in the palette as an RGB packed int.
215 * Returns a light and vibrant color from the palette a
[all...]
/frameworks/native/opengl/libagl/
H A Dtexture.cpp439 size_t size = (1 << indexBits) * entrySize; // palette size
496 uint8_t const* const palette = (uint8_t*)data; local
502 *p++ = palette[index + 0];
503 *p++ = palette[index + 1];
509 *p++ = palette[index + 0];
510 *p++ = palette[index + 1];
513 *p++ = palette[index + 0];
514 *p++ = palette[index + 1];
520 uint8_t const* const palette = (uint8_t*)data; local
526 *p++ = palette[inde
547 uint8_t const* const palette = (uint8_t*)data; local
[all...]

Completed in 31 milliseconds