Home
last modified time | relevance | path

Searched refs:rotaryEvent (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java474 for (RotaryEvent rotaryEvent : events) { in onRotaryEvents()
475 handleRotaryEvent(rotaryEvent); in onRotaryEvents()
819 private void handleRotaryEvent(RotaryEvent rotaryEvent) { in handleRotaryEvent() argument
820 if (rotaryEvent.getInputType() != CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION) { in handleRotaryEvent()
823 boolean clockwise = rotaryEvent.isClockwise(); in handleRotaryEvent()
824 int count = rotaryEvent.getNumberOfClicks(); in handleRotaryEvent()
826 long eventTime = rotaryEvent.getUptimeMillisForClick(0); in handleRotaryEvent()
/packages/services/Car/tests/carservice_test/src/com/android/car/input/
DCarInputManagerTest.java559 RotaryEvent rotaryEvent = lastEvent.second.get(0); in assertLastRotaryEvent() local
560 assertThat(rotaryEvent.getInputType()).isEqualTo(rotaryType); in assertLastRotaryEvent()
561 assertThat(rotaryEvent.getNumberOfClicks()).isEqualTo(numberOfClicks); in assertLastRotaryEvent()
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java852 RotaryEvent rotaryEvent = new RotaryEvent(inputType, clockwise, uptimeMs);
853 mCarInputService.onRotaryEvent(rotaryEvent, display);
854 writer.println("Succeeded in injecting: " + rotaryEvent);