Home
last modified time | relevance | path

Searched refs:LV_SCALE_NONE (Results 1 – 25 of 32) sorted by relevance

12

/lvgl-latest/tests/src/test_cases/draw/
Dtest_draw_layer.c45 test_obj_create(&test_image_cogwheel_a8, LV_SCALE_NONE, 0); in test_draw_layer_bitmap_mask_from_variable()
47 test_obj_create(&test_image_cogwheel_a8, LV_SCALE_NONE, 200); in test_draw_layer_bitmap_mask_from_variable()
61 test_obj_create(mask_src, LV_SCALE_NONE, 0); in test_draw_layer_bitmap_mask_from_image()
63 test_obj_create(mask_src, LV_SCALE_NONE, 200); in test_draw_layer_bitmap_mask_from_image()
78 test_obj_create(mask_src, LV_SCALE_NONE, 0); in test_draw_layer_bitmap_mask_from_image_not_found()
80 test_obj_create(mask_src, LV_SCALE_NONE, 200); in test_draw_layer_bitmap_mask_from_image_not_found()
/lvgl-latest/src/draw/nxp/vglite/
Dlv_vglite_matrix.c61 bool has_scale = (dsc->scale_x != LV_SCALE_NONE || dsc->scale_y != LV_SCALE_NONE); in vglite_set_transformation_matrix()
69 vg_lite_float_t scale_x = 1.0f * dsc->scale_x / LV_SCALE_NONE; in vglite_set_transformation_matrix()
70 vg_lite_float_t scale_y = 1.0f * dsc->scale_y / LV_SCALE_NONE; in vglite_set_transformation_matrix()
Dlv_draw_vglite_layer.c78 bool has_transform = (draw_dsc->rotation != 0 || draw_dsc->scale_x != LV_SCALE_NONE || in lv_draw_vglite_layer()
79 draw_dsc->scale_y != LV_SCALE_NONE); in lv_draw_vglite_layer()
Dlv_draw_vglite.c235 … bool has_transform = (draw_dsc->rotation != 0 || draw_dsc->scale_x != LV_SCALE_NONE || in _vglite_evaluate()
236 draw_dsc->scale_y != LV_SCALE_NONE); in _vglite_evaluate()
261 … bool has_transform = (draw_dsc->rotation != 0 || draw_dsc->scale_x != LV_SCALE_NONE || in _vglite_evaluate()
262 draw_dsc->scale_y != LV_SCALE_NONE); in _vglite_evaluate()
Dlv_draw_vglite_img.c146 …s_transform = (dsc->rotation != 0 || dsc->scale_x != LV_SCALE_NONE || dsc->scale_y != LV_SCALE_NON… in lv_draw_vglite_img()
408 …s_transform = (dsc->rotation != 0 || dsc->scale_x != LV_SCALE_NONE || dsc->scale_y != LV_SCALE_NON… in _vglite_draw_pattern()
/lvgl-latest/src/draw/renesas/dave2d/
Dlv_draw_dave2d_image.c66 bool transformed = draw_dsc->rotation != 0 || draw_dsc->scale_x != LV_SCALE_NONE || in img_draw_core()
67 draw_dsc->scale_y != LV_SCALE_NONE ? true : false; in img_draw_core()
273 if(LV_SCALE_NONE != draw_dsc->scale_x) { in img_draw_core()
274 dxu = (dxu * LV_SCALE_NONE) / draw_dsc->scale_x; in img_draw_core()
275 dxv = (dxv * LV_SCALE_NONE) / draw_dsc->scale_x; in img_draw_core()
277 if(LV_SCALE_NONE != draw_dsc->scale_y) { in img_draw_core()
278 dyu = (dyu * LV_SCALE_NONE) / draw_dsc->scale_y; in img_draw_core()
279 dyv = (dyv * LV_SCALE_NONE) / draw_dsc->scale_y; in img_draw_core()
Dlv_draw_dave2d_label.c133 img_dsc.scale_x = LV_SCALE_NONE; in lv_draw_dave2d_draw_letter_cb()
134 img_dsc.scale_y = LV_SCALE_NONE; in lv_draw_dave2d_draw_letter_cb()
/lvgl-latest/src/widgets/image/
Dlv_image.c243 if(img->rotation || img->scale_x != LV_SCALE_NONE || img->scale_y != LV_SCALE_NONE) { in lv_image_set_src()
440 lv_image_set_scale(obj, LV_SCALE_NONE); in lv_image_set_inner_align()
587 img->scale_x = LV_SCALE_NONE; in lv_image_constructor()
588 img->scale_y = LV_SCALE_NONE; in lv_image_constructor()
641 if(img->rotation || img->scale_x != LV_SCALE_NONE || img->scale_y != LV_SCALE_NONE) { in lv_image_event()
658 (img->scale_x != LV_SCALE_NONE || img->scale_y != LV_SCALE_NONE || in lv_image_event()
718 if(img->scale_x == LV_SCALE_NONE && img->scale_y == LV_SCALE_NONE) { in draw_image()
861 int32_t scale_x = lv_obj_get_width(obj) * LV_SCALE_NONE / img->w; in update_align()
862 int32_t scale_y = lv_obj_get_height(obj) * LV_SCALE_NONE / img->h; in update_align()
869 scale_update(obj, LV_SCALE_NONE, LV_SCALE_NONE); in update_align()
/lvgl-latest/src/draw/
Dlv_draw_image.c54 dsc->scale_x = LV_SCALE_NONE; in lv_draw_image_dsc_init()
55 dsc->scale_y = LV_SCALE_NONE; in lv_draw_image_dsc_init()
160 …if(draw_dsc->rotation || draw_dsc->scale_x != LV_SCALE_NONE || draw_dsc->scale_y != LV_SCALE_NONE)… in lv_draw_image_normal_helper()
252 if(angle == 0 && scale_x == LV_SCALE_NONE && scale_y == LV_SCALE_NONE) { in lv_image_buf_get_transformed_area()
/lvgl-latest/src/draw/nxp/pxp/
Dlv_draw_pxp_img.c83 …s_transform = (dsc->rotation != 0 || dsc->scale_x != LV_SCALE_NONE || dsc->scale_y != LV_SCALE_NON… in lv_draw_pxp_img()
203 bool has_scale = (dsc->scale_x != LV_SCALE_NONE || dsc->scale_y != LV_SCALE_NONE); in _pxp_blit_transform()
243 float fp_scale_x = (float)dsc->scale_x / LV_SCALE_NONE; in _pxp_blit_transform()
244 float fp_scale_y = (float)dsc->scale_y / LV_SCALE_NONE; in _pxp_blit_transform()
Dlv_draw_pxp_layer.c81 …if(draw_dsc->rotation || draw_dsc->scale_x != LV_SCALE_NONE || draw_dsc->scale_y != LV_SCALE_NONE)… in lv_draw_pxp_layer()
Dlv_draw_pxp.c207 bool has_transform = (draw_dsc->rotation != 0 || draw_dsc->scale_x != LV_SCALE_NONE || in _pxp_draw_img_supported()
208 draw_dsc->scale_y != LV_SCALE_NONE); in _pxp_draw_img_supported()
/lvgl-latest/src/draw/nema_gfx/
Dlv_draw_nema_gfx_img.c120 …s_transform = (dsc->rotation != 0 || dsc->scale_x != LV_SCALE_NONE || dsc->scale_y != LV_SCALE_NON… in _draw_nema_gfx_img()
219 float scale_x = 1.f * dsc->scale_x / LV_SCALE_NONE; in _draw_nema_gfx_img()
220 float scale_y = 1.f * dsc->scale_y / LV_SCALE_NONE; in _draw_nema_gfx_img()
/lvgl-latest/src/draw/sw/
Dlv_draw_sw_letter.c141 img_dsc.scale_x = LV_SCALE_NONE; in draw_letter_cb()
142 img_dsc.scale_y = LV_SCALE_NONE; in draw_letter_cb()
Dlv_draw_sw_img.c115 …if(draw_dsc->rotation || draw_dsc->scale_x != LV_SCALE_NONE || draw_dsc->scale_y != LV_SCALE_NONE)… in lv_draw_sw_layer()
210 bool transformed = draw_dsc->rotation != 0 || draw_dsc->scale_x != LV_SCALE_NONE || in img_draw_core()
211 draw_dsc->scale_y != LV_SCALE_NONE ? true : false; in img_draw_core()
Dlv_draw_sw_transform.c758 if(t->angle == 0 && t->scale_x == LV_SCALE_NONE && t->scale_y == LV_SCALE_NONE) { in transform_point_upscaled()
771 else if(t->scale_x == LV_SCALE_NONE && t->scale_y == LV_SCALE_NONE) { in transform_point_upscaled()
/lvgl-latest/demos/music/
Dlv_demo_music_main.c286 lv_anim_set_values(&a, 1, LV_SCALE_NONE); in lv_demo_music_main_create()
313 lv_anim_set_values(&a, LV_SCALE_NONE, 10); in lv_demo_music_main_create()
381 lv_image_set_scale(album_image_obj, LV_SCALE_NONE); in lv_demo_music_pause()
733 lv_anim_set_values(&a, LV_SCALE_NONE, LV_SCALE_NONE / 2); in track_load()
744 lv_anim_set_values(&a, LV_SCALE_NONE / 4, LV_SCALE_NONE); in track_load()
931 lv_image_set_scale(album_image_obj, LV_SCALE_NONE + spectrum[spectrum_i][0]); in spectrum_anim_cb()
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_image.c362 TEST_ASSERT_EQUAL_INT(LV_SCALE_NONE, lv_image_get_scale_x(img)); in test_image_ignore_transformation_settings_when_tiled()
363 TEST_ASSERT_EQUAL_INT(LV_SCALE_NONE, lv_image_get_scale_y(img)); in test_image_ignore_transformation_settings_when_tiled()
436 create_test_images(20, LV_SCALE_NONE, 0); in test_image_clip_radius()
441 create_test_images(LV_RADIUS_CIRCLE, LV_SCALE_NONE, 0); in test_image_clip_radius()
/lvgl-latest/src/misc/
Dlv_style.h47 #define LV_SCALE_NONE 256 /**< Value for not zooming the image */ macro
48 LV_EXPORT_CONST_INT(LV_SCALE_NONE);
/lvgl-latest/src/draw/vg_lite/
Dlv_vg_lite_utils.c764 if(rotation != 0 || scale_x != LV_SCALE_NONE || scale_y != LV_SCALE_NONE) { in lv_vg_lite_image_matrix()
772 if(scale_x != LV_SCALE_NONE || scale_y != LV_SCALE_NONE) { in lv_vg_lite_image_matrix()
774 (vg_lite_float_t)scale_x / LV_SCALE_NONE, in lv_vg_lite_image_matrix()
775 (vg_lite_float_t)scale_y / LV_SCALE_NONE, in lv_vg_lite_image_matrix()
/lvgl-latest/src/indev/
Dlv_indev_scroll.c88 if(angle != 0 || scale_x != LV_SCALE_NONE || scale_y != LV_SCALE_NONE) { in lv_indev_scroll_handler()
313 if(angle != 0 || scale_x != LV_SCALE_NONE || scale_y != LV_SCALE_NONE) { in lv_indev_find_scroll_obj()
/lvgl-latest/src/core/
Dlv_obj_draw.c213 draw_dsc->scale_x = LV_SCALE_NONE; in lv_obj_init_draw_image_dsc()
214 draw_dsc->scale_y = LV_SCALE_NONE; in lv_obj_init_draw_image_dsc()
Dlv_refr.c1012 if(scale_x != LV_SCALE_NONE || scale_y != LV_SCALE_NONE) { in obj_get_matrix()
1015 (float)scale_x / LV_SCALE_NONE, in obj_get_matrix()
1016 (float)scale_y / LV_SCALE_NONE in obj_get_matrix()
/lvgl-latest/src/widgets/scale/
Dlv_scale.c720 … lv_point_transform(&point, angle_upscale, LV_SCALE_NONE, LV_SCALE_NONE, &center_point, false); in scale_draw_label()
1162 …lv_point_transform(tick_point_a, angle_upscale, LV_SCALE_NONE, LV_SCALE_NONE, &center_point, false… in scale_get_tick_points()
1166 …lv_point_transform(tick_point_b, angle_upscale, LV_SCALE_NONE, LV_SCALE_NONE, &center_point, false… in scale_get_tick_points()
/lvgl-latest/src/
Dlv_api_map_v8.h309 #define LV_ZOOM_NONE LV_SCALE_NONE

12