Home
last modified time | relevance | path

Searched refs:parseFloat (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java105 sendTap(inputSource, Float.parseFloat(args[index+1]), in run()
106 Float.parseFloat(args[index+2])); in run()
117 Float.parseFloat(args[index+1]), Float.parseFloat(args[index+2]), in run()
118 Float.parseFloat(args[index+3]), Float.parseFloat(args[index+4]), in run()
130 Float.parseFloat(args[index+1]), Float.parseFloat(args[index+2]), in run()
131 Float.parseFloat(args[index+3]), Float.parseFloat(args[index+4]), in run()
144 sendMove(inputSource, Float.parseFloat(args[index+1]), in run()
145 Float.parseFloat(args[index+2])); in run()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialTextsView.java106 mCircleRadiusMultiplier = Float.parseFloat( in initialize()
109 mCircleRadiusMultiplier = Float.parseFloat( in initialize()
112 Float.parseFloat(res.getString(R.string.ampm_circle_radius_multiplier)); in initialize()
119 mNumbersRadiusMultiplier = Float.parseFloat( in initialize()
121 mTextSizeMultiplier = Float.parseFloat( in initialize()
123 mInnerNumbersRadiusMultiplier = Float.parseFloat( in initialize()
125 mInnerTextSizeMultiplier = Float.parseFloat( in initialize()
131 mNumbersRadiusMultiplier = Float.parseFloat( in initialize()
133 mTextSizeMultiplier = Float.parseFloat( in initialize()
DRadialSelectorView.java111 mCircleRadiusMultiplier = Float.parseFloat( in initialize()
114 mCircleRadiusMultiplier = Float.parseFloat( in initialize()
117 Float.parseFloat(res.getString(R.string.ampm_circle_radius_multiplier)); in initialize()
124 Float.parseFloat(res.getString(R.string.numbers_radius_multiplier_inner)); in initialize()
126 Float.parseFloat(res.getString(R.string.numbers_radius_multiplier_outer)); in initialize()
129 Float.parseFloat(res.getString(R.string.numbers_radius_multiplier_normal)); in initialize()
132 Float.parseFloat(res.getString(R.string.selection_radius_multiplier)); in initialize()
DCircleView.java67 mCircleRadiusMultiplier = Float.parseFloat( in initialize()
70 mCircleRadiusMultiplier = Float.parseFloat( in initialize()
73 Float.parseFloat(res.getString(R.string.ampm_circle_radius_multiplier)); in initialize()
DAmPmCirclesView.java88 Float.parseFloat(res.getString(R.string.circle_radius_multiplier)); in initialize()
90 Float.parseFloat(res.getString(R.string.ampm_circle_radius_multiplier)); in initialize()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DParseUtilsTest.java72 assertEquals(0.5f, ParseUtils.parseFloat(null, 0.5f)); in testParseFloat()
73 assertEquals(0.5f, ParseUtils.parseFloat("", 0.5f)); in testParseFloat()
74 assertEquals(0.5f, ParseUtils.parseFloat("1x", 0.5f)); in testParseFloat()
75 assertEquals(1.5f, ParseUtils.parseFloat("1.5", 0.5f)); in testParseFloat()
/frameworks/base/core/java/com/android/internal/util/
DParseUtils.java65 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/
DSizeF.java145 return new SizeF(Float.parseFloat(string.substring(0, sep_ix)), in parseSizeF()
146 Float.parseFloat(string.substring(sep_ix + 1))); in parseSizeF()
DXmlPullAttributes.java95 return Float.parseFloat(s); in getAttributeFloatValue()
129 return Float.parseFloat(s); in getAttributeFloatValue()
DKeyValueListParser.java114 return Float.parseFloat(value); in getFloat()
DHalf.java225 mValue = toHalf(Float.parseFloat(value)); in Half()
1029 return toHalf(FloatingDecimal.parseFloat(s)); in parseHalf()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
DLoaderRaw.java59 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()
DLoaderDicom.java473 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/tests/WallpaperTest/src/com/example/wallpapertest/
DMainActivity.java95 float fval = Float.parseFloat(str); in loadPropIntText()
108 return Float.parseFloat(str); in loadFloatText()
/frameworks/base/libs/hwui/
DPathParser.cpp102 static float parseFloat(PathParser::ParseResult* result, const char* startPtr, in parseFloat() function
142 float currentValue = parseFloat(result, &pathStr[startPosition], end - startPosition); in getFloats()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerShellCommand.java77 brightness = Float.parseFloat(brightnessText); in setBrightness()
DBrightnessTracker.java585 builder.setBrightness(Float.parseFloat(brightness)); in readEventsLocked()
592 builder.setBatteryLevel(Float.parseFloat(batteryLevel)); in readEventsLocked()
599 builder.setLastBrightness(Float.parseFloat(lastBrightness)); in readEventsLocked()
612 luxValues[i] = Float.parseFloat(luxValuesStrings[i]); in readEventsLocked()
624 builder.setPowerBrightnessFactor(Float.parseFloat(powerSave)); in readEventsLocked()
DAmbientBrightnessStatsTracker.java246 parsedBucketBoundaries[i] = Float.parseFloat(bucketBoundaries[i]); in readFromXML()
247 parsedBucketStats[i] = Float.parseFloat(bucketStats[i]); in readFromXML()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DPortableFloatMap.java61 mScale = Float.parseFloat(scaleLine); in PortableFloatMap()
/frameworks/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java206 return Float.parseFloat(s); in getAttributeFloatValue()
275 return Float.parseFloat(s); in getAttributeFloatValue()
/frameworks/base/graphics/java/android/graphics/fonts/
DFontVariationAxis.java160 value = Float.parseFloat(settings.substring(i, endOfValueString)); in fromFontVariationSettings()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DTriData.java108 mVert[k++] = Float.parseFloat(s[j]); in read()
/frameworks/base/services/core/java/com/android/server/am/
DCoreSettingsObserver.java132 snapshot.putFloat(setting, Float.parseFloat(value)); in populateSettings()
/frameworks/base/tools/preload/
Dsorttable.js260 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/
DSafeSaxTest.java324 ? 0.0f : Float.parseFloat(average); in newContentHandler()
444 ? 0.0f : Float.parseFloat(average); in startElement()

123