Searched refs:LV_MATH_ABS (Results 1 – 12 of 12) sorted by relevance
1282 … if(LV_MATH_ABS(proc->types.pointer.drag_sum.x) > LV_MATH_ABS(proc->types.pointer.drag_sum.y)) { in indev_drag()1291 … if((hor_en && LV_MATH_ABS(proc->types.pointer.drag_sum.x) >= indev_act->driver.drag_limit) || in indev_drag()1292 … (ver_en && LV_MATH_ABS(proc->types.pointer.drag_sum.y) >= indev_act->driver.drag_limit)) { in indev_drag()1335 … if(LV_MATH_ABS(proc->types.pointer.drag_sum.x) > LV_MATH_ABS(proc->types.pointer.drag_sum.y)) { in indev_drag()1352 … LV_MATH_ABS(proc->types.pointer.drag_sum.x) > LV_MATH_ABS(proc->types.pointer.drag_sum.y))) { in indev_drag()1358 … LV_MATH_ABS(proc->types.pointer.drag_sum.x) < LV_MATH_ABS(proc->types.pointer.drag_sum.y))) { in indev_drag()1505 if((LV_MATH_ABS(proc->types.pointer.vect.x) < indev_act->driver.gesture_min_velocity) && in indev_gesture()1506 (LV_MATH_ABS(proc->types.pointer.vect.y) < indev_act->driver.gesture_min_velocity)) { in indev_gesture()1515 if((LV_MATH_ABS(proc->types.pointer.gesture_sum.x) > indev_act->driver.gesture_limit) || in indev_gesture()1516 (LV_MATH_ABS(proc->types.pointer.gesture_sum.y) > indev_act->driver.gesture_limit)) { in indev_gesture()[all …]
3601 sh_width += LV_MATH_MAX(LV_MATH_ABS(sh_ofs_x), LV_MATH_ABS(sh_ofs_y));
338 bool flat = LV_MATH_ABS(xdiff) > LV_MATH_ABS(ydiff) ? true : false; in draw_line_skew()350 if(flat) wcorr_i = (LV_MATH_ABS(ydiff) << 5) / LV_MATH_ABS(xdiff); in draw_line_skew()351 else wcorr_i = (LV_MATH_ABS(xdiff) << 5) / LV_MATH_ABS(ydiff); in draw_line_skew()
213 param->flat = (LV_MATH_ABS(p2x - p1x) > LV_MATH_ABS(p2y - p1y)) ? 1 : 0; in lv_draw_mask_line_points_init()327 param->delta_deg = LV_MATH_ABS(end_angle - start_angle); in lv_draw_mask_angle_init()
165 if(LV_MATH_ABS(hint->coord_y - coords->y1) > LV_LABEL_HINT_UPDATE_TH - 2 * line_height) { in lv_draw_label()
302 …dist_left = LV_MATH_ABS((ext->left_knob_area.x1 + (ext->left_knob_area.x2 - ext->left_knob_area.x1… in lv_slider_signal()303 …dist_right = LV_MATH_ABS((ext->right_knob_area.x1 + (ext->right_knob_area.x2 - ext->right_knob_are… in lv_slider_signal()319 …dist_left = LV_MATH_ABS((ext->left_knob_area.y1 + (ext->left_knob_area.y2 - ext->left_knob_area.y1… in lv_slider_signal()320 …dist_right = LV_MATH_ABS((ext->right_knob_area.y1 + (ext->right_knob_area.y2 - ext->right_knob_are… in lv_slider_signal()
166 if(LV_MATH_ABS(start - ext->arc_angle_start) >= 180) { in lv_arc_set_start_angle()201 if(LV_MATH_ABS(end - ext->arc_angle_end) >= 180) { in lv_arc_set_end_angle()258 if(LV_MATH_ABS(start - ext->bg_angle_start) >= 180) { in lv_arc_set_bg_start_angle()291 if(LV_MATH_ABS(end - ext->bg_angle_end) >= 180) { in lv_arc_set_bg_end_angle()
788 if((LV_MATH_ABS(p.x - ext->last_press_point.x) > indev->driver.drag_limit / 2) || in lv_cpicker_signal()789 (LV_MATH_ABS(p.y - ext->last_press_point.y) > indev->driver.drag_limit / 2)) { in lv_cpicker_signal()
57 num = LV_MATH_ABS(num); in _lv_utils_num_to_str()
30 #define LV_MATH_ABS(x) ((x) > 0 ? (x) : (-(x))) macro
229 if(LV_MATH_ABS(delta) < 3) { in lv_color_rgb_to_hsv()
196 int32_t d = LV_MATH_ABS((int32_t)start - end); in lv_anim_speed_to_time()