/external/chromium_org/webkit/renderer/compositor_bindings/ |
web_float_animation_curve_unittest.cc | 19 scoped_ptr<WebFloatAnimationCurve> curve(new WebFloatAnimationCurveImpl); 20 curve->add(WebFloatKeyframe(0, 2), 22 EXPECT_FLOAT_EQ(2, curve->getValue(-1)); 23 EXPECT_FLOAT_EQ(2, curve->getValue(0)); 24 EXPECT_FLOAT_EQ(2, curve->getValue(0.5)); 25 EXPECT_FLOAT_EQ(2, curve->getValue(1)); 26 EXPECT_FLOAT_EQ(2, curve->getValue(2)); 31 scoped_ptr<WebFloatAnimationCurve> curve(new WebFloatAnimationCurveImpl); 32 curve->add(WebFloatKeyframe(0, 2), 34 curve->add(WebFloatKeyframe(1, 4) [all...] |
/external/chromium_org/cc/animation/ |
scroll_offset_animation_curve_unittest.cc | 16 scoped_ptr<ScrollOffsetAnimationCurve> curve( 21 curve->SetInitialValue(target_value); 22 EXPECT_DOUBLE_EQ(0.0, curve->Duration()); 25 curve->SetInitialValue(gfx::Vector2dF(136.f, 200.f)); 26 EXPECT_DOUBLE_EQ(0.1, curve->Duration()); 29 curve->SetInitialValue(gfx::Vector2dF(19.f, 200.f)); 30 EXPECT_DOUBLE_EQ(0.15, curve->Duration()); 33 curve->SetInitialValue(gfx::Vector2dF(100.f, 344.f)); 34 EXPECT_DOUBLE_EQ(0.2, curve->Duration()); 37 curve->SetInitialValue(gfx::Vector2dF(100.f, 191.f)) [all...] |
keyframed_animation_curve_unittest.cc | 30 scoped_ptr<KeyframedColorAnimationCurve> curve( 32 curve->AddKeyframe( 35 EXPECT_SKCOLOR_EQ(color, curve->GetValue(-1.f)); 36 EXPECT_SKCOLOR_EQ(color, curve->GetValue(0.f)); 37 EXPECT_SKCOLOR_EQ(color, curve->GetValue(0.5f)); 38 EXPECT_SKCOLOR_EQ(color, curve->GetValue(1.f)); 39 EXPECT_SKCOLOR_EQ(color, curve->GetValue(2.f)); 47 scoped_ptr<KeyframedColorAnimationCurve> curve( 49 curve->AddKeyframe( 51 curve->AddKeyframe [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/ |
ECNamedCurveParameterSpec.java | 9 * specification signifying that the curve parameters can also be 21 ECCurve curve, 25 super(curve, G, n); 32 ECCurve curve, 37 super(curve, G, n, h); 44 ECCurve curve, 50 super(curve, G, n, h, seed); 56 * return the name of the curve the EC domain parameters belong to.
|
ECNamedCurveSpec.java | 12 * specification signifying that the curve parameters can also be 21 ECCurve curve, 24 if (curve instanceof ECCurve.Fp) 26 return new EllipticCurve(new ECFieldFp(((ECCurve.Fp)curve).getQ()), curve.getA().toBigInteger(), curve.getB().toBigInteger(), seed); 30 ECCurve.F2m curveF2m = (ECCurve.F2m)curve; 37 return new EllipticCurve(new ECFieldF2m(curveF2m.getM(), ks), curve.getA().toBigInteger(), curve.getB().toBigInteger(), seed); 43 return new EllipticCurve(new ECFieldF2m(curveF2m.getM(), ks), curve.getA().toBigInteger(), curve.getB().toBigInteger(), seed) [all...] |
ECParameterSpec.java | 10 * basic domain parameters for an Elliptic Curve public or private key. 15 private ECCurve curve; field in class:ECParameterSpec 22 ECCurve curve, 26 this.curve = curve; 34 ECCurve curve, 39 this.curve = curve; 47 ECCurve curve, 53 this.curve = curve [all...] |
ECPublicKeySpec.java | 6 * Elliptic Curve public key specification 16 * @param q the public point on the curve. 17 * @param spec the domain parameters for the curve.
|
ECKeySpec.java | 6 * base class for an Elliptic Curve Key Spec 20 * return the domain parameters for the curve
|
ECNamedCurveGenParameterSpec.java | 6 * Named curve generation spec 22 * return the name of the curve the EC domain parameters belong to.
|
ECPrivateKeySpec.java | 6 * Elliptic Curve private key specification. 17 * @param spec the domain parameters for the curve being used.
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
ECDomainParameters.java | 13 private ECCurve curve; field in class:ECDomainParameters 20 ECCurve curve, 24 this(curve, G, n, ONE, null); 28 ECCurve curve, 33 this(curve, G, n, h, null); 37 ECCurve curve, 43 this.curve = curve; 52 return curve;
|
/libcore/luni/src/main/java/java/security/spec/ |
ECParameterSpec.java | 23 * The parameter specification used with Elliptic Curve Cryptography (ECC). 26 // Elliptic curve for which this is parameter 27 private final EllipticCurve curve; field in class:ECParameterSpec 28 // Distinguished point on the elliptic curve called generator or base point 34 // Name of curve if available. 38 * Creates a new {@code ECParameterSpec} with the specified elliptic curve, 42 * @param curve 43 * the elliptic curve. 53 public ECParameterSpec(EllipticCurve curve, ECPoint generator, 55 this(curve, generator, order, cofactor, null) [all...] |
EllipticCurve.java | 24 * An Elliptic Curve with its necessary values. 31 // The first coefficient of the equation defining this elliptic curve 34 // The second coefficient of the equation defining this elliptic curve 37 // Bytes used during this elliptic curve generation, 49 * the finite field of this elliptic curve. 55 * the seed used for the generation of the curve. 106 * the finite field of this elliptic curve. 119 * Returns the coefficient {@code a} of this elliptic curve. 121 * @return the coefficient {@code a} of this elliptic curve. 128 * Returns the coefficient {@code b} of this elliptic curve [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
X9Curve.java | 17 * ASN.1 def for Elliptic-Curve Curve structure. See 24 private ECCurve curve; field in class:X9Curve 29 ECCurve curve) 31 this.curve = curve; 37 ECCurve curve, 40 this.curve = curve; 55 curve = new ECCurve.Fp(p, x9A.getValue().toBigInteger(), x9B.getValue().toBigInteger()) [all...] |
X9ECParameters.java | 16 * ASN.1 def for Elliptic-Curve ECParameters structure. See 26 private ECCurve curve; field in class:X9ECParameters 45 this.curve = x9c.getCurve(); 46 this.g = new X9ECPoint(curve, (ASN1OctetString)seq.getObjectAt(3)).getPoint(); 72 ECCurve curve, 76 this(curve, g, n, ONE, null); 80 ECCurve curve, 85 this(curve, g, n, h, null); 89 ECCurve curve, 95 this.curve = curve [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/ |
SECNamedCurves.java | 39 ECCurve curve = new ECCurve.Fp(p, a, b); 40 //ECPoint G = curve.decodePoint(Hex.decode("02" 42 ECPoint G = curve.decodePoint(Hex.decode("04" 46 return new X9ECParameters(curve, G, n, h, S); 65 ECCurve curve = new ECCurve.Fp(p, a, b); 66 //ECPoint G = curve.decodePoint(Hex.decode("03" 68 ECPoint G = curve.decodePoint(Hex.decode("04" 72 return new X9ECParameters(curve, G, n, h, S); 91 ECCurve curve = new ECCurve.Fp(p, a, b); 92 //ECPoint G = curve.decodePoint(Hex.decode("03 [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
ScrollAnimatorNone.h | 61 enum Curve { 71 Parameters(bool isEnabled, double animationTime, double repeatMinimumSustainTime, Curve attackCurve, double attackTime, Curve releaseCurve, double releaseTime, Curve coastTimeCurve, double maximumCoastTime); 80 Curve m_attackCurve; 83 Curve m_releaseCurve; 86 Curve m_coastTimeCurve; 105 static double curveAt(Curve, double t); 106 static double attackCurve(Curve, double deltaT, double curveT, double startPos, double attackPos); 107 static double releaseCurve(Curve, double deltaT, double curveT, double releasePos, double desiredPos) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
EC5Util.java | 18 ECCurve curve, 23 if (curve instanceof ECCurve.Fp) 25 return new EllipticCurve(new ECFieldFp(((ECCurve.Fp)curve).getQ()), curve.getA().toBigInteger(), curve.getB().toBigInteger(), null); 29 ECCurve.F2m curveF2m = (ECCurve.F2m)curve; 36 return new EllipticCurve(new ECFieldF2m(curveF2m.getM(), ks), curve.getA().toBigInteger(), curve.getB().toBigInteger(), null); 42 return new EllipticCurve(new ECFieldF2m(curveF2m.getM(), ks), curve.getA().toBigInteger(), curve.getB().toBigInteger(), null) 98 ECCurve curve = convertCurve(ecSpec.getCurve()); local [all...] |
/libcore/luni/src/test/java/tests/security/spec/ |
ECParameterSpecTest.java | 29 EllipticCurve curve; field in class:ECParameterSpecTest 37 curve = new EllipticCurve(new ECFieldF2m(2), BigInteger.valueOf(1), 40 ecps = new ECParameterSpec(curve, ecpoint, BigInteger.valueOf(1), 1); 44 curve = null; 54 * case 2: NullPointerException - if curve is null 64 assertEquals("wrong elliptic curve", curve, ecps.getCurve()); 70 // case 2: NullPointerException - if curve is null. 80 new ECParameterSpec(curve, null, BigInteger.valueOf(1), 1); 88 new ECParameterSpec(curve, ecpoint, null, 1) [all...] |
/external/chromium_org/webkit/child/ |
touch_fling_gesture_curve_unittest.cc | 53 scoped_ptr<WebGestureCurve> curve(webkit_glue::TouchFlingGestureCurve::Create( 57 // Note: the expectations below are dependent on the curve parameters hard 59 EXPECT_TRUE(curve->apply(0, &target)); 60 EXPECT_TRUE(curve->apply(0.25, &target)); 63 EXPECT_TRUE(curve->apply(0.45f, &target)); // Use non-uniform tick spacing. 64 EXPECT_TRUE(curve->apply(1, &target)); 65 EXPECT_FALSE(curve->apply(1.5, &target));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
ECPoint.java | 12 ECCurve curve; field in class:ECPoint 24 protected ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y) 26 this.curve = curve; 33 return curve; 153 return this.curve.getInfinity(); 161 * Elliptic curve points over Fp 169 * @param curve the curve to use 173 public Fp(ECCurve curve, ECFieldElement x, ECFieldElement y [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
SplineMath.java | 18 float[][] curve = new float[n][2]; local 30 curve[0][0] = (float) (points[0][0]); 31 curve[0][1] = (float) (points[0][1]); 32 int last = curve.length - 1; 33 curve[last][0] = (float) (points[points.length - 1][0]); 34 curve[last][1] = (float) (points[points.length - 1][1]); 36 for (int i = 0; i < curve.length; i++) { 40 double x = start + i * (end - start) / (curve.length - 1); 67 curve[i][0] = (float) (x); 68 curve[i][1] = (float) (y) 160 float[][] curve = s.calculatetCurve(40); local [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/ |
ECParameterSpec_ImplTest.java | 66 * <code>curve</code>, <code>generator</code> or <code>order</code> is <code>null</code><br> 72 EllipticCurve curve = local 79 // Test case 1: curve is null 89 new ECParameterSpec(curve, null, order, 10); 97 new ECParameterSpec(curve, generator, null, 10); 120 EllipticCurve curve = local 129 new ECParameterSpec(curve, generator, BigInteger.valueOf(-5L), 10); 137 new ECParameterSpec(curve, generator, BigInteger.ZERO, 10); 145 new ECParameterSpec(curve, generator, BigInteger.valueOf(5L), -10); 153 new ECParameterSpec(curve, generator, BigInteger.valueOf(5L), 0) 177 EllipticCurve curve = local 200 EllipticCurve curve = local 225 EllipticCurve curve = local 250 EllipticCurve curve = local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/ |
ECKey.java | 6 * generic interface for an Elliptic Curve Key.
|
ECPrivateKey.java | 7 * interface for Elliptic Curve Private keys.
|