HomeSort by relevance Sort by last modified time
    Searched refs:colors (Results 276 - 300 of 842) sorted by null

<<11121314151617181920>>

  /external/deqp/modules/gles31/functional/
es31fShaderFramebufferFetchTests.cpp 613 // - Attach multiple textures containing solid colors to framebuffer.
628 void genFramebufferWithTextures (const vector<tcu::Vec4>& colors);
629 void genAttachmentTextures (const vector<tcu::Vec4>& colors);
669 void MultipleRenderTargetsTestCase::genFramebufferWithTextures (const vector<tcu::Vec4>& colors)
674 genAttachmentTextures(colors);
685 void MultipleRenderTargetsTestCase::genAttachmentTextures (const vector<tcu::Vec4>& colors)
701 clear(data.getAccess(), colors[i]);
746 vector<tcu::Vec4> colors; local
747 colors.push_back(scaleColorValue(m_texFmt, tcu::Vec4(0.9f, 0.0f, 0.0f, 1.0f)));
748 colors.push_back(scaleColorValue(m_texFmt, tcu::Vec4(0.0f, 0.9f, 0.0f, 1.0f)))
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
GradientDrawableTest.java 339 int[] colors; local
341 colors = new int[] { Color.RED };
342 gradientDrawable.setColors(colors);
343 assertArrayEquals("Color was set to " + Arrays.toString(colors),
344 colors, gradientDrawable.getColors());
346 colors = null;
347 gradientDrawable.setColors(colors);
348 assertArrayEquals("Color was set to " + Arrays.toString(colors),
349 colors, gradientDrawable.getColors());
  /external/ImageMagick/coders/
mpc.c 409 if (LocaleCompare(keyword,"colors") == 0)
411 image->colors=StringToUnsignedLong(options);
841 if (AcquireImageColormap(image,image->colors,exception) == MagickFalse)
843 if (image->colors != 0)
855 colormap=(unsigned char *) AcquireQuantumMemory(image->colors,
859 count=ReadBlob(image,packet_size*image->colors,colormap);
860 if (count != (ssize_t) (packet_size*image->colors))
874 for (i=0; i < (ssize_t) image->colors; i++)
890 for (i=0; i < (ssize_t) image->colors; i++)
906 for (i=0; i < (ssize_t) image->colors; i++
    [all...]
pcx.c 355 image->colors=16;
356 count=ReadBlob(image,3*image->colors,pcx_colormap);
357 if (count != (ssize_t) (3*image->colors))
367 image->colors=(size_t) MagickMin(one << (1UL*
369 if (AcquireImageColormap(image,image->colors,exception) == MagickFalse)
374 for (i=0; i < (ssize_t) image->colors; i++)
464 if (image->colors > 256)
479 if (image->colors > 16)
485 count=ReadBlob(image,3*image->colors,pcx_colormap);
487 for (i=0; i < (ssize_t) image->colors; i++
    [all...]
gif.c     [all...]
tim.c 201 tim_colormap=(unsigned char *) AcquireQuantumMemory(image->colors,
205 count=ReadBlob(image,2*image->colors,tim_colormap);
206 if (count != (ssize_t) (2*image->colors))
209 for (i=0; i < (ssize_t) image->colors; i++)
wpg.c 1018 image->colors = 0;
1067 image->colors=WPG_Palette.NumOfEntries;
1068 if (!AcquireImageColormap(image,image->colors,exception))
    [all...]
  /external/ImageMagick/www/api/
histogram.php 12 <meta name="description" content="ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves."/>
59 <p>GetImageHistogram() returns the unique colors in an image.</p>
81 <p>IdentifyPaletteImage() returns MagickTrue if the image has 256 unique colors or less.</p>
100 <p>IsHistogramImage() returns MagickTrue if the image has 1024 unique colors or less.</p>
119 <p>IsPaletteImage() returns MagickTrue if the image is PseudoClass and has 256 unique colors or less.</p>
134 <p>MinMaxStretchImage() uses the exact minimum and maximum values found in each of the channels given, as the BlackPoint and WhitePoint to linearly stretch the colors (and histogram) of the image. The stretch points are also moved further inward by the adjustment values given.</p>
177 <p>GetNumberColors() returns the number of unique colors in an image.</p>
199 <p>UniqueImageColors() returns the unique colors of an image.</p>
quantize.php 9 <title>ImageMagick: MagickCore, C API for ImageMagick: Reduce the Number of Unique Colors in an Image</title>
12 <meta name="description" content="ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves."/>
15 <meta name="keywords" content="magickcore, c, api, for, imagemagick:, reduce, the, number, of, unique, colors, in, an, image, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"/>
59 <p>QuantizeImage() takes a standard RGB or monochrome images and quantizes them down to some fixed number of colors.</p>
69 <p>The basic algorithm operates in three phases: Classification, Reduction, and Assignment. Classification builds a color description tree for the image. Reduction collapses the tree until the number it represents, at most, the number of colors desired in the output image. Assignment defines the output image's color map and sets each pixel's color by restorage_class in the reduced tree. Our goal is to minimize the numerical discrepancies between the original colors and quantized colors (quantization error).</p>
71 <p>Classification begins by initializing a color description tree of sufficient depth to represent each possible input color in a leaf. However, it is impractical to generate a fully-formed color description tree in the storage_class phase for realistic values of Cmax. If colors components in the input image are quantized to k-bit precision, so that Cmax= 2k-1, the tree would need k levels below the root node to allow representing each possible input color in a leaf. This becomes prohibitive because the tree's total number of nodes is 1 + sum(i=1, k, 8k).</p>
75 <p>(1) Initializes data structures for nodes only as they are needed; (2) Chooses a maximum depth for the tree as a function of the desired number of colors in the output image (currently log2(colormap size)).</p>
90 <p>Reduction repeatedly prunes the tree until the number of nodes with n2 &gt; 0 is less than or equal to the maximum number of colors allowed in the output image. On any given iteration over the tree, it selects those nodes whose E (…)
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
AppCompatDrawableManager.java 598 final int[] colors = new int[4]; local
606 colors[i] = disabledColor;
610 colors[i] = compositeColors(colorControlHighlight, baseColor);
614 colors[i] = compositeColors(colorControlHighlight, baseColor);
619 colors[i] = baseColor;
622 return new ColorStateList(states, colors);
627 final int[] colors = new int[3]; local
635 // disabled colors from it
639 colors[i] = thumbColor.getColorForState(states[i], 0);
643 colors[i] = getThemeAttrColor(context, R.attr.colorControlActivated)
    [all...]
  /cts/tests/app/src/android/app/cts/
WallpaperManagerTest.java 204 WallpaperManager.OnColorsChangedListener counter = (colors, whichWp) -> latch.countDown();
284 WallpaperManager.OnColorsChangedListener counter = (colors, whichWp) -> {
333 WallpaperManager.OnColorsChangedListener counter = (colors, whichWp) -> {
364 // ? System colors are null
365 // ? Lock colors are null
366 // ? System colors are known
367 // ? Lock colors are known
382 WallpaperManager.OnColorsChangedListener callback = (colors, which) -> {
390 Log.d("WP", "color state count down: " + which + " - " + colors);
421 public void onColorsChanged(WallpaperColors colors, int which)
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
MSSIMComparer.java 79 private boolean isWindowWhite(int[] colors, int start, int stride) {
82 if (colors[indexFromXAndY(x, y, stride, start)] != Color.WHITE) {
  /development/apps/NinePatchLab/src/com/android/ninepatch/
NinePatchLab.java 59 int[] colors = new int[] { local
64 colors);
  /external/eigen/bench/btl/data/
mk_new_gnuplot.sh 52 convert -background white -density 120 -rotate 90 -resize 800 +dither -colors 256 -quality 0 ../${DIR}/$WHAT.ps -background white -flatten ../${DIR}/$WHAT.png
  /external/skia/gm/
colormatrix.cpp 69 SkColor colors[] = {0x00000000, 0xFFFFFFFF}; local
71 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2,
  /external/skia/src/images/
SkWebpEncoder.cpp 137 const SkPMColor* colors = nullptr; local
182 proc((char*) &rgb[y * rgbStride], (const char*) &src[y * rowBytes], pic.width, bpp, colors);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
GlobalActionsImpl.java 103 GradientColors colors = Dependency.get(SysuiColorExtractor.class).getColors( local
105 background.setColors(colors, false);
  /frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/
TonalTest.java 98 assertTrue("Blacklisted colors are empty", config.getBlacklistedColors().size() > 1);
106 // Creating a WallpaperColors object that contains *only* blacklisted colors.
116 assertTrue("Cannot generate a tonal palette from blacklisted colors.",
124 // Creating a WallpaperColors object that contains *only* blacklisted colors.
127 WallpaperColors colors = new WallpaperColors(Color.valueOf(blacklistedColor), local
132 tonal.extractInto(colors, normal, new GradientColors(),
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/
MultiTouchView.java 152 * @param colors Bitmap to draw.
154 public void drawBitmap(int x, int y, int w, int h, int[] colors) {
156 final Bitmap bmp = Bitmap.createBitmap(colors, 0, w, w, h, Bitmap.Config.ARGB_8888);
  /developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/config/
DigitalWatchFaceWearableConfigActivity.java 83 String[] colors = getResources().getStringArray(R.array.color_array); local
84 listView.setAdapter(new ColorListAdapter(colors));
163 public ColorListAdapter(String[] colors) {
164 mColors = colors;
  /developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/config/
DigitalWatchFaceWearableConfigActivity.java 83 String[] colors = getResources().getStringArray(R.array.color_array); local
84 listView.setAdapter(new ColorListAdapter(colors));
163 public ColorListAdapter(String[] colors) {
164 mColors = colors;
  /development/samples/ApiDemos/src/com/example/android/apis/view/
Spinner1.java 46 this, R.array.colors, android.R.layout.simple_spinner_item);
  /development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DigitalWatchFaceWearableConfigActivity.java 81 String[] colors = getResources().getStringArray(R.array.color_array); local
82 listView.setAdapter(new ColorListAdapter(colors));
161 public ColorListAdapter(String[] colors) {
162 mColors = colors;
  /external/ImageMagick/scripts/
xsnap 180 frame .options.processing.colors
181 label .options.processing.colors.label -text "Colors:" -width 9 -anchor w
182 scale .options.processing.colors.scale -orient horizontal -length 11c \
183 -from 0 -to 256 -tickinterval 32 -variable snap(colors)
184 pack .options.processing.colors.label .options.processing.colors.scale \
186 pack .options.processing.colors
194 pack .options.processing.checks .options.processing.colors \
436 if {$snap(colors)} {
    [all...]
  /external/deqp/modules/gles3/functional/
es3fShaderFragDataTests.cpp 161 const float colors[] = local
174 glu::va::Float("a_color", 4, 4, 0, &colors[0]),
263 const float colors[] = local
275 glu::va::Float("a_color", 4, 4, 0, &colors[0])

Completed in 1051 milliseconds

<<11121314151617181920>>