Searched refs:historyEventCount (Results 1 – 1 of 1) sorted by relevance
433 int historyEventCount = (int) ((eventTime - prevEventTime) / 10); in injectMoveEventsForDrag() local435 new int[Math.max(1, historyEventCount)]; in injectMoveEventsForDrag()437 new int[Math.max(1, historyEventCount)]; in injectMoveEventsForDrag()439 if (historyEventCount == 0) { in injectMoveEventsForDrag()453 for (int historyIndex = 0; historyIndex < historyEventCount; historyIndex++) { in injectMoveEventsForDrag()454 int stepMoveX = prevMoveX + deltaMoveX * (historyIndex + 1) / historyEventCount; in injectMoveEventsForDrag()455 int stepMoveY = prevMoveY + deltaMoveY * (historyIndex + 1) / historyEventCount; in injectMoveEventsForDrag()457 prevEventTime + deltaTime * (historyIndex + 1) / historyEventCount; in injectMoveEventsForDrag()