Searched refs:newEvent (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyEventTest.java | 675 KeyEvent newEvent = KeyEvent.changeAction(mKeyEvent, KeyEvent.ACTION_UP); in testChangeAction() local 676 assertEquals(KeyEvent.ACTION_UP, newEvent.getAction()); in testChangeAction() 677 assertEquals(mKeyEvent.getFlags(), newEvent.getFlags()); in testChangeAction() 678 assertEquals(mKeyEvent.getCharacters(), newEvent.getCharacters()); in testChangeAction() 679 assertEquals(mKeyEvent.getDisplayLabel(), newEvent.getDisplayLabel()); in testChangeAction() 680 assertEquals(mKeyEvent.getDeviceId(), newEvent.getDeviceId()); in testChangeAction() 681 assertEquals(mKeyEvent.getDownTime(), newEvent.getDownTime()); in testChangeAction() 682 assertEquals(mKeyEvent.getEventTime(), newEvent.getEventTime()); in testChangeAction() 683 assertEquals(mKeyEvent.getKeyCode(), newEvent.getKeyCode()); in testChangeAction() 684 assertEquals(mKeyEvent.getRepeatCount(), newEvent.getRepeatCount()); in testChangeAction() [all …]
|
/cts/tests/tests/location/src/android/location/cts/ |
D | GnssMeasurementsEventTest.java | 50 GnssMeasurementsEvent newEvent = GnssMeasurementsEvent.CREATOR.createFromParcel(parcel); in testWriteToParcel() local 51 assertEquals(100, newEvent.getClock().getLeapSecond()); in testWriteToParcel() 52 Collection<GnssMeasurement> measurements = newEvent.getMeasurements(); in testWriteToParcel()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsKeyEventUtil.java | 190 final KeyEvent newEvent = new KeyEvent(downTime, eventTime, action, code, repeatCount, in sendKey() local 194 imm.dispatchKeyEventFromInputMethod(null, newEvent); in sendKey()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | CtsKeyEventUtil.java | 190 final KeyEvent newEvent = new KeyEvent(downTime, eventTime, action, code, repeatCount, in sendKey() local 194 imm.dispatchKeyEventFromInputMethod(null, newEvent); in sendKey()
|
/cts/hostsidetests/inputmethodservice/deviceside/provider/src/android/inputmethodservice/cts/receiver/ |
D | EventReceiver.java | 49 final DeviceEvent event = DeviceEvent.newEvent(intent); in onReceive()
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ |
D | DeviceEvent.java | 78 public static DeviceEvent newEvent(Intent intent) { in newEvent() method in DeviceEvent
|