/frameworks/base/tools/fonts/ |
D | font-scaling-array-generator.js | 101 const targetScale = parseFloat(targetScaleKey, 10); 105 if (scale < parseFloat(startTargetScaleKey, 10)) { 109 startTargetScale = parseFloat(startTargetScaleKey, 10); 110 endTargetScale = parseFloat(endTargetScaleKey, 10);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | ParseUtilsTest.java | 87 assertEquals(0.5f, ParseUtils.parseFloat(null, 0.5f), DELTA_FLOAT); in testParseFloat() 88 assertEquals(0.5f, ParseUtils.parseFloat("", 0.5f), DELTA_FLOAT); in testParseFloat() 89 assertEquals(0.5f, ParseUtils.parseFloat("1x", 0.5f), DELTA_FLOAT); in testParseFloat() 90 assertEquals(1.5f, ParseUtils.parseFloat("1.5", 0.5f), DELTA_FLOAT); in testParseFloat()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputShellCommand.java | 480 sendTap(inputSource, Float.parseFloat(getNextArgRequired()), in runTap() 481 Float.parseFloat(getNextArgRequired()), displayId); in runTap() 503 final float x1 = Float.parseFloat(getNextArgRequired()); in sendSwipe() 504 final float y1 = Float.parseFloat(getNextArgRequired()); in sendSwipe() 505 final float x2 = Float.parseFloat(getNextArgRequired()); in sendSwipe() 506 final float y2 = Float.parseFloat(getNextArgRequired()); in sendSwipe() 540 sendMove(inputSource, Float.parseFloat(getNextArgRequired()), in runRoll() 541 Float.parseFloat(getNextArgRequired()), displayId); in runRoll() 549 axisValues.put(AXIS_X, Float.parseFloat(getNextArgRequired())); in runScroll() 550 axisValues.put(AXIS_Y, Float.parseFloat(getNextArgRequired())); in runScroll() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | Position.java | 47 final float percentageX = Float.parseFloat(sStringCommaSplitter.next()); in fromString() 48 final float percentageY = Float.parseFloat(sStringCommaSplitter.next()); in fromString()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ParseUtils.java | 66 public static float parseFloat(@Nullable String value, float defValue) { in parseFloat() method in ParseUtils 71 return Float.parseFloat(value); in parseFloat()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerShellCommand.java | 82 float dimAmount = Float.parseFloat(getNextArgRequired()); in setWallpaperDimAmount() 108 float mockDimAmount = Float.parseFloat(getNextArgRequired()); in setDimmingWithUid()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/ |
D | ValueParser.kt | 162 private val parseFloat: ValueParser<Float> = ValueParser { value -> in value() constant 171 val Float = parseFloat
|
/frameworks/base/core/java/android/util/ |
D | SizeF.java | 150 return new SizeF(Float.parseFloat(string.substring(0, sep_ix)), in parseSizeF() 151 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/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()
|
/frameworks/base/core/java/com/android/internal/accessibility/common/ |
D | MagnificationConstants.java | 38 Float.parseFloat(SystemProperties.get("ro.config.max_magnification_scale", "8.0"));
|
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/ |
D | InclusiveFloatRangeValidator.java | 41 final float floatValue = Float.parseFloat(value); in validate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/ |
D | SettingsProxy.kt | 304 return parseFloat(v, def) in getFloat() 370 fun parseFloat(v: String?, def: Float): Float { in parseFloat() method
|
D | UserSettingsProxy.kt | 25 import com.android.systemui.util.settings.SettingsProxy.Companion.parseFloat 255 return parseFloat(v, def) in putLongForUser()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | StringToRealPerfTest.java | 58 Float.parseFloat(string); in timeFloat_parseFloat()
|
/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/commandline/ |
D | ValueParserTest.kt | 25 fun parseFloat() { in parseFloat() method in com.android.systemui.statusbar.commandline.ValueParserTest
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | DisplayWhiteBalanceTintController.java | 121 displayNominalWhiteXYZ[i] = Float.parseFloat(nominalWhiteValues[i]); in setUp() 434 displayRedGreenBlueXYZ[i] = Float.parseFloat(displayPrimariesValues[i]); in getDisplayColorSpaceFromResources() 438 displayWhiteXYZ[i] = Float.parseFloat( in getDisplayColorSpaceFromResources()
|
D | ReduceBrightColorsTintController.java | 47 mCoefficients[i] = Float.parseFloat(coefficients[i]); in setUp()
|
/frameworks/base/services/flags/java/com/android/server/flags/ |
D | SettingsProxy.java | 257 return v != null ? Float.parseFloat(v) : def; in getFloatForUser() 277 return Float.parseFloat(v); in getFloatForUser()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | PortableFloatMap.java | 61 mScale = Float.parseFloat(scaleLine); in PortableFloatMap()
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | NavigationBarInflaterView.java | 287 float weight = Float.parseFloat( in applySize() 292 Float.parseFloat(sizeStr.substring(0, sizeStr.indexOf(ABSOLUTE_SUFFIX)))); in applySize() 303 float size = Float.parseFloat(sizeStr); in applySize()
|