Searched refs:floatToIndex (Results 1 - 2 of 2) sorted by relevance

/packages/apps/SpareParts/src/com/android/spare_parts/
H A DSpareParts.java204 int floatToIndex(float val, int resid) { method in class:SpareParts
220 pref.setValueIndex(floatToIndex(scale,
232 pref.setValueIndex(floatToIndex(mCurConfig.fontScale,
/packages/apps/Settings/src/com/android/settings/
H A DDisplaySettings.java260 int floatToIndex(float val) { method in class:DisplaySettings
281 int index = floatToIndex(mCurConfig.fontScale);

Completed in 52 milliseconds