HomeSort by relevance Sort by last modified time
    Searched refs:colorCount (Results 1 - 12 of 12) sorted by null

  /external/skia/include/c/
sk_shader.h 41 @param colorCount Must be >=2. The number of colors (and pos if not
48 int colorCount,
78 int colorCount,
95 @param colorCount Must be >= 2. The number of colors (and pos if
102 int colorCount,
124 @param colorCount Must be >= 2. The number of colors (and pos if
137 int colorCount,
  /frameworks/support/v7/palette/tests/java/android/support/v7/graphics/
MaxColorsTest.java 50 private void testMaxColorCount(int colorCount) {
52 .maximumColorCount(colorCount)
54 assertTrue(newPalette.getSwatches().size() <= colorCount);
  /external/skia/tools/lua/
gradients.lua 50 gradients[i].colorCount = g.colorCount
55 for j = 1, g.colorCount, 1 do
56 if not LuaDoubleNearlyEqual(g.positions[j], (j-1)/(g.colorCount-1)) then
63 for j = 2, g.colorCount, 1 do
73 for j = 1, g.colorCount, 1 do
86 for j = 1, v.colorCount , 1 do
88 if j ~= v.colorCount then
95 v.colorCount,
  /external/skia/src/c/
sk_effects.cpp 52 int colorCount,
67 colorPos, colorCount,
79 int colorCount,
96 colorCount, mode, 0, &matrix).release();
102 int colorCount,
114 colorCount, 0, &matrix).release();
123 int colorCount,
142 colorCount, mode, 0, &matrix).release();
  /external/skia/bench/
HardStopGradientBench_ScaleNumHardStops.cpp 19 HardStopGradientBench_ScaleNumHardStops(int colorCount, int hardStopCount) {
20 SkASSERT(hardStopCount <= colorCount/2);
23 colorCount, hardStopCount);
25 fColorCount = colorCount;
  /external/skia/gm/
shallowgradient.cpp 56 const int colorCount = SK_ARRAY_COUNT(colors);
62 paint.setShader(fProc(colors, colorCount, size));
  /external/skia/src/shaders/gradients/
SkGradientShader.cpp 133 Thus colorCount (the caller's value, and fColorCount (our value) may
135 colorCount = 2
    [all...]
  /external/skia/src/pdf/
SkPDFGradientShader.cpp 226 int colorCount = info.fColorCount;
227 SkTDArray<SkColor> colors(info.fColors, colorCount);
228 SkTDArray<SkScalar> colorOffsets(info.fColorOffsets, colorCount);
231 while (i < colorCount - 1) {
239 colorCount -= 1;
247 for (i = 1; i < colorCount - 1; i++) {
257 SkAutoSTMalloc<4, ColorTuple> colorDataAlloc(colorCount);
259 for (int i = 0; i < colorCount; i++) {
266 if (colorCount == 2)
279 for (int i = 1; i < colorCount; i++)
    [all...]
  /external/skia/fuzz/
FuzzCanvas.cpp 304 static void fuzz_gradient_stops(Fuzz* fuzz, SkScalar* pos, int colorCount) {
306 for (int i = 0; i < colorCount; ++i) {
311 for (int i = 0; i < colorCount; ++i) {
314 // SkASSERT(fabs(pos[colorCount - 1] - 1.0f) < 0.00001f);
315 pos[colorCount - 1] = 1.0f;
392 int colorCount;
395 fuzz->nextRange(&colorCount, 2, kMaxColors);
396 fuzz->nextN(colors, colorCount);
402 fuzz_gradient_stops(fuzz, pos, colorCount);
404 return SkGradientShader::MakeLinear(pts, colors, usePos ? pos : nullptr, colorCount,
    [all...]
  /external/deqp/modules/egl/
teglNativeColorMappingTests.cpp 323 bool testNativeWindow (TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativeWindow& nativeWindow, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, int waitFrames, size_t colorCount, const tcu::Vec4* colors)
338 for (int colorNdx = 0; colorNdx < (int)colorCount; colorNdx++)
366 bool testNativePixmap (TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativePixmap& nativePixmap, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, size_t colorCount, const tcu::Vec4* colors)
381 for (int colorNdx = 0; colorNdx < (int)colorCount; colorNdx++)
407 bool testNativePixmapCopy (TestLog& log, const Library& egl, eglu::NativePixmap& nativePixmap, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, size_t colorCount, const tcu::Vec4* colors)
421 for (int colorNdx = 0; colorNdx < (int)colorCount; colorNdx++)
  /external/opencv/cvaux/src/
cvcalibfilter.cpp 545 const int colorCount = sizeof(line_colors)/sizeof(line_colors[0]);
559 color = line_colors[(j/cvRound(etalonParams[0]))%colorCount];
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
wincodec.h     [all...]

Completed in 976 milliseconds