Home
last modified time | relevance | path

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

12345

/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 …]
DHarmonicCoefficientsGuesser.java204 double currentY = observations[0].getY(); in guessAOmega()
214 currentY = observations[i].getY(); in guessAOmega()
257 double currentY = observations[0].getY(); in guessPhi()
264 currentY = observations[i].getY(); in guessPhi()
/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/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/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/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/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/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPublicKey.java42 this.y = spec.getY(); in BCDHPublicKey()
50 this.y = key.getY(); in BCDHPublicKey()
58 this.y = params.getY(); in BCDHPublicKey()
178 public BigInteger getY() in getY() method in BCDHPublicKey
213 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
227 return this.getY().equals(other.getY()) in equals()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPublicKey.java46 this.y = spec.getY(); in BCDHPublicKey()
54 this.y = key.getY(); in BCDHPublicKey()
62 this.y = params.getY(); in BCDHPublicKey()
182 public BigInteger getY() in getY() method in BCDHPublicKey
217 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
231 return this.getY().equals(other.getY()) in equals()
/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/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()
/external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/
DHistogramChartTest.java62 assertEquals(2d, barDataSet.getEntryForIndex(0).getY(), 0.000001); in testBinHeights()
63 assertEquals(1d, barDataSet.getEntryForIndex(1).getY(), 0.000001); in testBinHeights()
64 assertEquals(1d, barDataSet.getEntryForIndex(2).getY(), 0.000001); in testBinHeights()
/external/replicaisland/src/com/replica/replicaisland/
DInputTouchScreen.java71 public final float getY(int index) { in getY() method in InputTouchScreen
74 magnitude = mTouchPoints[index].getY(); in getY()
92 …getTouchedWithinRegion(pointer.getX(), pointer.getY(), regionX, regionY, regionWidth, regionHeight… in findPointerInRegion()
DMultiTouchFilter.java24 event.getY(x) * (1.0f / params.viewScaleY)); in updateTouch()
28 event.getY(x) * (1.0f / params.viewScaleY)); in updateTouch()
DInputXY.java62 public final float getY() { in getY() method in InputXY
91 press(other.getLastPressedTime(), other.getX(), other.getY()); in clone()
DInputGameInterface.java114 filterOrientationForMovement(orientation.getY())); in update()
137 newY = mDirectionalPad.getY() + (trackball.getY() * ROLL_FILTER * mMovementSensitivity); in update()
150 float y = mDirectionalPad.getY(); in update()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/eventhandlingadvanced/
DAdvancedEventHandlingActivity.java41 PointF sCoord = imageView.viewToSourceCoord(e.getX(), e.getY()); in onCreate()
51 PointF sCoord = imageView.viewToSourceCoord(e.getX(), e.getY()); in onCreate()
60 PointF sCoord = imageView.viewToSourceCoord(e.getX(), e.getY()); in onCreate()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DTouchZoomExampleActivity.java128 firstFinger = new PointF(event.getX(), event.getY()); in onTouch()
146 firstFinger = new PointF(event.getX(), event.getY()); in onTouch()
203 float y = event.getY(0) - event.getY(1); in spacing()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/
DDHPublicKeyParameters.java54 public BigInteger getY() in getY() method in DHPublicKeyParameters
74 return other.getY().equals(y) && super.equals(obj); in equals()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DDHPublicKeyParameters.java50 public BigInteger getY() in getY() method in DHPublicKeyParameters
70 return other.getY().equals(y) && super.equals(obj); in equals()

12345