Home
last modified time | relevance | path

Searched refs:max_y (Results 1 – 12 of 12) sorted by relevance

/bsp/mini2440/drivers/
A Dtouch.c99 rt_uint16_t min_y, max_y; member
147 if (touch->max_y > touch->min_y) in report_touch_input()
149 touch->y = touch->height * ( ts.yp - touch->min_y ) / (touch->max_y-touch->min_y); in report_touch_input()
153 touch->y = touch->height * ( touch->min_y - ts.yp ) / (touch->min_y-touch->max_y); in report_touch_input()
218 if (touch->max_y > touch->min_y) in report_touch_input()
220 touch->y = touch->height * ( ts.yp - touch->min_y ) / (touch->max_y-touch->min_y); in report_touch_input()
224 touch->y = touch->height * ( touch->min_y - ts.yp ) / (touch->min_y-touch->max_y); in report_touch_input()
431 touch->max_y = data->max_y; in rtgui_touch_control()
468 touch->max_y = Y_MAX; in rtgui_touch_hw_init()
A Dtouch.h15 rt_uint16_t min_y, max_y; member
/bsp/nxp/imx/imxrt/libraries/drivers/vglite/font/mcufont/decoder/
A Dmf_font.c46 uint8_t max_x, max_y; member
59 if (s->max_y < y) s->max_y = y; in whitespace_callback()
84 if (bottom) *bottom = font->height - state.max_y - 1; in mf_character_whitespace()
/bsp/efm32/
A Ddev_keys.c95 if (joy.y > joy.max_y) in efm32_keys_isr()
97 joy.y = joy.max_y; in efm32_keys_isr()
189 if (joy.y > joy.max_y) in efm32_keys_timer_isr()
191 joy.y = joy.max_y; in efm32_keys_timer_isr()
247 joy.max_y = lcd_info.height; in efm32_keys_init()
A Ddev_keys.h25 rt_uint16_t min_y, max_y; member
/bsp/stm32/stm32f407-atk-explorer/board/ports/touch/
A Ddrv_touch_xpt.c130 rt_uint16_t max_y = (y_raw[2] + y_raw[3]) / 2; in xpt2046_calibration() local
133 rt_int32_t y_raw_cnt_per_pixel = (max_y - min_y) / (y2 - y1); in xpt2046_calibration()
138 max_y += cross_size * y_raw_cnt_per_pixel; in xpt2046_calibration()
143 touch->max_raw_y = max_y; in xpt2046_calibration()
147 … LOG_I(" Calibration result, min_x:%d, min_y:%d, max_x:%d, max_y:%d", min_x, min_y, max_x, max_y); in xpt2046_calibration()
/bsp/loongson/ls1cdev/drivers/
A Dtouch.c127 rt_uint16_t min_y, max_y; /* 校准后 Y 方向最小 最大值 */ member
300 if (touch->max_y > touch->min_y) in rtgui_touch_calculate()
302 touch->y = (touch->y - touch->min_y) * Y_WIDTH /(touch->max_y - touch->min_y); in rtgui_touch_calculate()
306 touch->y = (touch->min_y - touch->y) * Y_WIDTH /(touch->min_y - touch->max_y); in rtgui_touch_calculate()
397 touch->max_y = data->max_y; in rtgui_touch_control()
577 touch->max_y = MAX_Y_DEFAULT; in rtgui_touch_hw_init()
/bsp/rx/applications/
A Dapplication.c49 data->max_y); in cali_store()
/bsp/nxp/imx/imxrt/libraries/drivers/vglite/elementary/src/
A Delm_headers.h58 vg_lite_float_t min_x, min_y, max_x, max_y; member
A Delm_object.c778 object_data->max_y); in _load_evo()
788 object_data->max_y); in _load_evo()
/bsp/nxp/imx/imxrt/libraries/drivers/vglite/inc/
A Dvg_lite.h1274 vg_lite_float_t max_x, vg_lite_float_t max_y);
1315 vg_lite_float_t max_x, vg_lite_float_t max_y);
/bsp/nxp/imx/imxrt/libraries/drivers/vglite/VGLite/
A Dvg_lite.c7762 vg_lite_float_t max_x, vg_lite_float_t max_y) in vg_lite_init_arc_path() argument
7785 path->bounding_box[3] = max_y; in vg_lite_init_arc_path()
8113 path->bounding_box[3] = max_y; in vg_lite_init_arc_path()
8138 vg_lite_float_t max_x, vg_lite_float_t max_y) in vg_lite_init_path() argument
8149 path->bounding_box[3] = max_y; in vg_lite_init_path()

Completed in 45 milliseconds