Searched refs:lastEvent (Results 1 – 9 of 9) sorted by relevance
52 MotionEvent lastEvent; field in TouchableMovementMethod.TouchableLinkMovementMethod56 lastEvent = event; in onTouchEvent()71 return lastEvent; in getLastTouchEvent()
147 MotionEvent lastEvent = getLastMotionEvent(); in getAtan2LastPoint() local150 float lastX = lastEvent.getX() - offsetX; in getAtan2LastPoint()151 float lastY = lastEvent.getY() - offsetY; in getAtan2LastPoint()185 MotionEvent lastEvent = motionEvents.get(motionEvents.size() - 1); in rotateMotionEvents() local190 + lastEvent.getX() + "," in rotateMotionEvents()191 + lastEvent.getY() + ")"); in rotateMotionEvents()
318 final ContentCaptureEvent lastEvent = mEvents.get(mEvents.size() - 1); in sendEvent() local321 if (lastEvent.getType() == TYPE_VIEW_TEXT_CHANGED in sendEvent()322 && lastEvent.getId().equals(event.getId())) { in sendEvent()327 lastEvent.mergeEvent(event); in sendEvent()333 final ContentCaptureEvent lastEvent = mEvents.get(mEvents.size() - 1); in sendEvent() local334 if (lastEvent.getType() == TYPE_VIEW_DISAPPEARED in sendEvent()335 && event.getSessionId() == lastEvent.getSessionId()) { in sendEvent()338 + lastEvent.getSessionId()); in sendEvent()340 lastEvent.mergeEvent(event); in sendEvent()
433 final int lastEvent = mActivities.valueAt(index); in updateActivity() local434 switch (lastEvent) { in updateActivity()489 final Integer lastEvent = mForegroundServices.get(className); in updateForegroundService() local491 if (lastEvent != null) { in updateForegroundService()492 switch (lastEvent) { in updateForegroundService()
141 MotionEvent lastEvent = MotionEvent.obtain(startTime, startTime + duration, in createInterpolatedEventList() local143 result.add(lastEvent); in createInterpolatedEventList()
147 String lastEvent = events4[events4.length - 1]; in testWakeupEventLogging() local148 assertContains(lastEvent, "WakeupEvent"); in testWakeupEventLogging()149 assertContains(lastEvent, "wlan0"); in testWakeupEventLogging()150 assertContains(lastEvent, "uid: " + uid); in testWakeupEventLogging()
339 final SecurityEvent lastEvent = mLastEvents.get(lastPos); in mergeBatchLocked() local340 final long lastNanos = lastEvent.getTimeNanos(); in mergeBatchLocked()352 if (lastEvent.eventEquals(curEvent)) { in mergeBatchLocked()
1018 final SelectionEvent lastEvent = selectionEvents.get(selectionEvents.size() - 1); in testSelectionMetricsLogger_noAbandonAfterCopy() local1019 assertEquals(SelectionEvent.ACTION_COPY, lastEvent.getEventType()); in testSelectionMetricsLogger_noAbandonAfterCopy()
155 uint64_t lastEvent; member162 timing.lastEvent = 0; in InitializeTrackTiming()170 uint64_t delta = timing.now - timing.lastEvent; in logEvent()210 timing.lastEvent = timing.now; in logEvent()