Loading input/common/aidl/aidl_api/android.hardware.input.common/current/android/hardware/input/common/Axis.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -79,4 +79,6 @@ enum Axis { GENERIC_14 = 45, GENERIC_15 = 46, GENERIC_16 = 47, GESTURE_X_OFFSET = 48, GESTURE_Y_OFFSET = 49, } input/common/aidl/android/hardware/input/common/Axis.aidl +17 −0 Original line number Diff line number Diff line Loading @@ -384,4 +384,21 @@ enum Axis { * The interpretation of a generic axis is device-specific. */ GENERIC_16 = 47, /** * Axis constant: X gesture offset axis of a motion event. * * - For a touch pad, reports the distance that a swipe gesture has moved in the X * axis, as a proportion of the touch pad's size. For example, if a touch pad is * 1000 units wide, and a swipe gesture starts at X = 500 then moves to X = 400, * this axis would have a value of -0.1. */ GESTURE_X_OFFSET = 48, /** * Axis constant: Y gesture offset axis of a motion event. * * The same as GESTURE_X_OFFSET, but for the Y axis. */ GESTURE_Y_OFFSET = 49, } Loading
input/common/aidl/aidl_api/android.hardware.input.common/current/android/hardware/input/common/Axis.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -79,4 +79,6 @@ enum Axis { GENERIC_14 = 45, GENERIC_15 = 46, GENERIC_16 = 47, GESTURE_X_OFFSET = 48, GESTURE_Y_OFFSET = 49, }
input/common/aidl/android/hardware/input/common/Axis.aidl +17 −0 Original line number Diff line number Diff line Loading @@ -384,4 +384,21 @@ enum Axis { * The interpretation of a generic axis is device-specific. */ GENERIC_16 = 47, /** * Axis constant: X gesture offset axis of a motion event. * * - For a touch pad, reports the distance that a swipe gesture has moved in the X * axis, as a proportion of the touch pad's size. For example, if a touch pad is * 1000 units wide, and a swipe gesture starts at X = 500 then moves to X = 400, * this axis would have a value of -0.1. */ GESTURE_X_OFFSET = 48, /** * Axis constant: Y gesture offset axis of a motion event. * * The same as GESTURE_X_OFFSET, but for the Y axis. */ GESTURE_Y_OFFSET = 49, }