Home
last modified time | relevance | path

Searched refs:VirtualTouchEvent (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tests/Input/src/android/hardware/input/
DVirtualTouchEventTest.java33 assertThrows(IllegalArgumentException.class, () -> new VirtualTouchEvent.Builder().build()); in touchEvent_emptyBuilder()
38 assertThrows(IllegalArgumentException.class, () -> new VirtualTouchEvent.Builder() in touchEvent_noAction()
39 .setToolType(VirtualTouchEvent.TOOL_TYPE_FINGER) in touchEvent_noAction()
48 assertThrows(IllegalArgumentException.class, () -> new VirtualTouchEvent.Builder() in touchEvent_noPointerId()
49 .setAction(VirtualTouchEvent.ACTION_DOWN) in touchEvent_noPointerId()
50 .setToolType(VirtualTouchEvent.TOOL_TYPE_FINGER) in touchEvent_noPointerId()
58 assertThrows(IllegalArgumentException.class, () -> new VirtualTouchEvent.Builder() in touchEvent_noToolType()
59 .setAction(VirtualTouchEvent.ACTION_DOWN) in touchEvent_noToolType()
68 assertThrows(IllegalArgumentException.class, () -> new VirtualTouchEvent.Builder() in touchEvent_noX()
69 .setAction(VirtualTouchEvent.ACTION_DOWN) in touchEvent_noX()
[all …]
/frameworks/base/core/java/android/hardware/input/
DVirtualTouchEvent.java47 public final class VirtualTouchEvent implements Parcelable { class
101 private VirtualTouchEvent(int pointerId, @ToolType int toolType, @Action int action, in VirtualTouchEvent() method in VirtualTouchEvent
113 private VirtualTouchEvent(@NonNull Parcel parcel) { in VirtualTouchEvent() method in VirtualTouchEvent
234 public @NonNull VirtualTouchEvent build() { in build()
245 return new VirtualTouchEvent(mPointerId, mToolType, mAction, mX, mY, mPressure, in build()
370 public static final @NonNull Parcelable.Creator<VirtualTouchEvent> CREATOR =
371 new Parcelable.Creator<VirtualTouchEvent>() {
372 public VirtualTouchEvent createFromParcel(Parcel source) {
373 return new VirtualTouchEvent(source);
375 public VirtualTouchEvent[] newArray(int size) {
[all …]
DVirtualTouchEvent.aidl19 parcelable VirtualTouchEvent;
DVirtualNavigationTouchpad.java55 public void sendTouchEvent(@NonNull VirtualTouchEvent event) { in sendTouchEvent()
DVirtualTouchscreen.java49 public void sendTouchEvent(@NonNull VirtualTouchEvent event) { in sendTouchEvent()
/frameworks/base/core/java/android/companion/virtual/
DIVirtualDevice.aidl41 import android.hardware.input.VirtualTouchEvent;
206 boolean sendTouchEvent(IBinder token, in VirtualTouchEvent event); in sendTouchEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DVirtualDeviceManagerServiceTest.java93 import android.hardware.input.VirtualTouchEvent;
1408 new VirtualTouchEvent.Builder() in sendTouchEvent_noFd()
1411 .setAction(VirtualTouchEvent.ACTION_UP) in sendTouchEvent_noFd()
1413 .setToolType(VirtualTouchEvent.TOOL_TYPE_FINGER) in sendTouchEvent_noFd()
1422 final int toolType = VirtualTouchEvent.TOOL_TYPE_FINGER; in sendTouchEvent_hasFd_writesEvent_withoutPressureOrMajorAxisSize()
1425 final int action = VirtualTouchEvent.ACTION_UP; in sendTouchEvent_hasFd_writesEvent_withoutPressureOrMajorAxisSize()
1431 new VirtualTouchEvent.Builder() in sendTouchEvent_hasFd_writesEvent_withoutPressureOrMajorAxisSize()
1448 final int toolType = VirtualTouchEvent.TOOL_TYPE_FINGER; in sendTouchEvent_hasFd_writesEvent()
1451 final int action = VirtualTouchEvent.ACTION_UP; in sendTouchEvent_hasFd_writesEvent()
1459 new VirtualTouchEvent.Builder() in sendTouchEvent_hasFd_writesEvent()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DInputController.java36 import android.hardware.input.VirtualTouchEvent;
329 boolean sendTouchEvent(@NonNull IBinder token, @NonNull VirtualTouchEvent event) { in sendTouchEvent()
DVirtualDeviceImpl.java83 import android.hardware.input.VirtualTouchEvent;
874 public boolean sendTouchEvent(IBinder token, VirtualTouchEvent event) {
/frameworks/base/core/api/
Dsystem-current.txt5748 …EATE_VIRTUAL_DEVICE) public void sendTouchEvent(@NonNull android.hardware.input.VirtualTouchEvent);
5836 public final class VirtualTouchEvent implements android.os.Parcelable {
5851 …ublic static final android.os.Parcelable.Creator<android.hardware.input.VirtualTouchEvent> CREATOR;
5856 public static final class VirtualTouchEvent.Builder {
5857 ctor public VirtualTouchEvent.Builder();
5858 method @NonNull public android.hardware.input.VirtualTouchEvent build();
5859 method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setAction(int);
5860 method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setEventTimeNanos(long);
5861 …method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setMajorAxisSize(@FloatRan…
5862 …method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setPointerId(@IntRange(fro…
[all …]