Home
last modified time | relevance | path

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

12345678

/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/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtAabbUtil2.h42 overlap = (aabbMin1.getY() > point.getY() || aabbMax1.getY() < point.getY()) ? false : overlap; in TestPointAgainstAabb2()
54 …overlap = (aabbMin1.getY() > aabbMax2.getY() || aabbMax1.getY() < aabbMin2.getY()) ? false : overl… in TestAabbAgainstAabb2()
82 (p.getY() < -halfExtent.getY() ? 0x02 : 0x0) | in btOutcode()
83 (p.getY() > halfExtent.getY() ? 0x10 : 0x0) | in btOutcode()
101 tymin = (bounds[raySign[1]].getY() - rayFrom.getY()) * rayInvDirection.getY(); in btRayAabb2()
102 tymax = (bounds[1-raySign[1]].getY() - rayFrom.getY()) * rayInvDirection.getY(); in btRayAabb2()
196 btAssert(localAabbMin.getY() <= localAabbMax.getY()); in btTransformAabb()
/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/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/
DbtQuantizedBvh.h358 btAssert(point.getY() <= m_bvhAabbMax.getY()); in ATTRIBUTE_ALIGNED16()
362 btAssert(point.getY() >= m_bvhAabbMin.getY()); in ATTRIBUTE_ALIGNED16()
372 out[1] = (unsigned short) (((unsigned short)(v.getY()+btScalar(1.)) | 1)); in ATTRIBUTE_ALIGNED16()
377 out[1] = (unsigned short) (((unsigned short)(v.getY()) & 0xfffe)); in ATTRIBUTE_ALIGNED16()
390 if (newPoint.getY() < point.getY()) in ATTRIBUTE_ALIGNED16()
392 …servative Y, diffY = %f, oldY=%f,newY=%f\n",newPoint.getY()-point.getY(), newPoint.getY(),point.ge… in ATTRIBUTE_ALIGNED16()
405 if (newPoint.getY() > point.getY()) in ATTRIBUTE_ALIGNED16()
407 …servative Y, diffY = %f, oldY=%f,newY=%f\n",newPoint.getY()-point.getY(), newPoint.getY(),point.ge… in ATTRIBUTE_ALIGNED16()
437 (btScalar)(vecIn[1]) / (m_bvhQuantization.getY()), in ATTRIBUTE_ALIGNED16()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
DbtStridingMeshInterface.cpp67 …triangle[0].setValue(graphicsbase[0]*meshScaling.getX(),graphicsbase[1]*meshScaling.getY(),graphic… in InternalProcessAllTriangles()
69 …triangle[1].setValue(graphicsbase[0]*meshScaling.getX(),graphicsbase[1]*meshScaling.getY(), graphi… in InternalProcessAllTriangles()
71 …triangle[2].setValue(graphicsbase[0]*meshScaling.getX(),graphicsbase[1]*meshScaling.getY(), graphi… in InternalProcessAllTriangles()
82 …triangle[0].setValue(graphicsbase[0]*meshScaling.getX(),graphicsbase[1]*meshScaling.getY(),graphic… in InternalProcessAllTriangles()
84 …triangle[1].setValue(graphicsbase[0]*meshScaling.getX(),graphicsbase[1]*meshScaling.getY(), graphi… in InternalProcessAllTriangles()
86 …triangle[2].setValue(graphicsbase[0]*meshScaling.getX(),graphicsbase[1]*meshScaling.getY(), graphi… in InternalProcessAllTriangles()
97 …triangle[0].setValue(graphicsbase[0]*meshScaling.getX(),graphicsbase[1]*meshScaling.getY(),graphic… in InternalProcessAllTriangles()
99 …triangle[1].setValue(graphicsbase[0]*meshScaling.getX(),graphicsbase[1]*meshScaling.getY(), graphi… in InternalProcessAllTriangles()
101 …triangle[2].setValue(graphicsbase[0]*meshScaling.getX(),graphicsbase[1]*meshScaling.getY(), graphi… in InternalProcessAllTriangles()
124 …)graphicsbase[0]*meshScaling.getX(),(btScalar)graphicsbase[1]*meshScaling.getY(),(btScalar)graphic… in InternalProcessAllTriangles()
[all …]
DbtScaledBvhTriangleMeshShape.cpp58 …btVector3 invLocalScaling(1.f/m_localScaling.getX(),1.f/m_localScaling.getY(),1.f/m_localScaling.g… in processAllTriangles()
63 …scaledAabbMin[1] = m_localScaling.getY() >= 0. ? aabbMin[1] * invLocalScaling[1] : aabbMax[1] * in… in processAllTriangles()
68 …scaledAabbMax[1] = m_localScaling.getY() <= 0. ? aabbMin[1] * invLocalScaling[1] : aabbMax[1] * in… in processAllTriangles()
86 localAabbMin[1] = (m_localScaling.getY() >= 0.) ? tmpLocalAabbMin[1] : tmpLocalAabbMax[1]; in getAabb()
89 localAabbMax[1] = (m_localScaling.getY() <= 0.) ? tmpLocalAabbMin[1] : tmpLocalAabbMax[1]; in getAabb()
DbtBox2dShape.h93 m_vertices[0].setValue(-boxHalfExtents.getX(),-boxHalfExtents.getY(),0); in ATTRIBUTE_ALIGNED16()
94 m_vertices[1].setValue(boxHalfExtents.getX(),-boxHalfExtents.getY(),0); in ATTRIBUTE_ALIGNED16()
95 m_vertices[2].setValue(boxHalfExtents.getX(),boxHalfExtents.getY(),0); in ATTRIBUTE_ALIGNED16()
96 m_vertices[3].setValue(-boxHalfExtents.getX(),boxHalfExtents.getY(),0); in ATTRIBUTE_ALIGNED16()
104 if (minDimension>boxHalfExtents.getY()) in ATTRIBUTE_ALIGNED16()
105 minDimension = boxHalfExtents.getY(); in ATTRIBUTE_ALIGNED16()
177 planeNormal = btVector3(plane.getX(),plane.getY(),plane.getZ()); in ATTRIBUTE_ALIGNED16()
DbtBvhTriangleMeshShape.cpp141 …m_triangle[j] = btVector3(graphicsbase[0]*meshScaling.getX(),graphicsbase[1]*meshScaling.getY(),gr… in performRaycast()
147 …graphicsbase[0])*meshScaling.getX(),btScalar(graphicsbase[1])*meshScaling.getY(),btScalar(graphics… in performRaycast()
210 …m_triangle[j] = btVector3(graphicsbase[0]*meshScaling.getX(),graphicsbase[1]*meshScaling.getY(),gr… in performConvexcast()
216 …graphicsbase[0])*meshScaling.getX(),btScalar(graphicsbase[1])*meshScaling.getY(),btScalar(graphics… in performConvexcast()
298 graphicsbase[1]*meshScaling.getY(), in processAllTriangles()
307 btScalar(graphicsbase[1])*meshScaling.getY(), in processAllTriangles()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
DbtSphereBoxCollisionAlgorithm.cpp116 closestPoint.setY( btMin(boxHalfExtent.getY(), closestPoint.getY()) ); in getSphereDistance()
117 closestPoint.setY( btMax(-boxHalfExtent.getY(), closestPoint.getY()) ); in getSphereDistance()
177 faceDist = boxHalfExtent.getY() - sphereRelPos.getY(); in getSpherePenetration()
182 closestPoint.setY( boxHalfExtent.getY() ); in getSpherePenetration()
186 faceDist = boxHalfExtent.getY() + sphereRelPos.getY(); in getSpherePenetration()
191 closestPoint.setY( -boxHalfExtent.getY() ); in getSpherePenetration()
/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
/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/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DBitmapFontAlignmentTest.java96 float y = logoSprite.getY(); in renderSingleLine()
110 float y = logoSprite.getY(); in renderSingleLineCached()
128 float y = logoSprite.getY(); in renderWrapped()
148 float y = logoSprite.getY(); in renderWrappedCached()
168 float y = logoSprite.getY(); in renderMultiLine()
186 float y = logoSprite.getY(); in renderMultiLineCached()
/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()
/external/libgdx/extensions/gdx-bullet/jni/src/custom/gdx/linearmath/
Dmathtypes.cpp32 jenv->SetFloatField(target, vector3_y, source.getY()); in btVector3_to_Vector3()
70 jenv->SetFloatField(target, quaternion_y, source.getY()); in btQuaternion_to_Quaternion()
116 elements[1] = (jfloat) source.getColumn(0).getY(); in btMatrix3_to_Matrix3()
119 elements[4] = (jfloat) source.getColumn(1).getY(); in btMatrix3_to_Matrix3()
122 elements[7] = (jfloat) source.getColumn(2).getY(); in btMatrix3_to_Matrix3()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
DWindow.java126 float windowX = getX(), windowY = getY(); in Window()
213 …setPosition(camera.position.x + parentWidth / 2 / orthographicCamera.zoom, getY(Align.right), Alig… in keepWithinStage()
215 …setPosition(camera.position.x - parentWidth / 2 / orthographicCamera.zoom, getY(Align.left), Align… in keepWithinStage()
216 if (getY(Align.top) - camera.position.y > parentHeight / 2 / orthographicCamera.zoom) in keepWithinStage()
218 if (getY(Align.bottom) - camera.position.y < -parentHeight / 2 / orthographicCamera.zoom) in keepWithinStage()
225 if (getY() < 0) setY(0); in keepWithinStage()
239 …kground(batch, parentAlpha, getX() + tmpPosition.x, getY() + tmpPosition.y, getX() + tmpSize.x, ge… in draw()
/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/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtHingeConstraint.h204 rbAxisA1.getY(),rbAxisA2.getY(),axisInA.getY(), in ATTRIBUTE_ALIGNED16()
216 rbAxisB1.getY(),rbAxisB2.getY(),axisInB.getY(), in ATTRIBUTE_ALIGNED16()

12345678