Searched refs:diff (Results 1 – 11 of 11) sorted by relevance
/lvgl-3.7.0/src/misc/ |
D | lv_anim.c | 286 int32_t diff = (a->end_value - a->start_value); in lv_anim_path_bounce() local 299 diff = diff / 20; in lv_anim_path_bounce() 305 diff = diff / 20; in lv_anim_path_bounce() 312 diff = diff / 40; in lv_anim_path_bounce() 318 diff = diff / 40; in lv_anim_path_bounce() 326 new_value = step * diff; in lv_anim_path_bounce()
|
D | lv_printf.c | 314 double diff = 0.0; in _ftoa() local 358 diff = tmp - frac; in _ftoa() 360 if(diff > 0.5) { in _ftoa() 368 else if(diff < 0.5) { in _ftoa() 376 diff = value - (double)whole; in _ftoa() 377 if((!(diff < 0.5) || (diff > 0.5)) && (whole & 1)) { in _ftoa()
|
/lvgl-3.7.0/src/core/ |
D | lv_indev_scroll.c | 31 static lv_coord_t elastic_diff(lv_obj_t * scroll_obj, lv_coord_t diff, lv_coord_t scroll_start, lv_… 606 static lv_coord_t elastic_diff(lv_obj_t * scroll_obj, lv_coord_t diff, lv_coord_t scroll_start, lv_… in elastic_diff() argument 659 if(snap != LV_SCROLL_SNAP_NONE && act_obj_point > snap_point) return diff; in elastic_diff() 662 if(diff < 0) diff -= ELASTIC_SLOWNESS_FACTOR / 2; in elastic_diff() 663 if(diff > 0) diff += ELASTIC_SLOWNESS_FACTOR / 2; in elastic_diff() 664 return diff / ELASTIC_SLOWNESS_FACTOR; in elastic_diff() 667 if(snap != LV_SCROLL_SNAP_NONE && act_obj_point < snap_point) return diff; in elastic_diff() 670 if(diff < 0) diff -= ELASTIC_SLOWNESS_FACTOR / 2; in elastic_diff() 671 if(diff > 0) diff += ELASTIC_SLOWNESS_FACTOR / 2; in elastic_diff() 672 return diff / ELASTIC_SLOWNESS_FACTOR; in elastic_diff() [all …]
|
D | lv_obj_pos.c | 731 lv_point_t diff; in lv_obj_move_to() local 732 diff.x = x - obj->coords.x1; in lv_obj_move_to() 733 diff.y = y - obj->coords.y1; in lv_obj_move_to() 738 if(diff.x == 0 && diff.y == 0) return; in lv_obj_move_to() 759 obj->coords.x1 += diff.x; in lv_obj_move_to() 760 obj->coords.y1 += diff.y; in lv_obj_move_to() 761 obj->coords.x2 += diff.x; in lv_obj_move_to() 762 obj->coords.y2 += diff.y; in lv_obj_move_to() 764 lv_obj_move_children_by(obj, diff.x, diff.y, false); in lv_obj_move_to()
|
D | lv_obj_scroll.c | 372 lv_coord_t diff = -x + scroll_x; in lv_obj_scroll_to_x() local 374 lv_obj_scroll_by_bounded(obj, diff, 0, anim_en); in lv_obj_scroll_to_x() 382 lv_coord_t diff = -y + scroll_y; in lv_obj_scroll_to_y() local 384 lv_obj_scroll_by_bounded(obj, 0, diff, anim_en); in lv_obj_scroll_to_y()
|
/lvgl-3.7.0/tests/unity/ |
D | unity.c | 872 #define UNITY_FLOAT_OR_DOUBLE_WITHIN(delta, expected, actual, diff) \ argument 875 (diff) = (actual) - (expected); \ 876 if ((diff) < 0) (diff) = -(diff); \ 878 return !(isnan(diff) || isinf(diff) || ((diff) > (delta))) 901 UNITY_FLOAT diff; in UnityFloatsWithin() local 902 UNITY_FLOAT_OR_DOUBLE_WITHIN(delta, expected, actual, diff); in UnityFloatsWithin() 1042 UNITY_DOUBLE diff; in UnityDoublesWithin() local 1043 UNITY_FLOAT_OR_DOUBLE_WITHIN(delta, expected, actual, diff); in UnityDoublesWithin()
|
/lvgl-3.7.0/src/extra/others/monkey/ |
D | lv_monkey.c | 153 int32_t diff = howbig - howsmall; in lv_monkey_random() local 154 return (int32_t)lv_rand(0, diff) + howsmall; in lv_monkey_random()
|
/lvgl-3.7.0/src/draw/sw/ |
D | lv_draw_sw_line.c | 171 int16_t diff = dsc->dash_width - dash_cnt; in draw_line_hor() local 172 i += diff; in draw_line_hor() 173 dash_cnt += diff; in draw_line_hor()
|
/lvgl-3.7.0/src/extra/widgets/colorwheel/ |
D | lv_colorwheel.c | 490 uint32_t diff = lv_tick_elaps(colorwheel->last_change_time); in lv_colorwheel_event() local 491 if(!on_ring && diff > indev->driver->long_press_time && !colorwheel->mode_fixed) { in lv_colorwheel_event()
|
/lvgl-3.7.0/src/extra/libs/png/ |
D | lodepng.c | 4294 size_t diff = ilinebits - olinebits; in removePaddingBits() local 4302 ibp += diff; in removePaddingBits() 5646 size_t diff = olinebits - ilinebits; in addPaddingBits() local 5656 for(x = 0; x != diff; ++x) setBitOfReversedStream(&obp, out, 0); in addPaddingBits()
|
/lvgl-3.7.0/docs/ |
D | CHANGELOG.md | 624 - test(img): fix image error diff handler [`48d87e1`](https://github.com/lvgl/lvgl/commit/48d87e1ed… 900 - ci(style) force color on diff to help highlight whitespace changes [`04f47ea`](https://github.com…
|