Searched refs:rotaryEvent (Results 1 – 4 of 4) sorted by relevance
892 RotaryEvent rotaryEvent = capturedEvents.second.get(0); in sendAndAssertRotaryNavigationEvent() local893 assertThat(rotaryEvent.getNumberOfClicks()).isEqualTo(numClicks); in sendAndAssertRotaryNavigationEvent()937 RotaryEvent rotaryEvent = lastEvent.second.get(0); in waitAndAssertLastRotaryEvent() local938 assertThat(rotaryEvent.getInputType()).isEqualTo(rotaryType); in waitAndAssertLastRotaryEvent()939 assertThat(rotaryEvent.getNumberOfClicks()).isEqualTo(numberOfClicks); in waitAndAssertLastRotaryEvent()
892 for (RotaryEvent rotaryEvent : events) { in onRotaryEvents()893 L.v("onRotaryEvents " + rotaryEvent); in onRotaryEvents()894 handleRotaryEvent(rotaryEvent); in onRotaryEvents()1955 private void handleRotaryEvent(RotaryEvent rotaryEvent) { in handleRotaryEvent() argument1956 if (rotaryEvent.getInputType() != CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION) { in handleRotaryEvent()1959 boolean clockwise = rotaryEvent.isClockwise(); in handleRotaryEvent()1960 int count = rotaryEvent.getNumberOfClicks(); in handleRotaryEvent()1962 long eventTime = rotaryEvent.getUptimeMillisForClick(count - 1); in handleRotaryEvent()
456 RotaryEvent rotaryEvent = new RotaryEvent(inputType, clockwise, timestamps); in testOnRotaryEvents_withoutFocusedView() local457 List<RotaryEvent> events = Collections.singletonList(rotaryEvent); in testOnRotaryEvents_withoutFocusedView()503 RotaryEvent rotaryEvent = new RotaryEvent(inputType, clockwise, timestamps); in testOnRotaryEvents_withFocusedView() local504 List<RotaryEvent> events = Collections.singletonList(rotaryEvent); in testOnRotaryEvents_withFocusedView()519 rotaryEvent = new RotaryEvent(inputType, clockwise, timestamps); in testOnRotaryEvents_withFocusedView()520 events = Collections.singletonList(rotaryEvent); in testOnRotaryEvents_withFocusedView()
2117 RotaryEvent rotaryEvent = new RotaryEvent(inputType, clockwise, uptimeMs);2118 mCarInputService.onRotaryEvent(rotaryEvent, display);2119 writer.println("Succeeded in injecting: " + rotaryEvent);