Home
last modified time | relevance | path

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

1234

/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/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/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()
DDynamicXYPlotActivity.java188 public Number getX(int series, int index) { in getX() method in DynamicXYPlotActivity.SampleDynamicXYDatasource
243 public Number getX(int index) { in getX() method in DynamicXYPlotActivity.SampleDynamicSeries
244 return datasource.getX(seriesIndex, index); in getX()
/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DBCDSAPrivateKey.java42 this.x = key.getX(); in BCDSAPrivateKey()
49 this.x = spec.getX(); in BCDSAPrivateKey()
67 this.x = params.getX(); in BCDSAPrivateKey()
94 …meter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG()).toASN1Primitive()), new ASN1Integer(getX())); in getEncoded()
102 public BigInteger getX() in getX() method in BCDSAPrivateKey
117 return this.getX().equals(other.getX()) in equals()
125 return this.getX().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
/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()
DMultiTouchFilter.java23 event.getX(x) * (1.0f / params.viewScaleX), in updateTouch()
27 event.getX(x) * (1.0f / params.viewScaleX), in updateTouch()
DInputXY.java58 public final float getX() { in getX() method in InputXY
91 press(other.getLastPressedTime(), other.getX(), other.getY()); in clone()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPrivateKey.java49 this.x = key.getX(); in BCDHPrivateKey()
56 this.x = spec.getX(); in BCDHPrivateKey()
99 this.x = params.getX(); in BCDHPrivateKey()
133 …arameter(dhSpec.getP(), dhSpec.getG(), dhSpec.getL()).toASN1Primitive()), new ASN1Integer(getX())); in getEncoded()
148 public BigInteger getX() in getX() method in BCDHPrivateKey
163 return this.getX().equals(other.getX()) in equals()
171 return this.getX().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMotionEvent.java49 …nTime(), motionEvent.getEventTime(), motionEvent.getAction(), motionEvent.getX(), motionEvent.getY… in obtain()
59 return getX(); in getRawX()
68 public final float getX() { in getX() method in ShadowMotionEvent
69 return getX(0); in getX()
78 public final float getX(int pointerIndex) { in getX() method in ShadowMotionEvent
/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/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DMotionEventTest.java27 assertThat(event.getX(0), equalTo(5.0f)); in addingSecondPointerSetsCount()
33 assertThat(event.getX(1), equalTo(20.0f)); in addingSecondPointerSetsCount()
77 assertEquals(5.0f, event.getX(), 0.0f); in canSetMotionEventLocation()
80 assertEquals(10.0f, event.getX(), 0.0f); in canSetMotionEventLocation()
/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/r8/src/test/java/com/android/tools/r8/rewrite/assertions/
DClassWithAssertions.java18 int getX() { in getX() method in ClassWithAssertions
24 new ClassWithAssertions(Integer.parseInt(args[0])).getX(); in main()
/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DDHPrivateKeyParameters.java19 public BigInteger getX() in getX() method in DHPrivateKeyParameters
39 return other.getX().equals(this.x) && super.equals(obj); in equals()

1234