Searched refs:rotaryEvent (Results 1 – 4 of 4) sorted by relevance
848 for (RotaryEvent rotaryEvent : events) { in onRotaryEvents()849 handleRotaryEvent(rotaryEvent); in onRotaryEvents()1713 private void handleRotaryEvent(RotaryEvent rotaryEvent) { in handleRotaryEvent() argument1714 if (rotaryEvent.getInputType() != CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION) { in handleRotaryEvent()1717 boolean clockwise = rotaryEvent.isClockwise(); in handleRotaryEvent()1718 int count = rotaryEvent.getNumberOfClicks(); in handleRotaryEvent()1720 long eventTime = rotaryEvent.getUptimeMillisForClick(count - 1); in handleRotaryEvent()
432 RotaryEvent rotaryEvent = new RotaryEvent(inputType, clockwise, timestamps); in testOnRotaryEvents_withoutFocusedView() local433 List<RotaryEvent> events = Collections.singletonList(rotaryEvent); in testOnRotaryEvents_withoutFocusedView()479 RotaryEvent rotaryEvent = new RotaryEvent(inputType, clockwise, timestamps); in testOnRotaryEvents_withFocusedView() local480 List<RotaryEvent> events = Collections.singletonList(rotaryEvent); in testOnRotaryEvents_withFocusedView()495 rotaryEvent = new RotaryEvent(inputType, clockwise, timestamps); in testOnRotaryEvents_withFocusedView()496 events = Collections.singletonList(rotaryEvent); in testOnRotaryEvents_withFocusedView()
748 RotaryEvent rotaryEvent = lastEvent.second.get(0); in assertLastRotaryEvent() local749 assertThat(rotaryEvent.getInputType()).isEqualTo(rotaryType); in assertLastRotaryEvent()750 assertThat(rotaryEvent.getNumberOfClicks()).isEqualTo(numberOfClicks); in assertLastRotaryEvent()
1192 RotaryEvent rotaryEvent = new RotaryEvent(inputType, clockwise, uptimeMs);1193 mCarInputService.onRotaryEvent(rotaryEvent, display);1194 writer.println("Succeeded in injecting: " + rotaryEvent);