Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 43) sorted by relevance

12

/GUIX-v6.2.1/tutorials/demo_guix_transitions/
Ddemo_guix_transitions.c123 GX_VALUE offset; in InitSlideTransition() local
145 gx_widget_height_get(frame, &offset); in InitSlideTransition()
148 transition_animation_info.gx_animation_start_position.gx_point_y -= offset; in InitSlideTransition()
152 transition_animation_info.gx_animation_end_position.gx_point_y += offset; in InitSlideTransition()
157 gx_widget_height_get(frame, &offset); in InitSlideTransition()
160 transition_animation_info.gx_animation_start_position.gx_point_y += offset; in InitSlideTransition()
164 transition_animation_info.gx_animation_end_position.gx_point_y -= offset; in InitSlideTransition()
169 gx_widget_width_get(frame, &offset); in InitSlideTransition()
172 transition_animation_info.gx_animation_start_position.gx_point_x += offset; in InitSlideTransition()
176 transition_animation_info.gx_animation_end_position.gx_point_x -= offset; in InitSlideTransition()
[all …]
/GUIX-v6.2.1/test/guix_test/regression_test/tests/
Dvalidation_guix_all_widgets_widget_text_blend.c65 static int offset; variable
81 … *)prompt, color_ids[font_index], font_ids[font_index], test_string, offset, offset, alpha_values[… in widget_text_draw_function()
87 …DGET *)prompt, color_ids[font_index], font_ids[font_index], &string, offset, offset, alpha_values[… in widget_text_draw_function()
105 for(offset = -20; offset <= 30; offset += 10) in control_thread_entry()
107 …sprintf(test_comment, "xoffset: %d, yoffset: %d, alpha: %d, ", offset, offset, alpha_values[alpha_… in control_thread_entry()
Dvalidation_guix_canvas_pixelmap_blend.c146 INT offset; in control_thread_entry() local
171 for(offset = 0; offset <= 640; offset += 300) in control_thread_entry()
173 xval = offset; in control_thread_entry()
174 yval = offset; in control_thread_entry()
/GUIX-v6.2.1/common/src/
Dgx_display_driver_32bpp_rotated_horizontal_pixelmap_line_draw.c86 GX_VALUE offset; in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_alpha_blend() local
97 offset = (GX_VALUE)(info -> x_offset % pic_width); in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_alpha_blend()
103 color = *(get + offset); in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_alpha_blend()
109 offset++; in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_alpha_blend()
110 if (offset >= pic_width) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_alpha_blend()
112 offset = (GX_VALUE)(offset - pic_width); in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_alpha_blend()
171 INT offset; in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_raw_blend() local
186 offset = (info -> x_offset % pic_width); in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_raw_blend()
192 pixel = *(get + offset); in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_raw_blend()
194 offset++; in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_raw_blend()
[all …]
Dgx_display_driver_32bpp_horizontal_pixelmap_line_draw.c86 GX_VALUE offset; in _gx_display_driver_32bpp_horizontal_pixelmap_line_alpha_blend() local
97 offset = (GX_VALUE)(info -> x_offset % pic_width); in _gx_display_driver_32bpp_horizontal_pixelmap_line_alpha_blend()
102 color = *(get + offset); in _gx_display_driver_32bpp_horizontal_pixelmap_line_alpha_blend()
108 offset++; in _gx_display_driver_32bpp_horizontal_pixelmap_line_alpha_blend()
109 if (offset >= pic_width) in _gx_display_driver_32bpp_horizontal_pixelmap_line_alpha_blend()
111 offset = (GX_VALUE)(offset - pic_width); in _gx_display_driver_32bpp_horizontal_pixelmap_line_alpha_blend()
171 INT offset; in _gx_display_driver_32bpp_horizontal_pixelmap_line_raw_blend() local
186 offset = (info -> x_offset % pic_width); in _gx_display_driver_32bpp_horizontal_pixelmap_line_raw_blend()
191 pixel = *(get + offset); in _gx_display_driver_32bpp_horizontal_pixelmap_line_raw_blend()
193 offset++; in _gx_display_driver_32bpp_horizontal_pixelmap_line_raw_blend()
[all …]
Dgx_display_driver_8bpp_horizontal_pixelmap_line_draw.c83 INT offset; in _gx_display_driver_8bpp_horizontal_pixelmap_line_raw_blend() local
104 offset = (info -> x_offset % pic_width); in _gx_display_driver_8bpp_horizontal_pixelmap_line_raw_blend()
109 blend_func(context, xval, y, *(get + offset), alpha); in _gx_display_driver_8bpp_horizontal_pixelmap_line_raw_blend()
110 offset++; in _gx_display_driver_8bpp_horizontal_pixelmap_line_raw_blend()
111 if (offset >= pic_width) in _gx_display_driver_8bpp_horizontal_pixelmap_line_raw_blend()
113 offset -= pic_width; in _gx_display_driver_8bpp_horizontal_pixelmap_line_raw_blend()
316 INT offset; in _gx_display_driver_8bpp_horizontal_pixelmap_line_alpha_blend() local
335 offset = (info -> x_offset % pic_width); in _gx_display_driver_8bpp_horizontal_pixelmap_line_alpha_blend()
340 pixel = *(get + offset); in _gx_display_driver_8bpp_horizontal_pixelmap_line_alpha_blend()
341 falpha = *(get_alpha + offset); in _gx_display_driver_8bpp_horizontal_pixelmap_line_alpha_blend()
[all …]
Dgx_display_driver_565rgb_horizontal_pixelmap_line_draw.c86 INT offset; in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend() local
108 offset = (info -> x_offset % pic_width); in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend()
112 pixel = *(get + offset); in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend()
114 offset++; in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend()
116 if (offset >= pic_width) in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend()
118 offset -= pic_width; in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend()
186 INT offset; in _gx_display_driver_565rgb_horizontal_pixelmap_line_alpha_blend() local
205 offset = (info -> x_offset % pic_width); in _gx_display_driver_565rgb_horizontal_pixelmap_line_alpha_blend()
209 color = *(get + offset); in _gx_display_driver_565rgb_horizontal_pixelmap_line_alpha_blend()
210 falpha = *(getalpha + offset); in _gx_display_driver_565rgb_horizontal_pixelmap_line_alpha_blend()
[all …]
Dgx_display_driver_565rgb_rotated_horizontal_pixelmap_line_draw.c84 INT offset; in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend() local
99 offset = (info -> x_offset % pic_width); in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend()
103 pixel = *(get + offset); in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend()
105 offset++; in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend()
107 if (offset >= pic_width) in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend()
109 offset -= pic_width; in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend()
176 INT offset; in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_alpha_blend() local
188 offset = (info -> x_offset % pic_width); in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_alpha_blend()
192 color = *(get + offset); in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_alpha_blend()
193 falpha = *(getalpha + offset); in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_alpha_blend()
[all …]
Dgx_display_driver_4444argb_horizontal_pixelmap_line_draw.c83 INT offset; in _gx_display_driver_4444argb_horizontal_pixelmap_line_alpha_blend() local
104 offset = (info -> x_offset % pic_width); in _gx_display_driver_4444argb_horizontal_pixelmap_line_alpha_blend()
109 color = *(get + offset); in _gx_display_driver_4444argb_horizontal_pixelmap_line_alpha_blend()
110 offset++; in _gx_display_driver_4444argb_horizontal_pixelmap_line_alpha_blend()
117 if (offset >= pic_width) in _gx_display_driver_4444argb_horizontal_pixelmap_line_alpha_blend()
119 offset -= pic_width; in _gx_display_driver_4444argb_horizontal_pixelmap_line_alpha_blend()
179 INT offset; in _gx_display_driver_4444argb_horizontal_pixelmap_line_raw_blend() local
199 offset = (info -> x_offset % pic_width); in _gx_display_driver_4444argb_horizontal_pixelmap_line_raw_blend()
204 blend_func(context, xval, y, *(get + offset), alpha); in _gx_display_driver_4444argb_horizontal_pixelmap_line_raw_blend()
206 offset++; in _gx_display_driver_4444argb_horizontal_pixelmap_line_raw_blend()
[all …]
Dgx_single_line_text_input_character_delete.c97 GX_VALUE offset; in _gx_single_line_text_input_character_delete() local
161offset = (GX_VALUE)((x_pos + text_width - del_char_width) - (client.gx_rectangle_right - 1)); in _gx_single_line_text_input_character_delete()
163 if (offset < 0) in _gx_single_line_text_input_character_delete()
165 …gle_line_text_input_xoffset = (GX_VALUE)(text_input -> gx_single_line_text_input_xoffset + offset); in _gx_single_line_text_input_character_delete()
166 …put_cursor_pos.gx_point_x = (GX_VALUE)(cursor_ptr -> gx_text_input_cursor_pos.gx_point_x - offset); in _gx_single_line_text_input_character_delete()
200offset = (GX_VALUE)((client.gx_rectangle_right - 1) - (x_pos + text_width - del_char_width)); in _gx_single_line_text_input_character_delete()
202 if (offset > 0) in _gx_single_line_text_input_character_delete()
204 if (offset > (client.gx_rectangle_left + 1 - x_pos)) in _gx_single_line_text_input_character_delete()
206 offset = (GX_VALUE)(client.gx_rectangle_left + 1 - x_pos); in _gx_single_line_text_input_character_delete()
209 …gle_line_text_input_xoffset = (GX_VALUE)(text_input -> gx_single_line_text_input_xoffset - offset); in _gx_single_line_text_input_character_delete()
[all …]
Dgx_display_driver_1bpp_horizontal_pixelmap_line_draw.c87 INT offset; in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write() local
107 offset = (info -> x_offset % pic_width); in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write()
111 pixel = *(get + (offset >> 3)); in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write()
112 getmask = (GX_UBYTE)(0x80 >> (offset & 0x07)); in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write()
121 offset++; in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write()
123 if (offset >= pic_width) in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write()
125 offset -= pic_width; in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write()
197 INT offset; in _gx_display_driver_1bpp_horizontal_pixelmap_line_transparent_write() local
217 offset = (info -> x_offset % pic_width); in _gx_display_driver_1bpp_horizontal_pixelmap_line_transparent_write()
221 getmask = (GX_UBYTE)(0x40 >> ((offset & 0x03) << 1)); in _gx_display_driver_1bpp_horizontal_pixelmap_line_transparent_write()
[all …]
Dgx_display_driver_4bpp_horizontal_pixelmap_line_draw.c87 INT offset; in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write() local
113 offset = (info -> x_offset % pic_width); in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write()
117 pixel = *(get + (offset >> 1)); in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write()
118 if (offset & 1) in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write()
128 offset++; in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write()
130 if (offset >= pic_width) in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write()
132 offset -= pic_width; in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write()
209 INT offset; in _gx_display_driver_4bpp_horizontal_pixelmap_line_transparent_write() local
237 offset = (info -> x_offset % pic_width); in _gx_display_driver_4bpp_horizontal_pixelmap_line_transparent_write()
241 transmask = (GX_UBYTE)(0x80 >> (offset & 0x07)); in _gx_display_driver_4bpp_horizontal_pixelmap_line_transparent_write()
[all …]
Dgx_display_driver_8bpp_rotated_horizontal_pixelmap_line_draw.c73 INT offset; in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write() local
90 offset = (info -> x_offset % pic_width); in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write()
95 *put++ = *(get + offset); in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write()
96 offset++; in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write()
97 if (offset >= pic_width) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write()
99 offset -= pic_width; in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write()
291 INT offset; in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_transparent_write() local
308 offset = (info -> x_offset % pic_width); in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_transparent_write()
313 pixel = *(get + offset); in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_transparent_write()
314 offset++; in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_transparent_write()
[all …]
Dgx_display_driver_4bpp_pixelmap_draw.c82 INT offset; in _gx_display_driver_4bpp_pixelmap_raw_write() local
104 offset = offset_row; in _gx_display_driver_4bpp_pixelmap_raw_write()
117 pixel = *(getrow + (offset >> 1)); in _gx_display_driver_4bpp_pixelmap_raw_write()
118 if (offset & 1) in _gx_display_driver_4bpp_pixelmap_raw_write()
131 offset++; in _gx_display_driver_4bpp_pixelmap_raw_write()
197 GX_VALUE offset; in _gx_display_driver_4bpp_pixelmap_transparent_write() local
219 offset = offset_row; in _gx_display_driver_4bpp_pixelmap_transparent_write()
231 transmask = (GX_UBYTE)(0x80 >> (offset & 0x07)); in _gx_display_driver_4bpp_pixelmap_transparent_write()
232 if ((*(getauxrow + (offset >> 3)) & transmask) == 0) in _gx_display_driver_4bpp_pixelmap_transparent_write()
234 pixel = *(getrow + (offset >> 1)); in _gx_display_driver_4bpp_pixelmap_transparent_write()
[all …]
Dgx_display_driver_1bpp_canvas_copy.c87 INT offset; in _gx_display_driver_1bpp_canvas_copy() local
99 offset = overlap.gx_rectangle_left - dirty.gx_rectangle_left; in _gx_display_driver_1bpp_canvas_copy()
100 …ead_pos = (UINT)((overlap.gx_rectangle_top - dirty.gx_rectangle_top) * readstride + (offset >> 3)); in _gx_display_driver_1bpp_canvas_copy()
109 read_mask = (GX_UBYTE)(((GX_UBYTE)0x80) >> (offset & 0x07)); in _gx_display_driver_1bpp_canvas_copy()
Dgx_display_driver_4bpp_canvas_copy.c88 INT offset; in _gx_display_driver_4bpp_canvas_copy() local
100 offset = overlap.gx_rectangle_left - dirty.gx_rectangle_left; in _gx_display_driver_4bpp_canvas_copy()
101 …ead_pos = (UINT)((overlap.gx_rectangle_top - dirty.gx_rectangle_top) * readstride + (offset >> 1)); in _gx_display_driver_4bpp_canvas_copy()
112 if (offset & 0x01) in _gx_display_driver_4bpp_canvas_copy()
Dgx_utility_canvas_to_bmp.c36 UINT offset; member
116 bmp_fheader.offset = DATA_OFFSET; in _gx_utility_write_bitmap_header()
146 bmp_fheader.offset += 3 * sizeof(GX_COLOR); in _gx_utility_write_bitmap_header()
159 … bmp_fheader.offset += canvas -> gx_canvas_display -> gx_display_palette_size * sizeof(GX_COLOR); in _gx_utility_write_bitmap_header()
168 bmp_fheader.offset += 256 * sizeof(GX_COLOR); in _gx_utility_write_bitmap_header()
176 bmp_fheader.offset += 16 * sizeof(GX_COLOR); in _gx_utility_write_bitmap_header()
184 bmp_fheader.offset += 2 * sizeof(GX_COLOR); in _gx_utility_write_bitmap_header()
192 bmp_fheader.filesize = bmp_fheader.offset + b_info.bi_SizeImage; in _gx_utility_write_bitmap_header()
198 write_data((GX_UBYTE *)&bmp_fheader.offset, sizeof(UINT)); in _gx_utility_write_bitmap_header()
Dgx_scrollbar_value_calculate.c78 VOID _gx_scrollbar_value_calculate(GX_SCROLLBAR *scroll, INT offset, INT size) in _gx_scrollbar_value_calculate() argument
96 newval *= offset - (scroll -> gx_widget_size.gx_rectangle_top + in _gx_scrollbar_value_calculate()
105 newval *= offset - (scroll -> gx_widget_size.gx_rectangle_left + in _gx_scrollbar_value_calculate()
/GUIX-v6.2.1/test/example_internal/line_chart/
Ddemo_guix_chart.c104 INT offset; in test_line_chart_scale_draw() local
122 offset = GX_FIXED_VAL_MAKE(chart_bound.gx_rectangle_left); in test_line_chart_scale_draw()
125 pos = GX_FIXED_VAL_TO_INT(offset); in test_line_chart_scale_draw()
149 offset += step; in test_line_chart_scale_draw()
150 pos = GX_FIXED_VAL_TO_INT(offset); in test_line_chart_scale_draw()
163 INT offset; in test_line_chart_grid_draw() local
183 offset = GX_FIXED_VAL_MAKE(chart_bound.gx_rectangle_left) + step; in test_line_chart_grid_draw()
185 pos = GX_FIXED_VAL_TO_INT(offset); in test_line_chart_grid_draw()
193 offset += step; in test_line_chart_grid_draw()
194 pos = GX_FIXED_VAL_TO_INT(offset); in test_line_chart_grid_draw()
[all …]
/GUIX-v6.2.1/test/guix_test/regression_test/tests/iar/9.30.1/validaion_guix_jpeg_decoding/drivers/
Dgx_display_driver_hardware_565rgb.c473 ULONG offset; in hardware_565rgb_buffer_toggle() local
498 offset = Copy.gx_rectangle_top * canvas->gx_canvas_x_resolution; in hardware_565rgb_buffer_toggle()
499 offset += Copy.gx_rectangle_left; in hardware_565rgb_buffer_toggle()
500 offset /= 2; // in ulongs in hardware_565rgb_buffer_toggle()
502 get += offset; in hardware_565rgb_buffer_toggle()
508 offset = (canvas->gx_canvas_display_offset_y + Copy.gx_rectangle_top)* BOARD_SCREEN_WIDTH; in hardware_565rgb_buffer_toggle()
509 offset += canvas->gx_canvas_display_offset_x + Copy.gx_rectangle_left; in hardware_565rgb_buffer_toggle()
510 offset /= 2; in hardware_565rgb_buffer_toggle()
511 put += offset; in hardware_565rgb_buffer_toggle()
Dgx_display_driver_hardware_24xrgb.c500 ULONG offset; in hardware_24xrgb_buffer_toggle() local
522 offset = Copy.gx_rectangle_top * canvas->gx_canvas_x_resolution; in hardware_24xrgb_buffer_toggle()
523 offset += Copy.gx_rectangle_left; in hardware_24xrgb_buffer_toggle()
525 get += offset; in hardware_24xrgb_buffer_toggle()
531 offset = (canvas->gx_canvas_display_offset_y + Copy.gx_rectangle_top)* BOARD_SCREEN_WIDTH; in hardware_24xrgb_buffer_toggle()
532 offset += canvas->gx_canvas_display_offset_x + Copy.gx_rectangle_left; in hardware_24xrgb_buffer_toggle()
533 put += offset; in hardware_24xrgb_buffer_toggle()
/GUIX-v6.2.1/guix_studio/
Dresource_item.h92 void PaintColorItemLines(CDC *dc, int offset);
96 void PaintFontItemLines(CDC *dc, int offset);
100 void PaintPixelmapItemLines(CDC *dc, int offset);
104 void PaintStringItemLines(CDC *dc, int offset);
DPaletteLayoutDlg.cpp668 int offset = client.Width() / 8; in OnCreate() local
673 size.right = offset - 10; in OnCreate()
676 size.left = offset * 4 + 5; in OnCreate()
677 size.right = size.left + offset - 5; in OnCreate()
682 size.OffsetRect(offset, 0); in OnCreate()
687 size.OffsetRect(offset, 0); in OnCreate()
692 size.OffsetRect(offset, 0); in OnCreate()
782 int offset = boxsize.Width() / 8; in OnPaint() local
783 boxsize.left = offset + 10; in OnPaint()
784 boxsize.right = offset * 4 - 10; in OnPaint()
Dresource_item.cpp866 void resource_item::PaintColorItemLines(CDC *dc, int offset) in PaintColorItemLines() argument
874 m_size.top + offset); in PaintColorItemLines()
955 void resource_item::PaintFontItemLines(CDC *dc, int offset) in PaintFontItemLines() argument
963 m_size.top + offset); in PaintFontItemLines()
967 m_size.top + offset); in PaintFontItemLines()
971 m_size.top + offset); in PaintFontItemLines()
1028 int offset = (boxrect.Height() - m_bitmap.gx_bmp_header.biHeight) / 2; in PaintFontItem() local
1029 guix_bitmap_flush(dc->GetSafeHdc(), boxrect.left, boxrect.top + offset, in PaintFontItem()
1083 void resource_item::PaintPixelmapItemLines(CDC *dc, int offset) in PaintPixelmapItemLines() argument
1093 dc->MoveTo(xpos, m_size.top + offset); in PaintPixelmapItemLines()
[all …]
/GUIX-v6.2.1/guix_studio/libs/freetype/include/freetype/internal/services/
Dsvsfnt.h42 FT_Long offset,
61 FT_ULong *offset,

12