Searched refs:curValue (Results 1 – 2 of 2) sorted by relevance
232 float curValue = minValue; in invokeSetAndGetForHvacFloat() local236 mgr.setFloatProperty(cfg.getPropertyId(), areaId, curValue); in invokeSetAndGetForHvacFloat() local238 assertEquals(curValue, actualValue, 0.001); in invokeSetAndGetForHvacFloat()239 curValue += 0.5; in invokeSetAndGetForHvacFloat()240 if (curValue > maxValue) { in invokeSetAndGetForHvacFloat()241 curValue = minValue; in invokeSetAndGetForHvacFloat()
448 int curValue = preference.getValue(); in onSeekbarPreferenceChanged() local449 if((addValue > 0 && curValue < preference.getMax()) || in onSeekbarPreferenceChanged()450 (addValue < 0 && curValue > preference.getMin())) { in onSeekbarPreferenceChanged()451 preference.setValue(curValue + addValue); in onSeekbarPreferenceChanged()