트위스트 동작

공개 클래스 TwistGesture

사용자가 터치스크린에서 두 손가락으로 비틀기 동작을 실행할 때의 동작입니다.

중첩된 클래스

인터페이스 TwistGesture.OnGestureEventListener TwistGesture에서 호출할 콜백의 인터페이스 정의입니다. 

상속된 필드

공개 생성자

TwistGesture(GesturePointersUtilityGesturePointersUtility, MotionEventMotionEvent, int 포인터를 사용)2

공개 메서드

float

보호되는 방법

boolean
canStart(HitTestResult hitTestResult, MotionEventMotionEvent)
트위스트 동작
void
void
void
onStart(HitTestResult hitTestResult, MotionEventMotionEvent)
boolean
updateGesture(HitTestResult hitTestResult, MotionEventMotionEvent)

상속된 메서드

공개 생성자

public TwistGesture (GesturePointersUtilityGesturePointersUtility, MotionEvent모션 이벤트, int 포인터를 사용)2

매개변수
동작 포인터 유틸리티
모션 이벤트
포인터ID2

공개 메서드

public float getDeltaRotationDegrees ()

보호되는 방법

보호된 부울 canStart (HitTestResult hitTestResult, MotionEventMotionEvent)

매개변수
조회 테스트
모션 이벤트

보호된 TwistGesture getSelf ()

보호된 void onCancel ()

보호된 void onFinish ()

보호된 void onStart (HitTestResult hitTestResult, MotionEventMotionEvent)

매개변수
조회 테스트
모션 이벤트

보호된 부울 updateGesture (HitTestResult hitTestResult, MotionEventMotionEvent)

매개변수
조회 테스트
모션 이벤트