언어

View.PointerCaptureModeAbsolute 필드

정의

주의

This constant will be removed in the future version. Use Android.Views.PointerCaptureMode enum directly instead of this field.

터치 패드가 절대 손가락 위치를 보고하는 포인터 캡처 모드입니다.

[Android.Runtime.Register("POINTER_CAPTURE_MODE_ABSOLUTE", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.PointerCaptureMode enum directly instead of this field.", true)]
public const Android.Views.PointerCaptureMode PointerCaptureModeAbsolute = 1;
[<Android.Runtime.Register("POINTER_CAPTURE_MODE_ABSOLUTE", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.PointerCaptureMode enum directly instead of this field.", true)>]
val mutable PointerCaptureModeAbsolute : Android.Views.PointerCaptureMode

필드 값

Value = 1
특성

설명

터치 패드가 절대 손가락 위치를 보고하는 포인터 캡처 모드입니다.

이 캡처 모드에서는 터치 패드 입력에서 제스처를 인식하려고 시도하지 않습니다. 대신 패드에 있는 각 터치의 절대 위치는 InputDevice.SOURCE_CLASS_POINTER 있는 디바이스에서 다른 터치가 보고되는 것과 같은 방식으로 보기에 직접 보고됩니다.

이벤트는 원본 InputDevice.SOURCE_TOUCHPAD 함께 전달됩니다. 각 터치의 절대 위치는 MotionEvent.getX(int) 및 MotionEvent.getY(int) 및 MotionEvent.AXIS_RELATIVE_X 및 MotionEvent.AXIS_RELATIVE_Y 통해 상대적인 움직임을 통해 사용할 수 있습니다. 터치 패드가 지원하는 경우 MotionEvent.AXIS_PRESSURE, MotionEvent.AXIS_TOUCH_MAJOR, MotionEvent.AXIS_TOUCH_MINOR, MotionEvent.AXIS_TOOL_MAJOR, MotionEvent.AXIS_TOOL_MINOR 및 MotionEvent.AXIS_ORIENTATION 축을 통해 터치 차원 정보를 사용할 수 있습니다.

마우스의 이벤트는 캡처 모드에 관계없이 항상 동일한 방식으로 보고됩니다.

에 대한 android.view.View.POINTER_CAPTURE_MODE_ABSOLUTEAndroid 참조

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상