/cts/tests/tests/hardware/src/android/hardware/input/cts/ |
D | InputCtsActivity.java | 42 public boolean dispatchGenericMotionEvent(MotionEvent ev) { in dispatchGenericMotionEvent() argument 44 Log.i(TAG, "Unhandled generic motion event: " + ev); in dispatchGenericMotionEvent() 48 mInputCallback.onMotionEvent(ev); in dispatchGenericMotionEvent() 54 public boolean dispatchTouchEvent(MotionEvent ev) { in dispatchTouchEvent() argument 56 mInputCallback.onMotionEvent(ev); in dispatchTouchEvent() 62 public boolean dispatchTrackballEvent(MotionEvent ev) { in dispatchTrackballEvent() argument 64 mInputCallback.onMotionEvent(ev); in dispatchTrackballEvent() 70 public boolean dispatchKeyEvent(KeyEvent ev) { in dispatchKeyEvent() argument 72 if (mUnhandledKeys.contains(ev.getKeyCode())) { in dispatchKeyEvent() 73 Log.i(TAG, "Unhandled keyEvent: " + ev); in dispatchKeyEvent() [all …]
|
D | InputCallback.java | 23 void onKeyEvent(KeyEvent ev); in onKeyEvent() argument 24 void onMotionEvent(MotionEvent ev); in onMotionEvent() argument
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | EventCapturingMotionEventListener.java | 82 MotionEvent ev; in assertPropagated() local 89 ev = mEvents.poll(WAIT_TIME_SECONDS, SECONDS); in assertPropagated() 96 .that(ev) in assertPropagated() 99 received.add(MotionEvent.actionToString(ev.getActionMasked())); in assertPropagated() 100 ev = mEvents.poll(WAIT_TIME_SECONDS, SECONDS); in assertPropagated() 101 while (ev != null) { in assertPropagated() 102 int action = ev.getActionMasked(); in assertPropagated() 124 ev = mEvents.poll(WAIT_TIME_SECONDS, SECONDS); in assertPropagated() 134 MotionEvent ev; in getRawEvents() local 136 ev = mEvents.poll(WAIT_TIME_SECONDS, SECONDS); in getRawEvents() [all …]
|
/cts/tests/input/src/android/input/cts/ |
D | CaptureEventActivity.kt | 48 override fun dispatchGenericMotionEvent(ev: MotionEvent?): Boolean { in dispatchGenericMotionEvent() 49 events.add(MotionEvent.obtain(ev)) in dispatchGenericMotionEvent() 53 override fun dispatchTouchEvent(ev: MotionEvent?): Boolean { in dispatchTouchEvent() 54 events.add(MotionEvent.obtain(ev)) in dispatchTouchEvent() 63 override fun dispatchTrackballEvent(ev: MotionEvent?): Boolean { in dispatchTrackballEvent() 64 events.add(MotionEvent.obtain(ev)) in dispatchTrackballEvent()
|
D | TwoWindowsActivity.kt | 118 override fun dispatchGenericMotionEvent(ev: MotionEvent?): Boolean { in dispatchGenericMotionEvent() 119 fail("Unexpected event " + ev) in dispatchGenericMotionEvent() 123 override fun dispatchTouchEvent(ev: MotionEvent?): Boolean { in dispatchTouchEvent() 124 fail("Unexpected event " + ev) in dispatchTouchEvent() 128 override fun dispatchKeyEvent(ev: KeyEvent?): Boolean { in dispatchKeyEvent() 129 fail("Unexpected event " + ev) in dispatchKeyEvent() 133 override fun dispatchTrackballEvent(ev: MotionEvent?): Boolean { in dispatchTrackballEvent() 134 fail("Unexpected event " + ev) in dispatchTrackballEvent()
|
D | VelocityTrackerTest.kt | 318 var ev = MotionEvent.obtain(0L, mTime, MotionEvent.ACTION_MOVE, mPx, mPy, 0) in addMovement() variable 319 mPlanarVelocityTracker.addMovement(ev) in addMovement() 320 ev.recycle() in addMovement() 322 ev = createScrollMotionEvent() in addMovement() 323 mScrollVelocityTracker.addMovement(ev) in addMovement() 324 ev.recycle() in addMovement()
|
D | InputInjectionTest.kt | 239 override fun onKeyEvent(ev: KeyEvent?) = onKey(ev!!) in <lambda>() 240 override fun onTouchEvent(ev: MotionEvent?) = onTouch(ev!!) in <lambda>()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | DragDropTest.java | 192 private void logEvent(View v, DragEvent ev) { in logEvent() argument 193 if (ev.getAction() == DragEvent.ACTION_DRAG_STARTED) { in logEvent() 196 if (ev.getAction() == DragEvent.ACTION_DRAG_ENDED) { in logEvent() 199 mActual.add(new LogEntry(v, ev.getAction(), ev.getX(), ev.getY(), ev.getClipData(), in logEvent() 200 ev.getClipDescription(), ev.getLocalState(), ev.getResult())); in logEvent() 380 v.setOnDragListener((_v, ev) -> { in setRejectingHandlersOnTree() argument 381 logEvent(_v, ev); in setRejectingHandlersOnTree() 439 mActivity.findViewById(R.id.inner).setOnDragListener((v, ev) -> { in testNoExtraEvents() 440 logEvent(v, ev); in testNoExtraEvents() 443 mActivity.findViewById(R.id.subcontainer).setOnDragListener((v, ev) -> { in testNoExtraEvents() [all …]
|
/cts/apps/CameraITS/tests/scene1_1/ |
D | test_ev_compensation_basic.py | 46 def create_request_with_ev(ev): argument 49 req['android.control.aeExposureCompensation'] = ev 107 for j, ev in enumerate(evs): 110 req = create_request_with_ev(ev) 119 if ev != ev_meta: 131 logging.debug('lumas per frame ev %d: %s', ev, str(luma_locked))
|
D | test_ev_compensation_advanced.py | 43 def create_request_with_ev(ev): argument 46 req['android.control.aeExposureCompensation'] = ev 115 for ev in ev_steps: 117 req = create_request_with_ev(ev) 122 if ev_meta != ev:
|
/cts/tests/tests/view/src/android/view/cts/input/ |
D | InputDeviceKeyLayoutMapTestActivity.java | 40 public boolean dispatchKeyEvent(KeyEvent ev) { in dispatchKeyEvent() argument 42 mEvents.put(new KeyEvent(ev)); in dispatchKeyEvent()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | TestDialog.java | 322 public boolean dispatchTrackballEvent(MotionEvent ev) { in dispatchTrackballEvent() argument 323 trackballEvent = ev; in dispatchTrackballEvent() 324 return super.dispatchTrackballEvent(ev); in dispatchTrackballEvent() 328 public boolean dispatchTouchEvent(MotionEvent ev) { in dispatchTouchEvent() argument 329 touchEvent = ev; in dispatchTouchEvent() 330 dispatchTouchEventResult = super.dispatchTouchEvent(ev); in dispatchTouchEvent()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodStatsTest.java | 321 editText.setOnTouchListener((v, ev) -> { in testFromUser_withImm_showImeRequestFinished() 323 if (ev.getAction() != MotionEvent.ACTION_DOWN) { in testFromUser_withImm_showImeRequestFinished() 348 textView.setOnTouchListener((v, ev) -> { in testFromUser_withImm_hideImeRequestFinished() 350 if (ev.getActionMasked() != MotionEvent.ACTION_DOWN) { in testFromUser_withImm_hideImeRequestFinished() 377 editText.setOnTouchListener((v, ev) -> { in testFromUser_withWic_showImeRequestFinished() 379 if (ev.getActionMasked() != MotionEvent.ACTION_DOWN) { in testFromUser_withWic_showImeRequestFinished() 404 textView.setOnTouchListener((v, ev) -> { in testFromUser_withWic_hideImeRequestFinished() 406 if (ev.getActionMasked() != MotionEvent.ACTION_DOWN) { in testFromUser_withWic_hideImeRequestFinished()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/ |
D | WindowInputTests.java | 309 view.setOnTouchListener((v, ev) -> { in testFilterTouchesWhenObscuredByWindowFromSameUid() 311 eventFlags.complete(ev.getFlags()); in testFilterTouchesWhenObscuredByWindowFromSameUid() 340 view.setOnTouchListener((v, ev) -> { in testFilterTouchesWhenObscuredByWindowFromDifferentUid() 371 view.setOnTouchListener((v, ev) -> { in testFlagTouchesWhenObscuredByWindowFromDifferentUid() 373 eventFlags.complete(ev.getFlags()); in testFlagTouchesWhenObscuredByWindowFromDifferentUid() 406 view.setOnTouchListener((v, ev) -> { in testDoNotFlagTouchesWhenObscuredByZeroOpacityWindow() 408 eventFlags.complete(ev.getFlags()); in testDoNotFlagTouchesWhenObscuredByZeroOpacityWindow() 440 view.setOnTouchListener((v, ev) -> { in testFlagTouchesWhenObscuredByMinPositiveOpacityWindow() 442 eventFlags.complete(ev.getFlags()); in testFlagTouchesWhenObscuredByMinPositiveOpacityWindow() 474 view.setOnTouchListener((v, ev) -> { in testFlagTouchesWhenPartiallyObscuredByZeroOpacityWindow() [all …]
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorDirectReportTest.java | 1848 public static void parseSensorEvent(int offset, DirectReportSensorEvent ev, 1852 ev.size = byteBuffer.getInt(); 1853 ev.token = byteBuffer.getInt(); 1854 ev.type = byteBuffer.getInt(); 1855 ev.serial = ((long) byteBuffer.getInt()) & 0xFFFFFFFFl; // signed=>unsigned 1856 ev.ts = byteBuffer.getLong(); 1857 ev.arrivalTs = SystemClock.elapsedRealtimeNanos(); 1858 ev.x = byteBuffer.getFloat(); 1859 ev.y = byteBuffer.getFloat(); 1860 ev.z = byteBuffer.getFloat(); [all …]
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputTestCase.java | 421 public void onKeyEvent(KeyEvent ev) { in onKeyEvent() argument 423 mEvents.put(new KeyEvent(ev)); in onKeyEvent() 430 public void onMotionEvent(MotionEvent ev) { in onMotionEvent() argument 432 for (MotionEvent event : splitBatchedMotionEvent(ev)) { in onMotionEvent()
|
/cts/tests/tests/calendarprovider/src/android/provider/cts/calendar/ |
D | CalendarTest.java | 1746 ContentValues ev = EventHelper.getNewEventValues(account, seed++, cal_id, false); in testEventColors() local 1747 ev.put(Events.EVENT_COLOR_KEY, "badIndex"); in testEventColors() 1750 Uri uri = mContentResolver.insert(Events.CONTENT_URI, ev); in testEventColors() 1758 ev.clear(); in testEventColors() 1759 ev.put(Events.EVENT_COLOR_KEY, "badIndex2"); in testEventColors() 1762 mContentResolver.update(eventUri, ev, null, null); in testEventColors() 1771 ev = EventHelper.getNewEventValues(account, seed++, cal_id, false); in testEventColors() 1773 ev.put(Events.EVENT_COLOR_KEY, defaultColorIndex); in testEventColors() 1775 Uri uri = mContentResolver.insert(Events.CONTENT_URI, ev); in testEventColors() 1780 ev.put(Events.EVENT_COLOR, expectedColor); in testEventColors() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MotionEventTest.java | 808 private void dump(String label, MotionEvent ev) { in dump() argument 813 … msg.append(" Raw: (").append(ev.getRawX()).append(",").append(ev.getRawY()).append(")\n"); in dump() 814 int pointerCount = ev.getPointerCount(); in dump() 817 .append(ev.getX(i)).append(",").append(ev.getY(i)).append("), orientation=") in dump() 818 .append(ev.getOrientation(i) * 180 / Math.PI).append(" deg\n"); in dump()
|
D | ViewGroupTest.java | 3258 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent() argument 3260 return super.onInterceptTouchEvent(ev); in onInterceptTouchEvent()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeEventStreamTestUtils.java | 488 public boolean test(ImeEvent ev) { 489 return p.test(ev);
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | SurfaceControlViewHostTests.java | 216 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent() argument 220 mSurfaceViewMotionConsumer.accept(ev); in onTouchEvent() 1514 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent() argument 1515 int action = ev.getAction(); in onTouchEvent() 1578 mSurfaceViewMotionConsumer = (ev) -> { in testEmbeddedWindowCanTransferTouchGestureToHost() 1744 mSurfaceViewMotionConsumer = (ev) -> { in testTransferHostTouchGestureToEmbedded()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarInputTest.java | 625 public boolean dispatchTouchEvent(MotionEvent ev) { in dispatchTouchEvent() argument 626 mEvents.add(MotionEvent.obtain(ev)); in dispatchTouchEvent()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageStatsTest.java | 1494 final int ev = event.getEventType(); in getEvents() local 1496 if (ev == which) { in getEvents() 2452 final Event ev = new Event(); in testReportUserInteraction() local 2453 userInteractionEvents.getNextEvent(ev); in testReportUserInteraction() 2454 if (ev.getEventType() != Event.USER_INTERACTION) { in testReportUserInteraction() 2457 PersistableBundle interactionExtras = ev.getExtras(); in testReportUserInteraction()
|
/cts/tests/tests/security/res/raw/ |
D | cve_2018_13925.ts | 406 �@�U7\C-��H��R�L� �B����"�u��D�s2g���h��(uF��ev�Q0�,�4�q�fA�0�:}n�,5�� 6001 xҙ�h��蜁�KB��k6�!���Q�n'�T���J�ev,��%�V+�������5���� 9082 /j�P�g�Kq���ev�c$P�����
|
D | cve_2019_2244.ts | 405 �@�U7\C-��H��R�L� �B����"�u��D�s2g���h��(uF��ev�Q0�,�4�q�fA�0�:}n�,5�� 6004 xҙ�h��蜁�KB��k6�!���Q�n'�T���J�ev,��%�V+�������5���� 9088 /j�P�g�Kq���ev�c$P�����
|