HomeSort by relevance Sort by last modified time
    Searched full:palette (Results 1 - 25 of 244) sorted by null

1 2 3 4 5 6 7 8 910

  /packages/wallpapers/Basic/res/xml/
polar_clock_palettes.xml 5 <palette kind="cycling"
10 <palette kind="cycling"
15 <palette kind="fixed"
21 <palette kind="fixed"
27 <palette kind="fixed"
33 <palette kind="fixed"
39 <palette kind="fixed"
45 <palette kind="fixed"
polar_clock_prefs.xml 34 android:key="palette"
35 android:title="@string/palette"
  /packages/wallpapers/Basic/res/values/
strings.xml 80 <!-- Polar clock: label for "palette" pref -->
81 <string name="palette">Color palette</string>
83 <!-- Polar clock: palette name -->
85 <!-- Polar clock: palette name -->
87 <!-- Polar clock: palette name -->
89 <!-- Polar clock: palette name -->
91 <!-- Polar clock: palette name -->
93 <!-- Polar clock: palette name -->
95 <!-- Polar clock: palette name --
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/
SDL_pixels.c 56 format->palette = NULL;
126 format->palette = (SDL_Palette *)SDL_malloc(sizeof(SDL_Palette));
127 if ( format->palette == NULL ) {
132 (format->palette)->ncolors = ncolors;
133 (format->palette)->colors = (SDL_Color *)SDL_malloc(
134 (format->palette)->ncolors*sizeof(SDL_Color));
135 if ( (format->palette)->colors == NULL ) {
141 /* create palette according to masks */
190 format->palette->colors[i].r=r;
194 format->palette->colors[i].g=g
    [all...]
SDL_bmp.c 58 SDL_Palette *palette; local
212 /* Load the palette, if any */
213 palette = (surface->format)->palette;
214 if ( palette ) {
220 SDL_RWread(src, &palette->colors[i].b, 1, 1);
221 SDL_RWread(src, &palette->colors[i].g, 1, 1);
222 SDL_RWread(src, &palette->colors[i].r, 1, 1);
223 palette->colors[i].unused = 0;
227 SDL_RWread(src, &palette->colors[i].b, 1, 1)
    [all...]
SDL_surface.c 605 if ( dst->format->palette || (color == 0) ) {
800 /* Check for empty destination palette! (results in empty image) */
801 if ( format->palette != NULL ) {
803 for ( i=0; i<format->palette->ncolors; ++i ) {
804 if ( (format->palette->colors[i].r != 0) ||
805 (format->palette->colors[i].g != 0) ||
806 (format->palette->colors[i].b != 0) )
809 if ( i == format->palette->ncolors ) {
810 SDL_SetError("Empty destination palette");
831 /* Copy the palette if any *
    [all...]
  /external/quake/quake/src/QW/client/
vid_null.c 18 void VID_SetPalette (unsigned char *palette)
22 void VID_ShiftPalette (unsigned char *palette)
26 void VID_Init (unsigned char *palette)
vid.h 62 void VID_SetPalette (unsigned char *palette);
65 void VID_ShiftPalette (unsigned char *palette);
68 void VID_Init (unsigned char *palette);
70 // the palette data will go away after the call, so it must be copied off if
79 int VID_SetMode (int modenum, unsigned char *palette);
  /external/quake/quake/src/WinQuake/
vid.h 62 void VID_SetPalette (unsigned char *palette);
65 void VID_ShiftPalette (unsigned char *palette);
68 void VID_Init (unsigned char *palette);
70 // the palette data will go away after the call, so it must be copied off if
79 int VID_SetMode (int modenum, unsigned char *palette);
vid_null.cpp 37 void VID_SetPalette (unsigned char *palette)
41 void VID_ShiftPalette (unsigned char *palette)
45 void VID_Init (unsigned char *palette)
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle1/
PaletteFactory.java 22 import org.eclipse.gef.palette.PaletteDrawer;
23 import org.eclipse.gef.palette.PaletteGroup;
24 import org.eclipse.gef.palette.PaletteRoot;
25 import org.eclipse.gef.palette.PaletteTemplateEntry;
30 * Factory that creates the palette for the {@link GraphicalLayoutEditor}.
  /external/qemu/distrib/sdl-1.2.12/src/video/riscos/
SDL_riscossprite.c 60 offsetToSpriteData += 2048; /* Add in size of palette */
90 regs.r[3] = 0; /* Palette flag: 0 = no palette */
108 /* Modify sprite to take into account 256 colour palette */
117 /* Don't need to set up palette as SDL sets up the default
118 256 colour palette */
152 regs.r[3] = -1; /* Current palette */
154 regs.r[5] = 1|2|16; /* R1 - pointer to sprite and can use full palette words */
210 /* Only need to update the palette */
220 /* Need to resize windows and update the palette */
    [all...]
  /external/libpng/
TODO 10 Add "grayscale->palette" transformation and "palette->grayscale" detection.
pngrtran.c 145 /* Dither file to 8 bit. Supply a palette, the current number
146 * of elements in the palette, the maximum number of elements
148 * of colors is greater then the maximum number, the palette will be
164 png_set_dither(png_structp png_ptr, png_colorp palette,
202 /* Find the least used palette entries by starting a
232 /* Swap the palette around, and set up a table, if necessary */
247 palette[i] = palette[j];
269 tmp_color = palette[j];
270 palette[j] = palette[i]
927 png_colorp palette = png_ptr->palette; local
1096 png_colorp palette = png_ptr->palette; local
1123 png_colorp palette = png_ptr->palette; local
    [all...]
example.c 219 * for paletted images instead of supplying a palette index. Note that
274 /* Dither RGB files down to 8 bit palette or reduce palettes
280 png_colorp palette;
282 /* This reduces the image to the application supplied palette */
283 if (/* We have our own palette */)
291 /* This reduces the image to the palette supplied in the file */
292 else if (png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette))
298 png_set_dither(png_ptr, palette, num_palette,
337 /* Optional call to gamma correct and add the background to the palette
339 * update the palette for you (ie you selected such a transform above)
    [all...]
  /frameworks/base/awt/javax/imageio/metadata/
IIOStandardMetadataFormatResources.properties 29 Palette=Palette-color information
30 PaletteEntry=A palette entry
31 PaletteEntry/index=The index of the palette entry
32 PaletteEntry/red=The red value for the palette entry
33 PaletteEntry/green=The green value for the palette entry
34 PaletteEntry/blue=The blue value for the palette entry
35 PaletteEntry/alpha=The alpha value for the palette entry
36 BackgroundIndex=A palette index to be used as a background
37 BackgroundIndex/value=A palette index to be used as a backgroun
    [all...]
  /external/skia/src/images/
SkImageDecoder_libpng.cpp 126 // call only if color_type is PALETTE. Returns true if the ctable has alpha
331 png_colorp palette; local
335 png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette);
365 *colorPtr++ = SkPreMultiplyARGB(*trans++, palette->red, palette->green, palette->blue);
366 palette++;
371 *colorPtr++ = SkPackARGB32(0xFF, palette->red, palette->green, palette->blue)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/aalib/
SDL_aavideo.h 42 aa_palette palette; member in struct:SDL_PrivateVideoData
54 #define AA_palette (this->hidden->palette)
  /external/qemu/distrib/libpng-1.2.19/
pngrtran.c 122 /* Dither file to 8 bit. Supply a palette, the current number
123 * of elements in the palette, the maximum number of elements
125 * of colors is greater then the maximum number, the palette will be
141 png_set_dither(png_structp png_ptr, png_colorp palette,
176 /* Find the least used palette entries by starting a
205 /* swap the palette around, and set up a table, if necessary */
219 palette[i] = palette[j];
240 tmp_color = palette[j];
241 palette[j] = palette[i]
875 png_colorp palette = png_ptr->palette; local
1031 png_colorp palette = png_ptr->palette; local
1055 png_colorp palette = png_ptr->palette; local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/windib/
SDL_dibvideo.c 270 moved palette creation here from "DIB_VideoInit" */
272 LOGPALETTE *palette; local
277 palette = (LOGPALETTE *)SDL_malloc(sizeof(*palette)+
279 palette->palVersion = 0x300;
280 palette->palNumEntries = ncolors;
282 GetSystemPaletteEntries(hdc, 0, ncolors, palette->palPalEntry);
284 screen_pal = CreatePalette(palette);
285 screen_logpal = palette;
375 /* Grab an identity palette if we are in a palettized mode *
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/directfb/
SDL_DirectFB_video.c 215 IDirectFBPalette *palette; member in struct:private_hwdata
293 SDL_Palette *palette; local
296 palette = SDL_calloc (1, sizeof(SDL_Palette));
297 if (!palette)
310 palette->ncolors = size;
311 palette->colors = colors;
313 return palette;
354 if (!format->palette)
355 format->palette = AllocatePalette(256);
608 /* And its palette if present *
1056 IDirectFBPalette *palette = this->screen->hwdata->palette; local
1093 IDirectFBPalette *palette = this->screen->hwdata->palette; local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/photon/
SDL_ph_image.c 37 PgColor_t* palette=NULL; local
73 /* palette emulation code */
76 /* creating image palette */
77 palette=SDL_malloc(_Pg_MAX_PALETTE*sizeof(PgColor_t));
78 if (palette==NULL)
80 SDL_SetError("ph_SetupImage(): can't allocate memory for palette !\n");
83 PgGetPalette(palette);
86 if ((SDL_Image = PhCreateImage(NULL, screen->w, screen->h, type, palette, _Pg_MAX_PALETTE, 1)) == NULL)
89 SDL_free(palette);
193 /* store palette for fullscreen *
    [all...]
  /external/webkit/WebKitTools/QtLauncher/
locationedit.cpp 52 QColor backgroundColor = QApplication::palette().color(QPalette::Base);
54 QPalette p = palette();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
GlobalCanvasDragInfo.java 21 * session of Eclipse. A drag can be initiated from a palette or from a canvas
31 * off a canvas or its palette and then set back to null when the drag'n'drop is finished.
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
MatrixPaletteActivity.java 24 * This sample shows how to implement a Matrix Palette

Completed in 399 milliseconds

1 2 3 4 5 6 7 8 910