Searched refs:rotaryEvent (Results 1 – 3 of 3) sorted by relevance
474 for (RotaryEvent rotaryEvent : events) { in onRotaryEvents()475 handleRotaryEvent(rotaryEvent); in onRotaryEvents()819 private void handleRotaryEvent(RotaryEvent rotaryEvent) { in handleRotaryEvent() argument820 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()
559 RotaryEvent rotaryEvent = lastEvent.second.get(0); in assertLastRotaryEvent() local560 assertThat(rotaryEvent.getInputType()).isEqualTo(rotaryType); in assertLastRotaryEvent()561 assertThat(rotaryEvent.getNumberOfClicks()).isEqualTo(numberOfClicks); in assertLastRotaryEvent()
852 RotaryEvent rotaryEvent = new RotaryEvent(inputType, clockwise, uptimeMs);853 mCarInputService.onRotaryEvent(rotaryEvent, display);854 writer.println("Succeeded in injecting: " + rotaryEvent);