Searched refs:historyEventCount (Results 1 – 1 of 1) sorted by relevance
283 int historyEventCount = (int) ((eventTime - prevEventTime) / 10); in injectMoveEventsForDrag() local285 new int[Math.max(1, historyEventCount)]; in injectMoveEventsForDrag()287 new int[Math.max(1, historyEventCount)]; in injectMoveEventsForDrag()289 if (historyEventCount == 0) { in injectMoveEventsForDrag()302 for (int historyIndex = 0; historyIndex < historyEventCount; historyIndex++) { in injectMoveEventsForDrag()303 int stepMoveX = prevMoveX + deltaMoveX * (historyIndex + 1) / historyEventCount; in injectMoveEventsForDrag()304 int stepMoveY = prevMoveY + deltaMoveY * (historyIndex + 1) / historyEventCount; in injectMoveEventsForDrag()306 ? prevEventTime + deltaTime * (historyIndex + 1) / historyEventCount in injectMoveEventsForDrag()