/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
AnalogWatchFaceService.java | 34 import android.support.v7.graphics.Palette; 186 Palette.generateAsync( 188 new Palette.PaletteAsyncListener() { 190 public void onGenerated(Palette palette) { 191 if (palette != null) { 193 Log.d(TAG, "Palette: " + palette); 196 mWatchHandHighlightColor = palette.getVibrantColor(Color.RED); 197 mWatchHandColor = palette.getLightVibrantColor(Color.WHITE) [all...] |
SweepWatchFaceService.java | 32 import android.support.v7.graphics.Palette; 158 Palette.generateAsync( 160 new Palette.PaletteAsyncListener() { 162 public void onGenerated(Palette palette) { 163 if (palette != null) { 165 Log.d(TAG, "Palette: " + palette); 168 mWatchHandHighlightColor = palette.getVibrantColor(Color.RED); 169 mWatchHandColor = palette.getLightVibrantColor(Color.WHITE) [all...] |
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
AnalogWatchFaceService.java | 34 import android.support.v7.graphics.Palette; 186 Palette.generateAsync( 188 new Palette.PaletteAsyncListener() { 190 public void onGenerated(Palette palette) { 191 if (palette != null) { 193 Log.d(TAG, "Palette: " + palette); 196 mWatchHandHighlightColor = palette.getVibrantColor(Color.RED); 197 mWatchHandColor = palette.getLightVibrantColor(Color.WHITE) [all...] |
SweepWatchFaceService.java | 32 import android.support.v7.graphics.Palette; 158 Palette.generateAsync( 160 new Palette.PaletteAsyncListener() { 162 public void onGenerated(Palette palette) { 163 if (palette != null) { 165 Log.d(TAG, "Palette: " + palette); 168 mWatchHandHighlightColor = palette.getVibrantColor(Color.RED); 169 mWatchHandColor = palette.getLightVibrantColor(Color.WHITE) [all...] |
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/ |
plasma.c | 130 /* Color palette used for rendering the plasma */ 138 static uint16_t palette[PALETTE_SIZE]; variable 153 palette[nn] = make565(255, jj, 255-jj); 158 palette[nn] = make565(255-jj, 255, jj); 163 palette[nn] = make565(0, 255-jj, 255); 168 palette[nn] = make565(jj, 0, 255); 177 return palette[idx & (PALETTE_SIZE-1)];
|
/development/ndk/platforms/android-9/samples/native-plasma/jni/ |
plasma.c | 135 /* Color palette used for rendering the plasma */ 143 static uint16_t palette[PALETTE_SIZE]; variable 158 palette[nn] = make565(255, jj, 255-jj); 163 palette[nn] = make565(255-jj, 255, jj); 168 palette[nn] = make565(0, 255-jj, 255); 173 palette[nn] = make565(jj, 0, 255); 182 return palette[idx & (PALETTE_SIZE-1)];
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
AnalogWatchFaceService.java | 34 import android.support.v7.graphics.Palette; 186 Palette.generateAsync( 188 new Palette.PaletteAsyncListener() { 190 public void onGenerated(Palette palette) { 191 if (palette != null) { 193 Log.d(TAG, "Palette: " + palette); 196 mWatchHandHighlightColor = palette.getVibrantColor(Color.RED); 197 mWatchHandColor = palette.getLightVibrantColor(Color.WHITE) [all...] |
SweepWatchFaceService.java | 32 import android.support.v7.graphics.Palette; 158 Palette.generateAsync( 160 new Palette.PaletteAsyncListener() { 162 public void onGenerated(Palette palette) { 163 if (palette != null) { 165 Log.d(TAG, "Palette: " + palette); 168 mWatchHandHighlightColor = palette.getVibrantColor(Color.RED); 169 mWatchHandColor = palette.getLightVibrantColor(Color.WHITE) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
Utils.java | 177 if (!data.palette.isDirect && data.depth <= 8) 188 RGB rgb = data.palette.getRGB(pixels[x]); 204 // pick the most frequently used 256 (or fewer), and make a palette 214 rgbs[rgbs.length - 1] = data.transparentPixel != -1 ? data.palette.getRGB(data.transparentPixel) : new RGB(255, 255, 255); 216 PaletteData palette = new PaletteData(rgbs); local 218 // create a new image using the new palette: 220 // index in the new palette 221 ImageData newData = new ImageData(width, data.height, 8, palette); 232 RGB rgb = data.palette.getRGB(pixels[x]);
|
/external/libvncserver/libvncclient/ |
zrle.c | 297 else if( (type >= 2)&&(type <= 127) ) /* packed Palette */ 299 CARDBPP palette[16]; local 308 /* read palette */ 310 palette[i] = UncompressCPixel(buffer); 315 ((CARDBPP*)client->frameBuffer)[j+i] = palette[((*buffer)>>shift)&mask]; 366 else if( type >= 130 ) /* palette RLE */ 368 CARDBPP palette[128]; local 374 /* read palette */ 376 palette[i] = UncompressCPixel(buffer); 384 color = palette[(*buffer)&0x7f] [all...] |
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
subpicture.c | 283 subpicture_priv->palette = pipe->create_sampler_view(pipe, tex, &sampler_templ); 399 pipe_sampler_view_reference(&subpicture_priv->palette, NULL); 408 Status XvMCSetSubpicturePalette(Display *dpy, XvMCSubpicture *subpicture, unsigned char *palette) 416 assert(palette); 427 upload_sampler(pipe, subpicture_priv->palette, &dst_box, palette, 0, 0, 0); 429 XVMC_MSG(XVMC_TRACE, "[XvMC] Palette of Subpicture %p set.\n", subpicture);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SwtUtilsTest.java | 64 PaletteData outPalette = outData.palette; 120 PaletteData outPalette = outData.palette; 151 PaletteData outPalette = outData.palette; 188 PaletteData outPalette = outData.palette; 247 PaletteData outPalette = outData.palette; 286 PaletteData outPalette = outData.palette;
|
/external/libpng/ |
pngwrite.c | 206 png_write_PLTE(png_ptr, info_ptr->palette, 210 png_error(png_ptr, "Valid palette required for paletted images"); 365 png_benign_error(png_ptr, "Wrote palette index exceeding num_palette"); 881 /* Check for out-of-range palette index */ 1797 png_color palette[256]; local [all...] |
/external/pdfium/third_party/lpng_v163/ |
pngwrite.c | 204 png_write_PLTE(png_ptr, info_ptr->palette,
208 png_error(png_ptr, "Valid palette required for paletted images");
356 png_benign_error(png_ptr, "Wrote palette index exceeding num_palette");
804 /* Check for out-of-range palette index */
1897 png_color palette[256]; local [all...] |
/external/opencv3/3rdparty/include/ffmpeg_/libswscale/ |
swscale.h | 329 * The output frame will have the same packed format as the palette. 334 * @param palette array with [256] entries, which must match color arrangement (RGB or BGR) of src 336 void sws_convertPalette8ToPacked32(const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette); 341 * With the palette format "ABCD", the destination frame ends up with the format "ABC". 346 * @param palette array with [256] entries, which must match color arrangement (RGB or BGR) of src 348 void sws_convertPalette8ToPacked24(const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette);
|
/frameworks/support/samples/Support7Demos/ |
Android.mk | 33 android-support-v7-palette \
|
/packages/apps/Contacts/ |
Android.mk | 36 android-support-v7-palette \
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/ |
GraphicsUtilities.java | 35 image.palette); 80 image.palette);
|
/external/mesa3d/src/gallium/state_trackers/va/ |
va_image.c | 124 vlVaSetImagePalette(VADriverContextP ctx, VAImageID image, unsigned char *palette)
|
/external/opencv/ |
cvjni.h | 184 PaletteEntry palette[256];
local 214 FillGrayPalette( palette, 8 );
215 m_strm->PutBytes( palette, sizeof(palette));
|
/external/opencv/otherlibs/highgui/ |
grfmt_pxm.cpp | 201 PaletteEntry palette[256]; local 227 FillGrayPalette( palette, m_bpp==1 ? 1 : 8 , m_bpp == 1 ); 246 FillColorRow8( data, src, m_width, palette ); 258 FillColorRow1( data, src, m_width, palette );
|
/external/opencv3/3rdparty/libpng/ |
pnginfo.h | 36 * cleaned up before the structure is discarded: palette, trans, text, 63 png_colorp palette; /* array of color values (valid & PNG_INFO_PLTE) */ member in struct:png_info_def 64 png_uint_16 num_palette; /* number of color entries in "palette" (PLTE) */ 65 png_uint_16 num_trans; /* number of transparent palette color (tRNS) */ 135 * same order as the palette colors, starting from index 0. Values 142 png_color_16 trans_color; /* transparent color for non-palette image */ 178 * various palette entries, so that a viewer can intelligently select a 179 * reduced-color palette, if required. Data is an array of "num_palette"
|
/external/opencv3/modules/imgcodecs/src/ |
grfmt_pxm.cpp | 194 PaletteEntry palette[256]; local 219 FillGrayPalette( palette, m_bpp==1 ? 1 : 8 , m_bpp == 1 ); 238 FillColorRow8( data, src, m_width, palette ); 250 FillColorRow1( data, src, m_width, palette );
|
/hardware/intel/img/psb_video/src/ |
psb_surface_ext.h | 112 PsbAYUVSample8 *palette_ptr; /* point to image palette */ 114 uint32_t palette[16]; /* used to pass palette to server */ member in union:_PsbVASurface::__anon30562 115 PsbAYUVSample8 constant[16]; /* server convert palette into SGX constants */
|
/ndk/tests/build/issue20862-libpng-O0/jni/ |
pnginfo.h | 36 * cleaned up before the structure is discarded: palette, trans, text, 63 png_colorp palette; /* array of color values (valid & PNG_INFO_PLTE) */ member in struct:png_info_def 64 png_uint_16 num_palette; /* number of color entries in "palette" (PLTE) */ 65 png_uint_16 num_trans; /* number of transparent palette color (tRNS) */ 135 * same order as the palette colors, starting from index 0. Values 142 png_color_16 trans_color; /* transparent color for non-palette image */ 178 * various palette entries, so that a viewer can intelligently select a 179 * reduced-color palette, if required. Data is an array of "num_palette"
|