Home
last modified time | relevance | path

Searched refs:ev (Results 1 – 25 of 84) sorted by relevance

1234

/cts/tests/tests/hardware/src/android/hardware/input/cts/
DInputCtsActivity.java35 public boolean dispatchGenericMotionEvent(MotionEvent ev) { in dispatchGenericMotionEvent() argument
37 mInputCallback.onMotionEvent(ev); in dispatchGenericMotionEvent()
43 public boolean dispatchTouchEvent(MotionEvent ev) { in dispatchTouchEvent() argument
45 mInputCallback.onMotionEvent(ev); in dispatchTouchEvent()
51 public boolean dispatchTrackballEvent(MotionEvent ev) { in dispatchTrackballEvent() argument
53 mInputCallback.onMotionEvent(ev); in dispatchTrackballEvent()
59 public boolean dispatchKeyEvent(KeyEvent ev) { in dispatchKeyEvent() argument
61 mInputCallback.onKeyEvent(ev); in dispatchKeyEvent()
DInputCallback.java23 void onKeyEvent(KeyEvent ev); in onKeyEvent() argument
24 void onMotionEvent(MotionEvent ev); in onMotionEvent() argument
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDragDropTest.java171 private void logEvent(View v, DragEvent ev) { in logEvent() argument
172 if (ev.getAction() == DragEvent.ACTION_DRAG_STARTED) { in logEvent()
175 if (ev.getAction() == DragEvent.ACTION_DRAG_ENDED) { in logEvent()
178 mActual.add(new LogEntry(v, ev.getAction(), ev.getX(), ev.getY(), ev.getClipData(), in logEvent()
179 ev.getClipDescription(), ev.getLocalState(), ev.getResult())); in logEvent()
336 v.setOnDragListener((_v, ev) -> { in setRejectingHandlersOnTree() argument
337 logEvent(_v, ev); in setRejectingHandlersOnTree()
399 mActivity.findViewById(R.id.inner).setOnDragListener((v, ev) -> { in testNoExtraEvents()
400 logEvent(v, ev); in testNoExtraEvents()
403 mActivity.findViewById(R.id.subcontainer).setOnDragListener((v, ev) -> { in testNoExtraEvents()
[all …]
/cts/tests/app/app/src/android/app/stubs/
DTestDialog.java309 public boolean dispatchTrackballEvent(MotionEvent ev) { in dispatchTrackballEvent() argument
310 trackballEvent = ev; in dispatchTrackballEvent()
311 return super.dispatchTrackballEvent(ev); in dispatchTrackballEvent()
315 public boolean dispatchTouchEvent(MotionEvent ev) { in dispatchTouchEvent() argument
316 touchEvent = ev; in dispatchTouchEvent()
317 dispatchTouchEventResult = super.dispatchTouchEvent(ev); in dispatchTouchEvent()
/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java1668 private void parseSensorEvent(int offset, DirectReportSensorEvent ev) {
1671 ev.size = mByteBuffer.getInt();
1672 ev.token = mByteBuffer.getInt();
1673 ev.type = mByteBuffer.getInt();
1674 ev.serial = ((long) mByteBuffer.getInt()) & 0xFFFFFFFFl; // signed=>unsigned
1675 ev.ts = mByteBuffer.getLong();
1676 ev.arrivalTs = SystemClock.elapsedRealtimeNanos();
1677 ev.x = mByteBuffer.getFloat();
1678 ev.y = mByteBuffer.getFloat();
1679 ev.z = mByteBuffer.getFloat();
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DMagnificationGestureHandlerTest.java258 MotionEvent ev; in assertPropagated() local
264 ev = mTouchListener.events.poll(5, SECONDS); in assertPropagated()
269 ev); in assertPropagated()
270 int action = ev.getActionMasked(); in assertPropagated()
274 if (action != ACTION_MOVE) fail("Unexpected event: " + ev); in assertPropagated()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputTestCase.java261 public void onKeyEvent(KeyEvent ev) { in onKeyEvent() argument
263 mEvents.put(new KeyEvent(ev)); in onKeyEvent()
270 public void onMotionEvent(MotionEvent ev) { in onMotionEvent() argument
272 for (MotionEvent event : splitBatchedMotionEvent(ev)) { in onMotionEvent()
/cts/tests/tests/view/src/android/view/cts/
DVelocityTrackerTest.java202 MotionEvent ev = MotionEvent.obtain(0L, mTime, MotionEvent.ACTION_MOVE, mPx, mPy, 0); in addMovement() local
203 mVelocityTracker.addMovement(ev); in addMovement()
204 ev.recycle(); in addMovement()
DMotionEventTest.java698 private void dump(String label, MotionEvent ev) { in dump() argument
703 … msg.append(" Raw: (").append(ev.getRawX()).append(",").append(ev.getRawY()).append(")\n"); in dump()
704 int pointerCount = ev.getPointerCount(); in dump()
707 .append(ev.getX(i)).append(",").append(ev.getY(i)).append("), orientation=") in dump()
708 .append(ev.getOrientation(i) * 180 / Math.PI).append(" deg\n"); in dump()
DViewGroupTest.java3205 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent() argument
3207 return super.onInterceptTouchEvent(ev); in onInterceptTouchEvent()
/cts/apps/CameraITS/tests/scene1/
Dtest_ev_compensation_basic.py62 for ev in evs:
65 req['android.control.aeExposureCompensation'] = ev
Dtest_ev_compensation_advanced.py65 for ev in ev_steps:
69 req['android.control.aeExposureCompensation'] = ev
/cts/tests/tests/provider/src/android/provider/cts/
DCalendarTest.java1747 ContentValues ev = EventHelper.getNewEventValues(account, seed++, cal_id, false); in testEventColors() local
1748 ev.put(Events.EVENT_COLOR_KEY, "badIndex"); in testEventColors()
1751 Uri uri = mContentResolver.insert(Events.CONTENT_URI, ev); in testEventColors()
1759 ev.clear(); in testEventColors()
1760 ev.put(Events.EVENT_COLOR_KEY, "badIndex2"); in testEventColors()
1763 mContentResolver.update(eventUri, ev, null, null); in testEventColors()
1772 ev = EventHelper.getNewEventValues(account, seed++, cal_id, false); in testEventColors()
1774 ev.put(Events.EVENT_COLOR_KEY, defaultColorIndex); in testEventColors()
1776 Uri uri = mContentResolver.insert(Events.CONTENT_URI, ev); in testEventColors()
1781 ev.put(Events.EVENT_COLOR, expectedColor); in testEventColors()
[all …]
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java619 final int ev = event.getEventType(); in getEvents() local
621 if (ev == which) { in getEvents()
/cts/tests/tests/media/assets/hls_variant/344388/
D13.ts583 …X[��c?��;�������_�� ~�w\]�`�G�7%�`w�$�x��Oq������Jd<O�0��n���K���ev����H�Ξ���>T���1��� �…
1412 ��*�[�F�����v��ev"���X�#J�$H,�= EL�-���n�;�w�l��m��^]|]�j� Q�j�G���tE8G���mY�~����
D15.ts63 L��v��{%ۚ�cal�|����ZHf`�f�wG�ev����[��Cy�����B�
1205 …���������������GA����c��!������ ���A�JD_���`�:�}a�`��odk�`J���evY�`�ʎ��������o� -+N�…
D16.ts848 ��ev��-��{��m�u�݌� &li���nm����)d)wYKV'��s7F���ձ ta�_������d�dZ��c��7׌���|k�c��
D10.ts258 …����������������������������GA�������!����� ���A��JD3�����j�?�Z�ev�U$"�NuQv�%�>�@J�…
/cts/tests/tests/media/assets/hls_variant/387360/
D14.ts91 U%C��=H�b#}��w�YA>`Џ6�rkp��y��8��Sd��6�� �o \�niB�c;2}�9D/���5�c�H�1O�����G�(6�|ev��hB;��Kɭ…
844 ���uev¡Ĩ��G���ۦ�����z��0\*;� �ǭ����c: ��5�-�3�LG��c�§�Ȕ�<OK"׻�e%�,z����Ω���#Yi���>�…
D17.ts1213 …|n8�Jz8���BӋԵ)�8�PƳ$�yi8������Y��7��x�j"9ǜ26~�^��e����K��f�)��X8 �H�ev��O���� ?@F���HG�…
D19.ts707 …��DN~���`�$�`�(�NtLFܿ8F{��YcB�vEv��U^A^��.�w�L)�jmp�qday���? m���^ev$�3#�5��4lѤ��8~X[�…
/cts/tests/tests/media/assets/hls_variant/765178/
D10.ts37 …�J{�������]XH^D�7X��Iy�2d>��."�����<b��'�� �E�a;1 ��oT��s?��)^�-la��ev�o�Q�9u��M��@R�G���…
2353 …�f IF��J��3��Ud#����hd�^�oX�:�ٳ1�d �"�>3�+s:��CZ��.�y&�6��&���m��� �[ev�y���1�k#zfn��Ą
D12.ts237 …���_R�&� d��F��[%��xZQ���{�a�L*k�;x�E@6|�f��=O8��E8+�;�o���B�����b>ev/J;�b&}9j��o�_cn$J��…
1992 …�N���_֘�F��9���)Q�ħ.���1q1�����L�1��7k"������9�~X��Wۻ�`}��h}#�N�k$���i�#ev�E�L��y͹��+�V�A)!f?…
/cts/tests/tests/media/assets/
Dsegment000001.ts2260 t�B`��q�8y����e�ev�a������f�� "xH�'ݳ��Ep�'���1�^�UEvgI�0_%�\a^��mG\�'�
2432 …5�y��ͮ�*�eb ���䛟���K�&�o��>�lߌ���d2�Y�$O3j�-�B\�v����7-k��Q|$xB���p�/ev����_\�H;\��G@��…
/cts/tests/tests/media/res/raw/
Dsegment000001.ts2260 t�B`��q�8y����e�ev�a������f�� "xH�'ݳ��Ep�'���1�^�UEvgI�0_%�\a^��mG\�'�
2432 …5�y��ͮ�*�eb ���䛟���K�&�o��>�lߌ���d2�Y�$O3j�-�B\�v����7-k��Q|$xB���p�/ev����_\�H;\��G@��…

1234