Home
last modified time | relevance | path

Searched refs:screen (Results 1 – 25 of 46) sorted by relevance

12

/lvgl-latest/tests/src/test_cases/
Dtest_screen_load.c10 lv_obj_t * screen = lv_screen_active(); in test_screen_load_no_crash() local
11 lv_obj_delete(screen); in test_screen_load_no_crash()
12 screen = lv_obj_create(NULL); in test_screen_load_no_crash()
13 lv_screen_load(screen); in test_screen_load_no_crash()
25 lv_obj_t * screen = lv_screen_active(); in test_screen_load_with_delete_no_crash() local
26 lv_obj_del(screen); in test_screen_load_with_delete_no_crash()
27 screen = lv_obj_create(NULL); in test_screen_load_with_delete_no_crash()
28 lv_scr_load(screen); in test_screen_load_with_delete_no_crash()
57 lv_obj_t * screen = lv_screen_active(); in test_screen_load_with_delete_no_crash2() local
58 lv_obj_del(screen); in test_screen_load_with_delete_no_crash2()
[all …]
/lvgl-latest/tests/src/test_cases/libs/
Dtest_lodepng.c35 lv_obj_t * screen = lv_screen_active(); in create_images() local
36 lv_obj_clean(screen); in create_images()
37 lv_obj_set_flex_flow(screen, LV_FLEX_FLOW_ROW_WRAP); in create_images()
38 …lv_obj_set_flex_align(screen, LV_FLEX_ALIGN_SPACE_AROUND, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_CENT… in create_images()
42 create_image_item(screen, &test_img_lvgl_logo_png, "Array"); in create_images()
45 create_image_item(screen, "A:src/test_assets/test_img_lvgl_logo.png", "File (32 bit)"); in create_images()
48 …create_image_item(screen, "A:src/test_assets/test_img_lvgl_logo_png_no_ext", "File (32 bit) No Ext… in create_images()
51 …create_image_item(screen, "A:src/test_assets/test_img_lvgl_logo_8bit_palette.png", "File (8 bit pa… in create_images()
Dtest_libpng.c35 lv_obj_t * screen = lv_screen_active(); in create_images() local
36 lv_obj_clean(screen); in create_images()
37 lv_obj_set_flex_flow(screen, LV_FLEX_FLOW_ROW_WRAP); in create_images()
38 …lv_obj_set_flex_align(screen, LV_FLEX_ALIGN_SPACE_AROUND, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_CENT… in create_images()
42 create_image_item(screen, &test_img_lvgl_logo_png, "Array"); in create_images()
45 create_image_item(screen, "A:src/test_assets/test_img_lvgl_logo.png", "File (32 bit)"); in create_images()
48 …create_image_item(screen, "A:src/test_assets/test_img_lvgl_logo_png_no_ext", "File (32 bit) No Ext… in create_images()
51 …create_image_item(screen, "A:src/test_assets/test_img_lvgl_logo_8bit_palette.png", "File (8 bit pa… in create_images()
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_checkbox.c103 lv_obj_t * screen = lv_obj_create(lv_screen_active()); in test_checkbox_rtl() local
104 lv_obj_remove_style_all(screen); in test_checkbox_rtl()
105 lv_obj_set_size(screen, 800, 480); in test_checkbox_rtl()
106 lv_obj_center(screen); in test_checkbox_rtl()
107 lv_obj_set_style_bg_color(screen, lv_color_white(), 0); in test_checkbox_rtl()
108 lv_obj_set_style_bg_opa(screen, LV_OPA_100, 0); in test_checkbox_rtl()
109 lv_obj_set_style_pad_all(screen, 0, 0); in test_checkbox_rtl()
Dtest_bar.c150 lv_obj_t * screen = lv_obj_create(lv_screen_active()); in test_bar_normal() local
151 lv_obj_remove_style_all(screen); in test_bar_normal()
152 lv_obj_set_size(screen, 800, 480); in test_bar_normal()
153 lv_obj_center(screen); in test_bar_normal()
154 lv_obj_set_style_bg_color(screen, lv_color_white(), 0); in test_bar_normal()
155 lv_obj_set_style_bg_opa(screen, LV_OPA_100, 0); in test_bar_normal()
156 lv_obj_set_style_pad_all(screen, 0, 0); in test_bar_normal()
158 lv_obj_t * test_bar = lv_bar_create(screen); in test_bar_normal()
170 test_bar = lv_bar_create(screen); in test_bar_normal()
184 test_bar = lv_bar_create(screen); in test_bar_normal()
[all …]
Dtest_label.c575 lv_obj_t * screen = lv_obj_create(lv_screen_active()); in test_label_rtl_dot_long_mode() local
576 lv_obj_remove_style_all(screen); in test_label_rtl_dot_long_mode()
577 lv_obj_set_size(screen, 800, 480); in test_label_rtl_dot_long_mode()
578 lv_obj_center(screen); in test_label_rtl_dot_long_mode()
579 lv_obj_set_style_bg_color(screen, lv_color_white(), 0); in test_label_rtl_dot_long_mode()
580 lv_obj_set_style_bg_opa(screen, LV_OPA_100, 0); in test_label_rtl_dot_long_mode()
581 lv_obj_set_style_pad_all(screen, 0, 0); in test_label_rtl_dot_long_mode()
583 lv_obj_t * test_label = lv_label_create(screen); in test_label_rtl_dot_long_mode()
/lvgl-latest/docs/details/base-widget/
Dlayer.rst35 /* Create a screen */
37 lv_screen_load(scr); /* Load the screen */
40 lv_obj_t * btn1 = lv_button_create(scr); /* Create the first button on the screen */
43 lv_obj_t * btn2 = lv_button_create(scr); /* Create the second button on the screen */
81 children there first. Later that layer will be merged to the screen or its parent
Dobj.rst163 …obj_t * parent = lv_obj_create(lv_screen_active()); /* Create a parent Widget on current screen */
213 This allows for the creation of a screen just when a button is clicked
214 to open it, and for deletion of screens when a new screen is loaded.
337 When each :ref:`display` object was created, a default screen was created with it and
351 To load a new screen, use :cpp:expr:`lv_screen_load(scr1)`. This sets ``scr1`` as
357 A new screen can be loaded with animation by using
362 …ER_TOP` and :cpp:enumerator:`LV_SCR_LOAD_ANIM_OVER_BOTTOM`: Move the new screen over the current t…
363 …TOP` and :cpp:enumerator:`LV_SCR_LOAD_ANIM_OUT_BOTTOM`: Move out the old screen over the current t…
365 … and :cpp:enumerator:`LV_SCR_LOAD_ANIM_FADE_OUT`: Fade the new screen over the old screen, or vice…
368 screen when the animation is finished.
[all …]
Devent.rst176 - :cpp:enumerator:`LV_EVENT_SCREEN_UNLOAD_START`: A screen unload started, fired immediately when …
177 - :cpp:enumerator:`LV_EVENT_SCREEN_LOAD_START`: A screen load started, fired when the screen chang…
178 - :cpp:enumerator:`LV_EVENT_SCREEN_LOADED`: A screen was loaded
179 - :cpp:enumerator:`LV_EVENT_SCREEN_UNLOADED`: A screen was unloaded
/lvgl-latest/examples/porting/
Dlv_port_disp_template.c19 …#warning Please define or replace the macro MY_DISP_HOR_RES with the actual screen width, default …
24 …#warning Please define or replace the macro MY_DISP_VER_RES with the actual screen height, default…
Dlv_port_lcd_stm32_template.c24 …#warning Please define or replace the macro MY_DISP_HOR_RES with the actual screen width, default …
29 …#warning Please define or replace the macro MY_DISP_VER_RES with the actual screen height, default…
/lvgl-latest/src/drivers/x11/
Dlv_x11_display.c308 int screen = XDefaultScreen(xd->hdr.display); in x11_window_create() local
309 xd->visual = XDefaultVisual(xd->hdr.display, screen); in x11_window_create()
316 unsigned long col_fg = BlackPixel(xd->hdr.display, screen); in x11_window_create()
317 unsigned long col_bg = WhitePixel(xd->hdr.display, screen); in x11_window_create()
324 XDefaultDepth(xd->hdr.display, screen), InputOutput, in x11_window_create()
342 xd->dplanes = XDisplayPlanes(xd->hdr.display, screen); in x11_window_create()
/lvgl-latest/tests/
DREADME.md52 - `TEST_ASSERT_EQUAL_SCREENSHOT("image1.png")` Render the active screen and compare its content wit…
53 - If the reference image is not found it will be created automatically from the rendered screen.
/lvgl-latest/docs/details/integration/driver/display/
Drenesas_glcdc.rst23 - Can input two graphics planes on top of the background plane and blend them on the screen
75 Software based screen rotation is supported in partial mode. It uses the common API, no extra confi…
Dfbdev.rst39 If your screen stays black or only draws partially, you can try enabling direct rendering via ``LV_…
/lvgl-latest/
DKconfig225 Required to draw anything on the screen.
284 > 1 means multiply threads will render the screen in parallel
369 bool "Enable blit quality degradation workaround recommended for screen's dimension > 352 pixels"
1601 This needs to be adjusted according to the size of the screen.
1615 … button at the top left corner of the browsing area, which is very useful for small screen devices.
1655 bool "Use the buffer(s) to render the screen is smaller parts"
1658 bool "Only the changed areas will be updated with 2 screen sized buffers"
1661 …bool "Always redraw the whole screen even if only one pixel has been changed with 2 screen sized b…
1670 bool "One screen-sized buffer"
1673 bool "Two screen-sized buffer"
[all …]
/lvgl-latest/docs/details/main-components/
Ddisplay.rst81 they contain anything that is visible) regardless of which screen is the
257 the size of the display. LVGL will always redraw the whole screen even if only
269 /* Declare buffer for 1/10 screen size; BYTES_PER_PIXEL will be 2 for RGB565. */
278 If only one buffer is used, LVGL draws the content of the screen into
310 * screen one-by-one. `put_px` is just an example. It needs to be implemented by you. */
342 LVGL might render the screen in multiple chunks and therefore call your Flush
554 In full and direct modes, the buffer size should be large enough for the whole screen,
624 … one core can draw the screen's background while the other 3 must wait until it is finished. If th…
636 …e, in :cpp:enumerator:`LV_DISPLAY_RENDER_MODE_DIRECT` mode on an 800x480 screen, the display buffe…
646 In :cpp:enumerator:`LV_DISPLAY_RENDER_MODE_DIRECT`, the screen-sized draw buffer is divided by the …
[all …]
Dtimer.rst197 /* Finally delete the screen */
203 /* Do something with the Widget on the current screen */
205 /* Delete screen on next call of `lv_timer_handler`, not right now. */
210 /* The screen is still valid so you can do other things with it */
/lvgl-latest/docs/details/integration/driver/
Dopengles.rst68 /* create Widgets on the screen */
126 /* create Widgets on the screen of the main texture */
142 /* create Widgets on the screen of the sub texture */
/lvgl-latest/examples/arduino/LVGL_Arduino/
DLVGL_Arduino.ino18 /*Set to your screen resolution and rotation*/
23 /*LVGL draw into this buffer, 1/10 screen size usually works well. The size is in bytes*/
/lvgl-latest/.devcontainer/
D__main.c__66 printf("Starting with screen resolution of %dx%d px\n", monitor_hor_res, monitor_ver_res);
/lvgl-latest/scripts/gdb/lvglgdb/
Dlvgl.py257 for screen in disp.screens:
259 self.dump_obj(screen, depth=depth + 1, limit=args.level)
/lvgl-latest/docs/details/widgets/
Dtileview.rst16 If the Tile View is screen sized, the user interface resembles what you
/lvgl-latest/docs/details/other-components/
Dmonkey.rst40 …ator:`LV_INDEV_TYPE_POINTER`: No effect, click randomly within the pixels of the screen resolution.
/lvgl-latest/docs/intro/
Dbasics.rst60 .. _display-vs-screen:
95 The Active Screen is the screen (and its child Widgets) currently being displayed.
141 :cpp:func:`lv_screen_active` to load the new screen.
378 its parents. For example, you can set the font once in the screen's
379 style and all text on that screen will inherit it by default.

12