Searched refs:firstEvent (Results 1 – 2 of 2) sorted by relevance
92 MyEvent firstEvent = mEventQueue.first(); in recalculatePeriods()93 int minPeriod = firstEvent.mMaxPeriod; in recalculatePeriods()94 long minTriggerTime = firstEvent.mTriggerTime; in recalculatePeriods()122 MyEvent firstEvent = mEventQueue.first(); in insertEvent() local123 int minPeriod = firstEvent.mPeriod; in insertEvent()127 interval -= (int) (firstEvent.mTriggerTime - now); in insertEvent()129 event.mTriggerTime = firstEvent.mTriggerTime + interval; in insertEvent()133 if (firstEvent.mTriggerTime < triggerTime) { in insertEvent()134 event.mTriggerTime = firstEvent.mTriggerTime; in insertEvent()181 MyEvent firstEvent = mEventQueue.first(); in cancel() local[all …]
167 MotionEvent firstEvent = getFirstMotionEvent(); in getAtan2LastPoint() local169 float offsetX = firstEvent.getX(); in getAtan2LastPoint()170 float offsetY = firstEvent.getY(); in getAtan2LastPoint()195 MotionEvent firstEvent = motionEvents.get(0); in rotateMotionEvents() local196 float offsetX = firstEvent.getX(); in rotateMotionEvents()197 float offsetY = firstEvent.getY(); in rotateMotionEvents()210 "Before: (" + firstEvent.getX() + "," + firstEvent.getY() + "), (" in rotateMotionEvents()