Searched refs:curve (Results 1 - 25 of 100) sorted by relevance

1234

/external/chromium_org/cc/blink/
H A Dweb_float_animation_curve_unittest.cc19 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
[all...]
H A Dweb_animation_unittest.cc18 scoped_ptr<WebCompositorAnimationCurve> curve(
21 *curve, WebCompositorAnimation::TargetPropertyOpacity, 1, 0));
31 scoped_ptr<WebFloatAnimationCurve> curve(new WebFloatAnimationCurveImpl());
33 *curve, WebCompositorAnimation::TargetPropertyOpacity, 1, 0));
/external/chromium_org/cc/animation/
H A Dkeyframed_animation_curve_unittest.cc30 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
[all...]
H A Dscroll_offset_animation_curve_unittest.cc16 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
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/
H A DECNamedCurveSpec.java12 * 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
20 convertCurve( ECCurve curve, byte[] seed) argument
56 ECNamedCurveSpec( String name, ECCurve curve, org.bouncycastle.math.ec.ECPoint g, BigInteger n) argument
67 ECNamedCurveSpec( String name, EllipticCurve curve, ECPoint g, BigInteger n) argument
78 ECNamedCurveSpec( String name, ECCurve curve, org.bouncycastle.math.ec.ECPoint g, BigInteger n, BigInteger h) argument
90 ECNamedCurveSpec( String name, EllipticCurve curve, ECPoint g, BigInteger n, BigInteger h) argument
102 ECNamedCurveSpec( String name, ECCurve curve, org.bouncycastle.math.ec.ECPoint g, BigInteger n, BigInteger h, byte[] seed) argument
[all...]
H A DECParameterSpec.java15 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;
21 ECParameterSpec( ECCurve curve, ECPoint G, BigInteger n) argument
33 ECParameterSpec( ECCurve curve, ECPoint G, BigInteger n, BigInteger h) argument
46 ECParameterSpec( ECCurve curve, ECPoint G, BigInteger n, BigInteger h, byte[] seed) argument
[all...]
H A DECNamedCurveParameterSpec.java9 * 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.
19 ECNamedCurveParameterSpec( String name, ECCurve curve, ECPoint G, BigInteger n) argument
30 ECNamedCurveParameterSpec( String name, ECCurve curve, ECPoint G, BigInteger n, BigInteger h) argument
42 ECNamedCurveParameterSpec( String name, ECCurve curve, ECPoint G, BigInteger n, BigInteger h, byte[] seed) argument
/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebActiveGestureAnimation.cpp34 PassOwnPtr<WebActiveGestureAnimation> WebActiveGestureAnimation::createAtAnimationStart(PassOwnPtr<WebGestureCurve> curve, WebGestureCurveTarget* target) argument
36 return adoptPtr(new WebActiveGestureAnimation(curve, target, 0, true));
39 PassOwnPtr<WebActiveGestureAnimation> WebActiveGestureAnimation::createWithTimeOffset(PassOwnPtr<WebGestureCurve> curve, WebGestureCurveTarget* target, double startTime) argument
41 return adoptPtr(new WebActiveGestureAnimation(curve, target, startTime, false));
48 WebActiveGestureAnimation::WebActiveGestureAnimation(PassOwnPtr<WebGestureCurve> curve, WebGestureCurveTarget* target, double startTime, bool waitingForFirstTick) argument
51 , m_curve(curve)
63 // the animation start time before passing to the curve.
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
H A DECDomainParameters.java13 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;
19 ECDomainParameters( ECCurve curve, ECPoint G, BigInteger n) argument
27 ECDomainParameters( ECCurve curve, ECPoint G, BigInteger n, BigInteger h) argument
36 ECDomainParameters( ECCurve curve, ECPoint G, BigInteger n, BigInteger h, byte[] seed) argument
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DWaveShaperNode.idl34 attribute Float32Array curve;
H A DWaveShaperNode.cpp47 void WaveShaperNode::setCurve(Float32Array* curve) argument
50 waveShaperProcessor()->setCurve(curve);
53 Float32Array* WaveShaperNode::curve() function in class:blink::WaveShaperNode
55 return waveShaperProcessor()->curve();
H A DAudioParamTimeline.h50 void setValueCurveAtTime(Float32Array* curve, double time, double duration, ExceptionState&);
78 ParamEvent(Type type, float value, double time, double timeConstant, double duration, PassRefPtr<Float32Array> curve) argument
84 , m_curve(curve)
93 Float32Array* curve() { return m_curve.get(); } function in class:blink::AudioParamTimeline::ParamEvent
H A DWaveShaperNode.h47 Float32Array* curve();
/external/chromium_org/ui/events/gestures/
H A Dfling_curve_unittest.cc15 FlingCurve curve(velocity, now);
18 curve.GetScrollAmountAtTime(now + base::TimeDelta::FromMilliseconds(20));
23 curve.GetScrollAmountAtTime(now + base::TimeDelta::FromMilliseconds(250));
28 curve.GetScrollAmountAtTime(now + base::TimeDelta::FromSeconds(10));
32 EXPECT_TRUE(curve.GetScrollAmountAtTime(
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
H A DSECNamedCurves.java18 private static ECCurve configureCurve(ECCurve curve) argument
22 // if (curve.getCoordinateSystem() != coord && curve.supportsCoordinateSystem(coord))
24 // return curve.configure()
30 return curve;
54 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b));
55 //ECPoint G = curve.decodePoint(Hex.decode("02"
57 ECPoint G = curve.decodePoint(Hex.decode("04"
61 return new X9ECParameters(curve, G, n, h, S);
80 ECCurve curve
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
H A DX9Curve.java24 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());
90 curve = new ECCurve.F2m(m, k1, k2, k3, x9A.getValue().toBigInteger(), x9B.getValue().toBigInteger());
105 if (curve instanceo
28 X9Curve( ECCurve curve) argument
36 X9Curve( ECCurve curve, byte[] seed) argument
[all...]
H A DX9ECParameters.java26 private ECCurve curve; field in class:X9ECParameters
45 this.curve = x9c.getCurve();
54 this.g = new X9ECPoint(curve, (ASN1OctetString)p).getPoint();
82 ECCurve curve,
86 this(curve, g, n, ONE, null);
90 ECCurve curve,
95 this(curve, g, n, h, null);
99 ECCurve curve,
105 this.curve = curve;
81 X9ECParameters( ECCurve curve, ECPoint g, BigInteger n) argument
89 X9ECParameters( ECCurve curve, ECPoint g, BigInteger n, BigInteger h) argument
98 X9ECParameters( ECCurve curve, ECPoint g, BigInteger n, BigInteger h, byte[] seed) argument
[all...]
/external/libvorbis/lib/
H A Dlsp.h24 extern void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,
/external/chromium_org/content/child/
H A Dtouch_fling_gesture_curve_unittest.cc52 scoped_ptr<WebGestureCurve> curve(content::TouchFlingGestureCurve::Create(
55 // Note: the expectations below are dependent on the curve parameters hard
57 EXPECT_TRUE(curve->apply(0, &target));
58 EXPECT_TRUE(curve->apply(0.25, &target));
61 EXPECT_TRUE(curve->apply(0.45f, &target)); // Use non-uniform tick spacing.
62 EXPECT_TRUE(curve->apply(1, &target));
63 EXPECT_FALSE(curve->apply(1.5, &target));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
H A DEC5Util.java18 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
17 convertCurve( ECCurve curve, byte[] seed) argument
116 convertPoint( ECCurve curve, ECPoint point, boolean withCompression) argument
[all...]
/external/skia/src/pathops/
H A DSkOpEdgeBuilder.cpp59 SkPoint curve[4]; local
68 closeContour(curve[0], curveStart);
72 curveStart = curve[0] = pts[0];
76 if (SkDPoint::ApproximatelyEqual(curve[0], pts[1])) {
85 curve[1] = pts[1];
86 curve[2] = pts[2];
87 verb = SkReduceOrder::Quad(curve, pts);
100 curve[0] = quadPts[nQuads * 2 - 1];
105 curve[1] = pts[1];
106 curve[
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DWTauNafMultiplier.java28 ECCurve.F2m curve = (ECCurve.F2m)p.getCurve();
29 int m = curve.getM();
30 byte a = curve.getA().toBigInteger().byteValue();
31 byte mu = curve.getMu();
32 BigInteger[] s = curve.getSi();
36 return multiplyWTnaf(p, rho, curve.getPreCompInfo(p), a, mu);
83 ECCurve.F2m curve = (ECCurve.F2m)p.getCurve();
84 byte a = curve.getA().toBigInteger().byteValue();
90 curve.setPreCompInfo(p, new WTauNafPreCompInfo(pu));
H A DECPoint.java12 protected static ECFieldElement[] getInitialZCoords(ECCurve curve) argument
14 // Cope with null curve, most commonly used by implicitlyCa
15 int coord = null == curve ? ECCurve.COORD_AFFINE : curve.getCoordinateSystem();
26 ECFieldElement one = curve.fromBigInteger(ECConstants.ONE);
37 return new ECFieldElement[]{ one, curve.getA() };
43 protected ECCurve curve; field in class:ECPoint
52 protected ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y) argument
54 this(curve, x, y, getInitialZCoords(curve));
57 ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs) argument
471 Fp(ECCurve curve, ECFieldElement x, ECFieldElement y) argument
486 Fp(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) argument
498 Fp(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
1123 F2m(ECCurve curve, ECFieldElement x, ECFieldElement y) argument
1136 F2m(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) argument
1162 F2m(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
[all...]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/
H A DECParameterSpec_ImplTest.java65 * <code>curve</code>, <code>generator</code> or <code>order</code> is <code>null</code><br>
71 EllipticCurve curve =
78 // Test case 1: curve is null
88 new ECParameterSpec(curve, null, order, 10);
96 new ECParameterSpec(curve, generator, null, 10);
119 EllipticCurve curve =
128 new ECParameterSpec(curve, generator, BigInteger.valueOf(-5L), 10);
136 new ECParameterSpec(curve, generator, BigInteger.ZERO, 10);
144 new ECParameterSpec(curve, generator, BigInteger.valueOf(5L), -10);
152 new ECParameterSpec(curve, generato
[all...]
/external/chromium_org/third_party/skia/src/pathops/
H A DSkOpEdgeBuilder.cpp70 SkPoint curve[4]; local
79 closeContour(curve[0], curveStart);
84 curveStart = curve[0] = pts[0];
89 if (SkDPoint::ApproximatelyEqual(curve[0], pts[1])) {
100 curve[1] = pts[1];
101 curve[2] = pts[2];
102 verb = SkReduceOrder::Quad(curve, pts);
115 curve[0] = quadPts[nQuads * 2 - 1];
123 curve[1] = pts[1];
124 curve[
[all...]

Completed in 978 milliseconds

1234