Searched refs:CalculateCurrentValue (Results 1 – 2 of 2) sorted by relevance
264 int32_t UISlider::CalculateCurrentValue(int16_t length, int16_t totalLength) in CalculateCurrentValue() function in OHOS::UISlider289 value = CalculateCurrentValue(knobPosition.x - startPoint.x, progressWidth_); in UpdateCurrentValue()298 … value = CalculateCurrentValue(startPoint.x + progressWidth_ - knobPosition.x, progressWidth_); in UpdateCurrentValue()307 … value = CalculateCurrentValue(startPoint.y + progressHeight_ - knobPosition.y, progressHeight_); in UpdateCurrentValue()316 value = CalculateCurrentValue(knobPosition.y - startPoint.y, progressHeight_); in UpdateCurrentValue()
347 int32_t CalculateCurrentValue(int16_t length, int16_t totalLength);