Searched refs:dist (Results 1 – 6 of 6) sorted by relevance
457 lv_coord_t dist = LV_COORD_MAX; in find_snap_point_x() local490 if(LV_ABS(x) < LV_ABS(dist)) dist = x; in find_snap_point_x()495 return dist == LV_COORD_MAX ? 0 : -dist; in find_snap_point_x()512 lv_coord_t dist = LV_COORD_MAX; in find_snap_point_y() local545 if(LV_ABS(y) < LV_ABS(dist)) dist = y; in find_snap_point_y()550 return dist == LV_COORD_MAX ? 0 : -dist; in find_snap_point_y()
461 int dist = abs(dx); in drawWhiteFunctionModules() local462 if (abs(dy) > dist) in drawWhiteFunctionModules()463 dist = abs(dy); in drawWhiteFunctionModules()464 if (dist == 2 || dist == 4) { in drawWhiteFunctionModules()
600 uint32_t dist = (px * px) + (py * py); in lv_point_within_circle() local602 if(dist <= r_sqrd) in lv_point_within_circle()
943 int32_t dist = (end_angle_first - start_angle_last) >> 1; in lv_draw_mask_angle() local948 int32_t tmp = start_angle_last + dist - rel_x; in lv_draw_mask_angle()985 int32_t dist = (end_angle_first - start_angle_last) >> 1; in lv_draw_mask_angle() local990 int32_t tmp = start_angle_last + dist - rel_x; in lv_draw_mask_angle()
4994 float dist = (float)STBTT_sqrt((x1 - x0) * (x1 - x0) + (y1 - y0) * (y1 - y0)); local4995 precompute[i] = (dist == 0) ? 0.0f : 1.0f / dist;5030 float dist, dist2 = (x0 - sx) * (x0 - sx) + (y0 - sy) * (y0 - sy); local5037 … dist = (float)STBTT_fabs((x1 - x0) * (y0 - sy) - (y1 - y0) * (x0 - sx)) * precompute[i];5039 if(dist < min_dist) {5049 min_dist = dist;
1880 unsigned dist = lz77_encoded.data[i + 2]; in deflateDynamic() local1881 ++frequencies_d[dist]; in deflateDynamic()