Home
last modified time | relevance | path

Searched refs:getY (Results 1 – 25 of 154) sorted by relevance

1234567

/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/
DSimpleXYSeriesTest.java36 assertEquals(yVals[0], series.getY(0)); in testYValsOnlyConstructor()
37 assertEquals(yVals[1], series.getY(1)); in testYValsOnlyConstructor()
38 assertEquals(yVals[2], series.getY(2)); in testYValsOnlyConstructor()
39 assertEquals(yVals[3], series.getY(3)); in testYValsOnlyConstructor()
40 assertEquals(yVals[4], series.getY(4)); in testYValsOnlyConstructor()
54 assertEquals(5, series.getY(0)); in testXYInterleavedConstructor()
55 assertEquals(6, series.getY(1)); in testXYInterleavedConstructor()
56 assertEquals(7, series.getY(2)); in testXYInterleavedConstructor()
57 assertEquals(8, series.getY(3)); in testXYInterleavedConstructor()
58 assertEquals(9, series.getY(4)); in testXYInterleavedConstructor()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
DGaussianParametersGuesser.java84 params[0] = points[minYIdx].getY(); in basicGuess()
87 params[1] = points[maxYIdx].getY(); in basicGuess()
114 if (points[i].getY() < points[minYIdx].getY()) { in findMinY()
131 if (points[i].getY() > points[maxYIdx].getY()) { in findMaxY()
162 if (pointA.getY() == y) { in interpolateXAtY()
165 if (pointB.getY() == y) { in interpolateXAtY()
169 … (((y - pointA.getY()) * (pointB.getX() - pointA.getX())) / (pointB.getY() - pointA.getY())); in interpolateXAtY()
198 if (isBetween(y, points[i].getY(), points[i + idxStep].getY())) { in getInterpolationPointsForY()
208 minY = Math.min(minY, point.getY()); in getInterpolationPointsForY()
209 maxY = Math.max(maxY, point.getY()); in getInterpolationPointsForY()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
DRotation.java185 q2 = coeff * axis.getY(); in Rotation()
325 double u1y = u1.getY(); in Rotation()
329 double u2y = u2.getY(); in Rotation()
335 double v1y = coeff * v1.getY(); in Rotation()
347 double v2y = alpha * v1y + beta * v2.getY(); in Rotation()
357 double dy1 = v1y - u1.getY(); in Rotation()
360 double dy2 = v2y - u2.getY(); in Rotation()
366 k.getY() * (u1z * u2x - u1x * u2z) + in Rotation()
375 double u3y = u3.getY(); in Rotation()
378 double v3y = v3.getY(); in Rotation()
[all …]
/external/clang/test/Analysis/
Dderived-to-base.cpp158 int getY(const Derived &obj) { in getY() function
167 clang_analyzer_eval(getY(d) == 2); // expected-warning{{TRUE}} in testDerived()
174 clang_analyzer_eval(getY(d2) == 2); // expected-warning{{TRUE}} in testDerived()
182 clang_analyzer_eval(getY(d) == 2); // expected-warning{{TRUE}} in testDoubleDerived()
189 clang_analyzer_eval(getY(d2) == 2); // expected-warning{{TRUE}} in testDoubleDerived()
193 clang_analyzer_eval(getY(d3) == 2); // expected-warning{{TRUE}} in testDoubleDerived()
209 int getY(const OffsetDerived &obj) { in getY() function
218 clang_analyzer_eval(getY(d) == 2); // expected-warning{{TRUE}} in testDerived()
225 clang_analyzer_eval(getY(d2) == 2); // expected-warning{{TRUE}} in testDerived()
233 clang_analyzer_eval(getY(d) == 2); // expected-warning{{TRUE}} in testDoubleDerived()
[all …]
/external/llvm-project/clang/test/Analysis/
Dderived-to-base.cpp158 int getY(const Derived &obj) { in getY() function
167 clang_analyzer_eval(getY(d) == 2); // expected-warning{{TRUE}} in testDerived()
174 clang_analyzer_eval(getY(d2) == 2); // expected-warning{{TRUE}} in testDerived()
182 clang_analyzer_eval(getY(d) == 2); // expected-warning{{TRUE}} in testDoubleDerived()
189 clang_analyzer_eval(getY(d2) == 2); // expected-warning{{TRUE}} in testDoubleDerived()
193 clang_analyzer_eval(getY(d3) == 2); // expected-warning{{TRUE}} in testDoubleDerived()
209 int getY(const OffsetDerived &obj) { in getY() function
218 clang_analyzer_eval(getY(d) == 2); // expected-warning{{TRUE}} in testDerived()
225 clang_analyzer_eval(getY(d2) == 2); // expected-warning{{TRUE}} in testDerived()
233 clang_analyzer_eval(getY(d) == 2); // expected-warning{{TRUE}} in testDoubleDerived()
[all …]
Dtemporaries.cpp597 int getY() const { return y; } in getY() function in test_return_temporary::C
604 D(const D &d): C(d.getX(), d.getY()) {} in D()
644 clang_analyzer_eval(c1.getY() == 2); // expected-warning{{TRUE}} in test()
648 clang_analyzer_eval(c2.getY() == 2); // expected-warning{{TRUE}} in test()
652 clang_analyzer_eval(c3.getY() == 2); // expected-warning{{TRUE}} in test()
656 clang_analyzer_eval(c4.getY() == 2); // expected-warning{{TRUE}} in test()
660 clang_analyzer_eval(c5.getY() == 2); // expected-warning{{TRUE}} in test()
664 clang_analyzer_eval(c5.getY() == 2); // expected-warning{{TRUE}} in test()
670 clang_analyzer_eval(c7.getY() == 2); // expected-warning{{TRUE}} in test()
674 clang_analyzer_eval(c8.getY() == 2); // expected-warning{{TRUE}} in test()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DBCDSAPublicKey.java37 this.y = spec.getY(); in BCDSAPublicKey()
45 this.y = key.getY(); in BCDSAPublicKey()
53 this.y = params.getY(); in BCDSAPublicKey()
130 public BigInteger getY() in getY() method in BCDSAPublicKey
141 buf.append(" Y: ").append(this.getY().toString(16)).append(nl); in toString()
150 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
155 return this.getY().hashCode(); in hashCode()
171 return this.getY().equals(other.getY()) in equals()
179 return this.getY().equals(other.getY()) && other.getParams() == null; in equals()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DBCDSAPublicKey.java41 this.y = spec.getY(); in BCDSAPublicKey()
49 this.y = key.getY(); in BCDSAPublicKey()
57 this.y = params.getY(); in BCDSAPublicKey()
134 public BigInteger getY() in getY() method in BCDSAPublicKey
145 buf.append(" Y: ").append(this.getY().toString(16)).append(nl); in toString()
154 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
159 return this.getY().hashCode(); in hashCode()
175 return this.getY().equals(other.getY()) in equals()
183 return this.getY().equals(other.getY()) && other.getParams() == null; in equals()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DBCDSAPublicKey.java41 this.y = spec.getY(); in BCDSAPublicKey()
49 this.y = key.getY(); in BCDSAPublicKey()
57 this.y = params.getY(); in BCDSAPublicKey()
134 public BigInteger getY() in getY() method in BCDSAPublicKey
145 buf.append(" Y: ").append(this.getY().toString(16)).append(nl); in toString()
154 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
159 return this.getY().hashCode(); in hashCode()
175 return this.getY().equals(other.getY()) in equals()
183 return this.getY().equals(other.getY()) && other.getParams() == null; in equals()
/external/ukey2/src/main/javatest/com/google/security/cryptauth/lib/securemessage/
DPublicKeyProtoUtilTest.java80 assertEquals(dhPublicKey.getY(), parsedDHPublicKey.getY()); in testPublicKeyProtoSpecificEncodeParse()
104 assertEquals(dhPublicKey.getY(), parsedDHPublicKey.getY()); in testPublicKeyProtoGenericEncodeParse()
153 assertEquals(33, paddedEncodedMaxXByteLengthKey.getEcP256PublicKey().getY().size()); in testPaddedECPublicKeyEncodeHasPaddedNullByte()
155 assertEquals(0, paddedEncodedMaxXByteLengthKey.getEcP256PublicKey().getY().byteAt(0)); in testPaddedECPublicKeyEncodeHasPaddedNullByte()
157 assertEquals(32, encodedMaxXByteLengthKey.getEcP256PublicKey().getY().size()); in testPaddedECPublicKeyEncodeHasPaddedNullByte()
160 assertEquals(33, paddedEncodedMaxByteLengthKey.getEcP256PublicKey().getY().size()); in testPaddedECPublicKeyEncodeHasPaddedNullByte()
162 assertEquals(0, paddedEncodedMaxByteLengthKey.getEcP256PublicKey().getY().byteAt(0)); in testPaddedECPublicKeyEncodeHasPaddedNullByte()
164 assertEquals(33, encodedMaxByteLengthKey.getEcP256PublicKey().getY().size()); in testPaddedECPublicKeyEncodeHasPaddedNullByte()
167 assertEquals(32, encodedNotMaxByteLengthKey.getEcP256PublicKey().getY().size()); in testPaddedECPublicKeyEncodeHasPaddedNullByte()
169 assertEquals(0, paddedEncodedNotMaxByteLengthKey.getEcP256PublicKey().getY().byteAt(0)); in testPaddedECPublicKeyEncodeHasPaddedNullByte()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DJDKDSAPublicKey.java38 this.y = spec.getY(); in JDKDSAPublicKey()
45 this.y = key.getY(); in JDKDSAPublicKey()
52 this.y = params.getY(); in JDKDSAPublicKey()
126 public BigInteger getY() in getY() method in JDKDSAPublicKey
137 buf.append(" y: ").append(this.getY().toString(16)).append(nl); in toString()
144 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
158 return this.getY().equals(other.getY()) in equals()
DJCEDHPublicKey.java40 this.y = spec.getY(); in JCEDHPublicKey()
47 this.y = key.getY(); in JCEDHPublicKey()
54 this.y = params.getY(); in JCEDHPublicKey()
137 public BigInteger getY() in getY() method in JCEDHPublicKey
177 out.writeObject(this.getY()); in writeObject()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJDKDSAPublicKey.java34 this.y = spec.getY(); in JDKDSAPublicKey()
41 this.y = key.getY(); in JDKDSAPublicKey()
48 this.y = params.getY(); in JDKDSAPublicKey()
122 public BigInteger getY() in getY() method in JDKDSAPublicKey
133 buf.append(" y: ").append(this.getY().toString(16)).append(nl); in toString()
140 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
154 return this.getY().equals(other.getY()) in equals()
DJCEDHPublicKey.java36 this.y = spec.getY(); in JCEDHPublicKey()
43 this.y = key.getY(); in JCEDHPublicKey()
50 this.y = params.getY(); in JCEDHPublicKey()
133 public BigInteger getY() in getY() method in JCEDHPublicKey
173 out.writeObject(this.getY()); in writeObject()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/
DJDKDSAPublicKey.java38 this.y = spec.getY(); in JDKDSAPublicKey()
45 this.y = key.getY(); in JDKDSAPublicKey()
52 this.y = params.getY(); in JDKDSAPublicKey()
126 public BigInteger getY() in getY() method in JDKDSAPublicKey
137 buf.append(" y: ").append(this.getY().toString(16)).append(nl); in toString()
144 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
158 return this.getY().equals(other.getY()) in equals()
DJCEDHPublicKey.java40 this.y = spec.getY(); in JCEDHPublicKey()
47 this.y = key.getY(); in JCEDHPublicKey()
54 this.y = params.getY(); in JCEDHPublicKey()
137 public BigInteger getY() in getY() method in JCEDHPublicKey
177 out.writeObject(this.getY()); in writeObject()
/external/angle/samples/multi_window/
DMultiWindow.cpp80 int baseY = rootWindow.osWindow->getY(); in initialize()
111 int top = rootWindow->getY(); in draw()
112 int bottom = rootWindow->getY() + rootWindow->getHeight(); in draw()
119 top = std::min(top, window->getY()); in draw()
120 bottom = std::max(bottom, window->getY() + window->getHeight()); in draw()
141 static_cast<float>(window->getY() + window->getHeight()), in draw()
142 static_cast<float>(window->getY()), 0.0f, 1.0f); in draw()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
DShapeImmutableTest.java94 assertEquals(3.14, loaded.getY()); in testPoint()
101 assertEquals(3.14, loaded.getY()); in testPointBlock()
122 assertEquals(new Integer(3), loaded.getY()); in testPoint2()
146 assertEquals(3.14, loaded.getPoint().getY()); in testShapeNoTags()
149 assertEquals(1.78, loaded.getPoint3d().getPoint().getY()); in testShapeNoTags()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/interop/
DDeprecatedTypeHandling1102Test.java23 public int getY() { return _y; } in getY() method in DeprecatedTypeHandling1102Test.Point
40 assertEquals(2, p.getY()); in testSimplePOJOType()
51 assertEquals(2, p.getY()); in testPOJOSubType()
70 assertEquals(2, p.getY()); in testExplicitCollectionType()
89 assertEquals(5, p.getY()); in testExplicitMapType()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/extension/views/
DFreehandView.java61 vStart = new PointF(event.getX(), event.getY()); in onTouchEvent()
62 vPrevious = new PointF(event.getX(), event.getY()); in onTouchEvent()
69 PointF sCurrentF = viewToSourceCoord(event.getX(), event.getY()); in onTouchEvent()
75 float vDY = Math.abs(event.getY() - vPrevious.y); in onTouchEvent()
83 vPrevious.y = event.getY(); in onTouchEvent()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPublicKey.java47 this.y = spec.getY(); in BCDHPublicKey()
72 this.y = key.getY(); in BCDHPublicKey()
88 this.y = params.getY(); in BCDHPublicKey()
210 public BigInteger getY() in getY() method in BCDHPublicKey
245 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
259 return this.getY().equals(other.getY()) in equals()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPublicKey.java43 this.y = spec.getY(); in BCDHPublicKey()
68 this.y = key.getY(); in BCDHPublicKey()
84 this.y = params.getY(); in BCDHPublicKey()
206 public BigInteger getY() in getY() method in BCDHPublicKey
241 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
255 return this.getY().equals(other.getY()) in equals()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPublicKey.java47 this.y = spec.getY(); in BCDHPublicKey()
72 this.y = key.getY(); in BCDHPublicKey()
88 this.y = params.getY(); in BCDHPublicKey()
210 public BigInteger getY() in getY() method in BCDHPublicKey
245 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
259 return this.getY().equals(other.getY()) in equals()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/filter/
DTestSimpleSerializationIgnore.java19 @JsonIgnore public int getY() { return 9; } in getY() method in TestSimpleSerializationIgnore.SizeClassEnabledIgnore
33 @JsonIgnore(false) public int getY() { return 4; } in getY() method in TestSimpleSerializationIgnore.SizeClassDisabledIgnore
42 public int getY() { return 2; } in getY() method in TestSimpleSerializationIgnore.BaseClassIgnore
/external/setupdesign/main/src/com/google/android/setupdesign/gesture/
DConsecutiveTapsGestureDetector.java80 if (viewRect.contains((int) ev.getX(), (int) ev.getY())) { in onTouchEvent()
114 double deltaY = previousTapEvent.getY() - currentTapEvent.getY(); in isConsecutiveTap()

1234567