손가락 모으기 동작

공개 클래스 P인치Gesture

사용자가 터치스크린에서 두 손가락 모으기 동작을 수행하는 동작

중첩된 클래스

인터페이스 P {5}Gesture.OnGestureEventListener PinchGesture에서 호출할 콜백의 인터페이스 정의입니다. 

상속된 필드

공개 생성자

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

공개 메서드

void
cancel()
진행 중인 동작을 취소합니다.
float
float
float
getGap()
float

보호되는 방법

boolean
canStart(HitTestResult hitTestResult, MotionEventMotionEvent)
손가락 동작
void
void
void
onStart(HitTestResult hitTestResult, MotionEventMotionEvent)
boolean
updateGesture(HitTestResult hitTestResult, MotionEventMotionEvent)

상속된 메서드

공개 생성자

public P인치Gesture (GesturePointersUtilityGesturePointersUtility, MotionEventMotionEvent, int 포인터를 ID2)

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

공개 메서드

public void cancel ()

진행 중인 동작을 취소합니다.

public float gapDeltaInches ()

public float gapInches ()

public float getGap ()

public float getGapDelta ()

보호되는 방법

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

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

보호된 P인치동작 getSelf ()

보호된 void onCancel ()

보호된 void onFinish ()

보호된 void onStart (HitTestResult hitTestResult, MotionEventMotionEvent)

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

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

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