Home
last modified time | relevance | path

Searched refs:firstEvent (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeupTimer.java92 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() local
123 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DZigZagClassifier.java167 MotionEvent firstEvent = getFirstMotionEvent(); in getAtan2LastPoint() local
169 float offsetX = firstEvent.getX(); in getAtan2LastPoint()
170 float offsetY = firstEvent.getY(); in getAtan2LastPoint()
195 MotionEvent firstEvent = motionEvents.get(0); in rotateMotionEvents() local
196 float offsetX = firstEvent.getX(); in rotateMotionEvents()
197 float offsetY = firstEvent.getY(); in rotateMotionEvents()
210 "Before: (" + firstEvent.getX() + "," + firstEvent.getY() + "), (" in rotateMotionEvents()