Home
last modified time | relevance | path

Searched refs:drag_value (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/littlevgl/src/lv_objx/
A Dlv_slider.c72 ext->drag_value = LV_SLIDER_NOT_PRESSED; in lv_slider_create()
161 if(ext->drag_value != LV_SLIDER_NOT_PRESSED) in lv_slider_get_value()
162 return ext->drag_value; in lv_slider_get_value()
175 return ext->drag_value == LV_SLIDER_NOT_PRESSED ? false : true; in lv_slider_is_dragged()
318 if(ext->drag_value != LV_SLIDER_NOT_PRESSED) cur_value = ext->drag_value; in lv_slider_design()
475 ext->drag_value = lv_slider_get_value(slider); in lv_slider_signal()
498 if(tmp != ext->drag_value) { in lv_slider_signal()
499 ext->drag_value = tmp; in lv_slider_signal()
505 … if(ext->drag_value != LV_SLIDER_NOT_PRESSED) lv_slider_set_value(slider, ext->drag_value, false); in lv_slider_signal()
506 ext->drag_value = LV_SLIDER_NOT_PRESSED; in lv_slider_signal()
[all …]
A Dlv_sw.c268 old_val = ext->slider.drag_value; in lv_sw_signal()
310 ext->slider.drag_value = LV_SW_MAX_VALUE; in lv_sw_signal()
312 ext->slider.drag_value = 0; in lv_sw_signal()
317 if((old_val < threshold && ext->slider.drag_value > threshold) || in lv_sw_signal()
318 (old_val > threshold && ext->slider.drag_value < threshold)) { in lv_sw_signal()
A Dlv_slider.h45 …int16_t drag_value; /*Store a temporal value during press until release (Handled by the… member

Completed in 5 milliseconds