/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | ParseUtilsTest.java | 73 assertEquals(0.5f, ParseUtils.parseFloat(null, 0.5f)); in testParseFloat() 74 assertEquals(0.5f, ParseUtils.parseFloat("", 0.5f)); in testParseFloat() 75 assertEquals(0.5f, ParseUtils.parseFloat("1x", 0.5f)); in testParseFloat() 76 assertEquals(1.5f, ParseUtils.parseFloat("1.5", 0.5f)); in testParseFloat()
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 217 sendTap(inputSource, Float.parseFloat(nextArgRequired()), in run() 218 Float.parseFloat(nextArgRequired()), displayId); in run() 246 final float x1 = Float.parseFloat(nextArgRequired()); in sendSwipe() 247 final float y1 = Float.parseFloat(nextArgRequired()); in sendSwipe() 248 final float x2 = Float.parseFloat(nextArgRequired()); in sendSwipe() 249 final float y2 = Float.parseFloat(nextArgRequired()); in sendSwipe() 293 sendMove(inputSource, Float.parseFloat(nextArgRequired()), in run() 294 Float.parseFloat(nextArgRequired()), displayId); in run() 315 sendMotionEvent(inputSource, nextArgRequired(), Float.parseFloat(nextArgRequired()), in run() 316 Float.parseFloat(nextArgRequired()), displayId); in run()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ParseUtils.java | 65 public static float parseFloat(@Nullable String value, float defValue) { in parseFloat() method in ParseUtils 70 return Float.parseFloat(value); in parseFloat()
|
/frameworks/base/core/java/android/util/ |
D | SizeF.java | 145 return new SizeF(Float.parseFloat(string.substring(0, sep_ix)), in parseSizeF() 146 Float.parseFloat(string.substring(sep_ix + 1))); in parseSizeF()
|
D | XmlPullAttributes.java | 96 return Float.parseFloat(s); in getAttributeFloatValue() 130 return Float.parseFloat(s); in getAttributeFloatValue()
|
D | Half.java | 207 mValue = toHalf(Float.parseFloat(value)); in Half() 857 return toHalf(Float.parseFloat(s)); in parseHalf()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerShellCommand.java | 92 brightness = Float.parseFloat(brightnessText); in setBrightness() 126 cct = Float.parseFloat(cctText); in setAmbientColorTemperatureOverride()
|
D | AmbientBrightnessStatsTracker.java | 246 parsedBucketBoundaries[i] = Float.parseFloat(bucketBoundaries[i]); in readFromXML() 247 parsedBucketStats[i] = Float.parseFloat(bucketStats[i]); in readFromXML()
|
D | BrightnessTracker.java | 627 builder.setBrightness(Float.parseFloat(brightness)); in readEventsLocked() 634 builder.setBatteryLevel(Float.parseFloat(batteryLevel)); in readEventsLocked() 641 builder.setLastBrightness(Float.parseFloat(lastBrightness)); in readEventsLocked() 654 luxValues[i] = Float.parseFloat(luxValuesStrings[i]); in readEventsLocked() 666 builder.setPowerBrightnessFactor(Float.parseFloat(powerSave)); in readEventsLocked()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/ |
D | LoaderRaw.java | 59 v.mVoxelDim[0] = Float.parseFloat(voxeldim[0]); in buildRSVolume() 60 v.mVoxelDim[1] = Float.parseFloat(voxeldim[1]); in buildRSVolume() 61 v.mVoxelDim[2] = Float.parseFloat(voxeldim[2]); in buildRSVolume()
|
D | LoaderDicom.java | 473 float sx = Float.parseFloat(pss[0]); in buildRSVolume() 474 float sy = Float.parseFloat(pss[1]); in buildRSVolume() 597 float sx = Float.parseFloat(pss[0]); in buildRSVolume2() 598 float sy = Float.parseFloat(pss[1]); in buildRSVolume2()
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | DisplayWhiteBalanceTintController.java | 94 displayNominalWhiteXYZ[i] = Float.parseFloat(nominalWhiteValues[i]); in setUp() 268 displayRedGreenBlueXYZ[i] = Float.parseFloat(displayPrimariesValues[i]); in getDisplayColorSpaceFromResources() 272 displayWhiteXYZ[i] = Float.parseFloat( in getDisplayColorSpaceFromResources()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | PowerProfile.java | 361 float value = parseFloat(finishCapturingText()); in endElement() 378 mArray.add(parseFloat(finishCapturingText())); in endElement() 455 private float parseFloat(String text) throws SAXParseException { in parseFloat() method in PowerProfile.AndroidResourceHandler 457 return Float.parseFloat(text); in parseFloat()
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
D | MainActivity.java | 95 float fval = Float.parseFloat(str); in loadPropIntText() 108 return Float.parseFloat(str); in loadFloatText()
|
/frameworks/base/libs/hwui/ |
D | PathParser.cpp | 100 static float parseFloat(PathParser::ParseResult* result, const char* startPtr, in parseFloat() function 140 float currentValue = parseFloat(result, &pathStr[startPosition], end - startPosition); in getFloats()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | PortableFloatMap.java | 61 mScale = Float.parseFloat(scaleLine); in PortableFloatMap()
|
/frameworks/layoutlib/bridge/src/android/util/ |
D | BridgeXmlPullAttributes.java | 231 return Float.parseFloat(s); in getAttributeFloatValue() 299 return Float.parseFloat(s); in getAttributeFloatValue()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarInflaterView.java | 349 float weight = Float.parseFloat( in applySize() 354 Float.parseFloat(sizeStr.substring(0, sizeStr.indexOf(ABSOLUTE_SUFFIX)))); in applySize() 365 float size = Float.parseFloat(sizeStr); in applySize()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | TriData.java | 108 mVert[k++] = Float.parseFloat(s[j]); in read()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontVariationAxis.java | 165 value = Float.parseFloat(settings.substring(i, endOfValueString)); in fromFontVariationSettings()
|
/frameworks/base/tools/preload/ |
D | sorttable.js | 260 aa = parseFloat(a[0].replace(/[^0-9.-]/g,'')); 262 bb = parseFloat(b[0].replace(/[^0-9.-]/g,''));
|
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
D | SafeSaxTest.java | 324 ? 0.0f : Float.parseFloat(average); in newContentHandler() 444 ? 0.0f : Float.parseFloat(average); in startElement()
|
/frameworks/base/core/java/android/provider/ |
D | SettingsValidators.java | 235 final float floatValue = Float.parseFloat(value); in validate()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GraphReader.java | 418 return Float.parseFloat(strValue); in getAssignmentValue() 423 result[i] = Float.parseFloat(floatStrings[i]); in getAssignmentValue()
|
/frameworks/base/core/java/android/database/ |
D | MatrixCursor.java | 300 return Float.parseFloat(value.toString()); in getFloat()
|