HomeSort by relevance Sort by last modified time
    Searched full:palette (Results 26 - 50 of 584) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/mesa3d/src/mesa/main/
texcompress_cpal.c 67 * Get a color/entry from the palette.
70 get_palette_entry(const struct cpal_format_info *info, const GLubyte *palette,
73 memcpy(pixel, palette + info->size * index, info->size);
82 paletted_to_color(const struct cpal_format_info *info, const GLubyte *palette,
95 pix += get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix);
96 pix += get_palette_entry(info, palette, ind[i] & 0xf, pix);
99 get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix);
106 pix += get_palette_entry(info, palette, ind[i], pix);
163 * compressed palette format into a regular GLubyte/RGBA glTexImage2D() call.
169 GLsizei imageSize, const void *palette)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
ColorChooser.java 63 int [] palette = mParameter.getColorPalette(); local
68 Color.colorToHSV(palette[i], hsvo);
69 hsvo[OPACITY_OFFSET] = (0xFF & (palette[i] >> 24)) / (float) 255;
72 sd.setColor(palette[i]);
95 int []palette = mParameter.getColorPalette(); local
96 for (int i = 0; i < palette.length; i++) {
97 palette[i] = basColors[i];
99 Color.colorToHSV(palette[i], hsvo);
100 hsvo[OPACITY_OFFSET] = (0xFF & (palette[i] >> 24)) / (float) 255;
103 sd.setColor(palette[i])
113 int []palette = mParameter.getColorPalette(); local
149 int []palette = mParameter.getColorPalette(); local
    [all...]
ParameterColor.java 108 public void setColorpalette(int[] palette) {
109 mBasColors = Arrays.copyOf(palette, palette.length);
  /development/samples/Support7Demos/src/com/example/android/supportv7/graphics/
PaletteActivity.java 34 import android.support.v7.graphics.Palette;
44 * {@link android.support.v7.graphics.Palette} results.
46 * Allows the customization of the number of colors used in the palette generation, to demonstrate
179 * Set the number of colors used for {@link Palette} generation.
189 // of the Palette UI
206 Palette.generateAsync(bitmap, mNumColors,
207 new Palette.PaletteAsyncListener() {
209 public void onGenerated(Palette palette) {
212 palette.getVibrantSwatch())
    [all...]
  /prebuilts/maven_repo/android/com/android/support/palette-v7/
maven-metadata.xml 4 <artifactId>palette-v7</artifactId>
  /external/opencv/otherlibs/highgui/
utils.cpp 341 void CvtPaletteToGray( const PaletteEntry* palette, uchar* grayPalette, int entries )
346 icvCvt_BGR2Gray_8u_C3C1R( (uchar*)(palette + i), 0, grayPalette + i, 0, cvSize(1,1) );
351 void FillGrayPalette( PaletteEntry* palette, int bpp, bool negative )
359 palette[i].b = palette[i].g = palette[i].r = (uchar)val;
360 palette[i].a = 0;
365 bool IsColorPalette( PaletteEntry* palette, int bpp )
371 if( palette[i].b != palette[i].g |
    [all...]
utils.h 96 void FillGrayPalette( PaletteEntry* palette, int bpp, bool negative = false );
97 bool IsColorPalette( PaletteEntry* palette, int bpp );
98 void CvtPaletteToGray( const PaletteEntry* palette, uchar* grayPalette, int entries );
104 uchar* FillColorRow8( uchar* data, uchar* indices, int len, PaletteEntry* palette );
105 uchar* FillGrayRow8( uchar* data, uchar* indices, int len, uchar* palette );
106 uchar* FillColorRow4( uchar* data, uchar* indices, int len, PaletteEntry* palette );
107 uchar* FillGrayRow4( uchar* data, uchar* indices, int len, uchar* palette );
108 uchar* FillColorRow1( uchar* data, uchar* indices, int len, PaletteEntry* palette );
109 uchar* FillGrayRow1( uchar* data, uchar* indices, int len, uchar* palette );
  /external/skia/src/utils/
SkTextureCompressor_LATC.cpp 22 // Generates an LATC palette. LATC constructs
23 // a palette of eight colors from LUM0 and LUM1 using the algorithm:
44 static void generate_latc_palette(uint8_t palette[], uint8_t lum0, uint8_t lum1) {
45 palette[0] = lum0;
46 palette[1] = lum1;
49 palette[i+1] = ((7-i)*lum0 + i*lum1) / 7;
53 palette[i+1] = ((5-i)*lum0 + i*lum1) / 5;
55 palette[6] = 0;
56 palette[7] = 255;
141 uint8_t palette[kLATCPaletteSize] local
187 uint8_t palette[kLATCPaletteSize]; local
411 uint8_t palette[kLATCPaletteSize]; local
    [all...]
  /frameworks/base/docs/html/training/material/
drawables.jd 49 android.support.v7.graphics.Palette} class, which lets you extract prominent colors from an image.
62 {@link android.support.v7.graphics.Palette#generate Palette.generate()} static method in the
64 {@link android.support.v7.graphics.Palette#generateAsync Palette.generateAsync()} method and
68 <code>Palette</code> class, such as <code>Palette.getVibrantColor</code>.</p>
70 <p>To use the {@link android.support.v7.graphics.Palette} class in your project, add the following
77 compile 'com.android.support:palette-v7:21.0.0'
81 <p>For more information, see the API reference for the {@link android.support.v7.graphics.Palette}
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/event/
EventColorCache.java 85 ArrayList<Integer> palette = mColorPaletteMap.get(key); local
86 Integer[] sortedColors = new Integer[palette.size()];
87 Arrays.sort(palette.toArray(sortedColors), comparator);
88 palette.clear();
90 palette.add(color);
92 mColorPaletteMap.put(key, palette);
  /external/libvncserver/libvncserver/
zrlepalettehelper.c 29 memset(helper->palette, 0, sizeof(helper->palette));
46 helper->palette[helper->size] = pix;
zrlepalettehelper.h 22 * The PaletteHelper class helps us build up the palette from pixel data by
34 zrle_U32 palette[ZRLE_PALETTE_MAX_SIZE]; member in struct:__anon13532
  /external/fio/tools/plot/
graph2D.gpm 20 #set palette rgbformulae 22,9,23
21 #set palette rgbformulae 7,5,15
math.gpm 8 set palette rgbformulae 7,5,15
  /external/libpng/
TODO 9 Add "grayscale->palette" transformation and "palette->grayscale" detection.
  /frameworks/support/v7/palette/src/androidTest/java/android/support/v7/graphics/
MaxColorsTest.java 51 Palette newPalette = Palette.from(mSource).maximumColorCount(colorCount).generate();
  /packages/wallpapers/Basic/res/xml/
polar_clock_prefs.xml 34 android:key="palette"
35 android:title="@string/palette"
  /frameworks/base/docs/html/sdk/support_api_diff/23/changes/
android.support.v7.graphics.Palette.Builder.html 10 android.support.v7.graphics.Palette.Builder
74 Class android.support.v7.graphics.<A HREF="../../../../reference/android/support/v7/graphics/Palette.Builder.html" target="_top"><font size="+2"><code>Palette.Builder</code></font></A>
86 <A NAME="android.support.v7.graphics.Palette.Builder.addFilter_added(android.support.v7.graphics.Palette.Filter)"></A>
87 <nobr><code>Builder</code>&nbsp;<A HREF="../../../../reference/android/support/v7/graphics/Palette.Builder.html#addFilter(android.support.v7.graphics.Palette.Filter)" target="_top"><code>addFilter</code></A>(<code>Filter</code>)</nobr>
93 <A NAME="android.support.v7.graphics.Palette.Builder.clearFilters_added()"></A>
94 <nobr><code>Builder</code>&nbsp;<A HREF="../../../../reference/android/support/v7/graphics/Palette.Builder.html#clearFilters()" target="_top"><code>clearFilters</code></A>()</nobr>
  /external/chromium-trace/trace-viewer/tracing/tracing/ui/base/
event_presenter.html 19 var palette = tr.ui.b.getColorPalette();
29 return palette[colorId];
70 return palette[colorId];
  /frameworks/support/
settings.gradle 16 include ':support-palette-v7'
17 project(':support-palette-v7').projectDir = new File(rootDir, 'v7/palette')
  /external/zopfli/src/zopflipng/
zopflipng_lib.cc 116 // If true, means palette is possible so avoid using different RGB values for
118 bool palette = count.size() <= 256; local
122 if (key || palette) {
126 // used as a valid color key, or in case of palette ensures a color
127 // existing in the input image palette is used.
142 if (!key && !palette) {
143 // Use the last encountered RGB value if no key or palette is used: that
152 // If there are now less colors, update palette of input image to match this.
153 if (palette && inputstate->info_png.color.palettesize > 0) {
157 unsigned char* palette_in = inputstate->info_png.color.palette;
    [all...]
  /frameworks/support/v7/palette/
.project 3 <name>android-support-v7-palette</name>
  /frameworks/support/v7/palette/src/main/
AndroidManifest.xml 17 package="android.support.v7.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::__anon24554
115 PsbAYUVSample8 constant[16]; /* server convert palette into SGX constants */
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
d3dx9tex.h 239 PALETTEENTRY *palette, struct IDirect3DTexture9 **texture);
243 PALETTEENTRY *palette, struct IDirect3DTexture9 **texture);
249 PALETTEENTRY *palette, struct IDirect3DCubeTexture9 **cube);
253 PALETTEENTRY *palette, struct IDirect3DCubeTexture9 **cube);
259 PALETTEENTRY *palette, struct IDirect3DVolumeTexture9 **volume);
263 PALETTEENTRY *palette, struct IDirect3DVolumeTexture9 **volume);
269 PALETTEENTRY *palette, struct IDirect3DTexture9 **texture);
273 PALETTEENTRY *palette, struct IDirect3DTexture9 **texture);
279 PALETTEENTRY *palette, struct IDirect3DCubeTexture9 **cube);
283 PALETTEENTRY *palette, struct IDirect3DCubeTexture9 **cube)
    [all...]

Completed in 611 milliseconds

12 3 4 5 6 7 8 91011>>