Home
last modified time | relevance | path

Searched refs:parseDouble (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DParseUtilsTest.java80 assertEquals(0.5, ParseUtils.parseDouble(null, 0.5)); in testParseDouble()
81 assertEquals(0.5, ParseUtils.parseDouble("", 0.5)); in testParseDouble()
82 assertEquals(0.5, ParseUtils.parseDouble("1x", 0.5)); in testParseDouble()
83 assertEquals(1.5, ParseUtils.parseDouble("1.5", 0.5)); in testParseDouble()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
DLoaderDicom.java475 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/
DXmpDepthDecode.java60 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/
DParseUtils.java77 public static double parseDouble(@Nullable String value, double defValue) { in parseDouble() method in ParseUtils
82 return Double.parseDouble(value); in parseDouble()
DTypedProperties.java306 value = Double.parseDouble(st.sval); in parseValue()
DXmlUtils.java1224 array[i] = Double.parseDouble(parser.getAttributeValue(null, "value")); in readThisDoubleArrayXml()
/frameworks/base/telephony/java/android/telephony/
DCbGeoUtils.java414 Double.parseDouble(geoParameters[2]))); in parseGeometriesFromString()
497 return new LatLng(Double.parseDouble(latLng[0]), Double.parseDouble(latLng[1])); in parseLatLngFromString()
/frameworks/base/core/java/android/util/
DJsonReader.java465 double result = Double.parseDouble(value); in nextDouble()
490 double asDouble = Double.parseDouble(value); // don't catch this NumberFormatException in nextLong()
521 double asDouble = Double.parseDouble(value); // don't catch this NumberFormatException in nextInt()
/frameworks/base/location/java/android/location/
DLocation.java302 val = Double.parseDouble(degrees); in convert()
315 sec = Double.parseDouble(seconds); in convert()
318 min = Double.parseDouble(minutes); in convert()
/frameworks/base/media/java/android/media/
DExifInterface.java850 return Double.parseDouble((String) value); in getDoubleValue()
1582 double doubleValue = Double.parseDouble(value); in setAttribute()
1670 rationalArray[j] = new Rational((long) Double.parseDouble(numbers[0]), in setAttribute()
1671 (long) Double.parseDouble(numbers[1])); in setAttribute()
1682 rationalArray[j] = new Rational((long) Double.parseDouble(numbers[0]), in setAttribute()
1683 (long) Double.parseDouble(numbers[1])); in setAttribute()
1693 doubleArray[j] = Double.parseDouble(values[j]); in setAttribute()
2269 double degrees = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat()
2270 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat()
2273 double minutes = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat()
[all …]
DTtmlRenderer.java140 durationSeconds += (fraction != null) ? Double.parseDouble(fraction) : 0; in parseTimeExpression()
152 double value = Double.parseDouble(timeValue); in parseTimeExpression()
/frameworks/base/location/tests/locationtests/src/android/location/
DLocationManagerTest.java116 double minutes = Double.parseDouble(loc5b); in testLocationConversions()
/frameworks/base/core/java/android/database/
DMatrixCursor.java308 return Double.parseDouble(value.toString()); in getDouble()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DFusedPrintersProvider.java929 Double.parseDouble(parser.getAttributeValue(null, ATTR_LONGITUDE))); in parsePrinter()
931 Double.parseDouble(parser.getAttributeValue(null, ATTR_LATITUDE))); in parsePrinter()
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DGraphicBufferMetrics.java194 return (long)(1000000.0 * Double.parseDouble(timeStampStr)); in getTimeStamp()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java413 values.put(column, Double.parseDouble(value)); in parseBindValue()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java2102 double exposureTimeValue = Double.parseDouble(exposureTime); in verifyJpegExifExtraTags()
/frameworks/base/core/java/android/content/
DIntent.java6977 else if (uri.startsWith("d.", i)) b.putDouble(key, Double.parseDouble(value)); in parseUri()
7184 intent.mExtras.putDouble(key, Double.parseDouble(value));
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1943 extras.putDouble(name, Double.parseDouble(value1)); in parseExtra()
/frameworks/base/config/
Dboot-image-profile.txt26442 HSPLjava/lang/Double;->parseDouble(Ljava/lang/String;)D
43731 HSPLsun/misc/FloatingDecimal;->parseDouble(Ljava/lang/String;)D
Dhiddenapi-greylist-max-o.txt28922 Landroid/icu/text/MessagePattern;->parseDouble(IIZ)V
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt41234 … method public static double parseDouble(java.lang.String) throws java.lang.NumberFormatException;
/frameworks/base/non-updatable-api/
Dcurrent.txt61248 method public static double parseDouble(@NonNull String) throws java.lang.NumberFormatException;
/frameworks/base/api/
Dcurrent.txt61392 method public static double parseDouble(@NonNull String) throws java.lang.NumberFormatException;