Home
last modified time | relevance | path

Searched defs:event2 (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
DEditorTouchStateTest.java70 MotionEvent event2 = upEvent(event1Time, event2Time, 20f, 30f); in testUpdate_singleTap() local
91 MotionEvent event2 = upEvent(event1Time, event2Time, 20f, 30f); in testUpdate_doubleTap_sameArea() local
113 MotionEvent event2 = upEvent(event1Time, event2Time, 20f, 30f); in testUpdate_doubleTap_notSameArea() local
142 MotionEvent event2 = upEvent(event1Time, event2Time, 20f, 30f); in testUpdate_doubleTap_delayAfterFirstDownEvent() local
166 MotionEvent event2 = moveEvent(event1Time, event2Time, 200f, 31f); in testUpdate_quickTapAfterDrag() local
197 MotionEvent event2 = upEvent(event1Time, event2Time, 20f, 30f); in testUpdate_tripleClick_mouse() local
237 MotionEvent event2 = upEvent(event1Time, event2Time, 20f, 30f); in testUpdate_tripleClick_touch() local
272 MotionEvent event2 = moveEvent(event1Time, event2Time, 21f, 30f); in testUpdate_drag() local
302 MotionEvent event2 = moveEvent(event1Time, event2Time, 100f, 174f); in testUpdate_drag_startsCloseToVerticalThenHorizontal() local
331 MotionEvent event2 = moveEvent(event1Time, event2Time, 100f, 90f); in testUpdate_drag_startsHorizontalThenVertical() local
[all …]
DEditorCursorDragTest.java270 MotionEvent event2 = moveEvent(tv, event1Time, event2Time, 50f, 10f); in testEditor_onTouchEvent_quickTapAfterDrag() local
325 MotionEvent event2 = mouseMoveEvent(tv, event1Time, event2Time, 120f, 30f); in testEditor_onTouchEvent_mouseDrag() local
354 MotionEvent event2 = moveEvent(tv, event1Time, event2Time, 21f, 30f); in testEditor_onTouchEvent_cursorDrag() local
389 MotionEvent event2 = upEvent(tv, event1Time, event2Time, 20f, 30f); in testEditor_onTouchEvent_selectionDrag() local
/frameworks/base/cmds/statsd/tests/metrics/
DDurationMetricProducer_test.cpp97 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
136 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
186 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
273 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST_P() local
339 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST_P() local
393 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST_P() local
441 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST_P() local
495 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST_P() local
DCountMetricProducer_test.cpp103 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
174 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
211 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
302 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST_P() local
362 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST_P() local
407 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
DEventMetricProducer_test.cpp63 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
99 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
147 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
DGaugeMetricProducer_test.cpp261 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST_P() local
613 std::shared_ptr<LogEvent> event2 = in TEST() local
DValueMetricProducer_test.cpp736 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST_P() local
920 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
970 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
1038 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
1337 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
1389 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
1424 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
1472 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
1526 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
1588 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureEventTest.java240 final ContentCaptureEvent event2 = new ContentCaptureEvent(43, TYPE_VIEW_TEXT_CHANGED) in testMergeEvent_typeViewTextChanged() local
251 final ContentCaptureEvent event2 = new ContentCaptureEvent(43, TYPE_VIEW_DISAPPEARED) in testMergeEvent_typeViewDisappeared() local
271 final ContentCaptureEvent event2 = new ContentCaptureEvent(43, TYPE_VIEW_DISAPPEARED); in testMergeEvent_typeViewDisappeared_noIds() local
286 final ContentCaptureEvent event2 = new ContentCaptureEvent(17, TYPE_VIEW_TEXT_CHANGED) in testMergeEvent_differentEventTypes() local
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/window/
DOverlayPanelViewController.java509 public boolean onScroll(MotionEvent event1, MotionEvent event2, float distanceX, in onScroll()
530 public boolean onFling(MotionEvent event1, MotionEvent event2, in onFling()
560 public boolean onScroll(MotionEvent event1, MotionEvent event2, float distanceX, in onScroll()
597 private float getYPositionOfPanelEndingEdge(MotionEvent event1, MotionEvent event2) { in getYPositionOfPanelEndingEdge()
605 public boolean onFling(MotionEvent event1, MotionEvent event2, in onFling()
/frameworks/base/cmds/statsd/tests/state/
DStateTracker_test.cpp264 std::unique_ptr<LogEvent> event2 = CreateAcquireWakelockEvent( in TEST() local
309 std::unique_ptr<LogEvent> event2 = in TEST() local
466 std::shared_ptr<LogEvent> event2 = buildOverlayEventBadStateType(1001 /* uid */, "package2"); in TEST() local
489 std::unique_ptr<LogEvent> event2 = CreateUidProcessStateChangedEvent( in TEST() local
/frameworks/base/cmds/statsd/tests/condition/
DSimpleConditionTracker_test.cpp438 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
554 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
659 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
/frameworks/base/cmds/statsd/tests/
DLogEntryMatcher_test.cpp385 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
674 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST() local
DStatsLogProcessor_test.cpp1631 std::unique_ptr<LogEvent> event2 = CreateFinishScheduledJobEvent( in TEST() local
/frameworks/ml/nn/runtime/test/
DTestTrivialModel.cpp235 ANeuralNetworksEvent* event2; in TEST_F() local
DTestValidation.cpp1819 ANeuralNetworksEvent* event2 = nullptr; in TEST_F() local
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/notification/
DNotificationPanelViewController.java524 public boolean onScroll(MotionEvent event1, MotionEvent event2, float distanceX, in onScroll()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java676 BrightnessChangeEvent event2 = BrightnessChangeEvent.CREATOR.createFromParcel(parcel); in testParcelUnParcel() local