Home
last modified time | relevance | path

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

1234

/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/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/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DBCDSAPublicKey.java34 this.y = spec.getY(); in BCDSAPublicKey()
41 this.y = key.getY(); in BCDSAPublicKey()
48 this.y = params.getY(); in BCDSAPublicKey()
115 public BigInteger getY() in getY() method in BCDSAPublicKey
126 buf.append(" y: ").append(this.getY().toString(16)).append(nl); in toString()
133 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
147 return this.getY().equals(other.getY()) in equals()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPublicKey.java38 this.y = spec.getY(); in BCDHPublicKey()
45 this.y = key.getY(); in BCDHPublicKey()
52 this.y = params.getY(); in BCDHPublicKey()
135 public BigInteger getY() in getY() method in BCDHPublicKey
165 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
179 return this.getY().equals(other.getY()) in equals()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMotionEvent.java49 ….getEventTime(), motionEvent.getAction(), motionEvent.getX(), motionEvent.getY(), motionEvent.getM… in obtain()
64 return getY(); in getRawY()
73 public final float getY() { in getY() method in ShadowMotionEvent
74 return getY(0); in getY()
83 public final float getY(int pointerIndex) { in getY() method in ShadowMotionEvent
DShadowMapView.java178 GeoPoint mouseGeoPoint = getProjection().fromPixels((int) event.getX(), (int) event.getY()); in dispatchTouchEvent()
183 diffY = (int) event.getY() - lastTouchEventPoint.y; in dispatchTouchEvent()
209 lastTouchEventPoint = new Point((int) event.getX(), (int) event.getY()); in dispatchTouchEvent()
/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/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DMotionEventTest.java28 assertThat(event.getY(0), equalTo(10.0f)); in addingSecondPointerSetsCount()
34 assertThat(event.getY(1), equalTo(30.0f)); in addingSecondPointerSetsCount()
78 assertEquals(10.0f, event.getY(), 0.0f); in canSetMotionEventLocation()
81 assertEquals(20.0f, event.getY(), 0.0f); in canSetMotionEventLocation()
/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DDHPublicKeyParameters.java19 public BigInteger getY() in getY() method in DHPublicKeyParameters
39 return other.getY().equals(y) && super.equals(obj); in equals()
DDSAPublicKeyParameters.java19 public BigInteger getY() in getY() method in DSAPublicKeyParameters
/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()
DDynamicXYPlotActivity.java195 public Number getY(int series, int index) { in getY() method in DynamicXYPlotActivity.SampleDynamicXYDatasource
248 public Number getY(int index) { in getY() method in DynamicXYPlotActivity.SampleDynamicSeries
249 return datasource.getY(seriesIndex, index); in getY()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
DEncodedKeySpec2Test.java66 return dsa1.getY().equals(dsa2.getY()) in isEqual()
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DCaptureActivity.java246 canvas.drawPoint(point.getX(), point.getY(), paint); in drawResultPoints()
253 canvas.drawLine(a.getX(), a.getY(), b.getX(), b.getY(), paint); in drawLine()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYSeries.java50 public Number getY(int index); in getY() method
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/
DActivityFlinger.java130 if (Math.abs(event1.getY() - event2.getY()) > SWIPE_MAX_OFF_PATH) { in onFling()

1234