Home
last modified time | relevance | path

Searched refs:FT_POINT_SIZE (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/model/input/driver/touchscreen/
H A Dtouch_ft6336.c70 frame->fingers[i].x = (unsigned int)((buf[FT_X_H_POS + FT_POINT_SIZE * i] & HALF_BYTE_MASK) in ParsePointData()
71 << ONE_BYTE_OFFSET) | (unsigned int)buf[FT_X_L_POS + FT_POINT_SIZE * i]; in ParsePointData()
72 frame->fingers[i].y = (unsigned int)((buf[FT_Y_H_POS + FT_POINT_SIZE * i] & HALF_BYTE_MASK) in ParsePointData()
73 << ONE_BYTE_OFFSET) | (unsigned int)buf[FT_Y_L_POS + FT_POINT_SIZE * i]; in ParsePointData()
74 … frame->fingers[i].trackId = (int)(buf[FT_FINGER_POS + FT_POINT_SIZE * i]) >> HALF_BYTE_OFFSET; in ParsePointData()
75 frame->fingers[i].status = (int)buf[FT_EVENT_POS + FT_POINT_SIZE * i] >> SIX_BIT_OFFSET; in ParsePointData()
H A Dtouch_ft6336.h28 #define POINT_BUFFER_LEN (FT_POINT_SIZE * MAX_SUPPORT_POINT + 3)
32 #define FT_POINT_SIZE 6 macro
H A Dtouch_ft5406.h33 #define FT_POINT_SIZE 6 macro
38 #define POINT_BUFFER_LEN (FT_POINT_SIZE)
H A Dtouch_ft5406.c83 regAddr = FTS_REG_X_H + (i * FT_POINT_SIZE); in ParsePointData()