Lines Matching refs:line

7 static lv_obj_t * line = NULL;  variable
16 line = lv_line_create(active_screen); in setUp()
26 lv_line_t * line_ptr = (lv_line_t *) line; in test_line_should_have_valid_documented_default_values()
29 TEST_ASSERT_FALSE(lv_line_get_y_invert(line)); in test_line_should_have_valid_documented_default_values()
30 TEST_ASSERT_FALSE(lv_obj_has_flag(line, LV_OBJ_FLAG_CLICKABLE)); in test_line_should_have_valid_documented_default_values()
32 TEST_ASSERT_EQUAL_UINT16(0U, lv_obj_get_self_width(line)); in test_line_should_have_valid_documented_default_values()
33 TEST_ASSERT_EQUAL_UINT16(0U, lv_obj_get_self_height(line)); in test_line_should_have_valid_documented_default_values()
38 lv_line_set_y_invert(line, true); in test_line_should_return_valid_y_invert()
39 TEST_ASSERT_TRUE(lv_line_get_y_invert(line)); in test_line_should_return_valid_y_invert()
46 lv_line_set_points(line, points, point_cnt); in test_line_size_should_be_updated_after_adding_points()
58 lv_coord_t line_width = lv_obj_get_style_line_width(line, LV_PART_MAIN); in test_line_size_should_be_updated_after_adding_points()
62 TEST_ASSERT_EQUAL_UINT16(calculated_width, lv_obj_get_self_width(line)); in test_line_size_should_be_updated_after_adding_points()
63 TEST_ASSERT_EQUAL_UINT16(calculated_height, lv_obj_get_self_height(line)); in test_line_size_should_be_updated_after_adding_points()
79 lv_obj_add_event_cb(line, line_event_cb, LV_EVENT_ALL, NULL); in test_line_should_update_extra_draw_size_based_on_style()
81 lv_obj_refresh_ext_draw_size(line); in test_line_should_update_extra_draw_size_based_on_style()
83 TEST_ASSERT_EQUAL(initial_extra_draw_size, _lv_obj_get_ext_draw_size(line)); in test_line_should_update_extra_draw_size_based_on_style()
87 lv_obj_set_style_line_width(line, final_extra_draw_size, LV_PART_MAIN); in test_line_should_update_extra_draw_size_based_on_style()
90 lv_obj_refresh_ext_draw_size(line); in test_line_should_update_extra_draw_size_based_on_style()
92 TEST_ASSERT_EQUAL(final_extra_draw_size, _lv_obj_get_ext_draw_size(line)); in test_line_should_update_extra_draw_size_based_on_style()