Home
last modified time | relevance | path

Searched refs:getX (Results 1 – 25 of 120) sorted by relevance

12345

/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/
DSimpleXYSeriesTest.java42 assertEquals(0, series.getX(0)); in testYValsOnlyConstructor()
43 assertEquals(1, series.getX(1)); in testYValsOnlyConstructor()
44 assertEquals(2, series.getX(2)); in testYValsOnlyConstructor()
45 assertEquals(3, series.getX(3)); in testYValsOnlyConstructor()
46 assertEquals(4, series.getX(4)); in testYValsOnlyConstructor()
60 assertEquals(55, series.getX(0)); in testXYInterleavedConstructor()
61 assertEquals(66, series.getX(1)); in testXYInterleavedConstructor()
62 assertEquals(77, series.getX(2)); in testXYInterleavedConstructor()
63 assertEquals(88, series.getX(3)); in testXYInterleavedConstructor()
64 assertEquals(99, series.getX(4)); in testXYInterleavedConstructor()
[all …]
/external/clang/test/Analysis/
Dderived-to-base.cpp39 int getX() { return x; } in getX() function in VirtualBaseClasses::B
54 clang_analyzer_eval(d.getX() == 42); // expected-warning{{TRUE}} in test()
58 clang_analyzer_eval(dv.getX() == 42); // expected-warning{{TRUE}} in test()
62 clang_analyzer_eval(dv2.getX() == 42); // expected-warning{{TRUE}} in test()
74 int getX() { return x; } in getX() function in VirtualBaseClasses::BI
87 clang_analyzer_eval(d.getX() == 42); // expected-warning{{TRUE}} in testIntermediate()
154 int getX(const Base &obj) { in getX() function
166 clang_analyzer_eval(getX(d) == 1); // expected-warning{{TRUE}} in testDerived()
170 clang_analyzer_eval(getX(b) == 1); // expected-warning{{TRUE}} in testDerived()
173 clang_analyzer_eval(getX(d2) == 1); // expected-warning{{TRUE}} in testDerived()
[all …]
Dinitializer.cpp21 int getX() { return x; } in getX() function in DirectMember
26 clang_analyzer_eval(obj.getX() == 3); // expected-warning{{TRUE}} in testDirectMember()
37 int getX() { return x; } in getX() function in IndirectMember
42 clang_analyzer_eval(obj.getX() == 3); // expected-warning{{TRUE}} in testIndirectMember()
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
DRotation.java184 q1 = coeff * axis.getX(); in Rotation()
324 double u1x = u1.getX(); in Rotation()
328 double u2x = u2.getX(); in Rotation()
334 double v1x = coeff * v1.getX(); in Rotation()
346 double v2x = alpha * v1x + beta * v2.getX(); in Rotation()
356 double dx1 = v1x - u1.getX(); in Rotation()
359 double dx2 = v2x - u2.getX(); in Rotation()
365 double c = k.getX() * (u1y * u2z - u1z * u2y) + in Rotation()
374 double u3x = u3.getX(); in Rotation()
377 double v3x = v3.getX(); in Rotation()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
DGaussianParametersGuesser.java88 params[2] = points[maxYIdx].getX(); in basicGuess()
97 fwhmApprox = points[points.length - 1].getX() - points[0].getX(); in basicGuess()
163 return pointA.getX(); in interpolateXAtY()
166 return pointB.getX(); in interpolateXAtY()
168 return pointA.getX() + in interpolateXAtY()
169 … (((y - pointA.getY()) * (pointB.getX() - pointA.getX())) / (pointB.getY() - pointA.getY())); in interpolateXAtY()
249 if (p1.getX() < p2.getX()) { in createWeightedObservedPointComparator()
252 if (p1.getX() > p2.getX()) { in createWeightedObservedPointComparator()
DHarmonicCoefficientsGuesser.java172 if (curr.getX() < prec.getX()) { in sortObservations()
176 while ((i >= 0) && (curr.getX() < mI.getX())) { in sortObservations()
203 double currentX = observations[0].getX(); in guessAOmega()
213 currentX = observations[i].getX(); in guessAOmega()
256 double currentX = observations[0].getX(); in guessPhi()
263 currentX = observations[i].getX(); in guessPhi()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DTouchZoomExampleActivity.java58 minXY.x = series[0].getX(0).floatValue(); in onCreate()
59 maxXY.x = series[3].getX(series[3].size() - 1).floatValue(); in onCreate()
128 firstFinger = new PointF(event.getX(), event.getY()); in onTouch()
146 firstFinger = new PointF(event.getX(), event.getY()); in onTouch()
173 minXY.x = Math.min(minXY.x, series[3].getX(series[3].size() - 3) in zoom()
175 maxXY.x = Math.max(maxXY.x, series[0].getX(1).floatValue()); in zoom()
189 float leftBoundary = series[0].getX(0).floatValue(); in clampToDomainBounds()
190 float rightBoundary = series[3].getX(series[3].size() - 1).floatValue(); in clampToDomainBounds()
195 } else if (maxXY.x > series[3].getX(series[3].size() - 1).floatValue()) { in clampToDomainBounds()
202 float x = event.getX(0) - event.getX(1); in spacing()
/external/clang/test/CodeGenCXX/
Dcondition.cpp27 X getX();
56 if (getX()) { } in if_destruct()
130 while(getX()) { } in while_destruct()
217 for(; getX(); getX(), ++i) { } in for_destruct()
235 } while (getX()); in do_destruct()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJDKDSAPrivateKey.java42 this.x = key.getX(); in JDKDSAPrivateKey()
49 this.x = spec.getX(); in JDKDSAPrivateKey()
67 this.x = params.getX(); in JDKDSAPrivateKey()
96 …d_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG())), new ASN1Integer(getX())); in getEncoded()
111 public BigInteger getX() in getX() method in JDKDSAPrivateKey
126 return this.getX().equals(other.getX()) in equals()
134 return this.getX().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
DJCEDHPrivateKey.java47 this.x = key.getX(); in JCEDHPrivateKey()
54 this.x = spec.getX(); in JCEDHPrivateKey()
97 this.x = params.getX(); in JCEDHPrivateKey()
131 …Agreement, new DHParameter(dhSpec.getP(), dhSpec.getG(), dhSpec.getL())), new ASN1Integer(getX())); in getEncoded()
146 public BigInteger getX() in getX() method in JCEDHPrivateKey
164 out.writeObject(this.getX()); in writeObject()
/external/replicaisland/src/com/replica/replicaisland/
DInputGameInterface.java101 final float offset = sliderTouch.getX() - center; in update()
113 filterOrientationForMovement(orientation.getX()), in update()
136 newX = mDirectionalPad.getX() + (trackball.getX() * ROLL_FILTER * mMovementSensitivity); in update()
139 float oldX = mDirectionalPad.getX() != 0.0f ? mDirectionalPad.getX() / 2.0f : 0.0f; in update()
140 float oldY = mDirectionalPad.getX() != 0.0f ? mDirectionalPad.getX() / 2.0f : 0.0f; in update()
141 newX = oldX + (trackball.getX() * ROLL_FILTER * mMovementSensitivity); in update()
142 newY = oldY + (trackball.getX() * ROLL_FILTER * mMovementSensitivity); in update()
149 float x = mDirectionalPad.getX(); in update()
DInputTouchScreen.java63 public final float getX(int index) { in getX() method in InputTouchScreen
66 magnitude = mTouchPoints[index].getX(); in getX()
92 …getTouchedWithinRegion(pointer.getX(), pointer.getY(), regionX, regionY, regionWidth, regionHeight… in findPointerInRegion()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DJDKDSAPrivateKey.java46 this.x = key.getX(); in JDKDSAPrivateKey()
53 this.x = spec.getX(); in JDKDSAPrivateKey()
71 this.x = params.getX(); in JDKDSAPrivateKey()
100 …d_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG())), new ASN1Integer(getX())); in getEncoded()
115 public BigInteger getX() in getX() method in JDKDSAPrivateKey
130 return this.getX().equals(other.getX()) in equals()
138 return this.getX().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
DJCEDHPrivateKey.java51 this.x = key.getX(); in JCEDHPrivateKey()
58 this.x = spec.getX(); in JCEDHPrivateKey()
101 this.x = params.getX(); in JCEDHPrivateKey()
135 …Agreement, new DHParameter(dhSpec.getP(), dhSpec.getG(), dhSpec.getL())), new ASN1Integer(getX())); in getEncoded()
150 public BigInteger getX() in getX() method in JCEDHPrivateKey
168 out.writeObject(this.getX()); in writeObject()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DBCDSAPrivateKey.java43 this.x = key.getX(); in BCDSAPrivateKey()
50 this.x = spec.getX(); in BCDSAPrivateKey()
68 this.x = params.getX(); in BCDSAPrivateKey()
95 …meter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG()).toASN1Primitive()), new ASN1Integer(getX())); in getEncoded()
103 public BigInteger getX() in getX() method in BCDSAPrivateKey
118 return this.getX().equals(other.getX()) in equals()
126 return this.getX().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DBCDSAPrivateKey.java47 this.x = key.getX(); in BCDSAPrivateKey()
54 this.x = spec.getX(); in BCDSAPrivateKey()
72 this.x = params.getX(); in BCDSAPrivateKey()
99 …meter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG()).toASN1Primitive()), new ASN1Integer(getX())); in getEncoded()
107 public BigInteger getX() in getX() method in BCDSAPrivateKey
122 return this.getX().equals(other.getX()) in equals()
130 return this.getX().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPrivateKey.java53 this.x = key.getX(); in BCDHPrivateKey()
60 this.x = spec.getX(); in BCDHPrivateKey()
111 this.x = params.getX(); in BCDHPrivateKey()
155 …params.getG(), params.getQ(), params.getJ(), vParams).toASN1Primitive()), new ASN1Integer(getX())); in getEncoded()
159 …arameter(dhSpec.getP(), dhSpec.getG(), dhSpec.getL()).toASN1Primitive()), new ASN1Integer(getX())); in getEncoded()
179 public BigInteger getX() in getX() method in BCDHPrivateKey
208 return this.getX().equals(other.getX()) in equals()
216 return this.getX().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPrivateKey.java57 this.x = key.getX(); in BCDHPrivateKey()
64 this.x = spec.getX(); in BCDHPrivateKey()
115 this.x = params.getX(); in BCDHPrivateKey()
159 …params.getG(), params.getQ(), params.getJ(), vParams).toASN1Primitive()), new ASN1Integer(getX())); in getEncoded()
163 …arameter(dhSpec.getP(), dhSpec.getG(), dhSpec.getL()).toASN1Primitive()), new ASN1Integer(getX())); in getEncoded()
183 public BigInteger getX() in getX() method in BCDHPrivateKey
212 return this.getX().equals(other.getX()) in equals()
220 return this.getX().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
DShapeImmutableTest.java93 assertEquals(1.17, loaded.getX()); in testPoint()
100 assertEquals(1.17, loaded.getX()); in testPointBlock()
121 assertEquals(new Integer(1), loaded.getX()); in testPoint2()
145 assertEquals(1.17, loaded.getPoint().getX()); in testShapeNoTags()
148 assertEquals(1.96, loaded.getPoint3d().getPoint().getX()); in testShapeNoTags()
/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()
74 float vDX = Math.abs(event.getX() - vPrevious.x); in onTouchEvent()
82 vPrevious.x = event.getX(); in onTouchEvent()
/external/setupdesign/main/src/com/google/android/setupdesign/gesture/
DConsecutiveTapsGestureDetector.java80 if (viewRect.contains((int) ev.getX(), (int) ev.getY())) { in onTouchEvent()
113 double deltaX = previousTapEvent.getX() - currentTapEvent.getX(); in isConsecutiveTap()
/external/clang/test/Index/
Dget-cursor.cpp10 X getX(int value) { in getX() function
23 X getX();
26 X Y::getX() { in getX() function in Y
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/
DActivityFlinger.java133 if (event1.getX() - event2.getX() > SWIPE_MIN_DISTANCE in onFling()
138 } else if (event2.getX() - event1.getX() > SWIPE_MIN_DISTANCE in onFling()
/external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/
DHistogramChartTest.java71 assertEquals(0d + 0.05d + 0.45d, barDataSet.getEntryForIndex(0).getX(), 0.000001); in testBinXPositions()
72 assertEquals(1d + 0.05d + 0.45d, barDataSet.getEntryForIndex(1).getX(), 0.000001); in testBinXPositions()
73 assertEquals(2d + 0.05d + 0.45d, barDataSet.getEntryForIndex(2).getX(), 0.000001); in testBinXPositions()
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objcopy/
Dstrip-dwo-groups.test10 // T getX() { return X; }
15 // int a = A.getX();
16 // int b = B.getX();

12345