Searched refs:max_x (Results 1 – 12 of 12) sorted by relevance
| /bsp/mini2440/drivers/ |
| A D | touch.c | 98 rt_uint16_t min_x, max_x; member 138 if (touch->max_x > touch->min_x) in report_touch_input() 140 touch->x = touch->width * (ts.xp-touch->min_x)/(touch->max_x-touch->min_x); in report_touch_input() 144 touch->x = touch->width * ( touch->min_x - ts.xp ) / (touch->min_x-touch->max_x); in report_touch_input() 209 if (touch->max_x > touch->min_x) in report_touch_input() 211 touch->x = touch->width * ( ts.xp - touch->min_x ) / (touch->max_x-touch->min_x); in report_touch_input() 215 touch->x = touch->width * ( touch->min_x - ts.xp ) / (touch->min_x-touch->max_x); in report_touch_input() 429 touch->max_x = data->max_x; in rtgui_touch_control() 466 touch->max_x = X_MAX; in rtgui_touch_hw_init()
|
| A D | touch.h | 14 rt_uint16_t min_x, max_x; member
|
| /bsp/nxp/imx/imxrt/libraries/drivers/vglite/font/mcufont/decoder/ |
| A D | mf_font.c | 46 uint8_t max_x, max_y; member 58 if (s->max_x < x) s->max_x = x; in whitespace_callback() 83 if (right) *right = font->width - state.max_x - 1; in mf_character_whitespace()
|
| /bsp/efm32/ |
| A D | dev_keys.c | 81 if (joy.x > joy.max_x) in efm32_keys_isr() 83 joy.x = joy.max_x; in efm32_keys_isr() 175 if (joy.x > joy.max_x) in efm32_keys_timer_isr() 177 joy.x = joy.max_x; in efm32_keys_timer_isr() 245 joy.max_x = lcd_info.width; in efm32_keys_init()
|
| A D | dev_keys.h | 24 rt_uint16_t min_x, max_x; member
|
| /bsp/stm32/stm32f407-atk-explorer/board/ports/touch/ |
| A D | drv_touch_xpt.c | 128 rt_uint16_t max_x = (x_raw[1] + x_raw[2]) / 2; in xpt2046_calibration() local 132 rt_int32_t x_raw_cnt_per_pixel = (max_x - min_x) / (x1 - x0); in xpt2046_calibration() 136 max_x += cross_size * x_raw_cnt_per_pixel; in xpt2046_calibration() 142 touch->max_raw_x = max_x; 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 D | touch.c | 126 rt_uint16_t min_x, max_x; /* 校准后 X 方向最小 最大值 */ member 291 if (touch->max_x > touch->min_x) in rtgui_touch_calculate() 293 touch->x = (touch->x - touch->min_x) * X_WIDTH/(touch->max_x - touch->min_x); in rtgui_touch_calculate() 297 touch->x = (touch->min_x - touch->x) * X_WIDTH/(touch->min_x - touch->max_x); in rtgui_touch_calculate() 395 touch->max_x = data->max_x; in rtgui_touch_control() 575 touch->max_x = MAX_X_DEFAULT; in rtgui_touch_hw_init()
|
| /bsp/rx/applications/ |
| A D | application.c | 47 data->max_x, in cali_store()
|
| /bsp/nxp/imx/imxrt/libraries/drivers/vglite/elementary/src/ |
| A D | elm_headers.h | 58 vg_lite_float_t min_x, min_y, max_x, max_y; member
|
| A D | elm_object.c | 777 object_data->max_x, in _load_evo() 787 object_data->max_x, in _load_evo()
|
| /bsp/nxp/imx/imxrt/libraries/drivers/vglite/inc/ |
| A D | vg_lite.h | 1274 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 D | vg_lite.c | 7762 vg_lite_float_t max_x, vg_lite_float_t max_y) in vg_lite_init_arc_path() argument 7784 path->bounding_box[2] = max_x; in vg_lite_init_arc_path() 8112 path->bounding_box[2] = max_x; 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 8148 path->bounding_box[2] = max_x; in vg_lite_init_path()
|
Completed in 48 milliseconds