Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 25 of 50) sorted by relevance

12

/GUIX-v6.4.1/test/guix_test/regression_test/tests/
Dvalidation_guix_circular_gauge_needle_rotate_callback.c80 int pos; in control_thread_entry() local
94 for(pos = 0; pos < (int)(sizeof(needle_pos)/sizeof(GX_POINT)); pos++) in control_thread_entry()
98 gauge_info->gx_circular_gauge_info_needle_xpos = needle_pos[pos].gx_point_x; in control_thread_entry()
99 gauge_info->gx_circular_gauge_info_needle_ypos = needle_pos[pos].gx_point_y; in control_thread_entry()
100 gauge_info->gx_circular_gauge_info_needle_xcor = needle_cor[pos].gx_point_x; in control_thread_entry()
101 gauge_info->gx_circular_gauge_info_needle_ycor = needle_cor[pos].gx_point_y; in control_thread_entry()
108 needle_pos[pos].gx_point_x, needle_pos[pos].gx_point_y, in control_thread_entry()
109 needle_pos[pos].gx_point_y, needle_pos[pos].gx_point_y); in control_thread_entry()
Dvalidation_guix_circular_gauge_32bpp.c78 int pos; in control_thread_entry() local
89 for(pos = 0; pos < (int)(sizeof(needle_pos)/sizeof(GX_POINT)); pos++) in control_thread_entry()
93 gauge_info->gx_circular_gauge_info_needle_xpos = needle_pos[pos].gx_point_x; in control_thread_entry()
94 gauge_info->gx_circular_gauge_info_needle_ypos = needle_pos[pos].gx_point_y; in control_thread_entry()
95 gauge_info->gx_circular_gauge_info_needle_xcor = needle_cor[pos].gx_point_x; in control_thread_entry()
96 gauge_info->gx_circular_gauge_info_needle_ycor = needle_cor[pos].gx_point_y; in control_thread_entry()
103 needle_pos[pos].gx_point_x, needle_pos[pos].gx_point_y, in control_thread_entry()
104 needle_pos[pos].gx_point_y, needle_pos[pos].gx_point_y); in control_thread_entry()
Dvalidation_guix_all_widgets_v_slider_16bpp.c72 int tickmarks, pos, min_travel, max_travel, increment_index, needle_index, border_index = 1; in control_thread_entry() local
143 for(pos = slider_top; pos <= slider_bottom; pos += 20) in control_thread_entry()
179 …%d, max_travel:%d, slider_pos:%d, increment:%d, ", min_travel, max_travel, pos + 10, increment[inc… in control_thread_entry()
191 event_ptr->gx_event_payload.gx_event_pointdata.gx_point_y = pos; in control_thread_entry()
197 event_ptr->gx_event_payload.gx_event_pointdata.gx_point_y = pos + 10; in control_thread_entry()
Dvalidation_guix_slider_24xrgb.c72 int tickmarks, pos, min_travel, max_travel, increment_index, needle_index, border_index = 1; in control_thread_entry() local
145 for(pos = slider_top; pos <= slider_bottom; pos += 20) in control_thread_entry()
180 event_ptr->gx_event_payload.gx_event_pointdata.gx_point_y = pos; in control_thread_entry()
186 event_ptr->gx_event_payload.gx_event_pointdata.gx_point_y = pos + 10; in control_thread_entry()
192 …%d, max_travel:%d, slider_pos:%d, increment:%d, ", min_travel, max_travel, pos + 10, increment[inc… in control_thread_entry()
Dvalidation_guix_all_widgets_h_slider_16bpp.c72 int tickmarks, pos, min_travel, max_travel, increment_index, needle_index, border_index = 1; in control_thread_entry() local
149 for(pos = slider_left; pos <= slider_right; pos += 20) in control_thread_entry()
185 …%d, max_travel:%d, slider_pos:%d, increment:%d, ", min_travel, max_travel, pos + 10, increment[inc… in control_thread_entry()
198 event_ptr->gx_event_payload.gx_event_pointdata.gx_point_x = pos; in control_thread_entry()
203 event_ptr->gx_event_payload.gx_event_pointdata.gx_point_x = pos + 10; in control_thread_entry()
Dvalidation_guix_slider_h_24xrgb.c72 int tickmarks, pos, min_travel, max_travel, increment_index, needle_index, border_index = 1; in control_thread_entry() local
148 for(pos = slider_left; pos <= slider_right; pos += 20) in control_thread_entry()
184 …%d, max_travel:%d, slider_pos:%d, increment:%d, ", min_travel, max_travel, pos + 10, increment[inc… in control_thread_entry()
198 event_ptr->gx_event_payload.gx_event_pointdata.gx_point_x = pos; in control_thread_entry()
203 event_ptr->gx_event_payload.gx_event_pointdata.gx_point_x = pos + 10; in control_thread_entry()
Dvalidation_guix_pixelmap_slider_24xrgb.c70 int pos, min_travel, max_travel, increment_index, needle_index, backgd_index = 1, border_index = 1; in control_thread_entry() local
139 for(pos = slider_top; pos <= slider_bottom; pos += 20) in control_thread_entry()
226 event_ptr->gx_event_payload.gx_event_pointdata.gx_point_y = pos; in control_thread_entry()
232 event_ptr->gx_event_payload.gx_event_pointdata.gx_point_y = pos + 10; in control_thread_entry()
Dvalidation_guix_pixelmap_slider_h_24xrgb.c72 int pos, min_travel, max_travel, increment_index, needle_index, backgd_index = 1, border_index = 1; in control_thread_entry() local
143 for(pos = slider_left; pos <= slider_right; pos += 20) in control_thread_entry()
225 event_ptr->gx_event_payload.gx_event_pointdata.gx_point_x = pos; in control_thread_entry()
230 event_ptr->gx_event_payload.gx_event_pointdata.gx_point_x = pos + 10; in control_thread_entry()
Dvalidation_guix_all_widgets_h_pixelmap_slider_16bpp.c72 int pos, min_travel, max_travel, increment_index, needle_index, backgd_index = 1, border_index = 1; in control_thread_entry() local
142 for(pos = slider_left; pos <= slider_right; pos += 20) in control_thread_entry()
226 event_ptr->gx_event_payload.gx_event_pointdata.gx_point_x = pos; in control_thread_entry()
231 event_ptr->gx_event_payload.gx_event_pointdata.gx_point_x = pos + 10; in control_thread_entry()
Dvalidation_guix_all_widgets_v_pixelmap_slider_16bpp.c70 int pos, min_travel, max_travel, increment_index, needle_index, backgd_index = 1, border_index = 1; in control_thread_entry() local
139 for(pos = slider_top; pos <= slider_bottom; pos += 20) in control_thread_entry()
229 event_ptr->gx_event_payload.gx_event_pointdata.gx_point_y = pos; in control_thread_entry()
235 event_ptr->gx_event_payload.gx_event_pointdata.gx_point_y = pos + 10; in control_thread_entry()
/GUIX-v6.4.1/samples/demo_guix_widget_types/
Dguix_circular_gauge_screen.c42 int pos; in gauge_window_event_handler() local
49 pos = event_ptr->gx_event_payload.gx_event_longdata; in gauge_window_event_handler()
50 set_speed_value(1, pos); in gauge_window_event_handler()
52 pos = pos * 22 / 10 - 109; in gauge_window_event_handler()
53 gx_circular_gauge_angle_set(gauge, pos); in gauge_window_event_handler()
58 pos = event_ptr->gx_event_payload.gx_event_longdata; in gauge_window_event_handler()
59 set_speed_value(2, pos); in gauge_window_event_handler()
61 pos = pos * 22 / 10 - 109; in gauge_window_event_handler()
62 gx_circular_gauge_angle_set(gauge, pos); in gauge_window_event_handler()
/GUIX-v6.4.1/test/example_internal/radial_progress_bar/
Ddemo_guix_radial_progress_bar.c86 int pos; in window_event_handle() local
92 pos = event_ptr->gx_event_payload.gx_event_longdata; in window_event_handle()
93 gx_radial_progress_bar_value_set(progress_bar, -pos); in window_event_handle()
137 pos = event_ptr->gx_event_payload.gx_event_longdata; in window_event_handle()
138 gx_utility_ltoa(pos, normal_width, 5); in window_event_handle()
142 info->gx_radial_progress_bar_info_normal_brush_width = pos; in window_event_handle()
147 pos = event_ptr->gx_event_payload.gx_event_longdata; in window_event_handle()
148 gx_utility_ltoa(pos, selected_width, 5); in window_event_handle()
152 info->gx_radial_progress_bar_info_selected_brush_width = pos; in window_event_handle()
157 pos = event_ptr->gx_event_payload.gx_event_longdata; in window_event_handle()
[all …]
/GUIX-v6.4.1/test/example_internal/line_chart/
Ddemo_guix_chart.c102 INT pos; in test_line_chart_scale_draw() local
125 pos = GX_FIXED_VAL_TO_INT(offset); in test_line_chart_scale_draw()
135 gx_canvas_line_draw(pos, line_start, pos, line_start + 14); in test_line_chart_scale_draw()
140 gx_canvas_text_draw_ext(pos + 3, line_start + 6, &str); in test_line_chart_scale_draw()
146 gx_canvas_line_draw(pos, line_start, pos, line_start + 8); in test_line_chart_scale_draw()
150 pos = GX_FIXED_VAL_TO_INT(offset); in test_line_chart_scale_draw()
152 } while (pos < chart_bound.gx_rectangle_right); in test_line_chart_scale_draw()
161 INT pos; in test_line_chart_grid_draw() local
185 pos = GX_FIXED_VAL_TO_INT(offset); in test_line_chart_grid_draw()
192 gx_canvas_line_draw(pos, line_start, pos, line_end); in test_line_chart_grid_draw()
[all …]
/GUIX-v6.4.1/common/src/
Dgx_image_reader_png_decode.c847 INT pos[16]; in _gx_image_reader_png_clen_huffman_read() local
873 memset(pos, -1, 16 * sizeof(INT)); in _gx_image_reader_png_clen_huffman_read()
879 if (pos[code_len[i]] == -1) in _gx_image_reader_png_clen_huffman_read()
881 pos[code_len[i]] = png -> gx_png_huffman_clen_bits_count[code_len[i] - 1]; in _gx_image_reader_png_clen_huffman_read()
883 png -> gx_png_huffman_clen_table[pos[code_len[i]]++] = (INT)i; in _gx_image_reader_png_clen_huffman_read()
950 INT pos[16]; in _gx_image_reader_png_ll_huffman_read() local
1084 memset(pos, -1, 16 * sizeof(INT)); in _gx_image_reader_png_ll_huffman_read()
1091 if (pos[index] == -1) in _gx_image_reader_png_ll_huffman_read()
1093 pos[index] = png -> gx_png_huffman_lit_bits_count[index - 1]; in _gx_image_reader_png_ll_huffman_read()
1095 png -> gx_png_huffman_lit_table[pos[index]++] = (INT)i; in _gx_image_reader_png_ll_huffman_read()
[all …]
Dgx_display_driver_generic_wide_circle_draw.c96 INT pos; in _gx_display_driver_generic_wide_circle_draw() local
180 pos = (y2 - ymin) << 1; in _gx_display_driver_generic_wide_circle_draw()
182 if (x2 < pLineEnds[pos]) in _gx_display_driver_generic_wide_circle_draw()
184 pLineEnds[pos] = x2; in _gx_display_driver_generic_wide_circle_draw()
187 if (x2 > pLineEnds[pos + 1]) in _gx_display_driver_generic_wide_circle_draw()
189 pLineEnds[pos + 1] = x2; in _gx_display_driver_generic_wide_circle_draw()
198 pos = (y2 - ymin) << 1; in _gx_display_driver_generic_wide_circle_draw()
200 if (x2 < pLineEnds[pos]) in _gx_display_driver_generic_wide_circle_draw()
202 pLineEnds[pos] = x2; in _gx_display_driver_generic_wide_circle_draw()
205 if (x2 > pLineEnds[pos + 1]) in _gx_display_driver_generic_wide_circle_draw()
[all …]
Dgx_slider_event_process.c78 INT pos; in _gx_slider_event_process() local
93 pos = event_ptr -> gx_event_payload.gx_event_pointdata.gx_point_y; in _gx_slider_event_process()
97 pos = event_ptr -> gx_event_payload.gx_event_pointdata.gx_point_x; in _gx_slider_event_process()
100 _gx_slider_value_calculate(slider, &slider -> gx_slider_info, pos); in _gx_slider_event_process()
115 pos = event_ptr -> gx_event_payload.gx_event_pointdata.gx_point_y; in _gx_slider_event_process()
119 pos = event_ptr -> gx_event_payload.gx_event_pointdata.gx_point_x; in _gx_slider_event_process()
121 _gx_slider_value_calculate(slider, &slider -> gx_slider_info, pos); in _gx_slider_event_process()
Dgx_pixelmap_slider_event_process.c80 INT pos; in _gx_pixelmap_slider_event_process() local
95 pos = event_ptr -> gx_event_payload.gx_event_pointdata.gx_point_y; in _gx_pixelmap_slider_event_process()
99 pos = event_ptr -> gx_event_payload.gx_event_pointdata.gx_point_x; in _gx_pixelmap_slider_event_process()
102 _gx_slider_value_calculate((GX_SLIDER *)slider, &slider -> gx_slider_info, pos); in _gx_pixelmap_slider_event_process()
117 pos = event_ptr -> gx_event_payload.gx_event_pointdata.gx_point_y; in _gx_pixelmap_slider_event_process()
121 pos = event_ptr -> gx_event_payload.gx_event_pointdata.gx_point_x; in _gx_pixelmap_slider_event_process()
124 _gx_slider_value_calculate((GX_SLIDER *)slider, &slider -> gx_slider_info, pos); in _gx_pixelmap_slider_event_process()
Dgx_display_driver_4bpp_horizontal_pattern_line_draw.c80 INT pos; in _gx_display_driver_4bpp_horizontal_pattern_line_draw() local
87 pos = context -> gx_draw_context_pitch * ypos + xstart; in _gx_display_driver_4bpp_horizontal_pattern_line_draw()
98 put += pos >> 1; in _gx_display_driver_4bpp_horizontal_pattern_line_draw()
99 if (pos & 0x01) in _gx_display_driver_4bpp_horizontal_pattern_line_draw()
Dgx_display_driver_1bpp_horizontal_pattern_line_draw.c80 INT pos; in _gx_display_driver_1bpp_horizontal_pattern_line_draw() local
88 pos = context -> gx_draw_context_pitch * ypos + xstart; in _gx_display_driver_1bpp_horizontal_pattern_line_draw()
97 put += pos >> 3; in _gx_display_driver_1bpp_horizontal_pattern_line_draw()
98 start_in_byte = pos & 0x07; in _gx_display_driver_1bpp_horizontal_pattern_line_draw()
Dgx_display_driver_generic_mouse_position_set.c69 VOID _gx_display_driver_generic_mouse_position_set(GX_DISPLAY *display, GX_POINT *pos) in _gx_display_driver_generic_mouse_position_set() argument
85 display -> gx_display_mouse.gx_mouse_position = *pos; in _gx_display_driver_generic_mouse_position_set()
/GUIX-v6.4.1/tutorials/demo_guix_circular_gauge/
Ddemo_guix_circular_gauge.c114 int pos; in window_event_handle() local
121 pos = event_ptr->gx_event_payload.gx_event_longdata; in window_event_handle()
122 set_speed_value(1, pos); in window_event_handle()
124 gx_circular_gauge_angle_set(gauge, pos); in window_event_handle()
129 pos = event_ptr->gx_event_payload.gx_event_longdata; in window_event_handle()
130 set_speed_value(2, pos); in window_event_handle()
132 gx_circular_gauge_angle_set(gauge, pos); in window_event_handle()
/GUIX-v6.4.1/guix_studio/libs/libgit2/include/git2/
Dpathspec.h240 const git_pathspec_match_list *m, size_t pos);
253 const git_pathspec_match_list *m, size_t pos);
277 const git_pathspec_match_list *m, size_t pos);
/GUIX-v6.4.1/guix_studio/
Dpalette_creater.cpp169 int pos; in UpdateBox() local
177 pos = ASSEMBLECOLOR_16BPP(r, g, b); in UpdateBox()
178 histp = &histogram[pos]; in UpdateBox()
267 USHORT pos; in AccumulateOneMapHistogram() local
298 pos = ASSEMBLECOLOR_16BPP(red, green, blue); in AccumulateOneMapHistogram()
299 histp = &histogram[pos]; in AccumulateOneMapHistogram()
DScrollHelper.cpp312 int pos; in Scroll() local
318 pos = m_scrollPos.cy; in Scroll()
324 pos = m_scrollPos.cx; in Scroll()
332 new_pos = pos + delta; in Scroll()
349 if (new_pos != pos) in Scroll()
/GUIX-v6.4.1/samples/demo_guix_shapes/
Dtext_rotation_window.c210 INT pos; in Text_Rotation_Window_event_handler() local
263 pos = myevent->gx_event_payload.gx_event_longdata; in Text_Rotation_Window_event_handler()
264 text_angle = pos; in Text_Rotation_Window_event_handler()
265 update_text_value(pos); in Text_Rotation_Window_event_handler()

12