Lines Matching refs:int32_t

52     const int32_t style_padding = 5u;  in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
53 const int32_t bar_width = 200u; in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
54 const int32_t bar_height = 20u; in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
55 int32_t bar_value = 10u; in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
71 int32_t actual_coord = lv_area_get_width(&bar_ptr->indic_area); in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
74 int32_t bar_max_value = lv_bar_get_max_value(g_bar); in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
75 int32_t indicator_part_width = lv_obj_get_content_width(g_bar); in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
77 int32_t expected_coord = (bar_value * indicator_part_width) / bar_max_value; in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
105 const int32_t style_padding = 5u; in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value()
106 const int32_t bar_width = 200u; in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value()
107 const int32_t bar_height = 20u; in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value()
108 int32_t bar_value = 10u; in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value()
125 int32_t actual_coord = bar_ptr->indic_area.x1; in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value()
128 int32_t bar_max_value = lv_bar_get_max_value(g_bar); in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value()
129 int32_t indicator_part_width = lv_obj_get_content_width(g_bar); in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value()
130 int32_t right_padding = lv_obj_get_style_pad_right(g_bar, LV_PART_MAIN); in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value()
131 int32_t indicator_width = (bar_value * indicator_part_width) / bar_max_value; in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value()
133 int32_t expected_coord = (bar_width - right_padding) - indicator_width; in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value()
141 int32_t w = 300; in test_bar_normal()
142 int32_t h = 40; in test_bar_normal()
143 int32_t h_gap = 20; in test_bar_normal()
144 int32_t w_gap = 20; in test_bar_normal()
145 int32_t y = h_gap; in test_bar_normal()
146 int32_t x = w_gap; in test_bar_normal()
213 const int32_t style_padding = 10u; in test_bar_indicator_area_should_get_smaller_when_padding_is_increased()
216 int32_t new_height = 0u; in test_bar_indicator_area_should_get_smaller_when_padding_is_increased()
217 int32_t new_width = 0u; in test_bar_indicator_area_should_get_smaller_when_padding_is_increased()
218 int32_t original_height = 0u; in test_bar_indicator_area_should_get_smaller_when_padding_is_increased()
219 int32_t original_width = 0u; in test_bar_indicator_area_should_get_smaller_when_padding_is_increased()
249 int32_t new_start_value = 20u; in test_bar_start_value_should_only_change_when_in_range_mode()
276 int32_t max_value = lv_bar_get_max_value(g_bar); in test_bar_current_value_should_be_truncated_to_max_value_when_exceeds_it()
277 int32_t new_value = max_value + 1u; in test_bar_current_value_should_be_truncated_to_max_value_when_exceeds_it()
285 int32_t min_value = lv_bar_get_min_value(g_bar); in test_bar_current_value_should_be_truncated_to_min_value_when_it_is_below_it()
286 int32_t new_value = min_value - 1u; in test_bar_current_value_should_be_truncated_to_min_value_when_it_is_below_it()
312 int32_t original_pos = bar_ptr->indic_area.x1; in test_bar_indicator_should_be_drawn_towards_the_min_range_side_after_setting_a_more_negative_value()
318 int32_t final_pos = bar_ptr->indic_area.x1; in test_bar_indicator_should_be_drawn_towards_the_min_range_side_after_setting_a_more_negative_value()
323 static lv_obj_t * styled_bar_create(bool ver, int32_t start_value, int32_t end_value, lv_grad_dir_t… in styled_bar_create()
324 int32_t bg_radius, int32_t indic_radius, int32_t bg_pad) in styled_bar_create()
371 int32_t bar_values[6][2] = {{0, 5}, {0, 50}, {0, 95}, {5, 100}, {95, 100}, {20, 90}}; in render_test_screen_create()
372 int32_t bg_radius[2] = {0, 15}; in render_test_screen_create()
373 int32_t indic_radius[2] = {0, 15}; in render_test_screen_create()
374 int32_t bg_pad[3] = {-5, 0, 5}; in render_test_screen_create()
405 static lv_obj_t * bar_create_orientation(lv_bar_orientation_t orientation, int32_t w, int32_t h) in bar_create_orientation()