/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | TouchableMovementMethod.java | 52 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/ |
D | ZigZagClassifier.java | 147 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/ |
D | MainContentCaptureSession.java | 318 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/ |
D | UsageStats.java | 433 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/ |
D | Interaction.java | 141 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/ |
D | NetdEventListenerServiceTest.java | 148 String lastEvent = events4[events4.length - 1]; in testWakeupEventLogging() local 149 assertStringContains(lastEvent, "WakeupEvent"); in testWakeupEventLogging() 150 assertStringContains(lastEvent, "wlan0"); in testWakeupEventLogging() 151 assertStringContains(lastEvent, "uid: " + uid); in testWakeupEventLogging()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | SecurityLogMonitor.java | 339 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/av/services/mediaresourcemanager/test/ |
D | ResourceManagerService_test.cpp | 98 EventEntry lastEvent() { return mLastEvent; } in lastEvent() function 655 EXPECT_EQ(EventEntry({EventType::VIDEO_ON, kTestUid1}), mSystemCB->lastEvent()); in testBatteryStats() 666 EXPECT_EQ(EventEntry({EventType::VIDEO_ON, kTestUid2}), mSystemCB->lastEvent()); in testBatteryStats() 676 EXPECT_EQ(EventEntry({EventType::VIDEO_OFF, kTestUid1}), mSystemCB->lastEvent()); in testBatteryStats() 681 EXPECT_EQ(EventEntry({EventType::VIDEO_OFF, kTestUid2}), mSystemCB->lastEvent()); in testBatteryStats()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewActivityTest.java | 1018 final SelectionEvent lastEvent = selectionEvents.get(selectionEvents.size() - 1); in testSelectionMetricsLogger_noAbandonAfterCopy() local 1019 assertEquals(SelectionEvent.ACTION_COPY, lastEvent.getEventType()); in testSelectionMetricsLogger_noAbandonAfterCopy()
|