Home
last modified time | relevance | path

Searched refs:lastEvent (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DTouchableMovementMethod.java52 MotionEvent lastEvent; field in TouchableMovementMethod.TouchableLinkMovementMethod
56 lastEvent = event; in onTouchEvent()
71 return lastEvent; in getLastTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DZigZagClassifier.java147 MotionEvent lastEvent = getLastMotionEvent(); in getAtan2LastPoint() local
150 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() local
190 + lastEvent.getX() + "," in rotateMotionEvents()
191 + lastEvent.getY() + ")"); in rotateMotionEvents()
/frameworks/base/core/java/android/view/contentcapture/
DMainContentCaptureSession.java318 final ContentCaptureEvent lastEvent = mEvents.get(mEvents.size() - 1); in sendEvent() local
321 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() local
334 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()
/frameworks/base/core/java/android/app/usage/
DUsageStats.java433 final int lastEvent = mActivities.valueAt(index); in updateActivity() local
434 switch (lastEvent) { in updateActivity()
489 final Integer lastEvent = mForegroundServices.get(className); in updateForegroundService() local
491 if (lastEvent != null) { in updateForegroundService()
492 switch (lastEvent) { in updateForegroundService()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DInteraction.java141 MotionEvent lastEvent = MotionEvent.obtain(startTime, startTime + duration, in createInterpolatedEventList() local
143 result.add(lastEvent); in createInterpolatedEventList()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DNetdEventListenerServiceTest.java147 String lastEvent = events4[events4.length - 1]; in testWakeupEventLogging() local
148 assertContains(lastEvent, "WakeupEvent"); in testWakeupEventLogging()
149 assertContains(lastEvent, "wlan0"); in testWakeupEventLogging()
150 assertContains(lastEvent, "uid: " + uid); in testWakeupEventLogging()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java339 final SecurityEvent lastEvent = mLastEvents.get(lastPos); in mergeBatchLocked() local
340 final long lastNanos = lastEvent.getTimeNanos(); in mergeBatchLocked()
352 if (lastEvent.eventEquals(curEvent)) { in mergeBatchLocked()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java1018 final SelectionEvent lastEvent = selectionEvents.get(selectionEvents.size() - 1); in testSelectionMetricsLogger_noAbandonAfterCopy() local
1019 assertEquals(SelectionEvent.ACTION_COPY, lastEvent.getEventType()); in testSelectionMetricsLogger_noAbandonAfterCopy()
/frameworks/opt/gamesdk/third_party/cube/app/src/main/cpp/
Dcube.c155 uint64_t lastEvent; member
162 timing.lastEvent = 0; in InitializeTrackTiming()
170 uint64_t delta = timing.now - timing.lastEvent; in logEvent()
210 timing.lastEvent = timing.now; in logEvent()