HomeSort by relevance Sort by last modified time
    Searched defs:grad (Results 1 - 5 of 5) sorted by null

  /external/skia/tests/
ShaderOpacityTest.cpp 65 SkShader* grad = SkGradientShader::CreateLinear(pts, colors, pos, count, local
67 REPORTER_ASSERT(reporter, grad);
68 REPORTER_ASSERT(reporter, grad->isOpaque());
69 grad->unref();
74 grad = SkGradientShader::CreateLinear(pts, colors, pos, count, mode);
75 REPORTER_ASSERT(reporter, grad);
76 REPORTER_ASSERT(reporter, !grad->isOpaque());
77 grad->unref();
82 grad = SkGradientShader::CreateLinear(pts, colors, pos, count, mode);
83 REPORTER_ASSERT(reporter, grad);
    [all...]
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/
ImprovedNoise.java 89 static float grad(final int hash, final float x, final float y, final float z) { method in class:ImprovedNoise
  /external/webkit/Source/WebCore/platform/graphics/android/context/
GraphicsContextAndroid.cpp 80 Gradient* grad = gc->state().fillGradient.get(); local
83 if (grad)
84 pgc->setFillShader(grad->platformGradient());
90 grad = gc->state().strokeGradient.get();
93 if (grad)
94 pgc->setStrokeShader(grad->platformGradient());
  /external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
pitch_estimator.c 483 double grad[4]; local
535 grad[k] = tmp * Wnrg;
551 grad[k] += tmp * Wfluct;
562 grad[k] += tmp * tmp * Wgain;
566 grad[3] += 1.33 * (tmp * tmp * Wgain);
583 /* Compute update as delta_gains = -inv(H) * grad */
586 dG[k] = -grad[k];
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
NoiseGenerator.java 655 return NoiseMath.lerp(floorZ, NoiseMath.lerp(floorY, NoiseMath.lerp(floorX, NoiseMath.grad(hash[AA], x, y, z),
656 NoiseMath.grad(hash[BA], x - 1, y, z)),
657 NoiseMath.lerp(floorX, NoiseMath.grad(hash[AB], x, y - 1, z),
658 NoiseMath.grad(hash[BB], x - 1, y - 1, z))),
659 NoiseMath.lerp(floorY, NoiseMath.lerp(floorX, NoiseMath.grad(hash[AA + 1], x, y, z - 1),
660 NoiseMath.grad(hash[BA + 1], x - 1, y, z - 1)),
661 NoiseMath.lerp(floorX, NoiseMath.grad(hash[AB + 1], x, y - 1, z - 1),
662 NoiseMath.grad(hash[BB + 1], x - 1, y - 1, z - 1))));
824 public static float grad(int hash, float x, float y, float z) { method in class:NoiseGenerator.NoiseMath
    [all...]

Completed in 688 milliseconds