Home
last modified time | relevance | path

Searched refs:parseDouble (Results 1 – 20 of 20) 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.java1238 array[i] = Double.parseDouble(parser.getAttributeValue(null, "value")); in readThisDoubleArrayXml()
/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/media/java/android/media/
DExifInterface.java850 return Double.parseDouble((String) value); in getDoubleValue()
1580 double doubleValue = Double.parseDouble(value); in setAttribute()
1668 rationalArray[j] = new Rational((long) Double.parseDouble(numbers[0]), in setAttribute()
1669 (long) Double.parseDouble(numbers[1])); in setAttribute()
1680 rationalArray[j] = new Rational((long) Double.parseDouble(numbers[0]), in setAttribute()
1681 (long) Double.parseDouble(numbers[1])); in setAttribute()
1691 doubleArray[j] = Double.parseDouble(values[j]); in setAttribute()
2263 double degrees = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat()
2264 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat()
2267 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/java/android/location/
DLocation.java299 val = Double.parseDouble(degrees); in convert()
312 sec = Double.parseDouble(seconds); in convert()
315 min = Double.parseDouble(minutes); in convert()
/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/tests/GamePerformance/src/android/gameperformance/
DGraphicBufferMetrics.java194 return (long)(1000000.0 * Double.parseDouble(timeStampStr)); in getTimeStamp()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java1553 double value = Double.parseDouble(json.getAsString()); in parseFloat()
1578 private double parseDouble(JsonElement json) throws InvalidProtocolBufferException { in parseDouble() method in JsonFormat.ParserImpl
1676 return parseDouble(json); in parseFieldValue()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java413 values.put(column, Double.parseDouble(value)); in parseBindValue()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DTextFormat.java911 final double result = Double.parseDouble(currentToken); in consumeDouble()
/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.java6782 else if (uri.startsWith("d.", i)) b.putDouble(key, Double.parseDouble(value)); in parseUri()
6989 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/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...