Searched refs:originalEvent (Results 1 – 9 of 9) sorted by relevance
39 final VirtualMouseRelativeEvent originalEvent = new VirtualMouseRelativeEvent.Builder() in parcelAndUnparcel_matches() local45 originalEvent.writeToParcel(parcel, /* flags= */ 0); in parcelAndUnparcel_matches()49 assertWithMessage("Recreated event has different x").that(originalEvent.getRelativeX()) in parcelAndUnparcel_matches()52 .that(originalEvent.getRelativeY()).isEqualTo(recreatedEvent.getRelativeY()); in parcelAndUnparcel_matches()54 .that(originalEvent.getEventTimeNanos()) in parcelAndUnparcel_matches()
39 final VirtualMouseScrollEvent originalEvent = new VirtualMouseScrollEvent.Builder() in parcelAndUnparcel_matches() local45 originalEvent.writeToParcel(parcel, /* flags= */ 0); in parcelAndUnparcel_matches()49 assertWithMessage("Recreated event has different x").that(originalEvent.getXAxisMovement()) in parcelAndUnparcel_matches()52 .that(originalEvent.getYAxisMovement()) in parcelAndUnparcel_matches()55 .that(originalEvent.getEventTimeNanos()) in parcelAndUnparcel_matches()
37 final VirtualKeyEvent originalEvent = new VirtualKeyEvent.Builder() in parcelAndUnparcel_matches() local43 originalEvent.writeToParcel(parcel, /* flags= */ 0); in parcelAndUnparcel_matches()47 assertWithMessage("Recreated event has different action").that(originalEvent.getAction()) in parcelAndUnparcel_matches()49 assertWithMessage("Recreated event has different key code").that(originalEvent.getKeyCode()) in parcelAndUnparcel_matches()52 .that(originalEvent.getEventTimeNanos()) in parcelAndUnparcel_matches()
36 final VirtualMouseButtonEvent originalEvent = new VirtualMouseButtonEvent.Builder() in parcelAndUnparcel_matches() local42 originalEvent.writeToParcel(parcel, /* flags= */ 0); in parcelAndUnparcel_matches()46 assertWithMessage("Recreated event has different action").that(originalEvent.getAction()) in parcelAndUnparcel_matches()49 .that(originalEvent.getButtonCode()).isEqualTo(recreatedEvent.getButtonCode()); in parcelAndUnparcel_matches()51 .that(originalEvent.getEventTimeNanos()) in parcelAndUnparcel_matches()
42 final VirtualTouchEvent originalEvent = new VirtualTouchEvent.Builder() in parcelAndUnparcel_matches() local53 originalEvent.writeToParcel(parcel, /* flags= */ 0); in parcelAndUnparcel_matches()56 assertWithMessage("Recreated event has different action").that(originalEvent.getAction()) in parcelAndUnparcel_matches()59 .that(originalEvent.getToolType()).isEqualTo(recreatedEvent.getToolType()); in parcelAndUnparcel_matches()60 assertWithMessage("Recreated event has different x").that(originalEvent.getX()) in parcelAndUnparcel_matches()62 assertWithMessage("Recreated event has different y").that(originalEvent.getY()) in parcelAndUnparcel_matches()65 .that(originalEvent.getPointerId()).isEqualTo(recreatedEvent.getPointerId()); in parcelAndUnparcel_matches()67 .that(originalEvent.getPressure()).isEqualTo(recreatedEvent.getPressure()); in parcelAndUnparcel_matches()69 .that(originalEvent.getMajorAxisSize()) in parcelAndUnparcel_matches()72 .that(originalEvent.getEventTimeNanos()) in parcelAndUnparcel_matches()
51 final VirtualStylusMotionEvent originalEvent = new VirtualStylusMotionEvent.Builder() in parcelAndUnparcel_matches() local63 originalEvent.writeToParcel(parcel, /* flags= */ 0); in parcelAndUnparcel_matches()68 assertWithMessage("Recreated event has different action").that(originalEvent.getAction()) in parcelAndUnparcel_matches()71 .that(originalEvent.getToolType()).isEqualTo(recreatedEvent.getToolType()); in parcelAndUnparcel_matches()72 assertWithMessage("Recreated event has different x").that(originalEvent.getX()) in parcelAndUnparcel_matches()74 assertWithMessage("Recreated event has different y").that(originalEvent.getY()) in parcelAndUnparcel_matches()77 .that(originalEvent.getTiltX()).isEqualTo(recreatedEvent.getTiltX()); in parcelAndUnparcel_matches()79 .that(originalEvent.getTiltY()).isEqualTo(recreatedEvent.getTiltY()); in parcelAndUnparcel_matches()81 .that(originalEvent.getPressure()).isEqualTo(recreatedEvent.getPressure()); in parcelAndUnparcel_matches()83 .that(originalEvent.getEventTimeNanos()) in parcelAndUnparcel_matches()
45 final VirtualStylusButtonEvent originalEvent = new VirtualStylusButtonEvent.Builder() in parcelAndUnparcel_matches() local52 originalEvent.writeToParcel(parcel, /* flags= */ 0); in parcelAndUnparcel_matches()57 assertWithMessage("Recreated event has different action").that(originalEvent.getAction()) in parcelAndUnparcel_matches()60 .that(originalEvent.getButtonCode()).isEqualTo(recreatedEvent.getButtonCode()); in parcelAndUnparcel_matches()62 .that(originalEvent.getEventTimeNanos()) in parcelAndUnparcel_matches()
42 final VirtualSensorEvent originalEvent = new VirtualSensorEvent.Builder(SENSOR_VALUES) in parcelAndUnparcel_matches() local46 originalEvent.writeToParcel(parcel, /* flags= */ 0); in parcelAndUnparcel_matches()50 assertThat(recreatedEvent.getValues()).isEqualTo(originalEvent.getValues()); in parcelAndUnparcel_matches()51 assertThat(recreatedEvent.getTimestampNanos()).isEqualTo(originalEvent.getTimestampNanos()); in parcelAndUnparcel_matches()
342 ContentCaptureEvent originalEvent) { in onContentCaptureEvent() argument348 originalEvent.writeToParcel(parceled, 0); in onContentCaptureEvent()