Home
last modified time | relevance | path

Searched refs:dx2 (Results 1 – 5 of 5) sorted by relevance

/TwlSDK-5.5/build/demos/wm/dataShare-Model/include/
Dball.h220 int dx2 = dx * dx; in UpdateBalls() local
222 int mag2 = dx2 + dy2; in UpdateBalls()
224 shared->ball[i].vx = ((vx1 * dy2 + vx2 * dx2) + dvy * crs) / mag2; in UpdateBalls()
225 shared->ball[i].vy = ((vy1 * dx2 + vy2 * dy2) + dvx * crs) / mag2; in UpdateBalls()
228 shared->ball[j].vx = ((vx1 * dx2 + vx2 * dy2) - dvy * crs) / mag2; in UpdateBalls()
229 shared->ball[j].vy = ((vy1 * dx2 + vy2 * dy2) - dvx * crs) / mag2; in UpdateBalls()
/TwlSDK-5.5/build/libraries/spi/ARM9/src/
Dtp.c419 u16 x1, y1, x2, y2, dx1, dy1, dx2, dy2; in TP_GetUserInfo() local
429 dx2 = (u16)(info->ncd.tp.dx2); in TP_GetUserInfo()
434 (TP_CalcCalibrateParam(calibrate, x1, y1, dx1, dy1, x2, y2, dx2, dy2) != 0)) in TP_GetUserInfo()
924 u16 dx1, u16 dy1, u16 raw_x2, u16 raw_y2, u16 dx2, u16 dy2) in TP_CalcCalibrateParam() argument
946 if (dx1 >= GX_LCD_SIZE_X || dx2 >= GX_LCD_SIZE_X || dy1 >= GX_LCD_SIZE_Y in TP_CalcCalibrateParam()
951 if (dx1 == dx2 || dy1 == dy2 || raw_x1 == raw_x2 || raw_y1 == raw_y2) in TP_CalcCalibrateParam()
957 dx_width = dx1 - dx2; in TP_CalcCalibrateParam()
977 - ((s32)(dx1 + dx2) * calibrate->xDotSize)) >> (TP_CALIBRATE_DOT_SCALE_SHIFT - in TP_CalcCalibrateParam()
/TwlSDK-5.5/include/nitro/spi/common/
DuserInfo_ts_200.h115 u8 dx2; // LCD x coordinate of the second calibration point member
DuserInfo_ts_300.h149 u8 dx2; // LCD x coordinate of the second calibration point member
/TwlSDK-5.5/include/nitro/spi/ARM9/
Dtp.h140 u16 dx1, u16 dy1, u16 raw_x2, u16 raw_y2, u16 dx2, u16 dy2);