Lines Matching refs:v_cur
1783 TYPE v_cur = *v; in DragBehaviorT() local
1789 …FLOATTYPE v_old_norm_curved = ImPow((FLOATTYPE)(v_cur - v_min) / (FLOATTYPE)(v_max - v_min), (FLOA… in DragBehaviorT()
1791 v_cur = v_min + (TYPE)ImPow(ImSaturate((float)v_new_norm_curved), power) * (v_max - v_min); in DragBehaviorT()
1796 v_cur += (TYPE)g.DragCurrentAccum; in DragBehaviorT()
1800 v_cur = RoundScalarWithFormatT<TYPE, SIGNEDTYPE>(format, data_type, v_cur); in DragBehaviorT()
1806 …FLOATTYPE v_cur_norm_curved = ImPow((FLOATTYPE)(v_cur - v_min) / (FLOATTYPE)(v_max - v_min), (FLOA… in DragBehaviorT()
1811 g.DragCurrentAccum -= (float)((SIGNEDTYPE)v_cur - (SIGNEDTYPE)*v); in DragBehaviorT()
1815 if (v_cur == (TYPE)-0) in DragBehaviorT()
1816 v_cur = (TYPE)0; in DragBehaviorT()
1819 if (*v != v_cur && has_min_max) in DragBehaviorT()
1821 if (v_cur < v_min || (v_cur > *v && adjust_delta < 0.0f && !is_decimal)) in DragBehaviorT()
1822 v_cur = v_min; in DragBehaviorT()
1823 if (v_cur > v_max || (v_cur < *v && adjust_delta > 0.0f && !is_decimal)) in DragBehaviorT()
1824 v_cur = v_max; in DragBehaviorT()
1828 if (*v == v_cur) in DragBehaviorT()
1830 *v = v_cur; in DragBehaviorT()