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

1234

/external/chromium_org/webkit/renderer/compositor_bindings/
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<WebAnimationCurve> curve(new WebFloatAnimationCurveImpl());
20 new WebAnimationImpl(*curve, WebAnimation::TargetPropertyOpacity, 1, 0));
30 scoped_ptr<WebFloatAnimationCurve> curve(new WebFloatAnimationCurveImpl());
32 new WebAnimationImpl(*curve, WebAnimation::TargetPropertyOpacity, 1, 0));
/external/chromium_org/cc/animation/
H A Dkeyframed_animation_curve_unittest.cc26 scoped_ptr<KeyframedFloatAnimationCurve> curve(
28 curve->AddKeyframe(
30 EXPECT_FLOAT_EQ(2.f, curve->GetValue(-1.f));
31 EXPECT_FLOAT_EQ(2.f, curve->GetValue(0.f));
32 EXPECT_FLOAT_EQ(2.f, curve->GetValue(0.5f));
33 EXPECT_FLOAT_EQ(2.f, curve->GetValue(1.f));
34 EXPECT_FLOAT_EQ(2.f, curve->GetValue(2.f));
39 scoped_ptr<KeyframedFloatAnimationCurve> curve(
41 curve->AddKeyframe(
43 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
55 ECNamedCurveSpec( String name, ECCurve curve, org.bouncycastle.math.ec.ECPoint g, BigInteger n) argument
66 ECNamedCurveSpec( String name, EllipticCurve curve, ECPoint g, BigInteger n) argument
77 ECNamedCurveSpec( String name, ECCurve curve, org.bouncycastle.math.ec.ECPoint g, BigInteger n, BigInteger h) argument
89 ECNamedCurveSpec( String name, EllipticCurve curve, ECPoint g, BigInteger n, BigInteger h) argument
101 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/core/platform/chromium/support/
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:WebCore::WaveShaperNode
55 return waveShaperProcessor()->curve();
H A DAudioParamTimeline.h51 void setValueCurveAtTime(Float32Array* curve, double time, double duration);
79 ParamEvent(Type type, float value, double time, double timeConstant, double duration, PassRefPtr<Float32Array> curve) argument
85 , m_curve(curve)
94 Float32Array* curve() { return m_curve.get(); } function in class:WebCore::AudioParamTimeline::ParamEvent
H A DWaveShaperNode.h46 Float32Array* curve();
/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();
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;
71 X9ECParameters( ECCurve curve, ECPoint g, BigInteger n) argument
79 X9ECParameters( ECCurve curve, ECPoint g, BigInteger n, BigInteger h) argument
88 X9ECParameters( ECCurve curve, ECPoint g, BigInteger n, BigInteger h, byte[] seed) argument
[all...]
/external/chromium_org/third_party/skia/src/pathops/
H A DSkOpEdgeBuilder.cpp68 SkPoint curve[4]; local
77 closeContour(curve[0], curveStart);
81 curveStart = curve[0] = pts[0];
85 if (AlmostEqualUlps(curve[0].fX, pts[1].fX)
86 && AlmostEqualUlps(curve[0].fY, pts[1].fY)) {
91 curve[1] = pts[1];
92 curve[2] = pts[2];
93 verb = SkReduceOrder::Quad(curve, pts);
106 curve[0] = quadPts[nQuads * 2 - 1];
111 curve[
[all...]
/external/libvorbis/lib/
H A Dlsp.h24 extern void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,
/external/skia/src/pathops/
H A DSkOpEdgeBuilder.cpp68 SkPoint curve[4]; local
77 closeContour(curve[0], curveStart);
81 curveStart = curve[0] = pts[0];
85 if (AlmostEqualUlps(curve[0].fX, pts[1].fX)
86 && AlmostEqualUlps(curve[0].fY, pts[1].fY)) {
91 curve[1] = pts[1];
92 curve[2] = pts[2];
93 verb = SkReduceOrder::Quad(curve, pts);
106 curve[0] = quadPts[nQuads * 2 - 1];
111 curve[
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
H A DSECNamedCurves.java39 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
[all...]
/external/chromium_org/webkit/child/
H A Dtouch_fling_gesture_curve_unittest.cc53 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/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/openssh/
H A Dbufec.c50 buffer_put_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve, argument
61 len = EC_POINT_point2oct(curve, point, POINT_CONVERSION_UNCOMPRESSED,
70 if (EC_POINT_point2oct(curve, point, POINT_CONVERSION_UNCOMPRESSED,
88 buffer_put_ecpoint(Buffer *buffer, const EC_GROUP *curve, argument
91 if (buffer_put_ecpoint_ret(buffer, curve, point) == -1)
96 buffer_get_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve, argument
125 if (EC_POINT_oct2point(curve, point, buf, len, bnctx) != 1) {
129 /* EC_POINT_oct2point verifies that the point is on the curve for us */
139 buffer_get_ecpoint(Buffer *buffer, const EC_GROUP *curve, argument
142 if (buffer_get_ecpoint_ret(buffer, curve, poin
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DECPoint.java12 ECCurve curve; field in class:ECPoint
24 protected ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y) argument
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, ECFieldElemen argument
186 Fp(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) argument
344 F2m(ECCurve curve, ECFieldElement x, ECFieldElement y) argument
355 F2m(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) argument
[all...]
H A DWTauNafMultiplier.java29 ECCurve.F2m curve = (ECCurve.F2m) p.getCurve();
30 int m = curve.getM();
31 byte a = curve.getA().toBigInteger().byteValue();
32 byte mu = curve.getMu();
33 BigInteger[] s = curve.getSi();
84 ECCurve.F2m curve = (ECCurve.F2m)p.getCurve();
85 byte a = curve.getA().toBigInteger().byteValue();
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/
H A DECParameterSpec_ImplTest.java66 * <code>curve</code>, <code>generator</code> or <code>order</code> is <code>null</code><br>
72 EllipticCurve curve =
79 // Test case 1: curve is null
89 new ECParameterSpec(curve, null, order, 10);
97 new ECParameterSpec(curve, generator, null, 10);
120 EllipticCurve curve =
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, generato
[all...]
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/
H A DAnimationTranslationUtil.cpp137 bool appendKeyframeWithStandardTimingFunction(Curve* curve, double keyTime, const Value* value, const Value* lastValue, WebKit::WebAnimationCurve::TimingFunctionType timingFunctionType, const FloatSize&) argument
139 curve->add(Keyframe(keyTime, value->value()), timingFunctionType);
144 bool appendKeyframeWithCustomBezierTimingFunction(Curve* curve, double keyTime, const Value* value, const Value* lastValue, double x1, double y1, double x2, double y2, const FloatSize&) argument
146 curve->add(Keyframe(keyTime, value->value()), x1, y1, x2, y2);
160 bool appendKeyframeWithStandardTimingFunction<TransformAnimationValue, WebTransformKeyframe, WebTransformAnimationCurve>(WebTransformAnimationCurve* curve, double keyTime, const TransformAnimationValue* value, const TransformAnimationValue* lastValue, WebKit::WebAnimationCurve::TimingFunctionType timingFunctionType, const FloatSize& boxSize) argument
173 curve->add(WebTransformKeyframe(keyTime, operations.leakPtr()), timingFunctionType);
180 bool appendKeyframeWithCustomBezierTimingFunction<TransformAnimationValue, WebTransformKeyframe, WebTransformAnimationCurve>(WebTransformAnimationCurve* curve, double keyTime, const TransformAnimationValue* value, const TransformAnimationValue* lastValue, double x1, double y1, double x2, double y2, const FloatSize& boxSize) argument
193 curve->add(WebTransformKeyframe(keyTime, operations.leakPtr()), x1, y1, x2, y2);
200 PassOwnPtr<WebKit::WebAnimation> createWebAnimation(const KeyframeValueList& valueList, const CSSAnimationData* animation, int animationId, double timeOffset, Curve* curve, WebKit::WebAnimation::TargetProperty targetProperty, const FloatSize& boxSize) argument
262 addedKeyframe = appendKeyframeWithCustomBezierTimingFunction<Value, Keyframe, Curve>(curve, keyTim
286 OwnPtr<WebTransformAnimationCurve> curve = adoptPtr(Platform::current()->compositorSupport()->createTransformAnimationCurve()); local
291 OwnPtr<WebFloatAnimationCurve> curve = adoptPtr(Platform::current()->compositorSupport()->createFloatAnimationCurve()); local
[all...]

Completed in 291 milliseconds

1234