/external/skia/src/animator/ |
SkDisplayRandom.cpp | 21 SK_MEMBER(blend, Float), 32 SkDisplayRandom::SkDisplayRandom() : blend(0), min(0), max(SK_Scalar1) { 41 SkDebugf("blend=\"%g\" ", SkScalarToFloat(blend)); 45 SkDebugf("blend=\"%x\" ", blend); 55 SkScalar relativeT = SkUnitCubicInterp(random, SK_Scalar1 - blend, 0, 0, SK_Scalar1 - blend);
|
SkOperandInterpolator.h | 30 @param blend A positive scalar specifying how to blend between this and the next key frame. 31 [0...1) is a cubic lag/log/lag blend (slow to change at the beginning and end) 32 1 is a linear blend (default) 33 (1...inf) is a cubic log/lag/log blend (fast to change at the beginning and end) 35 bool setKeyFrame(int index, SkMSec time, const SkOperand values[], SkScalar blend = SK_Scalar1);
|
SkAnimateField.cpp | 55 if (blend.count() != 1 || blend[0] != SK_Scalar1) { 56 SkDebugf("blend=\"["); 58 for (int i = 0; i < blend.count(); i++) { 63 SkDebugf("%g", SkScalarToFloat(blend[i])); 65 SkDebugf("%x", blend[i]);
|
SkDisplayRandom.h | 34 SkScalar blend; member in class:SkDisplayRandom
|
SkOperandIterpolator.cpp | 39 bool SkOperandInterpolator::setKeyFrame(int index, SkMSec time, const SkOperand values[], SkScalar blend) 42 blend = SkScalarPin(blend, 0, SK_Scalar1); 49 timeCode->fBlend[0] = SK_Scalar1 - blend; 52 timeCode->fBlend[3] = SK_Scalar1 - blend;
|
/external/jmonkeyengine/engine/src/terrain/Common/MatDefs/Terrain/ |
HeightBasedTerrain.frag | 22 vec3 blend = abs( normal );
23 blend = (blend -0.2) * 0.7;
24 blend = normalize(max(blend, 0.00001)); // Force weights to sum to 1.0 (very important!)
25 float b = (blend.x + blend.y + blend.z);
26 blend /= vec3(b, b, b);
70 return (blend.y * terrainColor + blend.x * slopeCol1 + blend.z * slopeCol2); [all...] |
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Shadow/ |
PostShadow.j3md | 22 Blend Modulate
|
PostShadowPSSM.j3md | 39 Blend Modulate
59 Blend Modulate
|
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Misc/ |
WireColor.j3md | 15 Blend Alpha
32 Blend Alpha
|
Particle.j3md | 31 Blend AlphaAdditive
56 Blend AlphaAdditive
78 Blend AlphaAdditive
89 Blend AlphaAdditive
111 Blend AlphaAdditive
|
/external/freetype/src/truetype/ |
ttgxvar.c | 284 GX_Blend blend = face->blend; local 295 blend->avar_checked = TRUE; 306 axisCount != (FT_Long)blend->mmvar->num_axis ) 309 if ( FT_NEW_ARRAY( blend->avar_segment, axisCount ) ) 312 segment = &blend->avar_segment[0]; 322 FT_FREE( blend->avar_segment[j].correspondence ); 324 FT_FREE( blend->avar_segment ); 325 blend->avar_segment = NULL; 376 GX_Blend blend = face->blend local 860 GX_Blend blend; local 997 GX_Blend blend; local 1132 GX_Blend blend = face->blend; local 1327 GX_Blend blend = face->blend; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/transforms/ |
TranslateTransformOperation.cpp | 28 PassRefPtr<TransformOperation> TranslateTransformOperation::blend(const TransformOperation* from, double progress, bool blendToIdentity) function in class:WebCore::TranslateTransformOperation 34 return TranslateTransformOperation::create(Length(m_x.type()).blend(m_x, narrowPrecisionToFloat(progress)), 35 Length(m_y.type()).blend(m_y, narrowPrecisionToFloat(progress)), 36 Length(m_z.type()).blend(m_z, narrowPrecisionToFloat(progress)), m_type); 42 return TranslateTransformOperation::create(m_x.blend(fromX, narrowPrecisionToFloat(progress)), m_y.blend(fromY, narrowPrecisionToFloat(progress)), m_z.blend(fromZ, narrowPrecisionToFloat(progress)), m_type);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
BlendFilter.java | 34 * the multiplication of parameter "blend" and the alpha value in "right" frame. 43 "uniform float blend;\n" + 48 " float weight = colorR.a * blend;\n" + 53 super(name, new String[] { "left", "right" }, "blended", "blend"); 58 throw new RuntimeException("TODO: Write native implementation for Blend!");
|
AlphaBlendFilter.java | 48 " float blend = texture2D(tex_sampler_2, v_texcoord).r * weight;\n" + 49 " gl_FragColor = colorL * (1.0 - blend) + colorR * blend;\n" +
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
Mosaic.cpp | 65 if (blendingType == Blend::BLEND_TYPE_FULL || 66 blendingType == Blend::BLEND_TYPE_PAN) 68 stripType = Blend::STRIP_TYPE_THIN; 107 if (blendingType == Blend::BLEND_TYPE_FULL || 108 blendingType == Blend::BLEND_TYPE_PAN || 109 blendingType == Blend::BLEND_TYPE_CYLPAN || 110 blendingType == Blend::BLEND_TYPE_HORZ) { 111 blender = new Blend(); 202 if (blendingType == Blend::BLEND_TYPE_PAN) 209 int ret = Blend::BLEND_RET_ERROR [all...] |
Blend.h | 18 // Blend.h 19 // $Id: Blend.h,v 1.23 2011/06/24 04:22:14 mbansal Exp $ 53 class Blend { 71 Blend(); 72 ~Blend();
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Mosaic.cpp | 61 if (blendingType == Blend::BLEND_TYPE_FULL || 62 blendingType == Blend::BLEND_TYPE_PAN) 64 stripType = Blend::STRIP_TYPE_THIN; 102 if (blendingType == Blend::BLEND_TYPE_FULL || 103 blendingType == Blend::BLEND_TYPE_PAN || 104 blendingType == Blend::BLEND_TYPE_CYLPAN || 105 blendingType == Blend::BLEND_TYPE_HORZ) { 106 blender = new Blend(); 189 if (blendingType == Blend::BLEND_TYPE_PAN) 196 int ret = Blend::BLEND_RET_ERROR [all...] |
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
fill_test.rs | 40 int blend; 67 static void displaySingletexFill(bool blend, int quadCount, bool modulate) { 74 if (!blend) { 105 static void displayMultitextureSample(bool blend, int quadCount) { 112 if (!blend) { 146 displayMultitextureSample(gData->blend == 1 ? true : false, gData->quadCount); 149 displaySingletexFill(gData->blend == 1 ? true : false, gData->quadCount, false); 152 displaySingletexFill(gData->blend == 1 ? true : false, gData->quadCount, true);
|
FillTest.java | 63 void addTest(int index, int testId, int blend, int quadCount) { 75 dataItem.blend = blend; 91 addTest(index++, 1 /*testId*/, 0 /*blend*/, 10 /*quadCount*/); 92 addTest(index++, 0 /*testId*/, 0 /*blend*/, 10 /*quadCount*/); 93 addTest(index++, 1 /*testId*/, 1 /*blend*/, 10 /*quadCount*/); 94 addTest(index++, 0 /*testId*/, 1 /*blend*/, 10 /*quadCount*/); 95 addTest(index++, 2 /*testId*/, 1 /*blend*/, 3 /*quadCount*/); 96 addTest(index++, 2 /*testId*/, 1 /*blend*/, 1 /*quadCount*/);
|
/external/llvm/test/CodeGen/X86/ |
2011-10-19-widen_vselect.ll | 6 ; we are able to generate vector blend instructions. 9 ; CHECK: blend 19 ; CHECK: blend 31 ; CHECK: blend 42 ; CHECK: blend
|
/external/skia/include/utils/ |
SkInterpolator.h | 71 SkMSec nextTime, const SkScalar blend[4] = NULL); 99 @param blend A positive scalar specifying how to blend between this 101 blend (slow to change at the beginning and end) 102 1 is a linear blend (default) 105 const SkScalar blend[4] = NULL);
|
/frameworks/base/graphics/java/android/graphics/ |
Interpolator.java | 65 * values (with an implicity blend array of [0, 0, 1, 1] giving linear 79 * values and blend array. 85 * @param blend (may be null) Optional array of 4 blend values 87 public void setKeyFrame(int index, int msec, float[] values, float[] blend) { 94 if (blend != null && blend.length < 4) { 97 nativeSetKeyFrame(native_instance, index, msec, values, blend); 159 private static native void nativeSetKeyFrame(int native_instance, int index, int msec, float[] values, float[] blend);
|
/external/skia/src/utils/ |
SkInterpolator.cpp | 41 <blend> 62 SkMSec nextTime, const SkScalar blend[4]) { 67 return blend ? 68 SkUnitCubicInterp(t, blend[0], blend[1], blend[2], blend[3]) : t; 166 const SkScalar values[], const SkScalar blend[4]) { 169 if (blend == NULL) { 170 blend = gIdentityBlend [all...] |
/frameworks/base/libs/hwui/ |
SkiaShader.cpp | 57 SkShader::TileMode tileY, SkMatrix* matrix, bool blend): 58 mType(type), mKey(key), mTileX(tileX), mTileY(tileY), mBlend(blend) { 88 SkShader::TileMode tileY, SkMatrix* matrix, bool blend): 89 SkiaShader(kBitmap, key, tileX, tileY, matrix, blend), mBitmap(bitmap), mTexture(NULL) { 179 SkMatrix* matrix, bool blend): 180 SkiaShader(kLinearGradient, key, tileMode, tileMode, matrix, blend), 254 SkMatrix* matrix, bool blend): 256 tileMode, matrix, blend) { 290 float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend): 292 SkShader::kClamp_TileMode, matrix, blend), [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
Pose.java | 68 * Applies the offsets of this pose to the vertex buffer given by the blend factor. 70 * @param blend Blend factor, 0 = no change to vertex buffer, 1 = apply full offsets 73 public void apply(float blend, FloatBuffer vertbuf){ 78 tempVec.set(offset).multLocal(blend);
|