Searched refs:doubleValue (Results 1 - 25 of 237) sorted by relevance

12345678910

/external/proguard/src/proguard/evaluation/value/
H A DNegatedDoubleValue.java30 private final DoubleValue doubleValue; field in class:NegatedDoubleValue
36 public NegatedDoubleValue(DoubleValue doubleValue) argument
38 this.doubleValue = doubleValue;
46 return doubleValue;
56 this.doubleValue.equals(((NegatedDoubleValue)object).doubleValue);
63 doubleValue.hashCode();
69 return "-"+doubleValue;
/external/easymock/src/org/easymock/internal/matchers/
H A DEqualsWithDelta.java37 return expected.doubleValue() - delta.doubleValue() <= actualNumber
38 .doubleValue()
39 && actualNumber.doubleValue() <= expected.doubleValue()
40 + delta.doubleValue();
/external/mockito/src/main/java/org/mockito/internal/matchers/
H A DEqualsWithDelta.java31 return wanted.doubleValue() - delta.doubleValue() <= actual.doubleValue()
32 && actual.doubleValue() <= wanted.doubleValue()
33 + delta.doubleValue();
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/
H A DLineRegion.java28 if (val1.doubleValue() < v2.doubleValue()) {
42 return maxVal.doubleValue() - minVal.doubleValue();
51 return value.doubleValue() >= minVal.doubleValue() && value.doubleValue() <= maxVal.doubleValue();
66 //double l1min = getMinVal() == null ? Double.NEGATIVE_INFINITY : getMinVal().doubleValue();
67 //double l1max = getMaxVal() == null ? Double.POSITIVE_INFINITY : getMaxVal().doubleValue();
[all...]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
H A DValPixConverter.java92 float pixX = ValPixConverter.valToPix(x.doubleValue(), minX.doubleValue(), maxX.doubleValue(), plotArea.width(), false) + (plotArea.left);
93 float pixY = ValPixConverter.valToPix(y.doubleValue(), minY.doubleValue(), maxY.doubleValue(), plotArea.height(), true) + plotArea.top;
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
H A DXYStepCalculator.java59 stepPix = (float)(stepValue/ ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize));
65 stepVal = ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize)*stepPix;
70 stepVal = ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize)*stepPix;
H A DRectRegion.java95 RectF thisRegion = getRectF(region, visMinX.doubleValue(), visMaxX.doubleValue(),
96 visMinY.doubleValue(), visMaxY.doubleValue());
102 xLineRegion.getMinVal().doubleValue() != Double.NEGATIVE_INFINITY ? xLineRegion.getMinVal() : visMinX,
103 yLineRegion.getMaxVal().doubleValue() != Double.POSITIVE_INFINITY ? yLineRegion.getMaxVal() : visMaxY,
110 xLineRegion.getMaxVal().doubleValue() != Double.POSITIVE_INFINITY ? xLineRegion.getMaxVal() : visMaxX,
111 yLineRegion.getMinVal().doubleValue() != Double.NEGATIVE_INFINITY ? yLineRegion.getMinVal() : visMinY,
H A DXYPlot.java310 return (userMinY == null || xVal >= userMinY.doubleValue()) &&
311 userMaxY == null || xVal <= userMaxY.doubleValue();
319 return isValWithinRange(y.doubleValue(), userMinY, userMaxY) &&
320 isValWithinRange(x.doubleValue(), userMinX, userMaxX);
324 boolean isAboveMinThreshold = min == null || val >= min.doubleValue();
325 boolean isBelowMaxThreshold = max == null || val <= max.doubleValue();
351 thisX.doubleValue() < calculatedMinX.doubleValue())) {
358 thisX.doubleValue() > calculatedMaxX.doubleValue())) {
[all...]
H A DLineAndPointRenderer.java174 getPlot().getRangeOrigin().doubleValue(),
175 getPlot().getCalculatedMinY().doubleValue(),
176 getPlot().getCalculatedMaxY().doubleValue(),
197 double minX = getPlot().getCalculatedMinX().doubleValue();
198 double maxX = getPlot().getCalculatedMaxX().doubleValue();
199 double minY = getPlot().getCalculatedMinY().doubleValue();
200 double maxY = getPlot().getCalculatedMaxY().doubleValue();
H A DXYGraphWidget.java342 .getCalculatedMinY().doubleValue(), plot.getCalculatedMaxY()
343 .doubleValue(), paddedGridRect.height(), true);
368 .getCalculatedMinX().doubleValue(), plot.getCalculatedMaxX()
369 .doubleValue(), paddedGridRect.width(), false);
416 double v = value.doubleValue();
527 double domainOriginVal = plot.getDomainOrigin().doubleValue();
529 .getCalculatedMinX().doubleValue(), plot
530 .getCalculatedMaxX().doubleValue(), paddedGridRect.width(),
539 paddedGridRect, plot.getCalculatedMinX().doubleValue(), plot
540 .getCalculatedMaxX().doubleValue());
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DMeasure.java78 if (a.doubleValue() == b.doubleValue()) {
90 return 31 * Double.valueOf(number.doubleValue()).hashCode() + unit.hashCode();
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DMeasure.java80 if (a.doubleValue() == b.doubleValue()) {
93 return 31 * Double.valueOf(number.doubleValue()).hashCode() + unit.hashCode();
/external/webrtc/webrtc/modules/video_coding/codecs/h264/
H A Dh264_objc.mm25 return [[[UIDevice currentDevice] systemVersion] doubleValue] >= 8.0;
/external/apache-commons-math/src/main/java/org/apache/commons/math/
H A DDuplicateSampleAbscissaException.java48 return ((Double) getArguments()[0]).doubleValue();
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DDefaultTransformer.java50 return ((Number)o).doubleValue();
54 return Double.valueOf(o.toString()).doubleValue();
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/value/
H A DLazyPrimitiveValue.java55 @Override public double doubleValue() { method in class:LazyPrimitiveValue
56 return getValue().doubleValue();
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
H A DDoublePropertyEditor.java46 double doubleValue = ((Number) value).doubleValue();
47 return Double.toString(doubleValue);
/external/crcalc/tests/src/com/hp/creals/
H A DCRTest.java99 check(thirteen.doubleValue() == 13.0, "doubleValue failed");
140 check(tmp2.ln().doubleValue() == -123.0, "doubleValue(...) failed");
142 check_appr_eq(Math.sin(n), CR.valueOf(n).sin().doubleValue(),
144 check_appr_eq(Math.cos(n), CR.valueOf(n).cos().doubleValue(),
146 check_appr_eq(Math.exp(n), CR.valueOf(n).exp().doubleValue(),
149 CR.valueOf(0.1*n).asin().doubleValue(),
152 CR.valueOf(0.1*n).acos().doubleValue(),
155 check_appr_eq(Math.log(n), CR.valueOf(n).ln().doubleValue(),
[all...]
H A DSlowCRTest.java67 double xAsDouble = x.doubleValue();
69 checkApprEq(x.sin().doubleValue(), Math.sin(xAsDouble),
71 checkApprEq(x.cos().doubleValue(), Math.cos(xAsDouble),
73 checkApprEq(TAN.execute(x).doubleValue(), Math.tan(xAsDouble),
75 checkApprEq(ATAN.execute(x).doubleValue(), Math.atan(xAsDouble),
79 checkApprEq(x.asin().doubleValue(), Math.asin(xAsDouble),
81 checkApprEq(x.acos().doubleValue(), Math.acos(xAsDouble),
87 checkApprEq(COSINE.execute(x).doubleValue(), Math.cos(xAsDouble),
126 double xAsDouble = x.doubleValue();
128 checkApprEq(x.exp().doubleValue(), Mat
[all...]
/external/guava/guava-tests/test/com/google/common/base/
H A DDefaultsTest.java35 assertEquals(0.0d, Defaults.defaultValue(double.class).doubleValue());
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/primitives/
H A DMutableFloat.java22 @Override public double doubleValue() {return (double) value;} method in class:MutableFloat
H A DMutableInteger.java22 @Override public double doubleValue() {return (double) value;} method in class:MutableInteger
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/
H A DLineRegionTest.java79 assertEquals(10d, lr.length().doubleValue(), 0);
82 assertEquals(10d, lr.length().doubleValue(), 0);
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue310/
H A DPropertyWithPrivateCostructorTest.java53 assertEquals("income", loadedPerson.getIncome().getValue().doubleValue(), 123456.78, 0.);
67 assertEquals("income", loadedPerson.getIncome().getValue().doubleValue(), 123456.78, 0.);
/external/smali/util/src/main/java/org/jf/util/
H A DNumberUtils.java116 double doubleValue = Double.longBitsToDouble(value);
117 if (Double.isNaN(doubleValue)) {
124 String asDouble = format.format(doubleValue);

Completed in 570 milliseconds

12345678910