Home
last modified time | relevance | path

Searched refs:r_in (Results 1 – 3 of 3) sorted by relevance

/lvgl-3.7.0/src/extra/widgets/colorwheel/
Dlv_colorwheel.c473 lv_coord_t r_in = w / 2; in lv_colorwheel_event() local
474 p.x -= r_in; in lv_colorwheel_event()
475 p.y -= r_in; in lv_colorwheel_event()
477 r_in -= cir_w; in lv_colorwheel_event()
478 if(r_in > LV_DPI_DEF / 2) { in lv_colorwheel_event()
480 r_in -= inner; in lv_colorwheel_event()
482 if(r_in < LV_DPI_DEF / 2) r_in = LV_DPI_DEF / 2; in lv_colorwheel_event()
485 if(p.x * p.x + p.y * p.y < r_in * r_in) { in lv_colorwheel_event()
/lvgl-3.7.0/demos/music/
Dlv_demo_music_main.c789 lv_coord_t r_in = 77; in spectrum_draw_event_cb() local
791 lv_coord_t r_in = 160; in spectrum_draw_event_cb() local
793 r_in = (r_in * lv_img_get_zoom(album_img_obj)) >> 8; in spectrum_draw_event_cb()
794 for(i = 0; i < BAR_CNT; i++) r[i] = r_in + min_a; in spectrum_draw_event_cb()
837 v = r_in + start_anim_values[i]; in spectrum_draw_event_cb()
855 int32_t x1_in = get_cos(di, r_in); in spectrum_draw_event_cb()
857 poly[1].y = center.y + get_sin(di, r_in); in spectrum_draw_event_cb()
860 int32_t x2_in = get_cos(di, r_in); in spectrum_draw_event_cb()
862 poly[2].y = center.y + get_sin(di, r_in); in spectrum_draw_event_cb()
/lvgl-3.7.0/src/extra/libs/png/
Dlodepng.c3610 unsigned r_in, unsigned g_in, unsigned b_in, in lodepng_convert_rgb() argument
3617 r = g = b = r_in * mul; in lodepng_convert_rgb()
3619 r = r_in * mul; in lodepng_convert_rgb()
3623 if(r_in >= mode_in->palettesize) return 82; in lodepng_convert_rgb()
3624 r = mode_in->palette[r_in * 4 + 0] * 257u; in lodepng_convert_rgb()
3625 g = mode_in->palette[r_in * 4 + 1] * 257u; in lodepng_convert_rgb()
3626 b = mode_in->palette[r_in * 4 + 2] * 257u; in lodepng_convert_rgb()