Searched refs:dy (Results 1 – 6 of 6) sorted by relevance
/lvgl-3.7.0/src/extra/libs/qrcode/ |
D | qrcodegen.c | 459 for (int dy = -4; dy <= 4; dy++) { in drawWhiteFunctionModules() local 462 if (abs(dy) > dist) in drawWhiteFunctionModules() 463 dist = abs(dy); in drawWhiteFunctionModules() 465 setModuleBounded(qrcode, 3 + dx, 3 + dy, false); in drawWhiteFunctionModules() 466 setModuleBounded(qrcode, qrsize - 4 + dx, 3 + dy, false); in drawWhiteFunctionModules() 467 setModuleBounded(qrcode, 3 + dx, qrsize - 4 + dy, false); in drawWhiteFunctionModules() 479 for (int dy = -1; dy <= 1; dy++) { in drawWhiteFunctionModules() local 481 setModule(qrcode, alignPatPos[i] + dx, alignPatPos[j] + dy, dx == 0 && dy == 0); in drawWhiteFunctionModules() 560 for (int dy = 0; dy < height; dy++) { in fillRectangle() local 562 setModule(qrcode, left + dx, top + dy, true); in fillRectangle()
|
/lvgl-3.7.0/src/core/ |
D | lv_obj_scroll.c | 254 void lv_obj_scroll_by_bounded(lv_obj_t * obj, lv_coord_t dx, lv_coord_t dy, lv_anim_enable_t anim_e… in lv_obj_scroll_by_bounded() argument 256 if(dx == 0 && dy == 0) return; in lv_obj_scroll_by_bounded() 286 lv_coord_t y_bounded = y_current + dy; in lv_obj_scroll_by_bounded() 296 dy = y_bounded - y_current; in lv_obj_scroll_by_bounded() 297 if(dx || dy) { in lv_obj_scroll_by_bounded() 298 lv_obj_scroll_by(obj, dx, dy, anim_en); in lv_obj_scroll_by_bounded() 302 void lv_obj_scroll_by(lv_obj_t * obj, lv_coord_t dx, lv_coord_t dy, lv_anim_enable_t anim_en) in lv_obj_scroll_by() argument 304 if(dx == 0 && dy == 0) return; in lv_obj_scroll_by() 328 if(dy) { in lv_obj_scroll_by() 329 uint32_t t = lv_anim_speed_to_time((lv_disp_get_ver_res(d) * 2) >> 2, 0, dy); in lv_obj_scroll_by() [all …]
|
D | lv_obj_scroll.h | 205 void lv_obj_scroll_by_bounded(struct _lv_obj_t * obj, lv_coord_t dx, lv_coord_t dy, lv_anim_enable_…
|
/lvgl-3.7.0/src/extra/libs/tiny_ttf/ |
D | stb_truetype_htcw.h | 1957 stbtt_int16 dy = ttBYTE(data, points++); local 1958 y += (flags & 32) ? dy : -dy; // ??? 2178 static void stbtt__csctx_rmove_to(stbtt__csctx * ctx, float dx, float dy) argument 2182 ctx->first_y = ctx->y = ctx->y + dy; 2186 static void stbtt__csctx_rline_to(stbtt__csctx * ctx, float dx, float dy) argument 2189 ctx->y += dy; 2407 float dx, dy; local 2473 dy = dy1 + dy2 + dy3 + dy4 + dy5; 2474 if(STBTT_fabs(dx) > STBTT_fabs(dy)) 2475 dy6 = -dy; [all …]
|
/lvgl-3.7.0/src/draw/nxp/vglite/ |
D | lv_draw_vglite_arc.c | 508 float dy = lerp(ay, by, t); in get_arc_control_points() local 516 arc->p0y = (int32_t)floorf(0.5f + lerp(dy, ey, t)); in get_arc_control_points() 530 arc->p2y = (int32_t)floorf(0.5f + dy); in get_arc_control_points() 532 arc->p3y = (int32_t)floorf(0.5f + lerp(dy, ey, t)); in get_arc_control_points()
|
/lvgl-3.7.0/src/draw/ |
D | lv_draw_mask.c | 330 int32_t dy = p2y - p1y; in lv_draw_mask_line_points_init() local 338 param->yx_steep = (m * dy) >> 10; in lv_draw_mask_line_points_init() 341 if(dy) { in lv_draw_mask_line_points_init() 342 m = (1L << 20) / dy; /*m is multiplier to normalize x (upscaled by 1024)*/ in lv_draw_mask_line_points_init() 351 if(dy) { in lv_draw_mask_line_points_init() 352 m = (1L << 20) / dy; /*m is multiplier to normalize x (upscaled by 1024)*/ in lv_draw_mask_line_points_init() 358 param->yx_steep = (m * dy) >> 10; in lv_draw_mask_line_points_init()
|