Home
last modified time | relevance | path

Searched refs:getY (Results 1 – 25 of 102) 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/jce/provider/
DJDKDSAPublicKey.java33 this.y = spec.getY(); in JDKDSAPublicKey()
40 this.y = key.getY(); in JDKDSAPublicKey()
47 this.y = params.getY(); in JDKDSAPublicKey()
121 public BigInteger getY() in getY() method in JDKDSAPublicKey
132 buf.append(" y: ").append(this.getY().toString(16)).append(nl); in toString()
139 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
153 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.java33 this.y = spec.getY(); in BCDSAPublicKey()
40 this.y = key.getY(); in BCDSAPublicKey()
47 this.y = params.getY(); in BCDSAPublicKey()
114 public BigInteger getY() in getY() method in BCDSAPublicKey
125 buf.append(" y: ").append(this.getY().toString(16)).append(nl); in toString()
132 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
146 return this.getY().equals(other.getY()) in equals()
/external/jmonkeyengine/engine/src/bullet-native/
Dcom_jme3_bullet_util_DebugShapeFactory.cpp59 …allback, jmeClasses::DebugMeshCallback_addVector, vertexA.getX(), vertexA.getY(), vertexA.getZ(), … in processTriangle()
65 …allback, jmeClasses::DebugMeshCallback_addVector, vertexB.getX(), vertexB.getY(), vertexB.getZ(), … in processTriangle()
70 …allback, jmeClasses::DebugMeshCallback_addVector, vertexC.getX(), vertexC.getY(), vertexC.getZ(), … in processTriangle()
129 …callback, jmeClasses::DebugMeshCallback_addVector, vertexA.getX(), vertexA.getY(), vertexA.getZ()); in Java_com_jme3_bullet_util_DebugShapeFactory_getVertices()
134 …callback, jmeClasses::DebugMeshCallback_addVector, vertexB.getX(), vertexB.getY(), vertexB.getZ()); in Java_com_jme3_bullet_util_DebugShapeFactory_getVertices()
139 …callback, jmeClasses::DebugMeshCallback_addVector, vertexC.getX(), vertexC.getY(), vertexC.getZ()); in Java_com_jme3_bullet_util_DebugShapeFactory_getVertices()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPublicKey.java37 this.y = spec.getY(); in BCDHPublicKey()
44 this.y = key.getY(); in BCDHPublicKey()
51 this.y = params.getY(); in BCDHPublicKey()
134 public BigInteger getY() in getY() method in BCDHPublicKey
164 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
178 return this.getY().equals(other.getY()) in equals()
/external/robolectric/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
/external/jmonkeyengine/engine/src/android/com/jme3/input/android/
DAndroidInput.java239 … touch.set(Type.DOWN, event.getX(pointerIndex), this.getHeight() - event.getY(pointerIndex), 0, 0); in onTouchEvent()
253 … touch.set(Type.UP, event.getX(pointerIndex), this.getHeight() - event.getY(pointerIndex), 0, 0); in onTouchEvent()
269 … lastPos = new Vector2f(event.getX(pointerIndex), this.getHeight() - event.getY(pointerIndex)); in onTouchEvent()
273 …Index), this.getHeight() - event.getY(pointerIndex), event.getX(pointerIndex) - lastPos.x, this.ge… in onTouchEvent()
278 … lastPos.set(event.getX(pointerIndex), this.getHeight() - event.getY(pointerIndex)); in onTouchEvent()
409 newY = this.getHeight() - (int) event.getY(); in generateEvents()
411 newY = (int) event.getY(); in generateEvents()
480 touch.set(Type.LONGPRESSED, event.getX(), this.getHeight() - event.getY(), 0f, 0f); in onLongPress()
488 touch.set(Type.FLING, event.getX(), this.getHeight() - event.getY(), vx, vy); in onFling()
503 touch.set(Type.DOUBLETAP, event.getX(), this.getHeight() - event.getY(), 0f, 0f); in onDoubleTap()
[all …]
/external/robolectric/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/jmonkeyengine/engine/src/desktop/com/jme3/input/awt/
DAwtMouseInput.java223 …useButtonEvent evt = new MouseButtonEvent(getJMEButtonIndex(arg0), true, arg0.getX(), arg0.getY()); in mousePressed()
231 …seButtonEvent evt = new MouseButtonEvent(getJMEButtonIndex(arg0), false, arg0.getX(), arg0.getY()); in mouseReleased()
263 …if ((centerLocation.x == arg0.getX() && centerLocation.y == arg0.getY()) || eventsSinceRecenter++ … in mouseMoved()
265 lastKnownLocation.y = arg0.getY(); in mouseMoved()
272 int dy = arg0.getY() - lastKnownLocation.y; in mouseMoved()
279 lastKnownLocation.y = arg0.getY(); in mouseMoved()
/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()
/external/jmonkeyengine/engine/src/core/com/jme3/material/
DMatParam.java175 return v2.getX() + " " + v2.getY(); in getValueAsString()
190 return v3.getX() + " " + v3.getY() + " " + v3.getZ(); in getValueAsString()
241 return v4.getX() + " " + v4.getY() + " " in getValueAsString()
249 return quat.getX() + " " + quat.getY() + " " in getValueAsString()
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/
DMapModel2D.java222 double yDistance = distance(pixelCentre.getY(), p.getY()); in toPosition()
238 if (p.getY() > pixelCentre.getY()) { in toPosition()
/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/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DTextureAtlas.java244 drawImage(image, location.getX(), location.getY(), mapName); in addImage()
267 drawImage(image, location.getX(), location.getY(), mapName); in addImage()
604 … child[0] = new Node(location.getX(), location.getY(), image.getWidth(), location.getHeight()); in insert()
605 …child[1] = new Node(location.getX() + image.getWidth(), location.getY(), location.getWidth() - ima… in insert()
607 … child[0] = new Node(location.getX(), location.getY(), location.getWidth(), image.getHeight()); in insert()
608 …child[1] = new Node(location.getX(), location.getY() + image.getHeight(), location.getWidth(), loc… in insert()
637 float y = (float) getY() / (float) atlasHeight; in getLocation()
674 public int getY() { in getY() method in TextureAtlas.TextureAtlasTile
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/
DConverter.java83 newQuat.y = oldQuat.getY(); in convert()
144 … + oldQuaternion.getX() * oldQuaternion.getX() + oldQuaternion.getY() * oldQuaternion.getY() + old… in convert()
150 float ys = oldQuaternion.getY() * s; in convert()
156 float yy = oldQuaternion.getY() * ys; in convert()
157 float yz = oldQuaternion.getY() * zs; in convert()

12345