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

  /frameworks/support/palette/src/androidTest/java/androidx/palette/graphics/
MaxColorsTest.java 48 private void testMaxColorCount(int colorCount) {
50 .maximumColorCount(colorCount)
52 assertTrue(newPalette.getSwatches().size() <= colorCount);
  /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,
  /external/skqp/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,
  /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/skqp/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/skqp/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/skqp/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 137 Thus colorCount (the caller's value, and fColorCount (our value) may
139 colorCount = 2
684 const SkScalar pos[], int colorCount,
686 SkASSERT(colorCount > 1);
691 desc->fCount = colorCount;
764 const SkScalar pos[], int colorCount,
768 ColorConverter converter(colors, colorCount);
769 return MakeLinear(pts, converter.fColors4f.begin(), nullptr, pos, colorCount, mode, flags,
776 const SkScalar pos[], int colorCount,
783 if (!valid_grad(colors, pos, colorCount, mode))
    [all...]
  /external/skqp/gm/
shallowgradient.cpp 56 const int colorCount = SK_ARRAY_COUNT(colors);
62 paint.setShader(fProc(colors, colorCount, size));
  /external/skqp/src/shaders/gradients/
SkGradientShader.cpp 137 Thus colorCount (the caller's value, and fColorCount (our value) may
139 colorCount = 2
664 const SkScalar pos[], int colorCount,
666 SkASSERT(colorCount > 1);
671 desc->fCount = colorCount;
744 const SkScalar pos[], int colorCount,
748 ColorConverter converter(colors, colorCount);
749 return MakeLinear(pts, converter.fColors4f.begin(), nullptr, pos, colorCount, mode, flags,
756 const SkScalar pos[], int colorCount,
763 if (!valid_grad(colors, pos, colorCount, mode))
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
MagnifierTest.java 256 final Map<Integer, Integer> colorCount = new HashMap<>();
260 colorCount.put(currentColor, colorCount.getOrDefault(currentColor, 0) + 1);
263 assertTrue(colorCount.size() >= expectedQuadrants);
265 final List<Integer> counts = new ArrayList<>(colorCount.values());
  /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/skqp/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 238 static void fuzz_gradient_stops(Fuzz* fuzz, SkScalar* pos, int colorCount) {
240 for (int i = 0; i < colorCount; ++i) {
245 for (int i = 0; i < colorCount; ++i) {
248 // SkASSERT(fabs(pos[colorCount - 1] - 1.0f) < 0.00001f);
249 pos[colorCount - 1] = 1.0f;
326 int colorCount;
329 fuzz->nextRange(&colorCount, 2, kMaxColors);
330 fuzz->nextN(colors, colorCount);
336 fuzz_gradient_stops(fuzz, pos, colorCount);
338 return SkGradientShader::MakeLinear(pts, colors, usePos ? pos : nullptr, colorCount,
    [all...]
  /external/skqp/fuzz/
FuzzCanvas.cpp 234 static void fuzz_gradient_stops(Fuzz* fuzz, SkScalar* pos, int colorCount) {
236 for (int i = 0; i < colorCount; ++i) {
241 for (int i = 0; i < colorCount; ++i) {
244 // SkASSERT(fabs(pos[colorCount - 1] - 1.0f) < 0.00001f);
245 pos[colorCount - 1] = 1.0f;
322 int colorCount;
325 fuzz->nextRange(&colorCount, 2, kMaxColors);
326 fuzz->nextN(colors, colorCount);
332 fuzz_gradient_stops(fuzz, pos, colorCount);
334 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...]
  /prebuilts/jdk/jdk8/darwin-x86/lib/
ct.sym 
  /prebuilts/jdk/jdk8/linux-x86/jre/lib/
rt.jar 
  /prebuilts/jdk/jdk8/linux-x86/lib/
ct.sym 

Completed in 709 milliseconds