Home
last modified time | relevance | path

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

12

/packages/services/Car/service/src/com/android/car/telemetry/systemmonitor/
DSystemMonitor.java133 cpuLoadavg.mOneMinuteVal = Float.parseFloat(vals[0]); in getCpuLoad()
134 cpuLoadavg.mFiveMinutesVal = Float.parseFloat(vals[1]); in getCpuLoad()
135 cpuLoadavg.mFifteenMinutesVal = Float.parseFloat(vals[2]); in getCpuLoad()
/packages/apps/SpareParts/src/com/android/spare_parts/
DSpareParts.java180 float val = Float.parseFloat(objValue.toString()); in writeAnimationPreference()
189 mCurConfig.fontScale = Float.parseFloat(objValue.toString()); in writeFontSizePreference()
206 float lastVal = Float.parseFloat(indices[0]); in floatToIndex()
208 float thisVal = Float.parseFloat(indices[i]); in floatToIndex()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DFontScalePreferenceFragment.java67 if (Float.compare(mCurrentFontScaleValue, Float.parseFloat(entryValues[i])) == 0) { in onCreatePreferences()
70 initPreview(preference, Float.parseFloat(entryValues[i])); in onCreatePreferences()
101 mCurrentFontScaleValue = Float.parseFloat(preference.getKey()); in onPreferenceChange()
DVolumeChangePreferenceFragment.java73 Float.parseFloat(mCurrentDeviceDefaultVolume)); in onCreatePreferences()
97 if (Float.compare(mCurrentVolumeIndex , Float.parseFloat(entryValues[i])) == 0) { in onCreatePreferences()
121 mCurrentVolumeIndex = Float.parseFloat(preference.getKey()); in onPreferenceChange()
DFontScalePreviewFragment.java55 float preview_font_scale = Float.parseFloat( in onCreateView()
/packages/apps/Settings/src/com/android/settings/development/
DAnimatorDurationScalePreferenceController.java80 float scale = newValue != null ? Float.parseFloat(newValue.toString()) : DEFAULT_VALUE; in writeAnimationScaleOption()
93 float val = Float.parseFloat(mListValues[i]); in updateAnimationScaleValue()
DTransitionAnimationScalePreferenceController.java81 float scale = newValue != null ? Float.parseFloat(newValue.toString()) : DEFAULT_VALUE; in writeAnimationScaleOption()
95 float val = Float.parseFloat(mListValues[i]); in updateAnimationScaleValue()
DWindowAnimationScalePreferenceController.java81 float scale = newValue != null ? Float.parseFloat(newValue.toString()) : DEFAULT_VALUE; in writeAnimationScaleOption()
94 float val = Float.parseFloat(mListValues[i]); in updateAnimationScaleValue()
/packages/apps/Car/Settings/src/com/android/car/settings/accessibility/
DCaptionsTextSizeListPreferenceController.java63 mFontSizeFloatValues[i] = Float.parseFloat(mFontSizeStringValues[i]); in CaptionsTextSizeListPreferenceController()
83 float newFontValue = Float.parseFloat((String) newValue); in handlePreferenceChanged()
/packages/apps/Settings/src/com/android/settings/accessibility/
DFontSizeData.java71 float lastVal = Float.parseFloat(indices[0]); in fontSizeValueToIndex()
73 float thisVal = Float.parseFloat(indices[i]); in fontSizeValueToIndex()
DCaptioningFontSizeController.java59 Float.parseFloat((String) newValue)); in onPreferenceChange()
DCaptioningAppearancePreferenceController.java55 fontScaleValuesArray[i] = Float.parseFloat(fontScaleValuesStrArray[i]); in getFontScaleValuesArray()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DHbpcdLookupDatabaseHelper.java269 row.put(MccLookup.GMT_OFFSET_LOW, Float.parseFloat(parser.nextText())); in getTableMccLookupTableRow()
271 row.put(MccLookup.GMT_OFFSET_HIGH, Float.parseFloat(parser.nextText())); in getTableMccLookupTableRow()
273 row.put(MccLookup.GMT_DST_LOW, Float.parseFloat(parser.nextText())); in getTableMccLookupTableRow()
275 row.put(MccLookup.GMT_DST_HIGH, Float.parseFloat(parser.nextText())); in getTableMccLookupTableRow()
/packages/modules/AdServices/adservices/tests/cts/appsetid/src/com/android/adservices/tests/appsetid/
DAppSetIdManagerTest.java146 return Float.parseFloat(permitString);
153 return Float.parseFloat(permitString);
/packages/modules/StatsD/statsd/src/logd/
DLogEvent.cpp121 void LogEvent::parseFloat(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseFloat() function in android::os::statsd::LogEvent
177 parseFloat(pos, /*depth=*/2, last, /*numAnnotations=*/0); in parseKeyValuePairs()
248 parseFloat(pos, /*depth=*/1, last, /*numAnnotations=*/0); in parseArray()
568 parseFloat(pos, /*depth=*/0, last, getNumAnnotations(typeInfo)); in parseBody()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DTouchPositionCorrection.java48 final float value = Float.parseFloat(data[i]); in load()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterTinyPlanetRepresentation.java108 setAngle(Float.parseFloat(rep[i][1])); in deSerializeRepresentation()
/packages/services/Car/service/src/com/android/car/
DCarBugreportManagerService.java268 progress = Float.parseFloat(parts[0]); in handleProgress()
269 total = Float.parseFloat(parts[1]); in handleProgress()
DCarUxRestrictionsConfigurationXmlParser.java342 .parseFloat(parser.getAttributeValue(XML_NAMESPACE, XML_MIN_SPEED)); in mapDrivingStateToRestrictions()
350 .parseFloat(parser.getAttributeValue(XML_NAMESPACE, XML_MAX_SPEED)); in mapDrivingStateToRestrictions()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageSetThresholdBaseFragment.java139 long bytes = (long) (Float.parseFloat(bytesString) in getCurrentThreshold()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettings.java223 return Float.parseFloat(res.getString(R.string.plausibility_threshold)); in readPlausibilityThreshold()
300 return Float.parseFloat(ResourceUtils.getDeviceOverrideValue(res, in readDefaultKeypressSoundVolume()
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/actuators/
DRadioActuator.java144 final int frequencyKHz = (int) (Float.parseFloat(frequency) * 1000); in parseFrequency()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerService.java96 mRecommendedThreshold = Float.parseFloat( in onCreate()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DKeyValueListParser.java117 return Float.parseFloat(value); in getFloat()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/remoteaccess/
DKitchenSinkRemoteTaskService.java121 float temp = Float.parseFloat(taskData.substring(SET_TEMP.length())); in handleTaskData()

12