Lines Matching refs:deltaY
924 // <rdar://problem/7111003> deltaX and deltaY are incorrect for NSMouseMoved, NSTabletPointEventSubtype
929 // <rdar://problem/7979468> deltaX and deltaY are incorrect for NSOtherMouseDown and NSOtherMouseUp after FUS
955 ErrorF(" delta: (%0.2f, %0.2f)\n", [e deltaX], -[e deltaY]);
957 lastpt.y - [e deltaY]);
963 location.y = lastpt.y - [e deltaY];
972 location.y = lastpt.y - [e deltaY];
1158 [e deltaX], [e deltaY]);
1195 CGFloat deltaY = [e deltaY];
1212 deltaY *= lineHeight / 5.0;
1219 deltaY *= -1;
1274 if (deltaY != 0.0) {
1276 if ((deficit_y < 0.0 && deltaY > 0.0) ||
1277 (deficit_y > 0.0 && deltaY < 0.0)) {
1284 if (fabs(deltaY) > fabs(deficit_y)) {
1285 deltaY -= deficit_y;
1287 if (deltaY > 0.0) {
1288 deficit_y = ceil(deltaY) - deltaY;
1289 deltaY = ceil(deltaY);
1291 deficit_y = floor(deltaY) - deltaY;
1292 deltaY = floor(deltaY);
1295 deficit_y -= deltaY;
1297 if (deltaY > 0.0) {
1298 deltaY = 1.0;
1300 deltaY = -1.0;
1303 deficit_y += deltaY;
1308 DarwinSendScrollEvents(deltaX, deltaY);