/packages/services/Car/car-lib/src/android/car/input/ |
D | RotaryEvent.java | 42 public final class RotaryEvent implements Parcelable { class 131 public RotaryEvent( in RotaryEvent() method in RotaryEvent 186 RotaryEvent that = (RotaryEvent) o; in equals() 229 /* package-private */ RotaryEvent(@NonNull Parcel in) { in RotaryEvent() method in RotaryEvent 250 public static final @NonNull Parcelable.Creator<RotaryEvent> CREATOR 251 = new Parcelable.Creator<RotaryEvent>() { 253 public RotaryEvent[] newArray(int size) { 254 return new RotaryEvent[size]; 258 public RotaryEvent createFromParcel(@NonNull Parcel in) { 259 return new RotaryEvent(in);
|
D | ICarInputCallback.aidl | 19 import android.car.input.RotaryEvent; 29 void onRotaryEvents(int targetDisplayType, in List<RotaryEvent> events) = 2; in onRotaryEvents()
|
D | CarInputManager.java | 84 @NonNull List<RotaryEvent> events) {} in onRotaryEvents() 388 List<RotaryEvent> events) { in dispatchRotaryEvents() 443 @NonNull List<RotaryEvent> events) { in onRotaryEvents()
|
D | RotaryEvent.aidl | 18 parcelable RotaryEvent;
|
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/ |
D | RotaryServiceTest.java | 45 import android.car.input.RotaryEvent; 432 RotaryEvent rotaryEvent = new RotaryEvent(inputType, clockwise, timestamps); in testOnRotaryEvents_withoutFocusedView() 433 List<RotaryEvent> events = Collections.singletonList(rotaryEvent); in testOnRotaryEvents_withoutFocusedView() 479 RotaryEvent rotaryEvent = new RotaryEvent(inputType, clockwise, timestamps); in testOnRotaryEvents_withFocusedView() 480 List<RotaryEvent> events = Collections.singletonList(rotaryEvent); in testOnRotaryEvents_withFocusedView() 495 rotaryEvent = new RotaryEvent(inputType, clockwise, timestamps); in testOnRotaryEvents_withFocusedView() 538 new RotaryEvent(inputType, true, new long[]{eventTime}))); in testOnRotaryEvents_acceleration() 546 new RotaryEvent(inputType, false, new long[]{eventTime}))); in testOnRotaryEvents_acceleration() 554 new RotaryEvent(inputType, true, new long[]{eventTime}))); in testOnRotaryEvents_acceleration() 562 new RotaryEvent(inputType, false, new long[]{eventTime}))); in testOnRotaryEvents_acceleration() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/input/ |
D | CarInputManagerTest.java | 34 import android.car.input.RotaryEvent; 87 private final LinkedList<Pair<Integer, List<RotaryEvent>>> mRotaryEvents = 116 @NonNull List<RotaryEvent> events) { in onRotaryEvents() 176 private LinkedList<Pair<Integer, List<RotaryEvent>>> getRotaryEvents() { in getRotaryEvents() 178 LinkedList<Pair<Integer, List<RotaryEvent>>> r = in getRotaryEvents() 743 LinkedList<Pair<Integer, List<RotaryEvent>>> rotaryEvents = callback.getRotaryEvents(); in assertLastRotaryEvent() 745 Pair<Integer, List<RotaryEvent>> lastEvent = rotaryEvents.getFirst(); in assertLastRotaryEvent() 748 RotaryEvent rotaryEvent = lastEvent.second.get(0); in assertLastRotaryEvent() 755 LinkedList<Pair<Integer, List<RotaryEvent>>> rotaryEvents = callback.getRotaryEvents(); in assertNumberOfOnRotaryEvents()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | InputHalServiceTest.java | 36 import android.car.input.RotaryEvent; 375 List<RotaryEvent> events = new ArrayList<>(); in dispatchesRotaryEvent_singleVolumeUp_anyDisplay() 377 RotaryEvent event = invocation.getArgument(0); in dispatchesRotaryEvent_singleVolumeUp_anyDisplay() 396 assertThat(events).containsExactly(new RotaryEvent( in dispatchesRotaryEvent_singleVolumeUp_anyDisplay() 407 List<RotaryEvent> events = new ArrayList<>(); in dispatchesRotaryEvent_multipleNavigatePrevious_anyDisplay() 409 RotaryEvent event = invocation.getArgument(0); in dispatchesRotaryEvent_multipleNavigatePrevious_anyDisplay() 431 assertThat(events).containsExactly(new RotaryEvent( in dispatchesRotaryEvent_multipleNavigatePrevious_anyDisplay()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | InputHalService.java | 32 import android.car.input.RotaryEvent; 82 void onRotaryEvent(RotaryEvent event, int targetDisplay); in onRotaryEvent() 308 RotaryEvent event = new RotaryEvent(carInputManagerType, clockwise, timestamps);
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarInputServiceTest.java | 52 import android.car.input.RotaryEvent; 138 RotaryEvent event = new RotaryEvent( in testOnRotaryEvent_injectingRotaryNavigationEvent() 157 RotaryEvent event = new RotaryEvent( in testOnRotaryEvent_injectingRotaryVolumeEvent() 179 RotaryEvent event = new RotaryEvent( in testOnRotaryEvent_injectingRotaryNavigation_notConsumedByCaptureController()
|
/packages/services/Car/service/src/com/android/car/ |
D | InputCaptureClientController.java | 29 import android.car.input.RotaryEvent; 222 private final ArrayList<RotaryEvent> mRotaryEventDispatchScratchList = new ArrayList<>(1); 540 public boolean onRotaryEvent(@DisplayTypeEnum int displayType, RotaryEvent event) { in onRotaryEvent() 722 private void dispatchRotaryEvent(int targetDisplayType, RotaryEvent event, in dispatchRotaryEvent()
|
D | CarInputService.java | 37 import android.car.input.RotaryEvent; 389 public void onRotaryEvent(RotaryEvent event, @DisplayTypeEnum int targetDisplay) { in onRotaryEvent() 407 private static List<KeyEvent> rotaryEventToKeyEvents(RotaryEvent event) { in rotaryEventToKeyEvents()
|
D | CarShellCommand.java | 45 import android.car.input.RotaryEvent; 1192 RotaryEvent rotaryEvent = new RotaryEvent(inputType, clockwise, uptimeMs);
|
/packages/apps/Car/RotaryController/ |
D | readme.md | 20 ### Inject RotaryEvent
|
/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | RotaryService.java | 64 import android.car.input.RotaryEvent; 844 @NonNull List<RotaryEvent> events) { in onRotaryEvents() 848 for (RotaryEvent rotaryEvent : events) { in onRotaryEvents() 1713 private void handleRotaryEvent(RotaryEvent rotaryEvent) { in handleRotaryEvent()
|
/packages/services/Car/car-lib/api/ |
D | system-current.txt | 949 …od public default void onRotaryEvents(int, @NonNull java.util.List<android.car.input.RotaryEvent>); 973 public final class RotaryEvent implements android.os.Parcelable { 974 ctor public RotaryEvent(int, boolean, @NonNull long[]); 982 …field @NonNull public static final android.os.Parcelable.Creator<android.car.input.RotaryEvent> CR…
|