Home
last modified time | relevance | path

Searched refs:relativeY (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/hardware/input/
DVirtualMouseRelativeEvent.java40 private VirtualMouseRelativeEvent(float relativeX, float relativeY, long eventTimeNanos) { in VirtualMouseRelativeEvent() argument
42 mRelativeY = relativeY; in VirtualMouseRelativeEvent()
128 public @NonNull Builder setRelativeY(float relativeY) { in setRelativeY() argument
129 mRelativeY = relativeY; in setRelativeY()
/frameworks/native/include/input/
DVirtualInputDevice.h74 bool writeRelativeEvent(float relativeX, float relativeY, std::chrono::nanoseconds eventTime);
/frameworks/base/core/java/android/view/
DMotionEvent.java4406 public float relativeY; field in MotionEvent.PointerCoords
4454 relativeY = 0; in clear()
4487 relativeY = other.relativeY; in copyFrom()
4523 return relativeY; in getAxisValue()
4581 relativeY = value; in setAxisValue()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp62 jfieldID relativeY; member
229 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.relativeY)); in pointerCoordsToNative()
446 {AMOTION_EVENT_AXIS_RELATIVE_Y, gPointerCoordsClassInfo.relativeY}, in android_view_MotionEvent_nativeGetPointerCoords()
948 gPointerCoordsClassInfo.relativeY = GetFieldIDOrDie(env, clazz, "relativeY", "F"); in register_android_view_MotionEvent()
/frameworks/native/libs/input/
DVirtualInputDevice.cpp266 bool VirtualMouse::writeRelativeEvent(float relativeX, float relativeY, in writeRelativeEvent() argument
269 writeInputEvent(EV_REL, REL_Y, relativeY, eventTime) && in writeRelativeEvent()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DInputController.java463 float relativeY, long eventTimeNanos); in nativeWriteRelativeEvent() argument
525 public boolean writeRelativeEvent(long ptr, float relativeX, float relativeY, in writeRelativeEvent() argument
527 return nativeWriteRelativeEvent(ptr, relativeX, relativeY, eventTimeNanos); in writeRelativeEvent()
/frameworks/base/services/core/jni/
Dcom_android_server_companion_virtual_InputController.cpp355 jfloat relativeY, jlong eventTimeNanos) { in nativeWriteRelativeEvent() argument
357 return virtualMouse->writeRelativeEvent(relativeX, relativeY, in nativeWriteRelativeEvent()