Searched refs:dy (Results 1 – 4 of 4) sorted by relevance
/lvgl-3.4.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.4.0/src/core/ |
D | lv_obj_scroll.c | 255 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 257 if(dx == 0 && dy == 0) return; in lv_obj_scroll_by_bounded() 287 lv_coord_t y_bounded = y_current + dy; in lv_obj_scroll_by_bounded() 297 dy = y_bounded - y_current; in lv_obj_scroll_by_bounded() 298 if(dx || dy) { in lv_obj_scroll_by_bounded() 299 lv_obj_scroll_by(obj, dx, dy, anim_en); in lv_obj_scroll_by_bounded() 304 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 306 if(dx == 0 && dy == 0) return; in lv_obj_scroll_by() 330 if(dy) { in lv_obj_scroll_by() 331 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.4.0/src/draw/ |
D | lv_draw_mask.c | 329 int32_t dy = p2y - p1y; in lv_draw_mask_line_points_init() local 337 param->yx_steep = (m * dy) >> 10; in lv_draw_mask_line_points_init() 340 if(dy) { in lv_draw_mask_line_points_init() 341 m = (1L << 20) / dy; /*m is multiplier to normalize x (upscaled by 1024)*/ in lv_draw_mask_line_points_init() 350 if(dy) { in lv_draw_mask_line_points_init() 351 m = (1L << 20) / dy; /*m is multiplier to normalize x (upscaled by 1024)*/ in lv_draw_mask_line_points_init() 357 param->yx_steep = (m * dy) >> 10; in lv_draw_mask_line_points_init()
|