/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | ParseUtilsTest.java | 95 assertEquals(0.5, ParseUtils.parseDouble(null, 0.5), DELTA_DOUBLE); in testParseDouble() 96 assertEquals(0.5, ParseUtils.parseDouble("", 0.5), DELTA_DOUBLE); in testParseDouble() 97 assertEquals(0.5, ParseUtils.parseDouble("1x", 0.5), DELTA_DOUBLE); in testParseDouble() 98 assertEquals(1.5, ParseUtils.parseDouble("1.5", 0.5), DELTA_DOUBLE); in testParseDouble()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/ |
D | LoaderDicom.java | 475 double dzx = Double.parseDouble(s1ps[0]) - Double.parseDouble(s2ps[0]); in buildRSVolume() 476 double dzy = Double.parseDouble(s1ps[1]) - Double.parseDouble(s2ps[1]); in buildRSVolume() 477 double dzz = Double.parseDouble(s1ps[2]) - Double.parseDouble(s2ps[2]); in buildRSVolume() 599 double dzx = Double.parseDouble(s1ps[0]) - Double.parseDouble(s2ps[0]); in buildRSVolume2() 600 double dzy = Double.parseDouble(s1ps[1]) - Double.parseDouble(s2ps[1]); in buildRSVolume2() 601 double dzz = Double.parseDouble(s1ps[2]) - Double.parseDouble(s2ps[2]); in buildRSVolume2()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | XmpDepthDecode.java | 60 mFar = Double.parseDouble(meta.getPropertyString(XMP_DEPTHMAP, "GDepth:Far")); in XmpDepthDecode() 61 mNear = Double.parseDouble(meta.getPropertyString(XMP_DEPTHMAP, "GDepth:Near")); in XmpDepthDecode() 78 … mBlurAtInfinity = Double.parseDouble(meta.getPropertyString(XMP_FOCUS, "GFocus:BlurAtInfinity")); in XmpDepthDecode() 79 … mFocalDistance = Double.parseDouble(meta.getPropertyString(XMP_FOCUS, "GFocus:FocalDistance")); in XmpDepthDecode() 80 … mDepthOfFiled = Double.parseDouble(meta.getPropertyString(XMP_FOCUS, "GFocus:DepthOfField")); in XmpDepthDecode() 81 … mFocalPointX = Double.parseDouble(meta.getPropertyString(XMP_FOCUS, "GFocus:FocalPointX")); in XmpDepthDecode() 82 … mFocalPointY = Double.parseDouble(meta.getPropertyString(XMP_FOCUS, "GFocus:FocalPointY")); in XmpDepthDecode()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ParseUtils.java | 78 public static double parseDouble(@Nullable String value, double defValue) { in parseDouble() method in ParseUtils 83 return Double.parseDouble(value); in parseDouble()
|
D | TypedProperties.java | 306 value = Double.parseDouble(st.sval); in parseValue()
|
D | XmlUtils.java | 227 return Double.parseDouble(getAttributeValue(index)); in getAttributeDouble()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | StringToRealPerfTest.java | 67 Double.parseDouble(string); in timeDouble_parseDouble()
|
/frameworks/base/telephony/java/android/telephony/ |
D | CbGeoUtils.java | 414 Double.parseDouble(geoParameters[2]))); in parseGeometriesFromString() 497 return new LatLng(Double.parseDouble(latLng[0]), Double.parseDouble(latLng[1])); in parseLatLngFromString()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/pidf/ |
D | Contact.java | 97 mPriority = Double.parseDouble(priority); in parse()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationShellCommand.java | 337 location.setLatitude(Double.parseDouble(locationInput[0])); in handleSetTestProviderLocation() 338 location.setLongitude(Double.parseDouble(locationInput[1])); in handleSetTestProviderLocation()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/ |
D | XmlSerializePerfTest.java | 105 mDataset[i] = Double.parseDouble(splitStrings[i]); in setUp()
|
/frameworks/base/core/java/android/util/ |
D | JsonReader.java | 466 double result = Double.parseDouble(value); in nextDouble() 491 double asDouble = Double.parseDouble(value); // don't catch this NumberFormatException in nextLong() 522 double asDouble = Double.parseDouble(value); // don't catch this NumberFormatException in nextInt()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/utilities/easing/ |
D | MonotonicCurveFit.java | 339 values[count++] = Double.parseDouble(tmp); in buildWave() 344 values[count++] = Double.parseDouble(tmp); in buildWave()
|
/frameworks/base/media/java/android/media/ |
D | ExifInterface.java | 972 return Double.parseDouble((String) value); in getDoubleValue() 1806 double doubleValue = Double.parseDouble(value); in setAttribute() 1894 rationalArray[j] = new Rational((long) Double.parseDouble(numbers[0]), in setAttribute() 1895 (long) Double.parseDouble(numbers[1])); in setAttribute() 1906 rationalArray[j] = new Rational((long) Double.parseDouble(numbers[0]), in setAttribute() 1907 (long) Double.parseDouble(numbers[1])); in setAttribute() 1917 doubleArray[j] = Double.parseDouble(values[j]); in setAttribute() 2545 double degrees = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat() 2546 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat() 2549 double minutes = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat() [all …]
|
D | TtmlRenderer.java | 141 durationSeconds += (fraction != null) ? Double.parseDouble(fraction) : 0; in parseTimeExpression() 153 double value = Double.parseDouble(timeValue); in parseTimeExpression()
|
/frameworks/base/core/java/android/location/ |
D | Location.java | 1177 val = Double.parseDouble(degrees); in convert() 1190 sec = Double.parseDouble(seconds); in convert() 1193 min = Double.parseDouble(minutes); in convert()
|
/frameworks/base/core/java/android/database/ |
D | MatrixCursor.java | 309 return Double.parseDouble(value.toString()); in getDouble()
|
/frameworks/base/errorprone/refaster/ |
D | EfficientXml.java | 269 return Double.parseDouble(in.getAttributeValue(null, n)); in beforeParse()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | FusedPrintersProvider.java | 928 Double.parseDouble(parser.getAttributeValue(null, ATTR_LONGITUDE))); in parsePrinter() 930 Double.parseDouble(parser.getAttributeValue(null, ATTR_LATITUDE))); in parsePrinter()
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | GraphicBufferMetrics.java | 194 return (long)(1000000.0 * Double.parseDouble(timeStampStr)); in getTimeStamp()
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/ |
D | BinaryXmlPullParser.java | 875 return Double.parseDouble(valueString); in getValueDouble()
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
D | Content.java | 456 return Pair.create(column, Double.parseDouble(value)); in parseBindValue()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 2102 double exposureTimeValue = Double.parseDouble(exposureTime); in verifyJpegExifExtraTags()
|
/frameworks/base/core/java/android/content/ |
D | Intent.java | 8247 else if (uri.startsWith("d.", i)) b.putDouble(key, Double.parseDouble(value)); in parseUriInternal() 8457 intent.mExtras.putDouble(key, Double.parseDouble(value));
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 4017 values[i][j] = Double.parseDouble(vals[j]);
|